mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-11 00:42:56 -04:00
arm64: dts: ti: k3-am62/a: use sub-node for USB_PHY_CTRL registers
Exposing the entire CTRL_MMR space to syscon is not a good idea. Add sub-nodes for USB0_PHY_CTRL and USB1_PHY_CTRL and use them in the USB0/USB1 nodes. Signed-off-by: Roger Quadros <rogerq@kernel.org> Reviewed-by: Andrew Davis <afd@ti.com> Link: https://lore.kernel.org/r/20240412-for-v6-10-am62-usb-typec-dt-v7-1-93b827adf97e@kernel.org Signed-off-by: Nishanth Menon <nm@ti.com>
This commit is contained in:
committed by
Nishanth Menon
parent
556e0504b0
commit
ef80ebe421
@@ -623,7 +623,7 @@ usbss0: dwc3-usb@f900000 {
|
||||
<0x00 0x0f908000 0x00 0x400>;
|
||||
clocks = <&k3_clks 161 3>;
|
||||
clock-names = "ref";
|
||||
ti,syscon-phy-pll-refclk = <&wkup_conf 0x4008>;
|
||||
ti,syscon-phy-pll-refclk = <&usb0_phy_ctrl 0x0>;
|
||||
#address-cells = <2>;
|
||||
#size-cells = <2>;
|
||||
power-domains = <&k3_pds 178 TI_SCI_PD_EXCLUSIVE>;
|
||||
@@ -649,7 +649,7 @@ usbss1: dwc3-usb@f910000 {
|
||||
<0x00 0x0f918000 0x00 0x400>;
|
||||
clocks = <&k3_clks 162 3>;
|
||||
clock-names = "ref";
|
||||
ti,syscon-phy-pll-refclk = <&wkup_conf 0x4018>;
|
||||
ti,syscon-phy-pll-refclk = <&usb1_phy_ctrl 0x0>;
|
||||
#address-cells = <2>;
|
||||
#size-cells = <2>;
|
||||
power-domains = <&k3_pds 179 TI_SCI_PD_EXCLUSIVE>;
|
||||
|
||||
@@ -21,6 +21,16 @@ chipid: chipid@14 {
|
||||
compatible = "ti,am654-chipid";
|
||||
reg = <0x14 0x4>;
|
||||
};
|
||||
|
||||
usb0_phy_ctrl: syscon@4008 {
|
||||
compatible = "ti,am62-usb-phy-ctrl", "syscon";
|
||||
reg = <0x4008 0x4>;
|
||||
};
|
||||
|
||||
usb1_phy_ctrl: syscon@4018 {
|
||||
compatible = "ti,am62-usb-phy-ctrl", "syscon";
|
||||
reg = <0x4018 0x4>;
|
||||
};
|
||||
};
|
||||
|
||||
target-module@2b300050 {
|
||||
|
||||
@@ -607,7 +607,7 @@ usbss0: dwc3-usb@f900000 {
|
||||
<0x00 0x0f908000 0x00 0x400>;
|
||||
clocks = <&k3_clks 161 3>;
|
||||
clock-names = "ref";
|
||||
ti,syscon-phy-pll-refclk = <&wkup_conf 0x4008>;
|
||||
ti,syscon-phy-pll-refclk = <&usb0_phy_ctrl 0x0>;
|
||||
#address-cells = <2>;
|
||||
#size-cells = <2>;
|
||||
power-domains = <&k3_pds 178 TI_SCI_PD_EXCLUSIVE>;
|
||||
@@ -631,7 +631,7 @@ usbss1: dwc3-usb@f910000 {
|
||||
<0x00 0x0f918000 0x00 0x400>;
|
||||
clocks = <&k3_clks 162 3>;
|
||||
clock-names = "ref";
|
||||
ti,syscon-phy-pll-refclk = <&wkup_conf 0x4018>;
|
||||
ti,syscon-phy-pll-refclk = <&usb1_phy_ctrl 0x0>;
|
||||
#address-cells = <2>;
|
||||
#size-cells = <2>;
|
||||
power-domains = <&k3_pds 179 TI_SCI_PD_EXCLUSIVE>;
|
||||
|
||||
@@ -17,6 +17,16 @@ chipid: chipid@14 {
|
||||
compatible = "ti,am654-chipid";
|
||||
reg = <0x14 0x4>;
|
||||
};
|
||||
|
||||
usb0_phy_ctrl: syscon@4008 {
|
||||
compatible = "ti,am62-usb-phy-ctrl", "syscon";
|
||||
reg = <0x4008 0x4>;
|
||||
};
|
||||
|
||||
usb1_phy_ctrl: syscon@4018 {
|
||||
compatible = "ti,am62-usb-phy-ctrl", "syscon";
|
||||
reg = <0x4018 0x4>;
|
||||
};
|
||||
};
|
||||
|
||||
wkup_uart0: serial@2b300000 {
|
||||
|
||||
Reference in New Issue
Block a user