|
@@ -406,6 +406,50 @@
|
|
|
efuse@200 {
|
|
|
compatible = "socionext,uniphier-efuse";
|
|
|
reg = <0x200 0x68>;
|
|
|
+ #address-cells = <1>;
|
|
|
+ #size-cells = <1>;
|
|
|
+
|
|
|
+ /* USB cells */
|
|
|
+ usb_rterm0: trim@54,4 {
|
|
|
+ reg = <0x54 1>;
|
|
|
+ bits = <4 2>;
|
|
|
+ };
|
|
|
+ usb_rterm1: trim@55,4 {
|
|
|
+ reg = <0x55 1>;
|
|
|
+ bits = <4 2>;
|
|
|
+ };
|
|
|
+ usb_rterm2: trim@58,4 {
|
|
|
+ reg = <0x58 1>;
|
|
|
+ bits = <4 2>;
|
|
|
+ };
|
|
|
+ usb_rterm3: trim@59,4 {
|
|
|
+ reg = <0x59 1>;
|
|
|
+ bits = <4 2>;
|
|
|
+ };
|
|
|
+ usb_sel_t0: trim@54,0 {
|
|
|
+ reg = <0x54 1>;
|
|
|
+ bits = <0 4>;
|
|
|
+ };
|
|
|
+ usb_sel_t1: trim@55,0 {
|
|
|
+ reg = <0x55 1>;
|
|
|
+ bits = <0 4>;
|
|
|
+ };
|
|
|
+ usb_sel_t2: trim@58,0 {
|
|
|
+ reg = <0x58 1>;
|
|
|
+ bits = <0 4>;
|
|
|
+ };
|
|
|
+ usb_sel_t3: trim@59,0 {
|
|
|
+ reg = <0x59 1>;
|
|
|
+ bits = <0 4>;
|
|
|
+ };
|
|
|
+ usb_hs_i0: trim@56,0 {
|
|
|
+ reg = <0x56 1>;
|
|
|
+ bits = <0 4>;
|
|
|
+ };
|
|
|
+ usb_hs_i2: trim@5a,0 {
|
|
|
+ reg = <0x5a 1>;
|
|
|
+ bits = <0 4>;
|
|
|
+ };
|
|
|
};
|
|
|
};
|
|
|
|
|
@@ -487,6 +531,202 @@
|
|
|
};
|
|
|
};
|
|
|
|
|
|
+ usb0: usb@65a00000 {
|
|
|
+ compatible = "socionext,uniphier-dwc3", "snps,dwc3";
|
|
|
+ status = "disabled";
|
|
|
+ reg = <0x65a00000 0xcd00>;
|
|
|
+ interrupt-names = "host", "peripheral";
|
|
|
+ interrupts = <0 134 4>, <0 135 4>;
|
|
|
+ pinctrl-names = "default";
|
|
|
+ pinctrl-0 = <&pinctrl_usb0>, <&pinctrl_usb2>;
|
|
|
+ clock-names = "ref", "bus_early", "suspend";
|
|
|
+ clocks = <&sys_clk 12>, <&sys_clk 12>, <&sys_clk 12>;
|
|
|
+ resets = <&usb0_rst 15>;
|
|
|
+ phys = <&usb0_hsphy0>, <&usb0_hsphy1>,
|
|
|
+ <&usb0_ssphy0>, <&usb0_ssphy1>;
|
|
|
+ dr_mode = "host";
|
|
|
+ };
|
|
|
+
|
|
|
+ usb-glue@65b00000 {
|
|
|
+ compatible = "socionext,uniphier-pxs3-dwc3-glue",
|
|
|
+ "simple-mfd";
|
|
|
+ #address-cells = <1>;
|
|
|
+ #size-cells = <1>;
|
|
|
+ ranges = <0 0x65b00000 0x400>;
|
|
|
+
|
|
|
+ usb0_rst: reset@0 {
|
|
|
+ compatible = "socionext,uniphier-pxs3-usb3-reset";
|
|
|
+ reg = <0x0 0x4>;
|
|
|
+ #reset-cells = <1>;
|
|
|
+ clock-names = "link";
|
|
|
+ clocks = <&sys_clk 12>;
|
|
|
+ reset-names = "link";
|
|
|
+ resets = <&sys_rst 12>;
|
|
|
+ };
|
|
|
+
|
|
|
+ usb0_vbus0: regulator@100 {
|
|
|
+ compatible = "socionext,uniphier-pxs3-usb3-regulator";
|
|
|
+ reg = <0x100 0x10>;
|
|
|
+ clock-names = "link";
|
|
|
+ clocks = <&sys_clk 12>;
|
|
|
+ reset-names = "link";
|
|
|
+ resets = <&sys_rst 12>;
|
|
|
+ };
|
|
|
+
|
|
|
+ usb0_vbus1: regulator@110 {
|
|
|
+ compatible = "socionext,uniphier-pxs3-usb3-regulator";
|
|
|
+ reg = <0x110 0x10>;
|
|
|
+ clock-names = "link";
|
|
|
+ clocks = <&sys_clk 12>;
|
|
|
+ reset-names = "link";
|
|
|
+ resets = <&sys_rst 12>;
|
|
|
+ };
|
|
|
+
|
|
|
+ usb0_hsphy0: hs-phy@200 {
|
|
|
+ compatible = "socionext,uniphier-pxs3-usb3-hsphy";
|
|
|
+ reg = <0x200 0x10>;
|
|
|
+ #phy-cells = <0>;
|
|
|
+ clock-names = "link", "phy";
|
|
|
+ clocks = <&sys_clk 12>, <&sys_clk 16>;
|
|
|
+ reset-names = "link", "phy";
|
|
|
+ resets = <&sys_rst 12>, <&sys_rst 16>;
|
|
|
+ vbus-supply = <&usb0_vbus0>;
|
|
|
+ nvmem-cell-names = "rterm", "sel_t", "hs_i";
|
|
|
+ nvmem-cells = <&usb_rterm0>, <&usb_sel_t0>,
|
|
|
+ <&usb_hs_i0>;
|
|
|
+ };
|
|
|
+
|
|
|
+ usb0_hsphy1: hs-phy@210 {
|
|
|
+ compatible = "socionext,uniphier-pxs3-usb3-hsphy";
|
|
|
+ reg = <0x210 0x10>;
|
|
|
+ #phy-cells = <0>;
|
|
|
+ clock-names = "link", "phy";
|
|
|
+ clocks = <&sys_clk 12>, <&sys_clk 16>;
|
|
|
+ reset-names = "link", "phy";
|
|
|
+ resets = <&sys_rst 12>, <&sys_rst 16>;
|
|
|
+ vbus-supply = <&usb0_vbus1>;
|
|
|
+ nvmem-cell-names = "rterm", "sel_t", "hs_i";
|
|
|
+ nvmem-cells = <&usb_rterm1>, <&usb_sel_t1>,
|
|
|
+ <&usb_hs_i0>;
|
|
|
+ };
|
|
|
+
|
|
|
+ usb0_ssphy0: ss-phy@300 {
|
|
|
+ compatible = "socionext,uniphier-pxs3-usb3-ssphy";
|
|
|
+ reg = <0x300 0x10>;
|
|
|
+ #phy-cells = <0>;
|
|
|
+ clock-names = "link", "phy";
|
|
|
+ clocks = <&sys_clk 12>, <&sys_clk 17>;
|
|
|
+ reset-names = "link", "phy";
|
|
|
+ resets = <&sys_rst 12>, <&sys_rst 17>;
|
|
|
+ vbus-supply = <&usb0_vbus0>;
|
|
|
+ };
|
|
|
+
|
|
|
+ usb0_ssphy1: ss-phy@310 {
|
|
|
+ compatible = "socionext,uniphier-pxs3-usb3-ssphy";
|
|
|
+ reg = <0x310 0x10>;
|
|
|
+ #phy-cells = <0>;
|
|
|
+ clock-names = "link", "phy";
|
|
|
+ clocks = <&sys_clk 12>, <&sys_clk 18>;
|
|
|
+ reset-names = "link", "phy";
|
|
|
+ resets = <&sys_rst 12>, <&sys_rst 18>;
|
|
|
+ vbus-supply = <&usb0_vbus1>;
|
|
|
+ };
|
|
|
+ };
|
|
|
+
|
|
|
+ usb1: usb@65c00000 {
|
|
|
+ compatible = "socionext,uniphier-dwc3", "snps,dwc3";
|
|
|
+ status = "disabled";
|
|
|
+ reg = <0x65c00000 0xcd00>;
|
|
|
+ interrupt-names = "host", "peripheral";
|
|
|
+ interrupts = <0 137 4>, <0 138 4>;
|
|
|
+ pinctrl-names = "default";
|
|
|
+ pinctrl-0 = <&pinctrl_usb1>, <&pinctrl_usb3>;
|
|
|
+ clock-names = "ref", "bus_early", "suspend";
|
|
|
+ clocks = <&sys_clk 13>, <&sys_clk 13>, <&sys_clk 13>;
|
|
|
+ resets = <&usb1_rst 15>;
|
|
|
+ phys = <&usb1_hsphy0>, <&usb1_hsphy1>,
|
|
|
+ <&usb1_ssphy0>;
|
|
|
+ dr_mode = "host";
|
|
|
+ };
|
|
|
+
|
|
|
+ usb-glue@65d00000 {
|
|
|
+ compatible = "socionext,uniphier-pxs3-dwc3-glue",
|
|
|
+ "simple-mfd";
|
|
|
+ #address-cells = <1>;
|
|
|
+ #size-cells = <1>;
|
|
|
+ ranges = <0 0x65d00000 0x400>;
|
|
|
+
|
|
|
+ usb1_rst: reset@0 {
|
|
|
+ compatible = "socionext,uniphier-pxs3-usb3-reset";
|
|
|
+ reg = <0x0 0x4>;
|
|
|
+ #reset-cells = <1>;
|
|
|
+ clock-names = "link";
|
|
|
+ clocks = <&sys_clk 13>;
|
|
|
+ reset-names = "link";
|
|
|
+ resets = <&sys_rst 13>;
|
|
|
+ };
|
|
|
+
|
|
|
+ usb1_vbus0: regulator@100 {
|
|
|
+ compatible = "socionext,uniphier-pxs3-usb3-regulator";
|
|
|
+ reg = <0x100 0x10>;
|
|
|
+ clock-names = "link";
|
|
|
+ clocks = <&sys_clk 13>;
|
|
|
+ reset-names = "link";
|
|
|
+ resets = <&sys_rst 13>;
|
|
|
+ };
|
|
|
+
|
|
|
+ usb1_vbus1: regulator@110 {
|
|
|
+ compatible = "socionext,uniphier-pxs3-usb3-regulator";
|
|
|
+ reg = <0x110 0x10>;
|
|
|
+ clock-names = "link";
|
|
|
+ clocks = <&sys_clk 13>;
|
|
|
+ reset-names = "link";
|
|
|
+ resets = <&sys_rst 13>;
|
|
|
+ };
|
|
|
+
|
|
|
+ usb1_hsphy0: hs-phy@200 {
|
|
|
+ compatible = "socionext,uniphier-pxs3-usb3-hsphy";
|
|
|
+ reg = <0x200 0x10>;
|
|
|
+ #phy-cells = <0>;
|
|
|
+ clock-names = "link", "phy", "phy-ext";
|
|
|
+ clocks = <&sys_clk 13>, <&sys_clk 20>,
|
|
|
+ <&sys_clk 14>;
|
|
|
+ reset-names = "link", "phy";
|
|
|
+ resets = <&sys_rst 13>, <&sys_rst 20>;
|
|
|
+ vbus-supply = <&usb1_vbus0>;
|
|
|
+ nvmem-cell-names = "rterm", "sel_t", "hs_i";
|
|
|
+ nvmem-cells = <&usb_rterm2>, <&usb_sel_t2>,
|
|
|
+ <&usb_hs_i2>;
|
|
|
+ };
|
|
|
+
|
|
|
+ usb1_hsphy1: hs-phy@210 {
|
|
|
+ compatible = "socionext,uniphier-pxs3-usb3-hsphy";
|
|
|
+ reg = <0x210 0x10>;
|
|
|
+ #phy-cells = <0>;
|
|
|
+ clock-names = "link", "phy", "phy-ext";
|
|
|
+ clocks = <&sys_clk 13>, <&sys_clk 20>,
|
|
|
+ <&sys_clk 14>;
|
|
|
+ reset-names = "link", "phy";
|
|
|
+ resets = <&sys_rst 13>, <&sys_rst 20>;
|
|
|
+ vbus-supply = <&usb1_vbus1>;
|
|
|
+ nvmem-cell-names = "rterm", "sel_t", "hs_i";
|
|
|
+ nvmem-cells = <&usb_rterm3>, <&usb_sel_t3>,
|
|
|
+ <&usb_hs_i2>;
|
|
|
+ };
|
|
|
+
|
|
|
+ usb1_ssphy0: ss-phy@300 {
|
|
|
+ compatible = "socionext,uniphier-pxs3-usb3-ssphy";
|
|
|
+ reg = <0x300 0x10>;
|
|
|
+ #phy-cells = <0>;
|
|
|
+ clock-names = "link", "phy", "phy-ext";
|
|
|
+ clocks = <&sys_clk 13>, <&sys_clk 21>,
|
|
|
+ <&sys_clk 14>;
|
|
|
+ reset-names = "link", "phy";
|
|
|
+ resets = <&sys_rst 13>, <&sys_rst 21>;
|
|
|
+ vbus-supply = <&usb1_vbus0>;
|
|
|
+ };
|
|
|
+ };
|
|
|
+
|
|
|
nand: nand@68000000 {
|
|
|
compatible = "socionext,uniphier-denali-nand-v5b";
|
|
|
status = "disabled";
|