linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/10] ARM: dts: atlas7: add some missed nodes and properties
@ 2015-07-28  9:03 Barry Song
  2015-07-28  9:03 ` [PATCH 01/10] ARM: dts: atlas7: add lost jpeg node Barry Song
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Barry Song @ 2015-07-28  9:03 UTC (permalink / raw)
  To: linux-arm-kernel

From: Barry Song <Baohua.Song@csr.com>


Andy Sun (1):
  ARM: dts: atlas7: add a GPIO key for rearview button

Dongli Li (1):
  ARM: dts: atlas7: add lost G2D node

Guo Zeng (1):
  ARM: dts: atlas7: add lost PWM node

Huayi Li (1):
  ARM: dts: atlas7: put pinctl property to get pinmux for NAND

Lily.Li (1):
  ARM: dts: atlas7: add lost jpeg node

Qipan Li (1):
  ARM: dts: atlas7: add alias name for spi device

Xiaofeng Fei (1):
  ARM: dts: atlas7: add multimedia codec node

Ye He (2):
  ARM: dts: atlas7: add performance monitor unit node
  ARM: dts: atlas7: add lost gmac node

Yonghui Zhang (1):
  ARM: dts: atlas7: add software digital radio nodes and its DMA
    channels

 arch/arm/boot/dts/atlas7-evb.dts | 18 ++++++++
 arch/arm/boot/dts/atlas7.dtsi    | 97 ++++++++++++++++++++++++++++++++++++++--
 2 files changed, 111 insertions(+), 4 deletions(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [PATCH 01/10] ARM: dts: atlas7: add lost jpeg node
  2015-07-28  9:03 [PATCH 00/10] ARM: dts: atlas7: add some missed nodes and properties Barry Song
@ 2015-07-28  9:03 ` Barry Song
  2015-07-28  9:03 ` [PATCH 02/10] ARM: dts: atlas7: add performance monitor unit node Barry Song
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Barry Song @ 2015-07-28  9:03 UTC (permalink / raw)
  To: linux-arm-kernel

From: "Lily.Li" <Lily.Li@csr.com>

this patch adds lost jpeg node, and also fix the ranges of its
parent node.

Signed-off-by: Lily.Li <Lily.Li@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
---
 arch/arm/boot/dts/atlas7.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm/boot/dts/atlas7.dtsi b/arch/arm/boot/dts/atlas7.dtsi
index 3e21311..d590b82 100644
--- a/arch/arm/boot/dts/atlas7.dtsi
+++ b/arch/arm/boot/dts/atlas7.dtsi
@@ -1350,6 +1350,7 @@
 			#address-cells = <1>;
 			#size-cells = <1>;
 			ranges = <0x16000000 0x16000000 0x00200000>,
+				<0x17000000 0x17000000 0x10000>,
 				<0x17020000 0x17020000 0x1000>,
 				<0x17030000 0x17030000 0x1000>,
 				<0x17040000 0x17040000 0x1000>,
@@ -1416,6 +1417,14 @@
 				bus-width = <8>;
 			};
 
+			jpeg at 17000000 {
+				compatible = "sirf,atlas7-jpeg";
+				reg = <0x17000000 0x10000>;
+				interrupts = <0 72 0>,
+					<0 73 0>;
+				clocks = <&car 103>;
+			};
+
 			usb0: usb at 17060000 {
 				cell-index = <0>;
 				compatible = "sirf,atlas7-usb";
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 02/10] ARM: dts: atlas7: add performance monitor unit node
  2015-07-28  9:03 [PATCH 00/10] ARM: dts: atlas7: add some missed nodes and properties Barry Song
  2015-07-28  9:03 ` [PATCH 01/10] ARM: dts: atlas7: add lost jpeg node Barry Song
@ 2015-07-28  9:03 ` Barry Song
  2015-07-28  9:03 ` [PATCH 03/10] ARM: dts: atlas7: add lost gmac node Barry Song
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Barry Song @ 2015-07-28  9:03 UTC (permalink / raw)
  To: linux-arm-kernel

From: Ye He <Ye.He@csr.com>

Signed-off-by: Ye He <ye.he@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
---
 arch/arm/boot/dts/atlas7.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/atlas7.dtsi b/arch/arm/boot/dts/atlas7.dtsi
index d590b82..3caa2cc 100644
--- a/arch/arm/boot/dts/atlas7.dtsi
+++ b/arch/arm/boot/dts/atlas7.dtsi
@@ -53,6 +53,11 @@
 		};
 	};
 
+	arm-pmu {
+		compatible = "arm,cortex-a7-pmu";
+		interrupts = <0 29 4>, <0 82 4>;
+	};
+
 	noc {
 		compatible = "simple-bus";
 		#address-cells = <1>;
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 03/10] ARM: dts: atlas7: add lost gmac node
  2015-07-28  9:03 [PATCH 00/10] ARM: dts: atlas7: add some missed nodes and properties Barry Song
  2015-07-28  9:03 ` [PATCH 01/10] ARM: dts: atlas7: add lost jpeg node Barry Song
  2015-07-28  9:03 ` [PATCH 02/10] ARM: dts: atlas7: add performance monitor unit node Barry Song
@ 2015-07-28  9:03 ` Barry Song
  2015-07-28  9:03 ` [PATCH 04/10] ARM: dts: atlas7: add alias name for spi device Barry Song
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Barry Song @ 2015-07-28  9:03 UTC (permalink / raw)
  To: linux-arm-kernel

From: Ye He <Ye.He@csr.com>

this patch adds lost ethernet gmac node, and also fix the ranges of
its parent node.

Signed-off-by: Ye He <ye.he@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
---
 arch/arm/boot/dts/atlas7.dtsi | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/arch/arm/boot/dts/atlas7.dtsi b/arch/arm/boot/dts/atlas7.dtsi
index 3caa2cc..cc9db08 100644
--- a/arch/arm/boot/dts/atlas7.dtsi
+++ b/arch/arm/boot/dts/atlas7.dtsi
@@ -1236,6 +1236,7 @@
 				<0x18040000 0x18040000 0x1000>,
 				<0x18050000 0x18050000 0x1000>,
 				<0x18060000 0x18060000 0x1000>,
+				<0x180b0000 0x180b0000 0x4000>,
 				<0x18100000 0x18100000 0x3000>,
 				<0x18250000 0x18250000 0x10000>,
 				<0x18200000 0x18200000 0x1000>;
@@ -1319,6 +1320,18 @@
 				dma-names = "rx", "tx";
 				status = "disabled";
 			};
+			gmac: eth at 180b0000 {
+				compatible = "snps, dwc-eth-qos";
+				reg = <0x180b0000 0x4000>;
+				interrupts = <0 59 0>, <0 70 0>;
+				interrupt-names = "macirq", "macpmt";
+				clocks = <&car 39>, <&car 45>,
+				       <&car 86>, <&car 87>;
+				clock-names = "gnssm_rgmii", "gnssm_gmac",
+					"rgmii", "gmac";
+				local-mac-address = [00 00 00 00 00 00];
+				phy-mode = "rgmii";
+			};
 			dspub at 18250000 {
 				compatible = "dx,cc44p";
 				reg = <0x18250000 0x10000>;
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 04/10] ARM: dts: atlas7: add alias name for spi device
  2015-07-28  9:03 [PATCH 00/10] ARM: dts: atlas7: add some missed nodes and properties Barry Song
                   ` (2 preceding siblings ...)
  2015-07-28  9:03 ` [PATCH 03/10] ARM: dts: atlas7: add lost gmac node Barry Song
@ 2015-07-28  9:03 ` Barry Song
  2015-07-28  9:03 ` [PATCH 05/10] ARM: dts: atlas7: add multimedia codec node Barry Song
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Barry Song @ 2015-07-28  9:03 UTC (permalink / raw)
  To: linux-arm-kernel

From: Qipan Li <Qipan.Li@csr.com>

spi framework can use alias name of spi device to retrieve the bus id,
so bus id will not be dynamical but statical and it will be easier for
test for a specified spi device with a fixed name like use spidev.

Signed-off-by: Qipan Li <Qipan.Li@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
---
 arch/arm/boot/dts/atlas7.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/atlas7.dtsi b/arch/arm/boot/dts/atlas7.dtsi
index cc9db08..b872d12 100644
--- a/arch/arm/boot/dts/atlas7.dtsi
+++ b/arch/arm/boot/dts/atlas7.dtsi
@@ -21,6 +21,10 @@
 		serial5 = &uart5;
 		serial6 = &uart6;
 		serial9 = &usp2;
+		spi1 = &spi1;
+		spi2 = &usp1;
+		spi3 = &usp2;
+		spi4 = &usp3;
 	};
 	cpus {
 		#address-cells = <1>;
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 05/10] ARM: dts: atlas7: add multimedia codec node
  2015-07-28  9:03 [PATCH 00/10] ARM: dts: atlas7: add some missed nodes and properties Barry Song
                   ` (3 preceding siblings ...)
  2015-07-28  9:03 ` [PATCH 04/10] ARM: dts: atlas7: add alias name for spi device Barry Song
@ 2015-07-28  9:03 ` Barry Song
  2015-07-28  9:04 ` [PATCH 06/10] ARM: dts: atlas7: add lost G2D node Barry Song
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Barry Song @ 2015-07-28  9:03 UTC (permalink / raw)
  To: linux-arm-kernel

From: Xiaofeng Fei <xiaofeng.fei@csr.com>

this patch adds multimedia video codec node, and also fixes the
ranges of its parent node.

Signed-off-by: Xiaofeng Fei <xiaofeng.fei@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
---
 arch/arm/boot/dts/atlas7.dtsi | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/atlas7.dtsi b/arch/arm/boot/dts/atlas7.dtsi
index b872d12..5a98485 100644
--- a/arch/arm/boot/dts/atlas7.dtsi
+++ b/arch/arm/boot/dts/atlas7.dtsi
@@ -1371,7 +1371,8 @@
 			compatible = "arteris, flexnoc", "simple-bus";
 			#address-cells = <1>;
 			#size-cells = <1>;
-			ranges = <0x16000000 0x16000000 0x00200000>,
+			ranges = <0x15000000 0x15000000 0x00600000>,
+				<0x16000000 0x16000000 0x00200000>,
 				<0x17000000 0x17000000 0x10000>,
 				<0x17020000 0x17020000 0x1000>,
 				<0x17030000 0x17030000 0x1000>,
@@ -1383,6 +1384,13 @@
 				<0x17070200 0x17070200 0x100>,
 				<0x170A0000 0x170A0000 0x3000>;
 
+			multimedia at 15000000 {
+				compatible = "sirf,atlas7-video-codec";
+				reg = <0x15000000 0x10000>;
+				interrupts = <0 5 0>;
+				clocks = <&car 102>;
+			};
+
 			mediam at 170A0000 {
 				compatible = "sirf,nocfw-mediam";
 				reg = <0x170A0000 0x3000>;
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 06/10] ARM: dts: atlas7: add lost G2D node
  2015-07-28  9:03 [PATCH 00/10] ARM: dts: atlas7: add some missed nodes and properties Barry Song
                   ` (4 preceding siblings ...)
  2015-07-28  9:03 ` [PATCH 05/10] ARM: dts: atlas7: add multimedia codec node Barry Song
@ 2015-07-28  9:04 ` Barry Song
  2015-07-28  9:04 ` [PATCH 07/10] ARM: dts: atlas7: add lost PWM node Barry Song
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Barry Song @ 2015-07-28  9:04 UTC (permalink / raw)
  To: linux-arm-kernel

From: Dongli Li <Kasin.Li@csr.com>

this patch adds lost G2D node, and also fixes the range of its
parent node.

Signed-off-by: Dongli Li <Kasin.Li@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
---
 arch/arm/boot/dts/atlas7.dtsi | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/atlas7.dtsi b/arch/arm/boot/dts/atlas7.dtsi
index 5a98485..9bad559 100644
--- a/arch/arm/boot/dts/atlas7.dtsi
+++ b/arch/arm/boot/dts/atlas7.dtsi
@@ -1865,7 +1865,8 @@
 			#address-cells = <1>;
 			#size-cells = <1>;
 			ranges = <0x13100000 0x13100000 0x20000>,
-				 <0x10e10000 0x10e10000 0x10000>;
+				<0x10e10000 0x10e10000 0x10000>,
+				<0x17010000 0x17010000 0x10000>;
 
 			lcd at 13100000 {
 				compatible = "sirf,atlas7-lcdc";
@@ -1887,6 +1888,12 @@
 				clocks = <&car 54>;
 				resets = <&car 29>;
 			};
+			g2d at 17010000 {
+				compatible = "sirf, atlas7-g2d";
+				reg = <0x17010000 0x10000>;
+				interrupts = <0 61 0>;
+				clocks = <&car 104>;
+			};
 
 		};
 
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 07/10] ARM: dts: atlas7: add lost PWM node
  2015-07-28  9:03 [PATCH 00/10] ARM: dts: atlas7: add some missed nodes and properties Barry Song
                   ` (5 preceding siblings ...)
  2015-07-28  9:04 ` [PATCH 06/10] ARM: dts: atlas7: add lost G2D node Barry Song
@ 2015-07-28  9:04 ` Barry Song
  2015-07-28  9:04 ` [PATCH 08/10] ARM: dts: atlas7: add software digital radio nodes and its DMA channels Barry Song
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Barry Song @ 2015-07-28  9:04 UTC (permalink / raw)
  To: linux-arm-kernel

From: Guo Zeng <guo.zeng@csr.com>

this patch adds lost PWM node, and also fixes the ranges of its
parent node.

Signed-off-by: Guo Zeng <guo.zeng@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
---
 arch/arm/boot/dts/atlas7.dtsi | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/atlas7.dtsi b/arch/arm/boot/dts/atlas7.dtsi
index 9bad559..456cf81 100644
--- a/arch/arm/boot/dts/atlas7.dtsi
+++ b/arch/arm/boot/dts/atlas7.dtsi
@@ -1214,7 +1214,8 @@
 			#address-cells = <1>;
 			#size-cells = <1>;
 			ranges = <0x18641000 0x18641000 0x3000>,
-					 <0x18620000 0x18620000 0x1000>;
+					 <0x18620000 0x18620000 0x1000>,
+					<0x18630000 0x18630000 0x10000>;
 
 			cgum at 18641000 {
 				compatible = "sirf,nocfw-cgum";
@@ -1227,6 +1228,15 @@
 				#clock-cells = <1>;
 				#reset-cells = <1>;
 			};
+			pwm: pwm at 18630000 {
+				compatible = "sirf,prima2-pwm";
+				#pwm-cells = <2>;
+				reg = <0x18630000 0x10000>;
+				clocks = <&car 138>, <&car 139>, <&car 237>,
+					<&car 240>,  <&car 140>, <&car 246>;
+				clock-names = "pwmc", "sigsrc0", "sigsrc1",
+					"sigsrc2", "sigsrc3", "sigsrc4";
+			};
 		};
 
 		gnssm {
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 08/10] ARM: dts: atlas7: add software digital radio nodes and its DMA channels
  2015-07-28  9:03 [PATCH 00/10] ARM: dts: atlas7: add some missed nodes and properties Barry Song
                   ` (6 preceding siblings ...)
  2015-07-28  9:04 ` [PATCH 07/10] ARM: dts: atlas7: add lost PWM node Barry Song
@ 2015-07-28  9:04 ` Barry Song
  2015-07-28  9:04 ` [PATCH 09/10] ARM: dts: atlas7: put pinctl property to get pinmux for NAND Barry Song
  2015-07-28  9:04 ` [PATCH 10/10] ARM: dts: atlas7: add a GPIO key for rearview button Barry Song
  9 siblings, 0 replies; 11+ messages in thread
From: Barry Song @ 2015-07-28  9:04 UTC (permalink / raw)
  To: linux-arm-kernel

From: Yonghui Zhang <yonghui.zhang@csr.com>

this patch adds SDR(software digital raio) nodes and the DMA channels
for it.

Signed-off-by: Yonghui Zhang <yonghui.zhang@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
---
 arch/arm/boot/dts/atlas7.dtsi | 33 ++++++++++++++++++++++++++++++++-
 1 file changed, 32 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/atlas7.dtsi b/arch/arm/boot/dts/atlas7.dtsi
index 456cf81..de38bc98 100644
--- a/arch/arm/boot/dts/atlas7.dtsi
+++ b/arch/arm/boot/dts/atlas7.dtsi
@@ -1370,11 +1370,42 @@
 			compatible = "arteris, flexnoc", "simple-bus";
 			#address-cells = <1>;
 			#size-cells = <1>;
-			ranges = <0x13000000 0x13000000 0x3000>;
+			ranges = <0x13000000 0x13000000 0x3000>,
+				<0x13010000 0x13010000 0x1400>,
+				<0x13010800 0x13010800 0x100>,
+				<0x13011000 0x13011000 0x100>;
 			gpum at 0x13000000 {
 				compatible = "sirf,nocfw-gpum";
 				reg = <0x13000000 0x3000>;
 			};
+			dmacsdrr: dma-controller at 13010800 {
+				cell-index = <5>;
+				compatible = "sirf,atlas7-dmac-v2";
+				reg = <0x13010800 0x100>;
+				interrupts = <0 8 0>;
+				clocks = <&car 127>;
+				#dma-cells = <1>;
+				#dma-channels = <1>;
+			};
+			dmacsdrw: dma-controller at 13011000 {
+				cell-index = <6>;
+				compatible = "sirf,atlas7-dmac-v2";
+				reg = <0x13011000 0x100>;
+				interrupts = <0 9 0>;
+				clocks = <&car 127>;
+				#dma-cells = <1>;
+				#dma-channels = <1>;
+			};
+			sdr at 0x13010000 {
+				compatible = "sirf,atlas7-sdr";
+				reg = <0x13010000 0x1400>;
+				interrupts = <0 7 0>,
+					   <0 8 0>,
+					   <0 9 0>;
+				clocks = <&car 127>;
+				dmas = <&dmacsdrr 0>, <&dmacsdrw 0>;
+				dma-names = "tx", "rx";
+			};
 		};
 
 		mediam {
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 09/10] ARM: dts: atlas7: put pinctl property to get pinmux for NAND
  2015-07-28  9:03 [PATCH 00/10] ARM: dts: atlas7: add some missed nodes and properties Barry Song
                   ` (7 preceding siblings ...)
  2015-07-28  9:04 ` [PATCH 08/10] ARM: dts: atlas7: add software digital radio nodes and its DMA channels Barry Song
@ 2015-07-28  9:04 ` Barry Song
  2015-07-28  9:04 ` [PATCH 10/10] ARM: dts: atlas7: add a GPIO key for rearview button Barry Song
  9 siblings, 0 replies; 11+ messages in thread
From: Barry Song @ 2015-07-28  9:04 UTC (permalink / raw)
  To: linux-arm-kernel

From: Huayi Li <huayi.li@csr.com>

Nand controller often share some pins with sd/mmc controller on
atlas and prima series, nand node can be disabled if the pins are
used by sd/mmc controller.

Signed-off-by: Huayi Li <huayi.li@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
---
 arch/arm/boot/dts/atlas7.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/atlas7.dtsi b/arch/arm/boot/dts/atlas7.dtsi
index de38bc98..83449b3 100644
--- a/arch/arm/boot/dts/atlas7.dtsi
+++ b/arch/arm/boot/dts/atlas7.dtsi
@@ -1458,6 +1458,8 @@
 			nand at 17050000 {
 				compatible = "sirf,atlas7-nand";
 				reg = <0x17050000 0x10000>;
+				pinctrl-names = "default";
+				pinctrl-0 = <&nd_df_pmx>;
 				interrupts = <0 41 0>;
 				clocks = <&car 108>, <&car 112>;
 				clock-names = "nand_io", "nand_nand";
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 10/10] ARM: dts: atlas7: add a GPIO key for rearview button
  2015-07-28  9:03 [PATCH 00/10] ARM: dts: atlas7: add some missed nodes and properties Barry Song
                   ` (8 preceding siblings ...)
  2015-07-28  9:04 ` [PATCH 09/10] ARM: dts: atlas7: put pinctl property to get pinmux for NAND Barry Song
@ 2015-07-28  9:04 ` Barry Song
  9 siblings, 0 replies; 11+ messages in thread
From: Barry Song @ 2015-07-28  9:04 UTC (permalink / raw)
  To: linux-arm-kernel

From: Andy Sun <Andy.Sun@csr.com>

Touching this key will trigger a camera event for rearview.

Signed-off-by: Andy Sun <Andy.Sun@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
---
 arch/arm/boot/dts/atlas7-evb.dts | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/arch/arm/boot/dts/atlas7-evb.dts b/arch/arm/boot/dts/atlas7-evb.dts
index 49cf59a..1e9cd1a 100644
--- a/arch/arm/boot/dts/atlas7-evb.dts
+++ b/arch/arm/boot/dts/atlas7-evb.dts
@@ -10,6 +10,9 @@
 
 /include/ "atlas7.dtsi"
 
+#include <dt-bindings/input/input.h>
+#include <dt-bindings/gpio/gpio.h>
+
 / {
 	model = "CSR SiRFatlas7 Evaluation Board";
 	compatible = "sirf,atlas7-cb", "sirf,atlas7";
@@ -106,5 +109,20 @@
 				};
 			};
 		};
+
+		gpio_keys {
+			compatible = "gpio-keys";
+			status = "okay";
+			#address-cells = <1>;
+			#size-cells = <0>;
+
+			rearview_key {
+				label = "rearview key";
+				linux,code = <KEY_CAMERA>;
+				gpios = <&gpio_1 3 GPIO_ACTIVE_LOW>;
+				debounce_interval = <100>;
+			};
+		};
+
 	};
 };
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2015-07-28  9:04 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-28  9:03 [PATCH 00/10] ARM: dts: atlas7: add some missed nodes and properties Barry Song
2015-07-28  9:03 ` [PATCH 01/10] ARM: dts: atlas7: add lost jpeg node Barry Song
2015-07-28  9:03 ` [PATCH 02/10] ARM: dts: atlas7: add performance monitor unit node Barry Song
2015-07-28  9:03 ` [PATCH 03/10] ARM: dts: atlas7: add lost gmac node Barry Song
2015-07-28  9:03 ` [PATCH 04/10] ARM: dts: atlas7: add alias name for spi device Barry Song
2015-07-28  9:03 ` [PATCH 05/10] ARM: dts: atlas7: add multimedia codec node Barry Song
2015-07-28  9:04 ` [PATCH 06/10] ARM: dts: atlas7: add lost G2D node Barry Song
2015-07-28  9:04 ` [PATCH 07/10] ARM: dts: atlas7: add lost PWM node Barry Song
2015-07-28  9:04 ` [PATCH 08/10] ARM: dts: atlas7: add software digital radio nodes and its DMA channels Barry Song
2015-07-28  9:04 ` [PATCH 09/10] ARM: dts: atlas7: put pinctl property to get pinmux for NAND Barry Song
2015-07-28  9:04 ` [PATCH 10/10] ARM: dts: atlas7: add a GPIO key for rearview button Barry Song

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).