| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | #include "rt5350.dtsi" |
| 2 | |
| 3 | / { |
| 4 | compatible = "easyacc,wizard-8800", "ralink,rt5350-soc"; |
| 5 | model = "EASYACC WI-STOR WIZARD 8800"; |
| 6 | }; |
| 7 | |
| 8 | &spi0 { |
| 9 | status = "okay"; |
| 10 | |
| 11 | flash@0 { |
| 12 | compatible = "jedec,spi-nor"; |
| 13 | reg = <0>; |
| 14 | spi-max-frequency = <10000000>; |
| 15 | |
| 16 | partitions { |
| 17 | compatible = "fixed-partitions"; |
| 18 | #address-cells = <1>; |
| 19 | #size-cells = <1>; |
| 20 | |
| 21 | partition@0 { |
| 22 | label = "u-boot"; |
| 23 | reg = <0x0 0x30000>; |
| 24 | read-only; |
| 25 | }; |
| 26 | |
| 27 | partition@30000 { |
| 28 | label = "u-boot-env"; |
| 29 | reg = <0x30000 0x10000>; |
| 30 | read-only; |
| 31 | }; |
| 32 | |
| 33 | factory: partition@40000 { |
| 34 | label = "factory"; |
| 35 | reg = <0x40000 0x10000>; |
| 36 | read-only; |
| 37 | }; |
| 38 | |
| 39 | partition@50000 { |
| 40 | compatible = "denx,uimage"; |
| 41 | label = "firmware"; |
| 42 | reg = <0x50000 0x7b0000>; |
| 43 | }; |
| 44 | }; |
| 45 | }; |
| 46 | }; |
| 47 | |
| 48 | &state_default { |
| 49 | gpio { |
| 50 | groups = "i2c", "jtag", "uartf"; |
| 51 | function = "gpio"; |
| 52 | }; |
| 53 | }; |
| 54 | |
| 55 | ðernet { |
| 56 | mtd-mac-address = <&factory 0x4>; |
| 57 | }; |
| 58 | |
| 59 | &esw { |
| 60 | mediatek,portmap = <0x2f>; |
| 61 | }; |
| 62 | |
| 63 | &wmac { |
| 64 | ralink,mtd-eeprom = <&factory 0x0>; |
| 65 | }; |