[PATCH v2 3/5] powerpc/dts: add a compatible string to gpio0

Chenhui Zhao chenhui.zhao at nxp.com
Fri Apr 15 21:13:15 AEST 2016


All gpio nodes used the same compatible string "fsl,qoriq-gpio".
To identify the node corresponding to the GPIO1 pins, add a
compatible string "fsl,qoriq-gpio-1".

Signed-off-by: Chenhui Zhao <chenhui.zhao at nxp.com>
---
 arch/powerpc/boot/dts/fsl/qoriq-gpio-0.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/boot/dts/fsl/qoriq-gpio-0.dtsi b/arch/powerpc/boot/dts/fsl/qoriq-gpio-0.dtsi
index cf714f5..1a26d6b 100644
--- a/arch/powerpc/boot/dts/fsl/qoriq-gpio-0.dtsi
+++ b/arch/powerpc/boot/dts/fsl/qoriq-gpio-0.dtsi
@@ -33,7 +33,7 @@
  */
 
 gpio0: gpio at 130000 {
-	compatible = "fsl,qoriq-gpio";
+	compatible = "fsl,qoriq-gpio-1", "fsl,qoriq-gpio";
 	reg = <0x130000 0x1000>;
 	interrupts = <55 2 0 0>;
 	#gpio-cells = <2>;
-- 
1.9.1



More information about the Linuxppc-dev mailing list