瀏覽代碼

arm64: dts: ls2080a: Add compatible "fsl,ls2080a-gpio" for ls2080a gpio nodes

The compatible "fsl,qoriq-gpio" is used by gpio driver:
drivers/gpio/gpio-mpc8xxx.c to implement general gpio
functionalities.

The chip-specific compatible "fsl,ls2080a-gpio" may be
used to fix potential gpio IP block errata or other
chip-specific gpio issues.

Signed-off-by: Liu Gang <Gang.Liu@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Liu Gang 9 年之前
父節點
當前提交
22088b6ac3
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi

+ 4 - 4
arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi

@@ -342,7 +342,7 @@
 		};
 		};
 
 
 		gpio0: gpio@2300000 {
 		gpio0: gpio@2300000 {
-			compatible = "fsl,qoriq-gpio";
+			compatible = "fsl,ls2080a-gpio", "fsl,qoriq-gpio";
 			reg = <0x0 0x2300000 0x0 0x10000>;
 			reg = <0x0 0x2300000 0x0 0x10000>;
 			interrupts = <0 36 0x4>; /* Level high type */
 			interrupts = <0 36 0x4>; /* Level high type */
 			gpio-controller;
 			gpio-controller;
@@ -353,7 +353,7 @@
 		};
 		};
 
 
 		gpio1: gpio@2310000 {
 		gpio1: gpio@2310000 {
-			compatible = "fsl,qoriq-gpio";
+			compatible = "fsl,ls2080a-gpio", "fsl,qoriq-gpio";
 			reg = <0x0 0x2310000 0x0 0x10000>;
 			reg = <0x0 0x2310000 0x0 0x10000>;
 			interrupts = <0 36 0x4>; /* Level high type */
 			interrupts = <0 36 0x4>; /* Level high type */
 			gpio-controller;
 			gpio-controller;
@@ -364,7 +364,7 @@
 		};
 		};
 
 
 		gpio2: gpio@2320000 {
 		gpio2: gpio@2320000 {
-			compatible = "fsl,qoriq-gpio";
+			compatible = "fsl,ls2080a-gpio", "fsl,qoriq-gpio";
 			reg = <0x0 0x2320000 0x0 0x10000>;
 			reg = <0x0 0x2320000 0x0 0x10000>;
 			interrupts = <0 37 0x4>; /* Level high type */
 			interrupts = <0 37 0x4>; /* Level high type */
 			gpio-controller;
 			gpio-controller;
@@ -375,7 +375,7 @@
 		};
 		};
 
 
 		gpio3: gpio@2330000 {
 		gpio3: gpio@2330000 {
-			compatible = "fsl,qoriq-gpio";
+			compatible = "fsl,ls2080a-gpio", "fsl,qoriq-gpio";
 			reg = <0x0 0x2330000 0x0 0x10000>;
 			reg = <0x0 0x2330000 0x0 0x10000>;
 			interrupts = <0 37 0x4>; /* Level high type */
 			interrupts = <0 37 0x4>; /* Level high type */
 			gpio-controller;
 			gpio-controller;