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

ARM: dts: Add usb support for hp t410

Add usb support for hp t410 and a fixed regulator for the hub power.

Cc: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>

+35
+35
arch/arm/boot/dts/dm8148-t410.dts
··· 16 16 reg = <0x80000000 0x40000000>; /* 1 GB */ 17 17 }; 18 18 19 + /* gpio9 seems to control USB VBUS regulator and/or hub power */ 20 + usb_power: regulator@9 { 21 + compatible = "regulator-fixed"; 22 + regulator-name = "usb_power"; 23 + regulator-min-microvolt = <5000000>; 24 + regulator-max-microvolt = <5000000>; 25 + gpio = <&gpio1 9 GPIO_ACTIVE_HIGH>; 26 + enable-active-high; 27 + regulator-always-on; 28 + }; 29 + 19 30 vmmcsd_fixed: fixedregulator@0 { 20 31 compatible = "regulator-fixed"; 21 32 regulator-name = "vmmcsd_fixed"; ··· 71 60 DM814X_IOPAD(0x0920, PIN_INPUT | 40) /* SD2_SDCD */ 72 61 >; 73 62 }; 63 + 64 + usb0_pins: pinmux_usb0_pins { 65 + pinctrl-single,pins = < 66 + DM814X_IOPAD(0x0c34, PIN_OUTPUT | 0x1) /* USB0_DRVVBUS */ 67 + >; 68 + }; 69 + 70 + usb1_pins: pinmux_usb1_pins { 71 + pinctrl-single,pins = < 72 + DM814X_IOPAD(0x0834, PIN_OUTPUT | 0x80) /* USB1_DRVVBUS */ 73 + >; 74 + }; 75 + }; 76 + 77 + &usb0 { 78 + pinctrl-names = "default"; 79 + pinctrl-0 = <&usb0_pins>; 80 + dr_mode = "host"; 81 + }; 82 + 83 + &usb1 { 84 + pinctrl-names = "default"; 85 + pinctrl-0 = <&usb1_pins>; 86 + dr_mode = "host"; 74 87 };