1* Freescale MPC512x/MPC8xxx/QorIQ/Layerscape GPIO controller 2 3Required properties: 4- compatible : Should be "fsl,<soc>-gpio" 5 The following <soc>s are known to be supported: 6 mpc5121, mpc5125, mpc8349, mpc8572, mpc8610, pq3, qoriq, 7 ls1021a, ls1043a, ls2080a. 8- reg : Address and length of the register set for the device 9- interrupts : Should be the port interrupt shared by all 32 pins. 10- #gpio-cells : Should be two. The first cell is the pin number and 11 the second cell is used to specify the gpio polarity: 12 0 = active high 13 1 = active low 14 15Optional properties: 16- little-endian : GPIO registers are used as little endian. If not 17 present registers are used as big endian by default. 18 19Example of gpio-controller node for a mpc5125 SoC: 20 21gpio0: gpio@1100 { 22 compatible = "fsl,mpc5125-gpio"; 23 #gpio-cells = <2>; 24 reg = <0x1100 0x080>; 25 interrupts = <78 0x8>; 26 status = "okay"; 27}; 28 29Example of gpio-controller node for a ls2080a SoC: 30 31gpio0: gpio@2300000 { 32 compatible = "fsl,ls2080a-gpio", "fsl,qoriq-gpio"; 33 reg = <0x0 0x2300000 0x0 0x10000>; 34 interrupts = <0 36 0x4>; /* Level high type */ 35 gpio-controller; 36 little-endian; 37 #gpio-cells = <2>; 38 interrupt-controller; 39 #interrupt-cells = <2>; 40}; 41