Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | /* SPDX-License-Identifier: (GPL-2.0-only OR MIT) */ |
2 | /* | ||||
3 | * Authors: Daniel Golle <daniel@makrotopia.org> | ||||
4 | * Frank Wunderlich <frank-w@public-files.de> | ||||
5 | */ | ||||
6 | |||||
7 | /dts-v1/; | ||||
8 | /plugin/; | ||||
9 | |||||
10 | / { | ||||
11 | compatible = "bananapi,bpi-r3", "mediatek,mt7986a"; | ||||
Tom Rini | 6b642ac | 2024-10-01 12:20:28 -0600 | [diff] [blame^] | 12 | }; |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 13 | |
Tom Rini | 6b642ac | 2024-10-01 12:20:28 -0600 | [diff] [blame^] | 14 | &{/soc/spi@1100a000} { |
15 | #address-cells = <1>; | ||||
16 | #size-cells = <0>; | ||||
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 17 | |
Tom Rini | 6b642ac | 2024-10-01 12:20:28 -0600 | [diff] [blame^] | 18 | flash@0 { |
19 | compatible = "jedec,spi-nor"; | ||||
20 | reg = <0>; | ||||
21 | spi-max-frequency = <10000000>; | ||||
22 | |||||
23 | partitions { | ||||
24 | compatible = "fixed-partitions"; | ||||
25 | #address-cells = <1>; | ||||
26 | #size-cells = <1>; | ||||
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 27 | |
Tom Rini | 6b642ac | 2024-10-01 12:20:28 -0600 | [diff] [blame^] | 28 | partition@0 { |
29 | label = "bl2"; | ||||
30 | reg = <0x0 0x40000>; | ||||
31 | read-only; | ||||
32 | }; | ||||
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 33 | |
Tom Rini | 6b642ac | 2024-10-01 12:20:28 -0600 | [diff] [blame^] | 34 | partition@40000 { |
35 | label = "u-boot-env"; | ||||
36 | reg = <0x40000 0x40000>; | ||||
37 | }; | ||||
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 38 | |
Tom Rini | 6b642ac | 2024-10-01 12:20:28 -0600 | [diff] [blame^] | 39 | partition@80000 { |
40 | label = "reserved2"; | ||||
41 | reg = <0x80000 0x80000>; | ||||
42 | }; | ||||
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 43 | |
Tom Rini | 6b642ac | 2024-10-01 12:20:28 -0600 | [diff] [blame^] | 44 | partition@100000 { |
45 | label = "fip"; | ||||
46 | reg = <0x100000 0x80000>; | ||||
47 | read-only; | ||||
48 | }; | ||||
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 49 | |
Tom Rini | 6b642ac | 2024-10-01 12:20:28 -0600 | [diff] [blame^] | 50 | partition@180000 { |
51 | label = "recovery"; | ||||
52 | reg = <0x180000 0xa80000>; | ||||
53 | }; | ||||
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 54 | |
Tom Rini | 6b642ac | 2024-10-01 12:20:28 -0600 | [diff] [blame^] | 55 | partition@c00000 { |
56 | label = "fit"; | ||||
57 | reg = <0xc00000 0x1400000>; | ||||
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 58 | }; |
59 | }; | ||||
60 | }; | ||||
61 | }; |