ARM: dts: nuvoton: Add UDC nodes
Subsystems (2)
PATCH v2 1/1 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]>
---
V1 -> V2: Fix udc -> udc nodenames, fix reg values for npcm750
.../dts/nuvoton/nuvoton-common-npcm7xx.dtsi | 71 +++++++++++++++++++ .../arm/boot/dts/nuvoton/nuvoton-npcm750.dtsi | 65 +++++++++++++++++ 2 files changed, 136 insertions(+)
arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi +71 -0
@@ -99,6 +99,11 @@ rst: rst@801000 { }; }; + udc0_phy: usb-phy { + compatible = "usb-nop-xceiv"; + #phy-cells = <0>; + }; + ahb { #address-cells = <1>; #size-cells = <1>;
@@ -193,6 +198,72 @@ fiux: spi@fb001000 { status = "disabled"; }; + udc5: usb@f0835000 { + compatible = "nuvoton,npcm750-udc"; + reg = <0xf0835000 0x1000 + 0xfffd2800 0x800>; + interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&clk NPCM7XX_CLK_SU>; + clock-names = "clk_usb_bridge"; + phys = <&udc0_phy>; + phy_type = "utmi_wide"; + dr_mode = "peripheral"; + status = "disabled"; + }; + + udc6: usb@f0836000 { + compatible = "nuvoton,npcm750-udc"; + reg = <0xf0836000 0x1000 + 0xfffd3000 0x800>; + interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&clk NPCM7XX_CLK_SU>; + clock-names = "clk_usb_bridge"; + phys = <&udc0_phy>; + phy_type = "utmi_wide"; + dr_mode = "peripheral"; + status = "disabled"; + }; + + udc7: usb@f0837000 { + compatible = "nuvoton,npcm750-udc"; + reg = <0xf0837000 0x1000 + 0xfffd3800 0x800>; + interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&clk NPCM7XX_CLK_SU>; + clock-names = "clk_usb_bridge"; + phys = <&udc0_phy>; + phy_type = "utmi_wide"; + dr_mode = "peripheral"; + status = "disabled"; + }; + + udc8: usb@f0838000 { + compatible = "nuvoton,npcm750-udc"; + reg = <0xf0838000 0x1000 + 0xfffd4000 0x800>; + interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&clk NPCM7XX_CLK_SU>; + clock-names = "clk_usb_bridge"; + phys = <&udc0_phy>; + phy_type = "utmi_wide"; + dr_mode = "peripheral"; + status = "disabled"; + }; + + udc9: usb@f0839000 { + compatible = "nuvoton,npcm750-udc"; + reg = <0xf0839000 0x1000 + 0xfffd4800 0x800>; + interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&clk NPCM7XX_CLK_SU>; + clock-names = "clk_usb_bridge"; + nuvoton,sysgcr = <&gcr>; + phys = <&udc0_phy>; + phy_type = "utmi_wide"; + dr_mode = "peripheral"; + status = "disabled"; + }; + apb { #address-cells = <1>; #size-cells = <1>;
arch/arm/boot/dts/nuvoton/nuvoton-npcm750.dtsi +65 -0
70 lines not on this page · raw message
Signature · 1 line
2.49.0.472.ge94155a9ec-goog
Andrew Jeffery
maintainerQuoted 4 lines · William A. Kennington III
The driver support was already added but we are missing the nodes in our common devicetree.
Thanks, I've applied this to be picked up through the BMC tree.
--
Andrew Jeffery <[email protected]>
William, thanks for the patch.
Reviewed-by Tomer Maimon <[email protected]>
Quoted 12 lines · Andrew Jeffery
Quoted 4 lines · William A. Kennington III
The driver support was already added but we are missing the nodes in our common devicetree.
Thanks, I've applied this to be picked up through the BMC tree.
--
Andrew Jeffery <[email protected]>