| .. | .. |
|---|
| 59 | 59 | #qca,ddr-wb-channel-cells = <1>; |
|---|
| 60 | 60 | }; |
|---|
| 61 | 61 | |
|---|
| 62 | | - uart: uart@18020000 { |
|---|
| 62 | + uart: serial@18020000 { |
|---|
| 63 | 63 | compatible = "qca,ar9330-uart"; |
|---|
| 64 | 64 | reg = <0x18020000 0x14>; |
|---|
| 65 | 65 | |
|---|
| .. | .. |
|---|
| 116 | 116 | }; |
|---|
| 117 | 117 | }; |
|---|
| 118 | 118 | |
|---|
| 119 | + eth0: ethernet@19000000 { |
|---|
| 120 | + compatible = "qca,ar9330-eth"; |
|---|
| 121 | + reg = <0x19000000 0x200>; |
|---|
| 122 | + interrupts = <4>; |
|---|
| 123 | + |
|---|
| 124 | + resets = <&rst 9>, <&rst 22>; |
|---|
| 125 | + reset-names = "mac", "mdio"; |
|---|
| 126 | + clocks = <&pll ATH79_CLK_AHB>, <&pll ATH79_CLK_AHB>; |
|---|
| 127 | + clock-names = "eth", "mdio"; |
|---|
| 128 | + |
|---|
| 129 | + phy-mode = "mii"; |
|---|
| 130 | + phy-handle = <&phy_port4>; |
|---|
| 131 | + |
|---|
| 132 | + status = "disabled"; |
|---|
| 133 | + }; |
|---|
| 134 | + |
|---|
| 135 | + eth1: ethernet@1a000000 { |
|---|
| 136 | + compatible = "qca,ar9330-eth"; |
|---|
| 137 | + reg = <0x1a000000 0x200>; |
|---|
| 138 | + interrupts = <5>; |
|---|
| 139 | + resets = <&rst 13>, <&rst 23>; |
|---|
| 140 | + reset-names = "mac", "mdio"; |
|---|
| 141 | + clocks = <&pll ATH79_CLK_AHB>, <&pll ATH79_CLK_AHB>; |
|---|
| 142 | + clock-names = "eth", "mdio"; |
|---|
| 143 | + |
|---|
| 144 | + phy-mode = "gmii"; |
|---|
| 145 | + |
|---|
| 146 | + status = "disabled"; |
|---|
| 147 | + |
|---|
| 148 | + fixed-link { |
|---|
| 149 | + speed = <1000>; |
|---|
| 150 | + full-duplex; |
|---|
| 151 | + }; |
|---|
| 152 | + |
|---|
| 153 | + mdio { |
|---|
| 154 | + #address-cells = <1>; |
|---|
| 155 | + #size-cells = <0>; |
|---|
| 156 | + |
|---|
| 157 | + switch10: switch@10 { |
|---|
| 158 | + #address-cells = <1>; |
|---|
| 159 | + #size-cells = <0>; |
|---|
| 160 | + |
|---|
| 161 | + compatible = "qca,ar9331-switch"; |
|---|
| 162 | + reg = <0x10>; |
|---|
| 163 | + resets = <&rst 8>; |
|---|
| 164 | + reset-names = "switch"; |
|---|
| 165 | + |
|---|
| 166 | + interrupt-parent = <&miscintc>; |
|---|
| 167 | + interrupts = <12>; |
|---|
| 168 | + |
|---|
| 169 | + interrupt-controller; |
|---|
| 170 | + #interrupt-cells = <1>; |
|---|
| 171 | + |
|---|
| 172 | + ports { |
|---|
| 173 | + #address-cells = <1>; |
|---|
| 174 | + #size-cells = <0>; |
|---|
| 175 | + |
|---|
| 176 | + switch_port0: port@0 { |
|---|
| 177 | + reg = <0x0>; |
|---|
| 178 | + label = "cpu"; |
|---|
| 179 | + ethernet = <ð1>; |
|---|
| 180 | + |
|---|
| 181 | + phy-mode = "gmii"; |
|---|
| 182 | + |
|---|
| 183 | + fixed-link { |
|---|
| 184 | + speed = <1000>; |
|---|
| 185 | + full-duplex; |
|---|
| 186 | + }; |
|---|
| 187 | + }; |
|---|
| 188 | + |
|---|
| 189 | + switch_port1: port@1 { |
|---|
| 190 | + reg = <0x1>; |
|---|
| 191 | + phy-handle = <&phy_port0>; |
|---|
| 192 | + phy-mode = "internal"; |
|---|
| 193 | + |
|---|
| 194 | + status = "disabled"; |
|---|
| 195 | + }; |
|---|
| 196 | + |
|---|
| 197 | + switch_port2: port@2 { |
|---|
| 198 | + reg = <0x2>; |
|---|
| 199 | + phy-handle = <&phy_port1>; |
|---|
| 200 | + phy-mode = "internal"; |
|---|
| 201 | + |
|---|
| 202 | + status = "disabled"; |
|---|
| 203 | + }; |
|---|
| 204 | + |
|---|
| 205 | + switch_port3: port@3 { |
|---|
| 206 | + reg = <0x3>; |
|---|
| 207 | + phy-handle = <&phy_port2>; |
|---|
| 208 | + phy-mode = "internal"; |
|---|
| 209 | + |
|---|
| 210 | + status = "disabled"; |
|---|
| 211 | + }; |
|---|
| 212 | + |
|---|
| 213 | + switch_port4: port@4 { |
|---|
| 214 | + reg = <0x4>; |
|---|
| 215 | + phy-handle = <&phy_port3>; |
|---|
| 216 | + phy-mode = "internal"; |
|---|
| 217 | + |
|---|
| 218 | + status = "disabled"; |
|---|
| 219 | + }; |
|---|
| 220 | + }; |
|---|
| 221 | + |
|---|
| 222 | + mdio { |
|---|
| 223 | + #address-cells = <1>; |
|---|
| 224 | + #size-cells = <0>; |
|---|
| 225 | + |
|---|
| 226 | + interrupt-parent = <&switch10>; |
|---|
| 227 | + |
|---|
| 228 | + phy_port0: phy@0 { |
|---|
| 229 | + reg = <0x0>; |
|---|
| 230 | + interrupts = <0>; |
|---|
| 231 | + status = "disabled"; |
|---|
| 232 | + }; |
|---|
| 233 | + |
|---|
| 234 | + phy_port1: phy@1 { |
|---|
| 235 | + reg = <0x1>; |
|---|
| 236 | + interrupts = <0>; |
|---|
| 237 | + status = "disabled"; |
|---|
| 238 | + }; |
|---|
| 239 | + |
|---|
| 240 | + phy_port2: phy@2 { |
|---|
| 241 | + reg = <0x2>; |
|---|
| 242 | + interrupts = <0>; |
|---|
| 243 | + status = "disabled"; |
|---|
| 244 | + }; |
|---|
| 245 | + |
|---|
| 246 | + phy_port3: phy@3 { |
|---|
| 247 | + reg = <0x3>; |
|---|
| 248 | + interrupts = <0>; |
|---|
| 249 | + status = "disabled"; |
|---|
| 250 | + }; |
|---|
| 251 | + |
|---|
| 252 | + phy_port4: phy@4 { |
|---|
| 253 | + reg = <0x4>; |
|---|
| 254 | + interrupts = <0>; |
|---|
| 255 | + status = "disabled"; |
|---|
| 256 | + }; |
|---|
| 257 | + }; |
|---|
| 258 | + }; |
|---|
| 259 | + }; |
|---|
| 260 | + }; |
|---|
| 261 | + |
|---|
| 119 | 262 | usb: usb@1b000100 { |
|---|
| 120 | 263 | compatible = "chipidea,usb2"; |
|---|
| 121 | 264 | reg = <0x1b000000 0x200>; |
|---|