| 1 | /dts-v1/; |
| 2 | |
| 3 | /include/ "danube.dtsi" |
| 4 | |
| 5 | / { |
| 6 | model = "ARV4520PW - Easybox 800, WAV-281"; |
| 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 | &gpiomm 7 0>; |
| 21 | }; |
| 22 | }; |
| 23 | |
| 24 | fpi@10000000 { |
| 25 | localbus@0 { |
| 26 | nor-boot@0 { |
| 27 | compatible = "lantiq,nor"; |
| 28 | bank-width = <2>; |
| 29 | reg = <0 0x0 0x800000>; |
| 30 | #address-cells = <1>; |
| 31 | #size-cells = <1>; |
| 32 | |
| 33 | partition@0 { |
| 34 | label = "uboot"; |
| 35 | reg = <0x00000 0x20000>; |
| 36 | read-only; |
| 37 | }; |
| 38 | |
| 39 | partition@20000 { |
| 40 | label = "uboot_env"; |
| 41 | reg = <0x20000 0x10000>; |
| 42 | read-only; |
| 43 | }; |
| 44 | |
| 45 | partition@30000 { |
| 46 | label = "linux"; |
| 47 | reg = <0x30000 0x3c0000>; |
| 48 | }; |
| 49 | |
| 50 | partition@7f0000 { |
| 51 | label = "boardconfig"; |
| 52 | reg = <0x3f0000 0x10000>; |
| 53 | read-only; |
| 54 | }; |
| 55 | }; |
| 56 | |
| 57 | mac_addr { |
| 58 | compatible = "lantiq,eth-mac"; |
| 59 | reg = <0 0x3f0016 0x6>; |
| 60 | mac-increment = <2>; |
| 61 | }; |
| 62 | |
| 63 | gpiomm: gpiomm@4000000 { |
| 64 | compatible = "lantiq,gpio-mm"; |
| 65 | reg = <1 0x0 0x10 >; |
| 66 | #address-cells = <1>; |
| 67 | #size-cells = <1>; |
| 68 | #gpio-cells = <2>; |
| 69 | gpio-controller; |
| 70 | lantiq,shadow = <0x400>; |
| 71 | }; |
| 72 | }; |
| 73 | |
| 74 | gpio: pinmux@E100B10 { |
| 75 | pinctrl-names = "default"; |
| 76 | pinctrl-0 = <&state_default>; |
| 77 | |
| 78 | state_default: pinmux { |
| 79 | ebu { |
| 80 | lantiq,groups = "ebu cs1"; |
| 81 | lantiq,function = "ebu"; |
| 82 | }; |
| 83 | pci_in { |
| 84 | lantiq,groups = "req1"; |
| 85 | lantiq,function = "pci"; |
| 86 | lantiq,open-drain = <1>; |
| 87 | lantiq,pull = <2>; |
| 88 | lantiq,output = <0>; |
| 89 | }; |
| 90 | pci_out { |
| 91 | lantiq,groups = "gnt1"; |
| 92 | lantiq,function = "pci"; |
| 93 | lantiq,output = <1>; |
| 94 | }; |
| 95 | pci_rst { |
| 96 | lantiq,pins = "io21"; |
| 97 | lantiq,open-drain = <0>; |
| 98 | lantiq,pull = <0>; |
| 99 | }; |
| 100 | }; |
| 101 | }; |
| 102 | |
| 103 | etop@E180000 { |
| 104 | phy-mode = "rmii"; |
| 105 | }; |
| 106 | |
| 107 | ifxhcd@E101000 { |
| 108 | status = "okay"; |
| 109 | gpios = <&gpio 28 0>; |
| 110 | }; |
| 111 | |
| 112 | pci@E105400 { |
| 113 | status = "okay"; |
| 114 | lantiq,external-clock; |
| 115 | gpio-reset = <&gpio 21 0>; |
| 116 | }; |
| 117 | |
| 118 | }; |
| 119 | |
| 120 | // gpiomm 10 - switch |
| 121 | |
| 122 | gpio-keys-polled { |
| 123 | compatible = "gpio-keys-polled"; |
| 124 | #address-cells = <1>; |
| 125 | #size-cells = <0>; |
| 126 | poll-interval = <100>; |
| 127 | |
| 128 | rfkill { |
| 129 | label = "wps"; |
| 130 | gpios = <&gpio 29 1>; |
| 131 | linux,code = <0x211>; |
| 132 | }; |
| 133 | reset { |
| 134 | label = "reset"; |
| 135 | gpios = <&gpio 30 1>; |
| 136 | linux,code = <0x198>; |
| 137 | }; |
| 138 | }; |
| 139 | |
| 140 | gpio-leds { |
| 141 | compatible = "gpio-leds"; |
| 142 | |
| 143 | power { |
| 144 | label = "power"; |
| 145 | gpios = <&gpio 3 1>; |
| 146 | }; |
| 147 | adsl { |
| 148 | label = "adsl"; |
| 149 | gpios = <&gpio 4 1>; |
| 150 | }; |
| 151 | internet { |
| 152 | label = "internet"; |
| 153 | gpios = <&gpio 5 1>; |
| 154 | }; |
| 155 | power2 { |
| 156 | label = "power2"; |
| 157 | gpios = <&gpio 6 1>; |
| 158 | }; |
| 159 | wps { |
| 160 | label = "wps"; |
| 161 | gpios = <&gpio 7 1>; |
| 162 | }; |
| 163 | wps2 { |
| 164 | label = "wps2"; |
| 165 | gpios = <&gpio 9 1>; |
| 166 | }; |
| 167 | fxs1 { |
| 168 | label = "fxs1"; |
| 169 | gpios = <&gpiomm 0 1>; |
| 170 | }; |
| 171 | fxs2 { |
| 172 | label = "fxs2"; |
| 173 | gpios = <&gpiomm 1 1>; |
| 174 | }; |
| 175 | isdn { |
| 176 | label = "isdn"; |
| 177 | gpios = <&gpiomm 2 1>; |
| 178 | }; |
| 179 | fxo { |
| 180 | label = "fxo"; |
| 181 | gpios = <&gpiomm 3 1>; |
| 182 | }; |
| 183 | voice { |
| 184 | label = "voice"; |
| 185 | gpios = <&gpiomm 4 1>; |
| 186 | }; |
| 187 | usb { |
| 188 | label = "usb"; |
| 189 | gpios = <&gpiomm 5 1>; |
| 190 | }; |
| 191 | wifi { |
| 192 | label = "wifi"; |
| 193 | gpios = <&gpiomm 6 1>; |
| 194 | }; |
| 195 | internet2 { |
| 196 | label = "internet2"; |
| 197 | gpios = <&gpiomm 9 1>; |
| 198 | }; |
| 199 | }; |
| 200 | }; |
| 201 | |