aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/gemini/patches-5.4/0003-ARM-dts-gemini-Rename-IDE-nodes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/gemini/patches-5.4/0003-ARM-dts-gemini-Rename-IDE-nodes.patch')
-rw-r--r--target/linux/gemini/patches-5.4/0003-ARM-dts-gemini-Rename-IDE-nodes.patch117
1 files changed, 117 insertions, 0 deletions
diff --git a/target/linux/gemini/patches-5.4/0003-ARM-dts-gemini-Rename-IDE-nodes.patch b/target/linux/gemini/patches-5.4/0003-ARM-dts-gemini-Rename-IDE-nodes.patch
new file mode 100644
index 0000000000..6477b2d2a4
--- /dev/null
+++ b/target/linux/gemini/patches-5.4/0003-ARM-dts-gemini-Rename-IDE-nodes.patch
@@ -0,0 +1,117 @@
+From 9b95b301b219df19c20f4a563f1da6338b09b0d0 Mon Sep 17 00:00:00 2001
+From: Linus Walleij <linus.walleij@linaro.org>
+Date: Tue, 31 Dec 2019 18:14:28 +0100
+Subject: [PATCH 3/7] ARM: dts: gemini: Rename IDE nodes
+
+By renaming the ATA drive nodes to "ide@" we activate the
+semantic checks to the DT schema for the controller and use
+the correct notation for PATA drives.
+
+Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
+---
+ arch/arm/boot/dts/gemini-dlink-dir-685.dts | 2 +-
+ arch/arm/boot/dts/gemini-dlink-dns-313.dts | 2 +-
+ arch/arm/boot/dts/gemini-nas4220b.dts | 4 ++--
+ arch/arm/boot/dts/gemini-sl93512r.dts | 4 ++--
+ arch/arm/boot/dts/gemini-sq201.dts | 2 +-
+ arch/arm/boot/dts/gemini.dtsi | 8 ++++++--
+ 6 files changed, 13 insertions(+), 9 deletions(-)
+
+--- a/arch/arm/boot/dts/gemini-dlink-dir-685.dts
++++ b/arch/arm/boot/dts/gemini-dlink-dir-685.dts
+@@ -443,7 +443,7 @@
+ };
+ };
+
+- ata@63000000 {
++ ide@63000000 {
+ status = "okay";
+ };
+
+--- a/arch/arm/boot/dts/gemini-dlink-dns-313.dts
++++ b/arch/arm/boot/dts/gemini-dlink-dns-313.dts
+@@ -297,7 +297,7 @@
+ };
+ };
+
+- ata@63000000 {
++ ide@63000000 {
+ status = "okay";
+ };
+ };
+--- a/arch/arm/boot/dts/gemini-nas4220b.dts
++++ b/arch/arm/boot/dts/gemini-nas4220b.dts
+@@ -170,11 +170,11 @@
+ };
+ };
+
+- ata@63000000 {
++ ide@63000000 {
+ status = "okay";
+ };
+
+- ata@63400000 {
++ ide@63400000 {
+ status = "okay";
+ };
+
+--- a/arch/arm/boot/dts/gemini-sl93512r.dts
++++ b/arch/arm/boot/dts/gemini-sl93512r.dts
+@@ -293,11 +293,11 @@
+ };
+ };
+
+- ata@63000000 {
++ ide@63000000 {
+ status = "okay";
+ };
+
+- ata@63400000 {
++ ide@63400000 {
+ status = "okay";
+ };
+
+--- a/arch/arm/boot/dts/gemini-sq201.dts
++++ b/arch/arm/boot/dts/gemini-sq201.dts
+@@ -289,7 +289,7 @@
+ };
+ };
+
+- ata@63000000 {
++ ide@63000000 {
+ status = "okay";
+ };
+
+--- a/arch/arm/boot/dts/gemini.dtsi
++++ b/arch/arm/boot/dts/gemini.dtsi
+@@ -356,7 +356,7 @@
+ };
+ };
+
+- ata@63000000 {
++ ide@63000000 {
+ compatible = "cortina,gemini-pata", "faraday,ftide010";
+ reg = <0x63000000 0x1000>;
+ interrupts = <4 IRQ_TYPE_EDGE_RISING>;
+@@ -365,9 +365,11 @@
+ clock-names = "PCLK";
+ sata = <&sata>;
+ status = "disabled";
++ #address-cells = <1>;
++ #size-cells = <0>;
+ };
+
+- ata@63400000 {
++ ide@63400000 {
+ compatible = "cortina,gemini-pata", "faraday,ftide010";
+ reg = <0x63400000 0x1000>;
+ interrupts = <5 IRQ_TYPE_EDGE_RISING>;
+@@ -376,6 +378,8 @@
+ clock-names = "PCLK";
+ sata = <&sata>;
+ status = "disabled";
++ #address-cells = <1>;
++ #size-cells = <0>;
+ };
+
+ dma-controller@67000000 {