Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: Add the FOTG210 USB host to Gemini boards

This adds the FOTG210 USB host controller to the Gemini
device trees. In the main SoC DTSI it is flagged as disabled
and then it is selectively enabled on the devices that utilize
it.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

+100
+8
arch/arm/boot/dts/gemini-nas4220b.dts
··· 204 204 ata@63400000 { 205 205 status = "okay"; 206 206 }; 207 + 208 + usb@68000000 { 209 + status = "okay"; 210 + }; 211 + 212 + usb@69000000 { 213 + status = "okay"; 214 + }; 207 215 }; 208 216 };
+20
arch/arm/boot/dts/gemini-rut1xx.dts
··· 124 124 /* Not used in this platform */ 125 125 }; 126 126 }; 127 + 128 + ethernet@60000000 { 129 + status = "okay"; 130 + 131 + ethernet-port@0 { 132 + phy-mode = "rgmii"; 133 + phy-handle = <&phy0>; 134 + }; 135 + ethernet-port@1 { 136 + /* Not used in this platform */ 137 + }; 138 + }; 139 + 140 + usb@68000000 { 141 + status = "okay"; 142 + }; 143 + 144 + usb@69000000 { 145 + status = "okay"; 146 + }; 127 147 }; 128 148 };
+8
arch/arm/boot/dts/gemini-sl93512r.dts
··· 324 324 ata@63400000 { 325 325 status = "okay"; 326 326 }; 327 + 328 + usb@68000000 { 329 + status = "okay"; 330 + }; 331 + 332 + usb@69000000 { 333 + status = "okay"; 334 + }; 327 335 }; 328 336 };
+8
arch/arm/boot/dts/gemini-sq201.dts
··· 292 292 ata@63000000 { 293 293 status = "okay"; 294 294 }; 295 + 296 + usb@68000000 { 297 + status = "okay"; 298 + }; 299 + 300 + usb@69000000 { 301 + status = "okay"; 302 + }; 295 303 }; 296 304 };
+8
arch/arm/boot/dts/gemini-wbd111.dts
··· 171 171 /* Not used in this platform */ 172 172 }; 173 173 }; 174 + 175 + usb@68000000 { 176 + status = "okay"; 177 + }; 178 + 179 + usb@69000000 { 180 + status = "okay"; 181 + }; 174 182 }; 175 183 };
+8
arch/arm/boot/dts/gemini-wbd222.dts
··· 183 183 phy-handle = <&phy1>; 184 184 }; 185 185 }; 186 + 187 + usb@68000000 { 188 + status = "okay"; 189 + }; 190 + 191 + usb@69000000 { 192 + status = "okay"; 193 + }; 186 194 }; 187 195 };
+32
arch/arm/boot/dts/gemini.dtsi
··· 409 409 #size-cells = <0>; 410 410 status = "disabled"; 411 411 }; 412 + 413 + usb@68000000 { 414 + compatible = "cortina,gemini-usb", "faraday,fotg210"; 415 + reg = <0x68000000 0x1000>; 416 + interrupts = <10 IRQ_TYPE_LEVEL_HIGH>; 417 + resets = <&syscon GEMINI_RESET_USB0>; 418 + clocks = <&syscon GEMINI_CLK_GATE_USB0>; 419 + clock-names = "PCLK"; 420 + /* 421 + * This will claim pins for USB0 and USB1 at the same 422 + * time as they are using some common pins. If you for 423 + * some reason have a system using USB1 at 96000000 but 424 + * NOT using USB0 at 68000000 you wll have to add the 425 + * usb_default_pins to the USB controller at 96000000 426 + * in your .dts for the board. 427 + */ 428 + pinctrl-names = "default"; 429 + pinctrl-0 = <&usb_default_pins>; 430 + syscon = <&syscon>; 431 + status = "disabled"; 432 + }; 433 + 434 + usb@69000000 { 435 + compatible = "cortina,gemini-usb", "faraday,fotg210"; 436 + reg = <0x69000000 0x1000>; 437 + interrupts = <11 IRQ_TYPE_LEVEL_HIGH>; 438 + resets = <&syscon GEMINI_RESET_USB1>; 439 + clocks = <&syscon GEMINI_CLK_GATE_USB1>; 440 + clock-names = "PCLK"; 441 + syscon = <&syscon>; 442 + status = "disabled"; 443 + }; 412 444 }; 413 445 };