aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/rt5350.dtsi
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2018-07-21 19:32:51 +0200
committerMathias Kresin <dev@kresin.me>2018-08-04 08:39:35 +0200
commitd8e7a526a38499e1d1368829a76e4a0e541893b0 (patch)
treed18096e66ac273ecc83c12eff3219491a1def4fc /target/linux/ramips/dts/rt5350.dtsi
parent1bad2b74aea59289c21209aa1d8e5c2ccef74a72 (diff)
downloadupstream-d8e7a526a38499e1d1368829a76e4a0e541893b0.tar.gz
upstream-d8e7a526a38499e1d1368829a76e4a0e541893b0.tar.bz2
upstream-d8e7a526a38499e1d1368829a76e4a0e541893b0.zip
ramips: use ralink,nr-gpio instead of ralink,num-gpios
Since commit c1e7738988f5 ("checks: add gpio binding properties check") dtc treats any *-gpios and *-gpio property as phandle at least during checks. The only whitelisted property is nr-gpio. Use ralink,nr-gpio in favour of ralink,num-gpios to get rid of false positive warnings. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/dts/rt5350.dtsi')
-rw-r--r--target/linux/ramips/dts/rt5350.dtsi4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/rt5350.dtsi b/target/linux/ramips/dts/rt5350.dtsi
index d2be76f319..f14162a588 100644
--- a/target/linux/ramips/dts/rt5350.dtsi
+++ b/target/linux/ramips/dts/rt5350.dtsi
@@ -116,7 +116,7 @@
#gpio-cells = <2>;
ralink,gpio-base = <0>;
- ralink,num-gpios = <22>;
+ ralink,nr-gpio = <22>;
ralink,register-map = [ 00 04 08 0c
20 24 28 2c
30 34 ];
@@ -133,7 +133,7 @@
#gpio-cells = <2>;
ralink,gpio-base = <22>;
- ralink,num-gpios = <6>;
+ ralink,nr-gpio = <6>;
ralink,register-map = [ 00 04 08 0c
10 14 18 1c
20 24 ];