hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/Documentation/devicetree/bindings/gpio/gpio-mpc8xxx.txt
....@@ -4,7 +4,7 @@
44 - compatible : Should be "fsl,<soc>-gpio"
55 The following <soc>s are known to be supported:
66 mpc5121, mpc5125, mpc8349, mpc8572, mpc8610, pq3, qoriq,
7
- ls1021a, ls1043a, ls2080a.
7
+ ls1021a, ls1043a, ls2080a, ls1028a, ls1088a.
88 - reg : Address and length of the register set for the device
99 - interrupts : Should be the port interrupt shared by all 32 pins.
1010 - #gpio-cells : Should be two. The first cell is the pin number and
....@@ -37,3 +37,17 @@
3737 interrupt-controller;
3838 #interrupt-cells = <2>;
3939 };
40
+
41
+
42
+Example of gpio-controller node for a ls1028a/ls1088a SoC:
43
+
44
+gpio1: gpio@2300000 {
45
+ compatible = "fsl,ls1028a-gpio", "fsl,ls1088a-gpio", "fsl,qoriq-gpio";
46
+ reg = <0x0 0x2300000 0x0 0x10000>;
47
+ interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
48
+ gpio-controller;
49
+ #gpio-cells = <2>;
50
+ interrupt-controller;
51
+ #interrupt-cells = <2>;
52
+ little-endian;
53
+};