Skip to content

Commit 686968b

Browse files
committed
dts: arm: nxp: lpc: Add dts nodes for IOCON
Add binding and dts nodes for the IOCON and IOCON ports on the LPC family of SoCs. Signed-off-by: Kumar Gala <[email protected]>
1 parent 01bb08e commit 686968b

File tree

6 files changed

+88
-0
lines changed

6 files changed

+88
-0
lines changed

dts/arm/nxp/nxp_lpc54xxx.dtsi

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,22 @@
7979
};
8080
};
8181

82+
iocon: iocon@40001000 {
83+
compatible = "nxp,lpc-iocon";
84+
reg = <0x40001000 0x100>;
85+
#address-cells = <1>;
86+
#size-cells = <1>;
87+
ranges = <0x0 0x40001000 0x100>;
88+
pio0: pio0@0 {
89+
compatible = "nxp,lpc-iocon-pio";
90+
reg = <0x0 0x80>;
91+
};
92+
pio1: pio0@80 {
93+
compatible = "nxp,lpc-iocon-pio";
94+
reg = <0x80 0x80>;
95+
};
96+
};
97+
8298
gpio0: gpio@0 {
8399
compatible = "nxp,lpc-gpio";
84100
reg = <0x4008c000 0x2488>;

dts/arm/nxp/nxp_lpc55S1x_common.dtsi

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,22 @@
9999
};
100100
};
101101

102+
iocon: iocon@1000 {
103+
compatible = "nxp,lpc-iocon";
104+
reg = <0x1000 0x100>;
105+
#address-cells = <1>;
106+
#size-cells = <1>;
107+
ranges = <0x0 0x1000 0x100>;
108+
pio0: pio0@0 {
109+
compatible = "nxp,lpc-iocon-pio";
110+
reg = <0x0 0x80>;
111+
};
112+
pio1: pio0@80 {
113+
compatible = "nxp,lpc-iocon-pio";
114+
reg = <0x80 0x80>;
115+
};
116+
};
117+
102118
gpio0: gpio@0 {
103119
compatible = "nxp,lpc-gpio";
104120
reg = <0x8c000 0x2488>;

dts/arm/nxp/nxp_lpc55S2x_common.dtsi

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,22 @@
100100
};
101101
};
102102

103+
iocon: iocon@1000 {
104+
compatible = "nxp,lpc-iocon";
105+
reg = <0x1000 0x100>;
106+
#address-cells = <1>;
107+
#size-cells = <1>;
108+
ranges = <0x0 0x1000 0x100>;
109+
pio0: pio0@0 {
110+
compatible = "nxp,lpc-iocon-pio";
111+
reg = <0x0 0x80>;
112+
};
113+
pio1: pio0@80 {
114+
compatible = "nxp,lpc-iocon-pio";
115+
reg = <0x80 0x80>;
116+
};
117+
};
118+
103119
gpio0: gpio@0 {
104120
compatible = "nxp,lpc-gpio";
105121
reg = <0x8c000 0x2488>;

dts/arm/nxp/nxp_lpc55S6x_common.dtsi

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,22 @@
114114
};
115115
};
116116

117+
iocon: iocon@1000 {
118+
compatible = "nxp,lpc-iocon";
119+
reg = <0x1000 0x100>;
120+
#address-cells = <1>;
121+
#size-cells = <1>;
122+
ranges = <0x0 0x1000 0x100>;
123+
pio0: pio0@0 {
124+
compatible = "nxp,lpc-iocon-pio";
125+
reg = <0x0 0x80>;
126+
};
127+
pio1: pio0@80 {
128+
compatible = "nxp,lpc-iocon-pio";
129+
reg = <0x80 0x80>;
130+
};
131+
};
132+
117133
gpio0: gpio@0 {
118134
compatible = "nxp,lpc-gpio";
119135
reg = <0x8c000 0x2488>;
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Copyright (c) 2021, Linaro Limited
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
description: LPC I/O Pin Configuration (IOCON) Port I/O (PIO)
5+
6+
compatible: "nxp,lpc-iocon-pio"
7+
8+
include: base.yaml
9+
10+
properties:
11+
reg:
12+
required: true
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Copyright (c) 2021, Linaro Limited
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
description: LPC I/O Pin Configuration (IOCON)
5+
6+
compatible: "nxp,lpc-iocon"
7+
8+
include: base.yaml
9+
10+
properties:
11+
reg:
12+
required: true

0 commit comments

Comments
 (0)