summaryrefslogtreecommitdiff
path: root/libre/linux-libre-pck/0011-ARM-dts-imx6qdl-Enable-usb-node-children-with-reg.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libre/linux-libre-pck/0011-ARM-dts-imx6qdl-Enable-usb-node-children-with-reg.patch')
-rw-r--r--libre/linux-libre-pck/0011-ARM-dts-imx6qdl-Enable-usb-node-children-with-reg.patch49
1 files changed, 49 insertions, 0 deletions
diff --git a/libre/linux-libre-pck/0011-ARM-dts-imx6qdl-Enable-usb-node-children-with-reg.patch b/libre/linux-libre-pck/0011-ARM-dts-imx6qdl-Enable-usb-node-children-with-reg.patch
new file mode 100644
index 000000000..6fdb44623
--- /dev/null
+++ b/libre/linux-libre-pck/0011-ARM-dts-imx6qdl-Enable-usb-node-children-with-reg.patch
@@ -0,0 +1,49 @@
+From 1392b78fdeca809beb269413d788a864c4f2f261 Mon Sep 17 00:00:00 2001
+From: Joshua Clayton <stillcompiling@gmail.com>
+Date: Wed, 21 Jun 2017 14:42:06 +0800
+Subject: [PATCH 11/13] ARM: dts: imx6qdl: Enable usb node children with <reg>
+
+Give usb nodes #address and #size attributes, so that a child node
+representing a permanently connected device such as an onboard hub may
+be addressed with a <reg> attribute
+
+Signed-off-by: Joshua Clayton <stillcompiling@gmail.com>
+Signed-off-by: Peter Chen <peter.chen@nxp.com>
+---
+ arch/arm/boot/dts/imx6qdl.dtsi | 6 ++++++
+ 1 file changed, 6 insertions(+)
+
+diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi
+index 59ff86695a14..a4957bf2a82f 100644
+--- a/arch/arm/boot/dts/imx6qdl.dtsi
++++ b/arch/arm/boot/dts/imx6qdl.dtsi
+@@ -983,6 +983,8 @@
+
+ usbh1: usb@2184200 {
+ compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
++ #address-cells = <1>;
++ #size-cells = <0>;
+ reg = <0x02184200 0x200>;
+ interrupts = <0 40 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&clks IMX6QDL_CLK_USBOH3>;
+@@ -997,6 +999,8 @@
+
+ usbh2: usb@2184400 {
+ compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
++ #address-cells = <1>;
++ #size-cells = <0>;
+ reg = <0x02184400 0x200>;
+ interrupts = <0 41 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&clks IMX6QDL_CLK_USBOH3>;
+@@ -1010,6 +1014,8 @@
+
+ usbh3: usb@2184600 {
+ compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
++ #address-cells = <1>;
++ #size-cells = <0>;
+ reg = <0x02184600 0x200>;
+ interrupts = <0 42 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&clks IMX6QDL_CLK_USBOH3>;
+--
+2.16.2
+