Re: [PATCH v2 19/26] arm: dts: k3-am654: remove usb0

2024-01-02 Thread Nishanth Menon
On 11:47-20231229, Bryan Brattlof wrote:
> The pinmux for usb0 is missing from the Linux board dtb file. Remove it
> until we can introduce it in Linux
> 
> Tested-by: Tom Rini 
> Signed-off-by: Bryan Brattlof 
> ---
[...]
Reviewed-by: Nishanth Menon 
-- 
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 
849D 1736 249D


[PATCH v2 19/26] arm: dts: k3-am654: remove usb0

2023-12-29 Thread Bryan Brattlof
The pinmux for usb0 is missing from the Linux board dtb file. Remove it
until we can introduce it in Linux

Tested-by: Tom Rini 
Signed-off-by: Bryan Brattlof 
---
 arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 12 
 arch/arm/dts/k3-am654-r5-base-board.dts  | 29 
 2 files changed, 41 deletions(-)

diff --git a/arch/arm/dts/k3-am654-base-board-u-boot.dtsi 
b/arch/arm/dts/k3-am654-base-board-u-boot.dtsi
index a24cb895e5578..3647088c29e4b 100644
--- a/arch/arm/dts/k3-am654-base-board-u-boot.dtsi
+++ b/arch/arm/dts/k3-am654-base-board-u-boot.dtsi
@@ -125,10 +125,6 @@
bootph-pre-ram;
 };
 
-&usb0_pins_default {
-   bootph-pre-ram;
-};
-
 &main_pmx1 {
bootph-pre-ram;
 };
@@ -161,14 +157,6 @@
bootph-pre-ram;
 };
 
-&usb0_phy {
-   bootph-pre-ram;
-};
-
-&usb0 {
-   bootph-pre-ram;
-};
-
 &scm_conf {
bootph-pre-ram;
 };
diff --git a/arch/arm/dts/k3-am654-r5-base-board.dts 
b/arch/arm/dts/k3-am654-r5-base-board.dts
index da41971a78f81..8e57c77cba923 100644
--- a/arch/arm/dts/k3-am654-r5-base-board.dts
+++ b/arch/arm/dts/k3-am654-r5-base-board.dts
@@ -18,8 +18,6 @@
ethernet0 = &cpsw_port1;
remoteproc0 = &sysctrler;
remoteproc1 = &a53_0;
-   usb0 = &usb0;
-   usb1 = &usb1;
};
 
a53_0: a53@0 {
@@ -114,14 +112,6 @@
};
 };
 
-&main_pmx0 {
-   usb0_pins_default: usb0_pins_default {
-   pinctrl-single,pins = <
-   AM65X_IOPAD(0x02bc, PIN_OUTPUT, 0) /* (AD9) 
USB0_DRVVBUS */
-   >;
-   };
-};
-
 &memorycontroller {
vtt-supply = <&vtt_supply>;
pinctrl-names = "default";
@@ -161,14 +151,6 @@
  <0x0 0x5000 0x0 0x800>;
 };
 
-&main_pmx0 {
-   usb0_pins_default: usb0_pins_default {
-   pinctrl-single,pins = <
-   AM65X_IOPAD(0x02bc, PIN_OUTPUT, 0) /* (AD9) 
USB0_DRVVBUS */
-   >;
-   };
-};
-
 &dwc3_0 {
status = "okay";
/delete-property/ clocks;
@@ -177,17 +159,6 @@
/delete-property/ assigned-clock-parents;
 };
 
-&usb0_phy {
-   status = "okay";
-   /delete-property/ clocks;
-};
-
-&usb0 {
-   pinctrl-names = "default";
-   pinctrl-0 = <&usb0_pins_default>;
-   dr_mode = "peripheral";
-};
-
 &davinci_mdio {
phy0: ethernet-phy@0 {
reg = <0>;
-- 
2.43.0