Skip to content

Commit 0088b90

Browse files
Lahyllaskartben
authored andcommitted
dts: arm64: broadcom: bcm2712: Add node for RP1 GPIO
Add RP1 GPIO node in the devicetree for BCM2712. Signed-off-by: Junho Lee <[email protected]>
1 parent f157d50 commit 0088b90

File tree

1 file changed

+58
-0
lines changed

1 file changed

+58
-0
lines changed

dts/arm64/broadcom/bcm2712.dtsi

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,62 @@
8787
#clock-cells = <0>;
8888
};
8989
};
90+
91+
axi {
92+
#address-cells = <2>;
93+
#size-cells = <1>;
94+
95+
pcie2: pcie@1000120000 {
96+
compatible = "brcm,brcmstb-pcie";
97+
reg = <0x10 0x120000 0x9310>,
98+
<0x0 0x410000 0x4000>,
99+
<0x0 0x0 0x400000>,
100+
<0x0 0x400000 0x4000>;
101+
#address-cells = <3>;
102+
#size-cells = <2>;
103+
ranges = <0x02000000 0x0 0x0 0x1f 0x0 0x00 0xfffffffc>,
104+
<0x43000000 0x4 0x0 0x1c 0x0 0x03 0x00000000>,
105+
<0x02000000 0x0 0x0 0x1f 0x0 0x00 0x00400000>;
106+
status = "okay";
107+
108+
rp1 {
109+
#address-cells = <2>;
110+
#size-cells = <1>;
111+
112+
gpio0: gpio@1f000d0000 {
113+
compatible = "simple-bus";
114+
reg = <0x1f 0xd0000 0x30000>;
115+
#address-cells = <1>;
116+
#size-cells = <0>;
117+
118+
gpio0_0: gpio@0 {
119+
compatible = "raspberrypi,rp1-gpio";
120+
reg = <0x0 0x10000 0x20000>;
121+
#gpio-cells = <2>;
122+
gpio-controller;
123+
ngpios = <28>;
124+
status = "disabled";
125+
};
126+
127+
gpio0_1: gpio@4000 {
128+
compatible = "raspberrypi,rp1-gpio";
129+
reg = <0x4000 0x14000 0x24000>;
130+
#gpio-cells = <2>;
131+
gpio-controller;
132+
ngpios = <6>;
133+
status = "disabled";
134+
};
135+
136+
gpio0_2: gpio@8000 {
137+
compatible = "raspberrypi,rp1-gpio";
138+
reg = <0x8000 0x18000 0x28000>;
139+
#gpio-cells = <2>;
140+
gpio-controller;
141+
ngpios = <20>;
142+
status = "disabled";
143+
};
144+
};
145+
};
146+
};
147+
};
90148
};

0 commit comments

Comments
 (0)