提交 4d191868 编写于 作者: R Richard Zhao 提交者: Shawn Guo

dts/imx: rename gpio labels to consistent with hw spec

GPIO1/GPIO2/... is more readable than GPIO0/GPIO1/... .
Remove redundant gpio comments.
Signed-off-by: NRichard Zhao <richard.zhao@linaro.org>
Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
上级 dc47ce90
...@@ -35,8 +35,8 @@ esdhc@70004000 { /* ESDHC1 */ ...@@ -35,8 +35,8 @@ esdhc@70004000 { /* ESDHC1 */
}; };
esdhc@70008000 { /* ESDHC2 */ esdhc@70008000 { /* ESDHC2 */
cd-gpios = <&gpio0 6 0>; /* GPIO1_6 */ cd-gpios = <&gpio1 6 0>;
wp-gpios = <&gpio0 5 0>; /* GPIO1_5 */ wp-gpios = <&gpio1 5 0>;
status = "okay"; status = "okay";
}; };
...@@ -47,8 +47,7 @@ uart2: uart@7000c000 { /* UART3 */ ...@@ -47,8 +47,7 @@ uart2: uart@7000c000 { /* UART3 */
ecspi@70010000 { /* ECSPI1 */ ecspi@70010000 { /* ECSPI1 */
fsl,spi-num-chipselects = <2>; fsl,spi-num-chipselects = <2>;
cs-gpios = <&gpio3 24 0>, /* GPIO4_24 */ cs-gpios = <&gpio4 24 0>, <&gpio4 25 0>;
<&gpio3 25 0>; /* GPIO4_25 */
status = "okay"; status = "okay";
pmic: mc13892@0 { pmic: mc13892@0 {
...@@ -57,7 +56,7 @@ pmic: mc13892@0 { ...@@ -57,7 +56,7 @@ pmic: mc13892@0 {
compatible = "fsl,mc13892"; compatible = "fsl,mc13892";
spi-max-frequency = <6000000>; spi-max-frequency = <6000000>;
reg = <0>; reg = <0>;
mc13xxx-irq-gpios = <&gpio0 8 0>; /* GPIO1_8 */ mc13xxx-irq-gpios = <&gpio1 8 0>;
fsl,mc13xxx-uses-regulator; fsl,mc13xxx-uses-regulator;
}; };
...@@ -127,7 +126,7 @@ gpio-keys { ...@@ -127,7 +126,7 @@ gpio-keys {
power { power {
label = "Power Button"; label = "Power Button";
gpios = <&gpio1 21 0>; gpios = <&gpio2 21 0>;
linux,code = <116>; /* KEY_POWER */ linux,code = <116>; /* KEY_POWER */
gpio-key,wakeup; gpio-key,wakeup;
}; };
......
...@@ -117,7 +117,7 @@ esdhc@70024000 { /* ESDHC4 */ ...@@ -117,7 +117,7 @@ esdhc@70024000 { /* ESDHC4 */
}; };
}; };
gpio0: gpio@73f84000 { /* GPIO1 */ gpio1: gpio@73f84000 {
compatible = "fsl,imx51-gpio", "fsl,imx31-gpio"; compatible = "fsl,imx51-gpio", "fsl,imx31-gpio";
reg = <0x73f84000 0x4000>; reg = <0x73f84000 0x4000>;
interrupts = <50 51>; interrupts = <50 51>;
...@@ -127,7 +127,7 @@ gpio0: gpio@73f84000 { /* GPIO1 */ ...@@ -127,7 +127,7 @@ gpio0: gpio@73f84000 { /* GPIO1 */
#interrupt-cells = <1>; #interrupt-cells = <1>;
}; };
gpio1: gpio@73f88000 { /* GPIO2 */ gpio2: gpio@73f88000 {
compatible = "fsl,imx51-gpio", "fsl,imx31-gpio"; compatible = "fsl,imx51-gpio", "fsl,imx31-gpio";
reg = <0x73f88000 0x4000>; reg = <0x73f88000 0x4000>;
interrupts = <52 53>; interrupts = <52 53>;
...@@ -137,7 +137,7 @@ gpio1: gpio@73f88000 { /* GPIO2 */ ...@@ -137,7 +137,7 @@ gpio1: gpio@73f88000 { /* GPIO2 */
#interrupt-cells = <1>; #interrupt-cells = <1>;
}; };
gpio2: gpio@73f8c000 { /* GPIO3 */ gpio3: gpio@73f8c000 {
compatible = "fsl,imx51-gpio", "fsl,imx31-gpio"; compatible = "fsl,imx51-gpio", "fsl,imx31-gpio";
reg = <0x73f8c000 0x4000>; reg = <0x73f8c000 0x4000>;
interrupts = <54 55>; interrupts = <54 55>;
...@@ -147,7 +147,7 @@ gpio2: gpio@73f8c000 { /* GPIO3 */ ...@@ -147,7 +147,7 @@ gpio2: gpio@73f8c000 { /* GPIO3 */
#interrupt-cells = <1>; #interrupt-cells = <1>;
}; };
gpio3: gpio@73f90000 { /* GPIO4 */ gpio4: gpio@73f90000 {
compatible = "fsl,imx51-gpio", "fsl,imx31-gpio"; compatible = "fsl,imx51-gpio", "fsl,imx31-gpio";
reg = <0x73f90000 0x4000>; reg = <0x73f90000 0x4000>;
interrupts = <56 57>; interrupts = <56 57>;
......
...@@ -29,8 +29,8 @@ soc { ...@@ -29,8 +29,8 @@ soc {
aips@50000000 { /* AIPS1 */ aips@50000000 { /* AIPS1 */
spba@50000000 { spba@50000000 {
esdhc@50004000 { /* ESDHC1 */ esdhc@50004000 { /* ESDHC1 */
cd-gpios = <&gpio0 1 0>; /* GPIO1_1 */ cd-gpios = <&gpio1 1 0>;
wp-gpios = <&gpio0 9 0>; /* GPIO1_9 */ wp-gpios = <&gpio1 9 0>;
status = "okay"; status = "okay";
}; };
}; };
...@@ -67,7 +67,7 @@ lan9220@f4000000 { ...@@ -67,7 +67,7 @@ lan9220@f4000000 {
compatible = "smsc,lan9220", "smsc,lan9115"; compatible = "smsc,lan9220", "smsc,lan9115";
reg = <0xf4000000 0x2000000>; reg = <0xf4000000 0x2000000>;
phy-mode = "mii"; phy-mode = "mii";
interrupt-parent = <&gpio1>; interrupt-parent = <&gpio2>;
interrupts = <31>; interrupts = <31>;
reg-io-width = <4>; reg-io-width = <4>;
smsc,irq-push-pull; smsc,irq-push-pull;
...@@ -79,34 +79,34 @@ gpio-keys { ...@@ -79,34 +79,34 @@ gpio-keys {
home { home {
label = "Home"; label = "Home";
gpios = <&gpio4 10 0>; /* GPIO5_10 */ gpios = <&gpio5 10 0>;
linux,code = <102>; /* KEY_HOME */ linux,code = <102>; /* KEY_HOME */
gpio-key,wakeup; gpio-key,wakeup;
}; };
back { back {
label = "Back"; label = "Back";
gpios = <&gpio4 11 0>; /* GPIO5_11 */ gpios = <&gpio5 11 0>;
linux,code = <158>; /* KEY_BACK */ linux,code = <158>; /* KEY_BACK */
gpio-key,wakeup; gpio-key,wakeup;
}; };
program { program {
label = "Program"; label = "Program";
gpios = <&gpio4 12 0>; /* GPIO5_12 */ gpios = <&gpio5 12 0>;
linux,code = <362>; /* KEY_PROGRAM */ linux,code = <362>; /* KEY_PROGRAM */
gpio-key,wakeup; gpio-key,wakeup;
}; };
volume-up { volume-up {
label = "Volume Up"; label = "Volume Up";
gpios = <&gpio4 13 0>; /* GPIO5_13 */ gpios = <&gpio5 13 0>;
linux,code = <115>; /* KEY_VOLUMEUP */ linux,code = <115>; /* KEY_VOLUMEUP */
}; };
volume-down { volume-down {
label = "Volume Down"; label = "Volume Down";
gpios = <&gpio3 0 0>; /* GPIO4_0 */ gpios = <&gpio4 0 0>;
linux,code = <114>; /* KEY_VOLUMEDOWN */ linux,code = <114>; /* KEY_VOLUMEDOWN */
}; };
}; };
......
...@@ -29,15 +29,14 @@ soc { ...@@ -29,15 +29,14 @@ soc {
aips@50000000 { /* AIPS1 */ aips@50000000 { /* AIPS1 */
spba@50000000 { spba@50000000 {
esdhc@50004000 { /* ESDHC1 */ esdhc@50004000 { /* ESDHC1 */
cd-gpios = <&gpio2 13 0>; /* GPIO3_13 */ cd-gpios = <&gpio3 13 0>;
wp-gpios = <&gpio2 14 0>; /* GPIO3_14 */ wp-gpios = <&gpio3 14 0>;
status = "okay"; status = "okay";
}; };
ecspi@50010000 { /* ECSPI1 */ ecspi@50010000 { /* ECSPI1 */
fsl,spi-num-chipselects = <2>; fsl,spi-num-chipselects = <2>;
cs-gpios = <&gpio1 30 0>, /* GPIO2_30 */ cs-gpios = <&gpio2 30 0>, <&gpio3 19 0>;
<&gpio2 19 0>; /* GPIO3_19 */
status = "okay"; status = "okay";
flash: at45db321d@1 { flash: at45db321d@1 {
...@@ -61,8 +60,8 @@ partition@40000 { ...@@ -61,8 +60,8 @@ partition@40000 {
}; };
esdhc@50020000 { /* ESDHC3 */ esdhc@50020000 { /* ESDHC3 */
cd-gpios = <&gpio2 11 0>; /* GPIO3_11 */ cd-gpios = <&gpio3 11 0>;
wp-gpios = <&gpio2 12 0>; /* GPIO3_12 */ wp-gpios = <&gpio3 12 0>;
status = "okay"; status = "okay";
}; };
}; };
...@@ -102,7 +101,7 @@ codec: sgtl5000@0a { ...@@ -102,7 +101,7 @@ codec: sgtl5000@0a {
fec@63fec000 { fec@63fec000 {
phy-mode = "rmii"; phy-mode = "rmii";
phy-reset-gpios = <&gpio6 6 0>; /* GPIO7_6 */ phy-reset-gpios = <&gpio7 6 0>;
status = "okay"; status = "okay";
}; };
}; };
...@@ -113,7 +112,7 @@ leds { ...@@ -113,7 +112,7 @@ leds {
green { green {
label = "Heartbeat"; label = "Heartbeat";
gpios = <&gpio6 7 0>; /* GPIO7_7 */ gpios = <&gpio7 7 0>;
linux,default-trigger = "heartbeat"; linux,default-trigger = "heartbeat";
}; };
}; };
......
...@@ -29,13 +29,13 @@ soc { ...@@ -29,13 +29,13 @@ soc {
aips@50000000 { /* AIPS1 */ aips@50000000 { /* AIPS1 */
spba@50000000 { spba@50000000 {
esdhc@50004000 { /* ESDHC1 */ esdhc@50004000 { /* ESDHC1 */
cd-gpios = <&gpio2 13 0>; /* GPIO3_13 */ cd-gpios = <&gpio3 13 0>;
status = "okay"; status = "okay";
}; };
esdhc@50020000 { /* ESDHC3 */ esdhc@50020000 { /* ESDHC3 */
cd-gpios = <&gpio2 11 0>; /* GPIO3_11 */ cd-gpios = <&gpio3 11 0>;
wp-gpios = <&gpio2 12 0>; /* GPIO3_12 */ wp-gpios = <&gpio3 12 0>;
status = "okay"; status = "okay";
}; };
}; };
...@@ -84,7 +84,7 @@ pmic: dialog@48 { ...@@ -84,7 +84,7 @@ pmic: dialog@48 {
fec@63fec000 { fec@63fec000 {
phy-mode = "rmii"; phy-mode = "rmii";
phy-reset-gpios = <&gpio6 6 0>; /* GPIO7_6 */ phy-reset-gpios = <&gpio7 6 0>;
status = "okay"; status = "okay";
}; };
}; };
...@@ -95,20 +95,20 @@ gpio-keys { ...@@ -95,20 +95,20 @@ gpio-keys {
power { power {
label = "Power Button"; label = "Power Button";
gpios = <&gpio0 8 0>; /* GPIO1_8 */ gpios = <&gpio1 8 0>;
linux,code = <116>; /* KEY_POWER */ linux,code = <116>; /* KEY_POWER */
gpio-key,wakeup; gpio-key,wakeup;
}; };
volume-up { volume-up {
label = "Volume Up"; label = "Volume Up";
gpios = <&gpio1 14 0>; /* GPIO2_14 */ gpios = <&gpio2 14 0>;
linux,code = <115>; /* KEY_VOLUMEUP */ linux,code = <115>; /* KEY_VOLUMEUP */
}; };
volume-down { volume-down {
label = "Volume Down"; label = "Volume Down";
gpios = <&gpio1 15 0>; /* GPIO2_15 */ gpios = <&gpio2 15 0>;
linux,code = <114>; /* KEY_VOLUMEDOWN */ linux,code = <114>; /* KEY_VOLUMEDOWN */
}; };
}; };
...@@ -118,7 +118,7 @@ leds { ...@@ -118,7 +118,7 @@ leds {
user { user {
label = "Heartbeat"; label = "Heartbeat";
gpios = <&gpio6 7 0>; /* GPIO7_7 */ gpios = <&gpio7 7 0>;
linux,default-trigger = "heartbeat"; linux,default-trigger = "heartbeat";
}; };
}; };
......
...@@ -29,8 +29,8 @@ soc { ...@@ -29,8 +29,8 @@ soc {
aips@50000000 { /* AIPS1 */ aips@50000000 { /* AIPS1 */
spba@50000000 { spba@50000000 {
esdhc@50004000 { /* ESDHC1 */ esdhc@50004000 { /* ESDHC1 */
cd-gpios = <&gpio2 13 0>; /* GPIO3_13 */ cd-gpios = <&gpio3 13 0>;
wp-gpios = <&gpio3 11 0>; /* GPIO4_11 */ wp-gpios = <&gpio4 11 0>;
status = "okay"; status = "okay";
}; };
...@@ -46,8 +46,7 @@ uart2: uart@5000c000 { /* UART3 */ ...@@ -46,8 +46,7 @@ uart2: uart@5000c000 { /* UART3 */
ecspi@50010000 { /* ECSPI1 */ ecspi@50010000 { /* ECSPI1 */
fsl,spi-num-chipselects = <2>; fsl,spi-num-chipselects = <2>;
cs-gpios = <&gpio1 30 0>, /* GPIO2_30 */ cs-gpios = <&gpio2 30 0>, <&gpio3 19 0>;
<&gpio2 19 0>; /* GPIO3_19 */
status = "okay"; status = "okay";
zigbee: mc1323@0 { zigbee: mc1323@0 {
...@@ -145,7 +144,7 @@ pmic: dialog@48 { ...@@ -145,7 +144,7 @@ pmic: dialog@48 {
fec@63fec000 { fec@63fec000 {
phy-mode = "rmii"; phy-mode = "rmii";
phy-reset-gpios = <&gpio6 6 0>; /* GPIO7_6 */ phy-reset-gpios = <&gpio7 6 0>;
status = "okay"; status = "okay";
}; };
}; };
...@@ -156,13 +155,13 @@ gpio-keys { ...@@ -156,13 +155,13 @@ gpio-keys {
volume-up { volume-up {
label = "Volume Up"; label = "Volume Up";
gpios = <&gpio1 14 0>; /* GPIO2_14 */ gpios = <&gpio2 14 0>;
linux,code = <115>; /* KEY_VOLUMEUP */ linux,code = <115>; /* KEY_VOLUMEUP */
}; };
volume-down { volume-down {
label = "Volume Down"; label = "Volume Down";
gpios = <&gpio1 15 0>; /* GPIO2_15 */ gpios = <&gpio2 15 0>;
linux,code = <114>; /* KEY_VOLUMEDOWN */ linux,code = <114>; /* KEY_VOLUMEDOWN */
}; };
}; };
......
...@@ -119,7 +119,7 @@ esdhc@50024000 { /* ESDHC4 */ ...@@ -119,7 +119,7 @@ esdhc@50024000 { /* ESDHC4 */
}; };
}; };
gpio0: gpio@53f84000 { /* GPIO1 */ gpio1: gpio@53f84000 {
compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; compatible = "fsl,imx53-gpio", "fsl,imx31-gpio";
reg = <0x53f84000 0x4000>; reg = <0x53f84000 0x4000>;
interrupts = <50 51>; interrupts = <50 51>;
...@@ -129,7 +129,7 @@ gpio0: gpio@53f84000 { /* GPIO1 */ ...@@ -129,7 +129,7 @@ gpio0: gpio@53f84000 { /* GPIO1 */
#interrupt-cells = <1>; #interrupt-cells = <1>;
}; };
gpio1: gpio@53f88000 { /* GPIO2 */ gpio2: gpio@53f88000 {
compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; compatible = "fsl,imx53-gpio", "fsl,imx31-gpio";
reg = <0x53f88000 0x4000>; reg = <0x53f88000 0x4000>;
interrupts = <52 53>; interrupts = <52 53>;
...@@ -139,7 +139,7 @@ gpio1: gpio@53f88000 { /* GPIO2 */ ...@@ -139,7 +139,7 @@ gpio1: gpio@53f88000 { /* GPIO2 */
#interrupt-cells = <1>; #interrupt-cells = <1>;
}; };
gpio2: gpio@53f8c000 { /* GPIO3 */ gpio3: gpio@53f8c000 {
compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; compatible = "fsl,imx53-gpio", "fsl,imx31-gpio";
reg = <0x53f8c000 0x4000>; reg = <0x53f8c000 0x4000>;
interrupts = <54 55>; interrupts = <54 55>;
...@@ -149,7 +149,7 @@ gpio2: gpio@53f8c000 { /* GPIO3 */ ...@@ -149,7 +149,7 @@ gpio2: gpio@53f8c000 { /* GPIO3 */
#interrupt-cells = <1>; #interrupt-cells = <1>;
}; };
gpio3: gpio@53f90000 { /* GPIO4 */ gpio4: gpio@53f90000 {
compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; compatible = "fsl,imx53-gpio", "fsl,imx31-gpio";
reg = <0x53f90000 0x4000>; reg = <0x53f90000 0x4000>;
interrupts = <56 57>; interrupts = <56 57>;
...@@ -187,7 +187,7 @@ uart1: uart@53fc0000 { /* UART2 */ ...@@ -187,7 +187,7 @@ uart1: uart@53fc0000 { /* UART2 */
status = "disabled"; status = "disabled";
}; };
gpio4: gpio@53fdc000 { /* GPIO5 */ gpio5: gpio@53fdc000 {
compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; compatible = "fsl,imx53-gpio", "fsl,imx31-gpio";
reg = <0x53fdc000 0x4000>; reg = <0x53fdc000 0x4000>;
interrupts = <103 104>; interrupts = <103 104>;
...@@ -197,7 +197,7 @@ gpio4: gpio@53fdc000 { /* GPIO5 */ ...@@ -197,7 +197,7 @@ gpio4: gpio@53fdc000 { /* GPIO5 */
#interrupt-cells = <1>; #interrupt-cells = <1>;
}; };
gpio5: gpio@53fe0000 { /* GPIO6 */ gpio6: gpio@53fe0000 {
compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; compatible = "fsl,imx53-gpio", "fsl,imx31-gpio";
reg = <0x53fe0000 0x4000>; reg = <0x53fe0000 0x4000>;
interrupts = <105 106>; interrupts = <105 106>;
...@@ -207,7 +207,7 @@ gpio5: gpio@53fe0000 { /* GPIO6 */ ...@@ -207,7 +207,7 @@ gpio5: gpio@53fe0000 { /* GPIO6 */
#interrupt-cells = <1>; #interrupt-cells = <1>;
}; };
gpio6: gpio@53fe4000 { /* GPIO7 */ gpio7: gpio@53fe4000 {
compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; compatible = "fsl,imx53-gpio", "fsl,imx31-gpio";
reg = <0x53fe4000 0x4000>; reg = <0x53fe4000 0x4000>;
interrupts = <107 108>; interrupts = <107 108>;
......
...@@ -34,8 +34,8 @@ enet@02188000 { ...@@ -34,8 +34,8 @@ enet@02188000 {
}; };
usdhc@02198000 { /* uSDHC3 */ usdhc@02198000 { /* uSDHC3 */
cd-gpios = <&gpio5 11 0>; /* GPIO6_11 */ cd-gpios = <&gpio6 11 0>;
wp-gpios = <&gpio5 14 0>; /* GPIO6_14 */ wp-gpios = <&gpio6 14 0>;
status = "okay"; status = "okay";
}; };
...@@ -55,7 +55,7 @@ leds { ...@@ -55,7 +55,7 @@ leds {
debug-led { debug-led {
label = "Heartbeat"; label = "Heartbeat";
gpios = <&gpio2 25 0>; /* GPIO3_25 */ gpios = <&gpio3 25 0>;
linux,default-trigger = "heartbeat"; linux,default-trigger = "heartbeat";
}; };
}; };
......
...@@ -247,7 +247,7 @@ gpt@02098000 { ...@@ -247,7 +247,7 @@ gpt@02098000 {
interrupts = <0 55 0x04>; interrupts = <0 55 0x04>;
}; };
gpio0: gpio@0209c000 { /* GPIO1 */ gpio1: gpio@0209c000 {
compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio";
reg = <0x0209c000 0x4000>; reg = <0x0209c000 0x4000>;
interrupts = <0 66 0x04 0 67 0x04>; interrupts = <0 66 0x04 0 67 0x04>;
...@@ -257,7 +257,7 @@ gpio0: gpio@0209c000 { /* GPIO1 */ ...@@ -257,7 +257,7 @@ gpio0: gpio@0209c000 { /* GPIO1 */
#interrupt-cells = <1>; #interrupt-cells = <1>;
}; };
gpio1: gpio@020a0000 { /* GPIO2 */ gpio2: gpio@020a0000 {
compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio";
reg = <0x020a0000 0x4000>; reg = <0x020a0000 0x4000>;
interrupts = <0 68 0x04 0 69 0x04>; interrupts = <0 68 0x04 0 69 0x04>;
...@@ -267,7 +267,7 @@ gpio1: gpio@020a0000 { /* GPIO2 */ ...@@ -267,7 +267,7 @@ gpio1: gpio@020a0000 { /* GPIO2 */
#interrupt-cells = <1>; #interrupt-cells = <1>;
}; };
gpio2: gpio@020a4000 { /* GPIO3 */ gpio3: gpio@020a4000 {
compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio";
reg = <0x020a4000 0x4000>; reg = <0x020a4000 0x4000>;
interrupts = <0 70 0x04 0 71 0x04>; interrupts = <0 70 0x04 0 71 0x04>;
...@@ -277,7 +277,7 @@ gpio2: gpio@020a4000 { /* GPIO3 */ ...@@ -277,7 +277,7 @@ gpio2: gpio@020a4000 { /* GPIO3 */
#interrupt-cells = <1>; #interrupt-cells = <1>;
}; };
gpio3: gpio@020a8000 { /* GPIO4 */ gpio4: gpio@020a8000 {
compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio";
reg = <0x020a8000 0x4000>; reg = <0x020a8000 0x4000>;
interrupts = <0 72 0x04 0 73 0x04>; interrupts = <0 72 0x04 0 73 0x04>;
...@@ -287,7 +287,7 @@ gpio3: gpio@020a8000 { /* GPIO4 */ ...@@ -287,7 +287,7 @@ gpio3: gpio@020a8000 { /* GPIO4 */
#interrupt-cells = <1>; #interrupt-cells = <1>;
}; };
gpio4: gpio@020ac000 { /* GPIO5 */ gpio5: gpio@020ac000 {
compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio";
reg = <0x020ac000 0x4000>; reg = <0x020ac000 0x4000>;
interrupts = <0 74 0x04 0 75 0x04>; interrupts = <0 74 0x04 0 75 0x04>;
...@@ -297,7 +297,7 @@ gpio4: gpio@020ac000 { /* GPIO5 */ ...@@ -297,7 +297,7 @@ gpio4: gpio@020ac000 { /* GPIO5 */
#interrupt-cells = <1>; #interrupt-cells = <1>;
}; };
gpio5: gpio@020b0000 { /* GPIO6 */ gpio6: gpio@020b0000 {
compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio";
reg = <0x020b0000 0x4000>; reg = <0x020b0000 0x4000>;
interrupts = <0 76 0x04 0 77 0x04>; interrupts = <0 76 0x04 0 77 0x04>;
...@@ -307,7 +307,7 @@ gpio5: gpio@020b0000 { /* GPIO6 */ ...@@ -307,7 +307,7 @@ gpio5: gpio@020b0000 { /* GPIO6 */
#interrupt-cells = <1>; #interrupt-cells = <1>;
}; };
gpio6: gpio@020b4000 { /* GPIO7 */ gpio7: gpio@020b4000 {
compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio";
reg = <0x020b4000 0x4000>; reg = <0x020b4000 0x4000>;
interrupts = <0 78 0x04 0 79 0x04>; interrupts = <0 78 0x04 0 79 0x04>;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册