Skip to contentSkip to conversation

arm: dts: meson-gxl: fix USB gadget by adding missing nodes for U-Boot

PATCH New Neil Armstrong 1 participant 2 messages May 28, 2020 – May 29, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: dts: meson-gxl: fix USB gadget by adding missing nodes for U-Boot

The khadas-vim, khadas-vim2, libretech-ac & libretech-*-pc boards were missing DT tweak to enable USB gadget.
Add them to their -u-boot.dtsi files and include the right gxl-u-boot.dtsi.

Fixes a19e8a0f03 ("arm: dts: meson-gxl: Add USB Gadget nodes for U-Boot")
---
 arch/arm/dts/meson-gxl-s805x-libretech-ac-u-boot.dtsi | 6 +++++-
 arch/arm/dts/meson-gxl-s905d-libretech-pc-u-boot.dtsi | 6 +++++-
 arch/arm/dts/meson-gxl-s905x-khadas-vim-u-boot.dtsi   | 4 ++++
 arch/arm/dts/meson-gxm-khadas-vim2-u-boot.dtsi        | 6 +++++-
 arch/arm/dts/meson-gxm-s912-libretech-pc-u-boot.dtsi  | 6 +++++-
 5 files changed, 24 insertions(+), 4 deletions(-)
arch/arm/dts/meson-gxl-s805x-libretech-ac-u-boot.dtsi +5 -1
index c35158d7e9..474a3e1604 100644
@@ -4,4 +4,8 @@
  * Author: Neil Armstrong <[email protected]>
  */
 
-#include "meson-gx-u-boot.dtsi"
+#include "meson-gxl-u-boot.dtsi"
+
+&dwc2 {
+	status = "okay";
+};
arch/arm/dts/meson-gxl-s905d-libretech-pc-u-boot.dtsi +5 -1
index c35158d7e9..474a3e1604 100644
@@ -4,4 +4,8 @@
  * Author: Neil Armstrong <[email protected]>
  */
 
-#include "meson-gx-u-boot.dtsi"
+#include "meson-gxl-u-boot.dtsi"
+
+&dwc2 {
+	status = "okay";
+};
arch/arm/dts/meson-gxl-s905x-khadas-vim-u-boot.dtsi +4 -0
index 39270ea71c..474a3e1604 100644
@@ -5,3 +5,7 @@
  */
 
 #include "meson-gxl-u-boot.dtsi"
+
+&dwc2 {
+	status = "okay";
+};
arch/arm/dts/meson-gxm-khadas-vim2-u-boot.dtsi +5 -1
index bec9e05b09..7aecf2696b 100644
@@ -4,7 +4,7 @@
  * Author: Neil Armstrong <[email protected]>
  */
 
-#include "meson-gx-u-boot.dtsi"
+#include "meson-gxl-u-boot.dtsi"
 
 / {
 	aliases {
@@ -12,6 +12,10 @@
 	};
 };
 
+&dwc2 {
+	status = "okay";
+};
+
 &sd_emmc_c {
 	status = "okay";
 	pinctrl-0 = <&emmc_pins>;
arch/arm/dts/meson-gxm-s912-libretech-pc-u-boot.dtsi +5 -1
index c35158d7e9..474a3e1604 100644
@@ -4,4 +4,8 @@
  * Author: Neil Armstrong <[email protected]>
  */
 
-#include "meson-gx-u-boot.dtsi"
+#include "meson-gxl-u-boot.dtsi"
+
+&dwc2 {
+	status = "okay";
+};
Signature · 1 line
2.22.0
#1 lore raw

PATCH 1/1 arm: dts: meson-gxl: fix USB gadget by adding missing nodes for U-Boot

Quoted 85 lines · Neil Armstrong

The khadas-vim, khadas-vim2, libretech-ac & libretech-*-pc boards were missing DT tweak to enable USB gadget.
Add them to their -u-boot.dtsi files and include the right gxl-u-boot.dtsi.

Fixes a19e8a0f03 ("arm: dts: meson-gxl: Add USB Gadget nodes for U-Boot")
---
 arch/arm/dts/meson-gxl-s805x-libretech-ac-u-boot.dtsi | 6 +++++-
 arch/arm/dts/meson-gxl-s905d-libretech-pc-u-boot.dtsi | 6 +++++-
 arch/arm/dts/meson-gxl-s905x-khadas-vim-u-boot.dtsi   | 4 ++++
 arch/arm/dts/meson-gxm-khadas-vim2-u-boot.dtsi        | 6 +++++-
 arch/arm/dts/meson-gxm-s912-libretech-pc-u-boot.dtsi  | 6 +++++-
 5 files changed, 24 insertions(+), 4 deletions(-)
arch/arm/dts/meson-gxl-s805x-libretech-ac-u-boot.dtsi +5 -1
index c35158d7e9..474a3e1604 100644
@@ -4,4 +4,8 @@
  * Author: Neil Armstrong <[email protected]>
  */
 
-#include "meson-gx-u-boot.dtsi"
+#include "meson-gxl-u-boot.dtsi"
+
+&dwc2 {
+	status = "okay";
+};
arch/arm/dts/meson-gxl-s905d-libretech-pc-u-boot.dtsi +5 -1
index c35158d7e9..474a3e1604 100644
@@ -4,4 +4,8 @@
  * Author: Neil Armstrong <[email protected]>
  */
 
-#include "meson-gx-u-boot.dtsi"
+#include "meson-gxl-u-boot.dtsi"
+
+&dwc2 {
+	status = "okay";
+};
arch/arm/dts/meson-gxl-s905x-khadas-vim-u-boot.dtsi +4 -0
index 39270ea71c..474a3e1604 100644
@@ -5,3 +5,7 @@
  */
 
 #include "meson-gxl-u-boot.dtsi"
+
+&dwc2 {
+	status = "okay";
+};
arch/arm/dts/meson-gxm-khadas-vim2-u-boot.dtsi +5 -1
index bec9e05b09..7aecf2696b 100644
@@ -4,7 +4,7 @@
  * Author: Neil Armstrong <[email protected]>
  */
 
-#include "meson-gx-u-boot.dtsi"
+#include "meson-gxl-u-boot.dtsi"
 
 / {
 	aliases {
@@ -12,6 +12,10 @@
 	};
 };
 
+&dwc2 {
+	status = "okay";
+};
+
 &sd_emmc_c {
 	status = "okay";
 	pinctrl-0 = <&emmc_pins>;
arch/arm/dts/meson-gxm-s912-libretech-pc-u-boot.dtsi +0 -0
index c35158d7e9..474a3e1604 100644

arch/arm/dts/meson-gxm-s912-libretech-pc-u-boot.dtsi line 11

Quoted 9 lines
arch/arm/dts/meson-gxm-s912-libretech-pc-u-boot.dtsi +5 -1
@@ -4,4 +4,8 @@
  * Author: Neil Armstrong <[email protected]>
  */
 
-#include "meson-gx-u-boot.dtsi"
+#include "meson-gxl-u-boot.dtsi"
+
+&dwc2 {
+	status = "okay";
+};

Applied to u-boot-amlogic