mirror of
https://github.com/torvalds/linux.git
synced 2026-07-30 03:01:41 +02:00
arm64: dts: lx2160a-cex7: add usb hub
LX2160A CEX-7 module provides a total of 4 USB ports to the carrier board, one from first usb controller, and 3 from a hub behind the second controller. Both controllers currently have their status set okay in the module's dtsi file. However devices should be disabled by default when incomplete. The first USB controller is only completed by a carrier board featuring a device or USB connector. The second controller hosts a USB hub and should therefore be active. Add description for the USB hub, and enable the first controller only in the carrier board description. Signed-off-by: Josua Mayer <josua@solid-run.com> Signed-off-by: Frank Li <Frank.Li@nxp.com>
This commit is contained in:
parent
4ff4d6f348
commit
76eeabd859
|
|
@ -13,6 +13,13 @@ aliases {
|
|||
rtc0 = &com_rtc;
|
||||
};
|
||||
|
||||
v_1_2: regulator-1-2 {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "1v2";
|
||||
regulator-max-microvolt = <1200000>;
|
||||
regulator-min-microvolt = <1200000>;
|
||||
};
|
||||
|
||||
sb_3v3: regulator-sb3v3 {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "RT7290";
|
||||
|
|
@ -181,10 +188,24 @@ &pinmux_i2crv {
|
|||
pinctrl-0 = <&gpio0_14_12_pins>;
|
||||
};
|
||||
|
||||
&usb0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usb1 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
status = "okay";
|
||||
|
||||
usb_hub_2_0: hub@1 {
|
||||
compatible = "usb4b4,6502", "usb4b4,6506";
|
||||
reg = <1>;
|
||||
peer-hub = <&usb_hub_3_0>;
|
||||
vdd2-supply = <&sb_3v3>;
|
||||
vdd-supply = <&v_1_2>;
|
||||
};
|
||||
|
||||
usb_hub_3_0: hub@2 {
|
||||
compatible = "usb4b4,6500", "usb4b4,6504";
|
||||
reg = <2>;
|
||||
peer-hub = <&usb_hub_2_0>;
|
||||
vdd2-supply = <&sb_3v3>;
|
||||
vdd-supply = <&v_1_2>;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -142,3 +142,7 @@ &uart0 {
|
|||
&uart1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usb0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user