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:
Martí Bolívar 2021-01-15 12:43:49 -08:00 committed by Kumar Gala
commit e031bc4b48
12 changed files with 27 additions and 0 deletions

View file

@ -94,6 +94,7 @@
#gpio-cells = <2>;
label = "GPIO_0";
status = "disabled";
port = <0>;
};
i2c0: i2c@40003000 {

View file

@ -79,6 +79,7 @@
#gpio-cells = <2>;
label = "GPIO_0";
status = "disabled";
port = <0>;
};
gpiote: gpiote@40006000 {

View file

@ -92,6 +92,7 @@
#gpio-cells = <2>;
label = "GPIO_0";
status = "disabled";
port = <0>;
};
i2c0: i2c@40003000 {

View file

@ -99,6 +99,7 @@
#gpio-cells = <2>;
label = "GPIO_0";
status = "disabled";
port = <0>;
};
i2c0: i2c@40003000 {

View file

@ -89,6 +89,7 @@
#gpio-cells = <2>;
label = "GPIO_0";
status = "disabled";
port = <0>;
};
i2c0: i2c@40003000 {

View file

@ -92,6 +92,7 @@
#gpio-cells = <2>;
label = "GPIO_0";
status = "disabled";
port = <0>;
};
i2c0: i2c@40003000 {

View file

@ -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 {

View file

@ -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 {

View file

@ -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 {

View file

@ -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 {

View file

@ -307,6 +307,7 @@ gpio0: gpio@842500 {
#gpio-cells = <2>;
label = "GPIO_0";
status = "disabled";
port = <0>;
};
rtc0: rtc@14000 {

View file

@ -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