162306a36Sopenharmony_ciCirrus Logic CLPS711X GPIO controller 262306a36Sopenharmony_ci 362306a36Sopenharmony_ciRequired properties: 462306a36Sopenharmony_ci- compatible: Should be "cirrus,ep7209-gpio" 562306a36Sopenharmony_ci- reg: Physical base GPIO controller registers location and length. 662306a36Sopenharmony_ci There should be two registers, first is DATA register, the second 762306a36Sopenharmony_ci is DIRECTION. 862306a36Sopenharmony_ci- gpio-controller: Marks the device node as a gpio controller. 962306a36Sopenharmony_ci- #gpio-cells: Should be two. The first cell is the pin number and 1062306a36Sopenharmony_ci the second cell is used to specify the gpio polarity: 1162306a36Sopenharmony_ci 0 = active high 1262306a36Sopenharmony_ci 1 = active low 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_ciNote: Each GPIO port should have an alias correctly numbered in "aliases" 1562306a36Sopenharmony_cinode. 1662306a36Sopenharmony_ci 1762306a36Sopenharmony_ciExample: 1862306a36Sopenharmony_ci 1962306a36Sopenharmony_cialiases { 2062306a36Sopenharmony_ci gpio0 = &porta; 2162306a36Sopenharmony_ci}; 2262306a36Sopenharmony_ci 2362306a36Sopenharmony_ciporta: gpio@80000000 { 2462306a36Sopenharmony_ci compatible = "cirrus,ep7312-gpio","cirrus,ep7209-gpio"; 2562306a36Sopenharmony_ci reg = <0x80000000 0x1>, <0x80000040 0x1>; 2662306a36Sopenharmony_ci gpio-controller; 2762306a36Sopenharmony_ci #gpio-cells = <2>; 2862306a36Sopenharmony_ci}; 29