1 Synopsys GPIO via CREG (Control REGisters) dri 2 3 Required properties: 4 - compatible : "snps,creg-gpio-hsdk" or "snps, 5 - reg : Exactly one register range with length 6 - #gpio-cells : Since the generic GPIO binding 7 amount of cells must be specified as 2. The 8 pin number, the second cell is used to speci 9 See "gpio-specifier" in .../devicetree/bindi 10 - gpio-controller : Marks the device node as a 11 - ngpios: Number of GPIO pins. 12 13 Example: 14 15 gpio: gpio@f00014b0 { 16 compatible = "snps,creg-gpio-hsdk"; 17 reg = <0xf00014b0 0x4>; 18 gpio-controller; 19 #gpio-cells = <2>; 20 ngpios = <2>; 21 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.