From 338ff04cab083fd64faaac4d97814e7d15392d3a Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 6 May 2013 16:45:04 +0000 Subject: [PATCH] ramips: add gpio base properties to dtsi files Signed-off-by: John Crispin SVN-Revision: 36560 --- target/linux/ramips/dts/mt7620.dtsi | 4 ++++ target/linux/ramips/dts/rt2880.dtsi | 3 +++ target/linux/ramips/dts/rt3050.dtsi | 3 +++ target/linux/ramips/dts/rt3352.dtsi | 3 +++ target/linux/ramips/dts/rt3883.dtsi | 4 ++++ target/linux/ramips/dts/rt5350.dtsi | 3 +++ 6 files changed, 20 insertions(+) diff --git a/target/linux/ramips/dts/mt7620.dtsi b/target/linux/ramips/dts/mt7620.dtsi index 8c6d6c7f896..9f913cd85a5 100644 --- a/target/linux/ramips/dts/mt7620.dtsi +++ b/target/linux/ramips/dts/mt7620.dtsi @@ -69,6 +69,7 @@ gpio-controller; #gpio-cells = <2>; + ralink,gpio-base = <0>; ralink,num-gpios = <24>; ralink,register-map = [ 00 04 08 0c 20 24 28 2c @@ -82,6 +83,7 @@ gpio-controller; #gpio-cells = <2>; + ralink,gpio-base = <24>; ralink,num-gpios = <16>; ralink,register-map = [ 00 04 08 0c 10 14 18 1c @@ -95,6 +97,7 @@ gpio-controller; #gpio-cells = <2>; + ralink,gpio-base = <40>; ralink,num-gpios = <32>; ralink,register-map = [ 00 04 08 0c 10 14 18 1c @@ -108,6 +111,7 @@ gpio-controller; #gpio-cells = <2>; + ralink,gpio-base = <72>; ralink,num-gpios = <1>; ralink,register-map = [ 00 04 08 0c 10 14 18 1c diff --git a/target/linux/ramips/dts/rt2880.dtsi b/target/linux/ramips/dts/rt2880.dtsi index ef646359f28..637409f3557 100644 --- a/target/linux/ramips/dts/rt2880.dtsi +++ b/target/linux/ramips/dts/rt2880.dtsi @@ -75,6 +75,7 @@ gpio-controller; #gpio-cells = <2>; + ralink,gpio-base = <0>; ralink,num-gpios = <24>; ralink,register-map = [ 00 04 08 0c 20 24 28 2c @@ -88,6 +89,7 @@ gpio-controller; #gpio-cells = <2>; + ralink,gpio-base = <24>; ralink,num-gpios = <16>; ralink,register-map = [ 00 04 08 0c 10 14 18 1c @@ -103,6 +105,7 @@ gpio-controller; #gpio-cells = <2>; + ralink,gpio-base = <40>; ralink,num-gpios = <32>; ralink,register-map = [ 00 04 08 0c 10 14 18 1c diff --git a/target/linux/ramips/dts/rt3050.dtsi b/target/linux/ramips/dts/rt3050.dtsi index c56bf2ff723..45d92385305 100644 --- a/target/linux/ramips/dts/rt3050.dtsi +++ b/target/linux/ramips/dts/rt3050.dtsi @@ -73,6 +73,7 @@ gpio-controller; #gpio-cells = <2>; + ralink,gpio-base = <0>; ralink,num-gpios = <24>; ralink,register-map = [ 00 04 08 0c 20 24 28 2c @@ -88,6 +89,7 @@ gpio-controller; #gpio-cells = <2>; + ralink,gpio-base = <24>; ralink,num-gpios = <16>; ralink,register-map = [ 00 04 08 0c 10 14 18 1c @@ -103,6 +105,7 @@ gpio-controller; #gpio-cells = <2>; + ralink,gpio-base = <40>; ralink,num-gpios = <12>; ralink,register-map = [ 00 04 08 0c 10 14 18 1c diff --git a/target/linux/ramips/dts/rt3352.dtsi b/target/linux/ramips/dts/rt3352.dtsi index 6896994547f..9c7c268b88e 100644 --- a/target/linux/ramips/dts/rt3352.dtsi +++ b/target/linux/ramips/dts/rt3352.dtsi @@ -73,6 +73,7 @@ gpio-controller; #gpio-cells = <2>; + ralink,gpio-base = <0>; ralink,num-gpios = <24>; ralink,register-map = [ 00 04 08 0c 20 24 28 2c @@ -88,6 +89,7 @@ gpio-controller; #gpio-cells = <2>; + ralink,gpio-base = <24>; ralink,num-gpios = <16>; ralink,register-map = [ 00 04 08 0c 10 14 18 1c @@ -103,6 +105,7 @@ gpio-controller; #gpio-cells = <2>; + ralink,gpio-base = <40>; ralink,num-gpios = <12>; ralink,register-map = [ 00 04 08 0c 10 14 18 1c diff --git a/target/linux/ramips/dts/rt3883.dtsi b/target/linux/ramips/dts/rt3883.dtsi index 415b26f9a1f..6f824d5e862 100644 --- a/target/linux/ramips/dts/rt3883.dtsi +++ b/target/linux/ramips/dts/rt3883.dtsi @@ -77,6 +77,7 @@ gpio-controller; #gpio-cells = <2>; + ralink,gpio-base = <0>; ralink,num-gpios = <24>; ralink,register-map = [ 00 04 08 0c 20 24 28 2c @@ -92,6 +93,7 @@ gpio-controller; #gpio-cells = <2>; + ralink,gpio-base = <24>; ralink,num-gpios = <16>; ralink,register-map = [ 00 04 08 0c 10 14 18 1c @@ -107,6 +109,7 @@ gpio-controller; #gpio-cells = <2>; + ralink,gpio-base = <40>; ralink,num-gpios = <32>; ralink,register-map = [ 00 04 08 0c 10 14 18 1c @@ -122,6 +125,7 @@ gpio-controller; #gpio-cells = <2>; + ralink,gpio-base = <72>; ralink,num-gpios = <24>; ralink,register-map = [ 00 04 08 0c 10 14 18 1c diff --git a/target/linux/ramips/dts/rt5350.dtsi b/target/linux/ramips/dts/rt5350.dtsi index 0513531abfc..c48d7810f6b 100644 --- a/target/linux/ramips/dts/rt5350.dtsi +++ b/target/linux/ramips/dts/rt5350.dtsi @@ -73,6 +73,7 @@ gpio-controller; #gpio-cells = <2>; + ralink,gpio-base = <0>; ralink,num-gpios = <24>; ralink,register-map = [ 00 04 08 0c 20 24 28 2c @@ -88,6 +89,7 @@ gpio-controller; #gpio-cells = <2>; + ralink,gpio-base = <24>; ralink,num-gpios = <16>; ralink,register-map = [ 00 04 08 0c 10 14 18 1c @@ -103,6 +105,7 @@ gpio-controller; #gpio-cells = <2>; + ralink,gpio-base = <40>; ralink,num-gpios = <12>; ralink,register-map = [ 00 04 08 0c 10 14 18 1c -- 2.30.2