| 1 | /dts-v1/; |
| 2 | |
| 3 | /include/ "danube.dtsi" |
| 4 | |
| 5 | / { |
| 6 | model = "ARV7525PW - Speedport W303V Typ A"; |
| 7 | |
| 8 | chosen { |
| 9 | bootargs = "console=ttyLTQ0,115200 init=/etc/preinit"; |
| 10 | }; |
| 11 | |
| 12 | memory@0 { |
| 13 | reg = <0x0 0x2000000>; |
| 14 | }; |
| 15 | |
| 16 | sram@1F000000 { |
| 17 | vmmc@107000 { |
| 18 | status = "okay"; |
| 19 | gpios = <&gpio 31 0>; |
| 20 | }; |
| 21 | }; |
| 22 | |
| 23 | fpi@10000000 { |
| 24 | localbus@0 { |
| 25 | nor-boot@0 { |
| 26 | compatible = "lantiq,nor"; |
| 27 | bank-width = <2>; |
| 28 | reg = <0 0x0 0x2000000>; |
| 29 | #address-cells = <1>; |
| 30 | #size-cells = <1>; |
| 31 | |
| 32 | partition@0 { |
| 33 | label = "uboot"; |
| 34 | reg = <0x00000 0x10000>; |
| 35 | read-only; |
| 36 | }; |
| 37 | |
| 38 | partition@10000 { |
| 39 | label = "uboot_env"; |
| 40 | reg = <0x10000 0x10000>; |
| 41 | read-only; |
| 42 | }; |
| 43 | |
| 44 | partition@20000 { |
| 45 | label = "linux"; |
| 46 | reg = <0x20000 0x3d0000>; |
| 47 | }; |
| 48 | |
| 49 | partition@400000 { |
| 50 | label = "board_config"; |
| 51 | reg = <0x3f0000 0x10000>; |
| 52 | read-only; |
| 53 | }; |
| 54 | }; |
| 55 | |
| 56 | mac_addr { |
| 57 | compatible = "lantiq,eth-mac"; |
| 58 | reg = <0 0x3f0016 0x6>; |
| 59 | mac-increment = <2>; |
| 60 | }; |
| 61 | |
| 62 | ralink_eep { |
| 63 | compatible = "ralink,eeprom"; |
| 64 | ralink,eeprom = "RT2860.eeprom"; |
| 65 | reg = <0 0x3f0410 0x110>; |
| 66 | }; |
| 67 | }; |
| 68 | |
| 69 | gpio: pinmux@E100B10 { |
| 70 | pinctrl-names = "default"; |
| 71 | pinctrl-0 = <&state_default>; |
| 72 | |
| 73 | state_default: pinmux { |
| 74 | exin { |
| 75 | lantiq,groups = "exin1"; |
| 76 | lantiq,function = "exin"; |
| 77 | }; |
| 78 | pci { |
| 79 | lantiq,groups = "gnt1", "req1"; |
| 80 | lantiq,function = "pci"; |
| 81 | }; |
| 82 | }; |
| 83 | }; |
| 84 | |
| 85 | etop@E180000 { |
| 86 | phy-mode = "mii"; |
| 87 | }; |
| 88 | |
| 89 | pci@E105400 { |
| 90 | status = "okay"; |
| 91 | interrupt-map = <0x7000 0 0 1 &icu0 135 1>; |
| 92 | req-mask = <0x1>; |
| 93 | }; |
| 94 | |
| 95 | }; |
| 96 | |
| 97 | gpio-keys-polled { |
| 98 | compatible = "gpio-keys-polled"; |
| 99 | #address-cells = <1>; |
| 100 | #size-cells = <0>; |
| 101 | poll-interval = <100>; |
| 102 | |
| 103 | wps { |
| 104 | label = "wps"; |
| 105 | gpios = <&gpio 29 1>; |
| 106 | linux,code = <0x211>; |
| 107 | }; |
| 108 | reset { |
| 109 | label = "reset"; |
| 110 | gpios = <&gpio 30 1>; |
| 111 | linux,code = <0x198>; |
| 112 | }; |
| 113 | }; |
| 114 | |
| 115 | gpio-leds { |
| 116 | compatible = "gpio-leds"; |
| 117 | power { |
| 118 | label = "power"; |
| 119 | gpios = <&gpio 3 1>; |
| 120 | }; |
| 121 | power1 { |
| 122 | label = "power1"; |
| 123 | gpios = <&gpio 4 1>; |
| 124 | }; |
| 125 | online { |
| 126 | label = "online"; |
| 127 | gpios = <&gpio 5 1>; |
| 128 | }; |
| 129 | voice { |
| 130 | label = "voice"; |
| 131 | gpios = <&gpio 6 1>; |
| 132 | }; |
| 133 | voice2 { |
| 134 | label = "voice2"; |
| 135 | gpios = <&gpio 8 1>; |
| 136 | }; |
| 137 | wifi { |
| 138 | label = "wifi"; |
| 139 | gpios = <&gpio 9 1>; |
| 140 | }; |
| 141 | }; |
| 142 | }; |
| 143 | |