1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
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";
|