18c2ecf20Sopenharmony_ciFujitsu MB86S7x GPIO Controller 28c2ecf20Sopenharmony_ci------------------------------- 38c2ecf20Sopenharmony_ci 48c2ecf20Sopenharmony_ciRequired properties: 58c2ecf20Sopenharmony_ci- compatible: Should be "fujitsu,mb86s70-gpio" 68c2ecf20Sopenharmony_ci- reg: Base address and length of register space 78c2ecf20Sopenharmony_ci- clocks: Specify the clock 88c2ecf20Sopenharmony_ci- gpio-controller: Marks the device node as a gpio controller. 98c2ecf20Sopenharmony_ci- #gpio-cells: Should be <2>. The first cell is the pin number and the 108c2ecf20Sopenharmony_ci second cell is used to specify optional parameters: 118c2ecf20Sopenharmony_ci - bit 0 specifies polarity (0 for normal, 1 for inverted). 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ciExamples: 148c2ecf20Sopenharmony_ci gpio0: gpio@31000000 { 158c2ecf20Sopenharmony_ci compatible = "fujitsu,mb86s70-gpio"; 168c2ecf20Sopenharmony_ci reg = <0 0x31000000 0x10000>; 178c2ecf20Sopenharmony_ci gpio-controller; 188c2ecf20Sopenharmony_ci #gpio-cells = <2>; 198c2ecf20Sopenharmony_ci clocks = <&clk 0 2 1>; 208c2ecf20Sopenharmony_ci }; 21