Skip to content

Commit 366c846

Browse files
wkenningtonamboar
authored andcommitted
ARM: dts: nuvoton: Add UDC nodes
The driver support was already added but we are missing the nodes in our common devicetree. Signed-off-by: William A. Kennington III <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Andrew Jeffery <[email protected]>
1 parent f0538cc commit 366c846

File tree

2 files changed

+136
-0
lines changed

2 files changed

+136
-0
lines changed

arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi

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

102+
udc0_phy: usb-phy {
103+
compatible = "usb-nop-xceiv";
104+
#phy-cells = <0>;
105+
};
106+
102107
ahb {
103108
#address-cells = <1>;
104109
#size-cells = <1>;
@@ -186,6 +191,72 @@
186191
status = "disabled";
187192
};
188193

194+
udc5: usb@f0835000 {
195+
compatible = "nuvoton,npcm750-udc";
196+
reg = <0xf0835000 0x1000
197+
0xfffd2800 0x800>;
198+
interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
199+
clocks = <&clk NPCM7XX_CLK_SU>;
200+
clock-names = "clk_usb_bridge";
201+
phys = <&udc0_phy>;
202+
phy_type = "utmi_wide";
203+
dr_mode = "peripheral";
204+
status = "disabled";
205+
};
206+
207+
udc6: usb@f0836000 {
208+
compatible = "nuvoton,npcm750-udc";
209+
reg = <0xf0836000 0x1000
210+
0xfffd3000 0x800>;
211+
interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
212+
clocks = <&clk NPCM7XX_CLK_SU>;
213+
clock-names = "clk_usb_bridge";
214+
phys = <&udc0_phy>;
215+
phy_type = "utmi_wide";
216+
dr_mode = "peripheral";
217+
status = "disabled";
218+
};
219+
220+
udc7: usb@f0837000 {
221+
compatible = "nuvoton,npcm750-udc";
222+
reg = <0xf0837000 0x1000
223+
0xfffd3800 0x800>;
224+
interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
225+
clocks = <&clk NPCM7XX_CLK_SU>;
226+
clock-names = "clk_usb_bridge";
227+
phys = <&udc0_phy>;
228+
phy_type = "utmi_wide";
229+
dr_mode = "peripheral";
230+
status = "disabled";
231+
};
232+
233+
udc8: usb@f0838000 {
234+
compatible = "nuvoton,npcm750-udc";
235+
reg = <0xf0838000 0x1000
236+
0xfffd4000 0x800>;
237+
interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
238+
clocks = <&clk NPCM7XX_CLK_SU>;
239+
clock-names = "clk_usb_bridge";
240+
phys = <&udc0_phy>;
241+
phy_type = "utmi_wide";
242+
dr_mode = "peripheral";
243+
status = "disabled";
244+
};
245+
246+
udc9: usb@f0839000 {
247+
compatible = "nuvoton,npcm750-udc";
248+
reg = <0xf0839000 0x1000
249+
0xfffd4800 0x800>;
250+
interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
251+
clocks = <&clk NPCM7XX_CLK_SU>;
252+
clock-names = "clk_usb_bridge";
253+
nuvoton,sysgcr = <&gcr>;
254+
phys = <&udc0_phy>;
255+
phy_type = "utmi_wide";
256+
dr_mode = "peripheral";
257+
status = "disabled";
258+
};
259+
189260
apb {
190261
#address-cells = <1>;
191262
#size-cells = <1>;

arch/arm/boot/dts/nuvoton/nuvoton-npcm750.dtsi

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,70 @@
5858
&rg2mdio_pins>;
5959
status = "disabled";
6060
};
61+
62+
udc0: usb@f0830000 {
63+
compatible = "nuvoton,npcm750-udc";
64+
reg = <0xf0830000 0x1000
65+
0xfffd0000 0x800>;
66+
interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
67+
clocks = <&clk NPCM7XX_CLK_SU>;
68+
clock-names = "clk_usb_bridge";
69+
phys = <&udc0_phy>;
70+
phy_type = "utmi_wide";
71+
dr_mode = "peripheral";
72+
status = "disabled";
73+
};
74+
75+
udc1: usb@f0831000 {
76+
compatible = "nuvoton,npcm750-udc";
77+
reg = <0xf0831000 0x1000
78+
0xfffd0800 0x800>;
79+
interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
80+
clocks = <&clk NPCM7XX_CLK_SU>;
81+
clock-names = "clk_usb_bridge";
82+
phys = <&udc0_phy>;
83+
phy_type = "utmi_wide";
84+
dr_mode = "peripheral";
85+
status = "disabled";
86+
};
87+
88+
udc2: usb@f0832000 {
89+
compatible = "nuvoton,npcm750-udc";
90+
reg = <0xf0832000 0x1000
91+
0xfffd1000 0x800>;
92+
interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
93+
clocks = <&clk NPCM7XX_CLK_SU>;
94+
clock-names = "clk_usb_bridge";
95+
phys = <&udc0_phy>;
96+
phy_type = "utmi_wide";
97+
dr_mode = "peripheral";
98+
status = "disabled";
99+
};
100+
101+
udc3: usb@f0833000 {
102+
compatible = "nuvoton,npcm750-udc";
103+
reg = <0xf0833000 0x1000
104+
0xfffd1800 0x800>;
105+
interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
106+
clocks = <&clk NPCM7XX_CLK_SU>;
107+
clock-names = "clk_usb_bridge";
108+
phys = <&udc0_phy>;
109+
phy_type = "utmi_wide";
110+
dr_mode = "peripheral";
111+
status = "disabled";
112+
};
113+
114+
udc4: usb@f0834000 {
115+
compatible = "nuvoton,npcm750-udc";
116+
reg = <0xf0834000 0x1000
117+
0xfffd2000 0x800>;
118+
interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
119+
clocks = <&clk NPCM7XX_CLK_SU>;
120+
clock-names = "clk_usb_bridge";
121+
phys = <&udc0_phy>;
122+
phy_type = "utmi_wide";
123+
dr_mode = "peripheral";
124+
status = "disabled";
125+
};
61126
};
62127
};

0 commit comments

Comments
 (0)