compatible = "nuvoton,npcm845-reset", "syscon",
"simple-mfd";
reg = <0x0 0xf0801000 0x0 0xC4>;
- rstc1: reset-controller1 {
- compatible = "syscon-reset";
- #reset-cells = <1>;
- regmap = <&rstc>;
- offset = <NPCM8XX_RESET_IPSRST1>;
- mask = <0xFFFFFFFF>;
- };
- rstc2: reset-controller2 {
- compatible = "syscon-reset";
- #reset-cells = <1>;
- regmap = <&rstc>;
- offset = <NPCM8XX_RESET_IPSRST2>;
- mask = <0xFFFFFFFF>;
- };
- rstc3: reset-controller3 {
- compatible = "syscon-reset";
- #reset-cells = <1>;
- regmap = <&rstc>;
- offset = <NPCM8XX_RESET_IPSRST3>;
- mask = <0xFFFFFFFF>;
- };
- rstc4: reset-controller4 {
- compatible = "syscon-reset";
- #reset-cells = <1>;
- regmap = <&rstc>;
- offset = <NPCM8XX_RESET_IPSRST4>;
- mask = <0xFFFFFFFF>;
- };
+ #reset-cells = <2>;
};
clk: clock-controller@f0801000 {
clock-names = "stmmaceth";
pinctrl-names = "default";
pinctrl-0 = <&rg1mdio_pins>;
- resets = <&rstc2 NPCM8XX_RESET_GMAC1>;
+ resets = <&rstc NPCM8XX_RESET_IPSRST2 NPCM8XX_RESET_GMAC1>;
status = "disabled";
};
pinctrl-names = "default";
pinctrl-0 = <&rg2_pins
&rg2mdio_pins>;
- resets = <&rstc2 NPCM8XX_RESET_GMAC2>;
+ resets = <&rstc NPCM8XX_RESET_IPSRST2 NPCM8XX_RESET_GMAC2>;
status = "disabled";
};
pinctrl-0 = <&r1_pins
&r1err_pins
&r1md_pins>;
- resets = <&rstc1 NPCM8XX_RESET_GMAC3>;
+ resets = <&rstc NPCM8XX_RESET_IPSRST1 NPCM8XX_RESET_GMAC3>;
status = "disabled";
};
pinctrl-0 = <&r2_pins
&r2err_pins
&r2md_pins>;
- resets = <&rstc1 NPCM8XX_RESET_GMAC4>;
+ resets = <&rstc NPCM8XX_RESET_IPSRST1 NPCM8XX_RESET_GMAC4>;
status = "disabled";
};
compatible = "nuvoton,npcm845-ehci";
reg = <0x0 0xf0828100 0x0 0x1000>;
interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
- resets = <&rstc2 NPCM8XX_RESET_USBH1>;
+ resets = <&rstc NPCM8XX_RESET_IPSRST2 NPCM8XX_RESET_USBH1>;
status = "disabled";
};
compatible = "nuvoton,npcm845-ehci";
reg = <0x0 0xf082a100 0x0 0x1000>;
interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
- resets = <&rstc4 NPCM8XX_RESET_USBH2>;
+ resets = <&rstc NPCM8XX_RESET_IPSRST4 NPCM8XX_RESET_USBH2>;
status = "disabled";
};
ohci1: usb@f0829000 {
compatible = "nuvoton,npcm845-ohci";
reg = <0x0 0xF0829000 0x0 0x1000>;
- resets = <&rstc2 NPCM8XX_RESET_USBH1>;
+ resets = <&rstc NPCM8XX_RESET_IPSRST2 NPCM8XX_RESET_USBH1>;
status = "disabled";
};
ohci2: usb@f082b000 {
compatible = "nuvoton,npcm845-ohci";
reg = <0x0 0xF082B000 0x0 0x1000>;
- resets = <&rstc4 NPCM8XX_RESET_USBH2>;
+ resets = <&rstc NPCM8XX_RESET_IPSRST4 NPCM8XX_RESET_USBH2>;
status = "disabled";
};
compatible = "nuvoton,npcm845-usb-phy";
#phy-cells = <1>;
reg = <1>;
- resets = <&rstc3 NPCM8XX_RESET_USBPHY1>;
+ resets = <&rstc NPCM8XX_RESET_IPSRST3 NPCM8XX_RESET_USBPHY1>;
status = "disabled";
};
usbphy2: usbphy@2 {
compatible = "nuvoton,npcm845-usb-phy";
#phy-cells = <1>;
reg = <2>;
- resets = <&rstc3 NPCM8XX_RESET_USBPHY2>;
+ resets = <&rstc NPCM8XX_RESET_IPSRST3 NPCM8XX_RESET_USBPHY2>;
status = "disabled";
};
usbphy3: usbphy@3 {
compatible = "nuvoton,npcm845-usb-phy";
#phy-cells = <1>;
reg = <3>;
- resets = <&rstc4 NPCM8XX_RESET_USBPHY3>;
+ resets = <&rstc NPCM8XX_RESET_IPSRST4 NPCM8XX_RESET_USBPHY3>;
status = "disabled";
};
};
interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk NPCM8XX_CLK_SU>;
clock-names = "clk_usb_bridge";
- resets = <&rstc3 NPCM8XX_RESET_UDC0>;
+ resets = <&rstc NPCM8XX_RESET_IPSRST3 NPCM8XX_RESET_UDC0>;
status = "disable";
};
interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk NPCM8XX_CLK_SU>;
clock-names = "clk_usb_bridge";
- resets = <&rstc1 NPCM8XX_RESET_UDC1>;
+ resets = <&rstc NPCM8XX_RESET_IPSRST1 NPCM8XX_RESET_UDC1>;
status = "disable";
};
interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk NPCM8XX_CLK_SU>;
clock-names = "clk_usb_bridge";
- resets = <&rstc1 NPCM8XX_RESET_UDC2>;
+ resets = <&rstc NPCM8XX_RESET_IPSRST1 NPCM8XX_RESET_UDC2>;
status = "disable";
};
interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk NPCM8XX_CLK_SU>;
clock-names = "clk_usb_bridge";
- resets = <&rstc1 NPCM8XX_RESET_UDC3>;
+ resets = <&rstc NPCM8XX_RESET_IPSRST1 NPCM8XX_RESET_UDC3>;
status = "disable";
};
interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk NPCM8XX_CLK_SU>;
clock-names = "clk_usb_bridge";
- resets = <&rstc1 NPCM8XX_RESET_UDC4>;
+ resets = <&rstc NPCM8XX_RESET_IPSRST1 NPCM8XX_RESET_UDC4>;
status = "disable";
};
interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk NPCM8XX_CLK_SU>;
clock-names = "clk_usb_bridge";
- resets = <&rstc1 NPCM8XX_RESET_UDC5>;
+ resets = <&rstc NPCM8XX_RESET_IPSRST1 NPCM8XX_RESET_UDC5>;
status = "disable";
};
interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk NPCM8XX_CLK_SU>;
clock-names = "clk_usb_bridge";
- resets = <&rstc1 NPCM8XX_RESET_UDC6>;
+ resets = <&rstc NPCM8XX_RESET_IPSRST1 NPCM8XX_RESET_UDC6>;
status = "disable";
};
interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk NPCM8XX_CLK_SU>;
clock-names = "clk_usb_bridge";
- resets = <&rstc3 NPCM8XX_RESET_UDC7>;
+ resets = <&rstc NPCM8XX_RESET_IPSRST3 NPCM8XX_RESET_UDC7>;
status = "disable";
};
interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk NPCM8XX_CLK_SU>;
clock-names = "clk_usb_bridge";
- resets = <&rstc3 NPCM8XX_RESET_UDC8>;
+ resets = <&rstc NPCM8XX_RESET_IPSRST3 NPCM8XX_RESET_UDC8>;
status = "disable";
};
interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk NPCM8XX_CLK_SU>;
clock-names = "clk_usb_bridge";
- resets = <&rstc3 NPCM8XX_RESET_UDC9>;
+ resets = <&rstc NPCM8XX_RESET_IPSRST3 NPCM8XX_RESET_UDC9>;
status = "disable";
};