1*c66ec88fSEmmanuel VadotZTE ZX296702 GPIO controller 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotRequired properties: 4*c66ec88fSEmmanuel Vadot- compatible : "zte,zx296702-gpio" 5*c66ec88fSEmmanuel Vadot- #gpio-cells : Should be two. The first cell is the pin number and the 6*c66ec88fSEmmanuel Vadot second cell is used to specify optional parameters: 7*c66ec88fSEmmanuel Vadot - bit 0 specifies polarity (0 for normal, 1 for inverted) 8*c66ec88fSEmmanuel Vadot- gpio-controller : Marks the device node as a GPIO controller. 9*c66ec88fSEmmanuel Vadot- interrupts : Interrupt mapping for GPIO IRQ. 10*c66ec88fSEmmanuel Vadot- gpio-ranges : Interaction with the PINCTRL subsystem. 11*c66ec88fSEmmanuel Vadot 12*c66ec88fSEmmanuel Vadotgpio1: gpio@b008040 { 13*c66ec88fSEmmanuel Vadot compatible = "zte,zx296702-gpio"; 14*c66ec88fSEmmanuel Vadot reg = <0xb008040 0x40>; 15*c66ec88fSEmmanuel Vadot gpio-controller; 16*c66ec88fSEmmanuel Vadot #gpio-cells = <2>; 17*c66ec88fSEmmanuel Vadot gpio-ranges = < &pmx0 0 54 2 &pmx0 2 59 14>; 18*c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>; 19*c66ec88fSEmmanuel Vadot interrupt-parent = <&intc>; 20*c66ec88fSEmmanuel Vadot interrupt-controller; 21*c66ec88fSEmmanuel Vadot #interrupt-cells = <2>; 22*c66ec88fSEmmanuel Vadot clock-names = "gpio_pclk"; 23*c66ec88fSEmmanuel Vadot clocks = <&lsp0clk ZX296702_GPIO_CLK>; 24*c66ec88fSEmmanuel Vadot}; 25