dts: nordic,nrf-gpio: add port property
This property is required information for extracting PSEL bits relevant to peripheral pinmux from this node. Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
This commit is contained in:
parent
c8b89184f8
commit
e031bc4b48
12 changed files with 27 additions and 0 deletions
|
@ -94,6 +94,7 @@
|
|||
#gpio-cells = <2>;
|
||||
label = "GPIO_0";
|
||||
status = "disabled";
|
||||
port = <0>;
|
||||
};
|
||||
|
||||
i2c0: i2c@40003000 {
|
||||
|
|
|
@ -79,6 +79,7 @@
|
|||
#gpio-cells = <2>;
|
||||
label = "GPIO_0";
|
||||
status = "disabled";
|
||||
port = <0>;
|
||||
};
|
||||
|
||||
gpiote: gpiote@40006000 {
|
||||
|
|
|
@ -92,6 +92,7 @@
|
|||
#gpio-cells = <2>;
|
||||
label = "GPIO_0";
|
||||
status = "disabled";
|
||||
port = <0>;
|
||||
};
|
||||
|
||||
i2c0: i2c@40003000 {
|
||||
|
|
|
@ -99,6 +99,7 @@
|
|||
#gpio-cells = <2>;
|
||||
label = "GPIO_0";
|
||||
status = "disabled";
|
||||
port = <0>;
|
||||
};
|
||||
|
||||
i2c0: i2c@40003000 {
|
||||
|
|
|
@ -89,6 +89,7 @@
|
|||
#gpio-cells = <2>;
|
||||
label = "GPIO_0";
|
||||
status = "disabled";
|
||||
port = <0>;
|
||||
};
|
||||
|
||||
i2c0: i2c@40003000 {
|
||||
|
|
|
@ -92,6 +92,7 @@
|
|||
#gpio-cells = <2>;
|
||||
label = "GPIO_0";
|
||||
status = "disabled";
|
||||
port = <0>;
|
||||
};
|
||||
|
||||
i2c0: i2c@40003000 {
|
||||
|
|
|
@ -105,6 +105,7 @@
|
|||
#gpio-cells = <2>;
|
||||
label = "GPIO_0";
|
||||
status = "disabled";
|
||||
port = <0>;
|
||||
};
|
||||
|
||||
gpio1: gpio@50000300 {
|
||||
|
@ -116,6 +117,7 @@
|
|||
ngpios = <10>;
|
||||
label = "GPIO_1";
|
||||
status = "disabled";
|
||||
port = <1>;
|
||||
};
|
||||
|
||||
i2c0: i2c@40003000 {
|
||||
|
|
|
@ -101,6 +101,7 @@
|
|||
#gpio-cells = <2>;
|
||||
label = "GPIO_0";
|
||||
status = "disabled";
|
||||
port = <0>;
|
||||
};
|
||||
|
||||
gpio1: gpio@50000300 {
|
||||
|
@ -112,6 +113,7 @@
|
|||
ngpios = <16>;
|
||||
label = "GPIO_1";
|
||||
status = "disabled";
|
||||
port = <1>;
|
||||
};
|
||||
|
||||
i2c0: i2c@40003000 {
|
||||
|
|
|
@ -332,6 +332,7 @@ gpio0: gpio@842500 {
|
|||
#gpio-cells = <2>;
|
||||
label = "GPIO_0";
|
||||
status = "disabled";
|
||||
port = <0>;
|
||||
};
|
||||
|
||||
gpio1: gpio@842800 {
|
||||
|
@ -342,6 +343,7 @@ gpio1: gpio@842800 {
|
|||
ngpios = <16>;
|
||||
label = "GPIO_1";
|
||||
status = "disabled";
|
||||
port = <1>;
|
||||
};
|
||||
|
||||
qspi: qspi@2b000 {
|
||||
|
|
|
@ -101,6 +101,7 @@
|
|||
#gpio-cells = <2>;
|
||||
label = "GPIO_0";
|
||||
status = "disabled";
|
||||
port = <0>;
|
||||
};
|
||||
|
||||
gpio1: gpio@418c0800 {
|
||||
|
@ -111,6 +112,7 @@
|
|||
ngpios = <16>;
|
||||
label = "GPIO_1";
|
||||
status = "disabled";
|
||||
port = <1>;
|
||||
};
|
||||
|
||||
gpiote: gpiote@4100a000 {
|
||||
|
|
|
@ -307,6 +307,7 @@ gpio0: gpio@842500 {
|
|||
#gpio-cells = <2>;
|
||||
label = "GPIO_0";
|
||||
status = "disabled";
|
||||
port = <0>;
|
||||
};
|
||||
|
||||
rtc0: rtc@14000 {
|
||||
|
|
|
@ -17,6 +17,18 @@ properties:
|
|||
"#gpio-cells":
|
||||
const: 2
|
||||
|
||||
port:
|
||||
type: int
|
||||
required: true
|
||||
description: |
|
||||
The GPIO port number. GPIO port P0 has:
|
||||
|
||||
port = <0>;
|
||||
|
||||
And P1 has:
|
||||
|
||||
port = <1>;
|
||||
|
||||
gpio-cells:
|
||||
- pin
|
||||
- flags
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue