diff options
Diffstat (limited to 'target/linux/brcm2708/patches-4.19/950-0134-overlays-Fix-a-few-dtc-warnings.patch')
-rw-r--r-- | target/linux/brcm2708/patches-4.19/950-0134-overlays-Fix-a-few-dtc-warnings.patch | 179 |
1 files changed, 179 insertions, 0 deletions
diff --git a/target/linux/brcm2708/patches-4.19/950-0134-overlays-Fix-a-few-dtc-warnings.patch b/target/linux/brcm2708/patches-4.19/950-0134-overlays-Fix-a-few-dtc-warnings.patch new file mode 100644 index 0000000000..b4c4f5aab4 --- /dev/null +++ b/target/linux/brcm2708/patches-4.19/950-0134-overlays-Fix-a-few-dtc-warnings.patch @@ -0,0 +1,179 @@ +From 13abcbfdc76f1a40c36367fe28b76e29742b2d05 Mon Sep 17 00:00:00 2001 +From: Phil Elwell <phil@raspberrypi.org> +Date: Mon, 8 Oct 2018 17:16:28 +0100 +Subject: [PATCH] overlays: Fix a few dtc warnings + +Signed-off-by: Phil Elwell <phil@raspberrypi.org> +--- + .../overlays/pitft28-resistive-overlay.dts | 2 -- + .../overlays/pitft35-resistive-overlay.dts | 2 -- + .../arm/boot/dts/overlays/qca7000-overlay.dts | 13 ++++++---- + .../overlays/rpi-cirrus-wm5102-overlay.dts | 26 ++++++++++++------- + arch/arm/boot/dts/overlays/rpi-tv-overlay.dts | 11 +++++--- + .../boot/dts/overlays/smi-nand-overlay.dts | 3 --- + .../boot/dts/overlays/tinylcd35-overlay.dts | 2 -- + 7 files changed, 31 insertions(+), 28 deletions(-) + +--- a/arch/arm/boot/dts/overlays/pitft28-resistive-overlay.dts ++++ b/arch/arm/boot/dts/overlays/pitft28-resistive-overlay.dts +@@ -64,8 +64,6 @@ + }; + + pitft_ts@1 { +- #address-cells = <1>; +- #size-cells = <0>; + compatible = "st,stmpe610"; + reg = <1>; + +--- a/arch/arm/boot/dts/overlays/pitft35-resistive-overlay.dts ++++ b/arch/arm/boot/dts/overlays/pitft35-resistive-overlay.dts +@@ -64,8 +64,6 @@ + }; + + pitft_ts@1 { +- #address-cells = <1>; +- #size-cells = <0>; + compatible = "st,stmpe610"; + reg = <1>; + +--- a/arch/arm/boot/dts/overlays/qca7000-overlay.dts ++++ b/arch/arm/boot/dts/overlays/qca7000-overlay.dts +@@ -8,6 +8,13 @@ + compatible = "brcm,bcm2708"; + + fragment@0 { ++ target = <&spidev0>; ++ __overlay__ { ++ status = "disabled"; ++ }; ++ }; ++ ++ fragment@1 { + target = <&spi0>; + __overlay__ { + /* needed to avoid dtc warning */ +@@ -16,10 +23,6 @@ + + status = "okay"; + +- spidev@0 { +- status = "disabled"; +- }; +- + eth1: qca7000@0 { + compatible = "qca,qca7000"; + reg = <0>; /* CE0 */ +@@ -33,7 +36,7 @@ + }; + }; + +- fragment@1 { ++ fragment@2 { + target = <&gpio>; + __overlay__ { + eth1_pins: eth1_pins { +--- a/arch/arm/boot/dts/overlays/rpi-cirrus-wm5102-overlay.dts ++++ b/arch/arm/boot/dts/overlays/rpi-cirrus-wm5102-overlay.dts +@@ -44,20 +44,26 @@ + }; + + fragment@3 { ++ target = <&spidev0>; ++ __overlay__ { ++ status = "disabled"; ++ }; ++ }; ++ ++ fragment@4 { ++ target = <&spidev1>; ++ __overlay__ { ++ status = "disabled"; ++ }; ++ }; ++ ++ fragment@5 { + target = <&spi0>; + __overlay__ { + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + +- spidev@0{ +- status = "disabled"; +- }; +- +- spidev@1{ +- status = "disabled"; +- }; +- + wm5102@1{ + compatible = "wlf,wm5102"; + reg = <1>; +@@ -117,7 +123,7 @@ + }; + }; + +- fragment@4 { ++ fragment@6 { + target = <&i2c1>; + __overlay__ { + status = "okay"; +@@ -135,7 +141,7 @@ + }; + }; + +- fragment@5 { ++ fragment@7 { + target = <&sound>; + __overlay__ { + compatible = "wlf,rpi-cirrus"; +--- a/arch/arm/boot/dts/overlays/rpi-tv-overlay.dts ++++ b/arch/arm/boot/dts/overlays/rpi-tv-overlay.dts +@@ -7,6 +7,13 @@ + compatible = "brcm,bcm2708", "brcm,bcm2709"; + + fragment@0 { ++ target = <&spidev0>; ++ __overlay__ { ++ status = "disabled"; ++ }; ++ }; ++ ++ fragment@1 { + target = <&spi0>; + __overlay__ { + /* needed to avoid dtc warning */ +@@ -15,10 +22,6 @@ + + status = "okay"; + +- spidev@0 { +- status = "disabled"; +- }; +- + cxd2880@0 { + compatible = "sony,cxd2880"; + reg = <0>; /* CE0 */ +--- a/arch/arm/boot/dts/overlays/smi-nand-overlay.dts ++++ b/arch/arm/boot/dts/overlays/smi-nand-overlay.dts +@@ -20,9 +20,6 @@ + fragment@1 { + target = <&soc>; + __overlay__ { +- #address-cells = <1>; +- #size-cells = <1>; +- + nand: flash@0 { + compatible = "brcm,bcm2835-smi-nand"; + smi_handle = <&smi>; +--- a/arch/arm/boot/dts/overlays/tinylcd35-overlay.dts ++++ b/arch/arm/boot/dts/overlays/tinylcd35-overlay.dts +@@ -171,8 +171,6 @@ + __overlay__ { + keypad: keypad { + compatible = "gpio-keys"; +- #address-cells = <1>; +- #size-cells = <0>; + pinctrl-names = "default"; + pinctrl-0 = <&keypad_pins>; + status = "disabled"; |