Commit f73e1e28 authored by Ulrich Hecht's avatar Ulrich Hecht Committed by Simon Horman

ARM: shmobile: sh73a0: add MSTP clock assignments to DT

Assigns clocks to cmt1, i2c*, mmcif, sdhi*, and scif*.
Signed-off-by: default avatarUlrich Hecht <ulrich.hecht+renesas@gmail.com>
Acked-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Acked-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent 1a9a6581
...@@ -56,6 +56,8 @@ cmt1: timer@e6138000 { ...@@ -56,6 +56,8 @@ cmt1: timer@e6138000 {
renesas,channels-mask = <0x3f>; renesas,channels-mask = <0x3f>;
clocks = <&mstp3_clks SH73A0_CLK_CMT1>;
clock-names = "fck";
status = "disabled"; status = "disabled";
}; };
...@@ -145,6 +147,7 @@ i2c0: i2c@e6820000 { ...@@ -145,6 +147,7 @@ i2c0: i2c@e6820000 {
0 168 IRQ_TYPE_LEVEL_HIGH 0 168 IRQ_TYPE_LEVEL_HIGH
0 169 IRQ_TYPE_LEVEL_HIGH 0 169 IRQ_TYPE_LEVEL_HIGH
0 170 IRQ_TYPE_LEVEL_HIGH>; 0 170 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp1_clks SH73A0_CLK_IIC0>;
status = "disabled"; status = "disabled";
}; };
...@@ -157,6 +160,7 @@ i2c1: i2c@e6822000 { ...@@ -157,6 +160,7 @@ i2c1: i2c@e6822000 {
0 52 IRQ_TYPE_LEVEL_HIGH 0 52 IRQ_TYPE_LEVEL_HIGH
0 53 IRQ_TYPE_LEVEL_HIGH 0 53 IRQ_TYPE_LEVEL_HIGH
0 54 IRQ_TYPE_LEVEL_HIGH>; 0 54 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp3_clks SH73A0_CLK_IIC1>;
status = "disabled"; status = "disabled";
}; };
...@@ -169,6 +173,7 @@ i2c2: i2c@e6824000 { ...@@ -169,6 +173,7 @@ i2c2: i2c@e6824000 {
0 172 IRQ_TYPE_LEVEL_HIGH 0 172 IRQ_TYPE_LEVEL_HIGH
0 173 IRQ_TYPE_LEVEL_HIGH 0 173 IRQ_TYPE_LEVEL_HIGH
0 174 IRQ_TYPE_LEVEL_HIGH>; 0 174 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp0_clks SH73A0_CLK_IIC2>;
status = "disabled"; status = "disabled";
}; };
...@@ -181,6 +186,7 @@ i2c3: i2c@e6826000 { ...@@ -181,6 +186,7 @@ i2c3: i2c@e6826000 {
0 184 IRQ_TYPE_LEVEL_HIGH 0 184 IRQ_TYPE_LEVEL_HIGH
0 185 IRQ_TYPE_LEVEL_HIGH 0 185 IRQ_TYPE_LEVEL_HIGH
0 186 IRQ_TYPE_LEVEL_HIGH>; 0 186 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp4_clks SH73A0_CLK_IIC3>;
status = "disabled"; status = "disabled";
}; };
...@@ -193,6 +199,7 @@ i2c4: i2c@e6828000 { ...@@ -193,6 +199,7 @@ i2c4: i2c@e6828000 {
0 188 IRQ_TYPE_LEVEL_HIGH 0 188 IRQ_TYPE_LEVEL_HIGH
0 189 IRQ_TYPE_LEVEL_HIGH 0 189 IRQ_TYPE_LEVEL_HIGH
0 190 IRQ_TYPE_LEVEL_HIGH>; 0 190 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp4_clks SH73A0_CLK_IIC4>;
status = "disabled"; status = "disabled";
}; };
...@@ -201,6 +208,7 @@ mmcif: mmc@e6bd0000 { ...@@ -201,6 +208,7 @@ mmcif: mmc@e6bd0000 {
reg = <0xe6bd0000 0x100>; reg = <0xe6bd0000 0x100>;
interrupts = <0 140 IRQ_TYPE_LEVEL_HIGH interrupts = <0 140 IRQ_TYPE_LEVEL_HIGH
0 141 IRQ_TYPE_LEVEL_HIGH>; 0 141 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp3_clks SH73A0_CLK_MMCIF0>;
reg-io-width = <4>; reg-io-width = <4>;
status = "disabled"; status = "disabled";
}; };
...@@ -211,6 +219,7 @@ sdhi0: sd@ee100000 { ...@@ -211,6 +219,7 @@ sdhi0: sd@ee100000 {
interrupts = <0 83 IRQ_TYPE_LEVEL_HIGH interrupts = <0 83 IRQ_TYPE_LEVEL_HIGH
0 84 IRQ_TYPE_LEVEL_HIGH 0 84 IRQ_TYPE_LEVEL_HIGH
0 85 IRQ_TYPE_LEVEL_HIGH>; 0 85 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp3_clks SH73A0_CLK_SDHI0>;
cap-sd-highspeed; cap-sd-highspeed;
status = "disabled"; status = "disabled";
}; };
...@@ -221,6 +230,7 @@ sdhi1: sd@ee120000 { ...@@ -221,6 +230,7 @@ sdhi1: sd@ee120000 {
reg = <0xee120000 0x100>; reg = <0xee120000 0x100>;
interrupts = <0 88 IRQ_TYPE_LEVEL_HIGH interrupts = <0 88 IRQ_TYPE_LEVEL_HIGH
0 89 IRQ_TYPE_LEVEL_HIGH>; 0 89 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp3_clks SH73A0_CLK_SDHI1>;
toshiba,mmc-wrprotect-disable; toshiba,mmc-wrprotect-disable;
cap-sd-highspeed; cap-sd-highspeed;
status = "disabled"; status = "disabled";
...@@ -231,6 +241,7 @@ sdhi2: sd@ee140000 { ...@@ -231,6 +241,7 @@ sdhi2: sd@ee140000 {
reg = <0xee140000 0x100>; reg = <0xee140000 0x100>;
interrupts = <0 104 IRQ_TYPE_LEVEL_HIGH interrupts = <0 104 IRQ_TYPE_LEVEL_HIGH
0 105 IRQ_TYPE_LEVEL_HIGH>; 0 105 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp3_clks SH73A0_CLK_SDHI2>;
toshiba,mmc-wrprotect-disable; toshiba,mmc-wrprotect-disable;
cap-sd-highspeed; cap-sd-highspeed;
status = "disabled"; status = "disabled";
...@@ -240,6 +251,8 @@ scifa0: serial@e6c40000 { ...@@ -240,6 +251,8 @@ scifa0: serial@e6c40000 {
compatible = "renesas,scifa-sh73a0", "renesas,scifa"; compatible = "renesas,scifa-sh73a0", "renesas,scifa";
reg = <0xe6c40000 0x100>; reg = <0xe6c40000 0x100>;
interrupts = <0 72 IRQ_TYPE_LEVEL_HIGH>; interrupts = <0 72 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp2_clks SH73A0_CLK_SCIFA0>;
clock-names = "sci_ick";
status = "disabled"; status = "disabled";
}; };
...@@ -247,6 +260,8 @@ scifa1: serial@e6c50000 { ...@@ -247,6 +260,8 @@ scifa1: serial@e6c50000 {
compatible = "renesas,scifa-sh73a0", "renesas,scifa"; compatible = "renesas,scifa-sh73a0", "renesas,scifa";
reg = <0xe6c50000 0x100>; reg = <0xe6c50000 0x100>;
interrupts = <0 73 IRQ_TYPE_LEVEL_HIGH>; interrupts = <0 73 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp2_clks SH73A0_CLK_SCIFA1>;
clock-names = "sci_ick";
status = "disabled"; status = "disabled";
}; };
...@@ -254,6 +269,8 @@ scifa2: serial@e6c60000 { ...@@ -254,6 +269,8 @@ scifa2: serial@e6c60000 {
compatible = "renesas,scifa-sh73a0", "renesas,scifa"; compatible = "renesas,scifa-sh73a0", "renesas,scifa";
reg = <0xe6c60000 0x100>; reg = <0xe6c60000 0x100>;
interrupts = <0 74 IRQ_TYPE_LEVEL_HIGH>; interrupts = <0 74 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp2_clks SH73A0_CLK_SCIFA2>;
clock-names = "sci_ick";
status = "disabled"; status = "disabled";
}; };
...@@ -261,6 +278,8 @@ scifa3: serial@e6c70000 { ...@@ -261,6 +278,8 @@ scifa3: serial@e6c70000 {
compatible = "renesas,scifa-sh73a0", "renesas,scifa"; compatible = "renesas,scifa-sh73a0", "renesas,scifa";
reg = <0xe6c70000 0x100>; reg = <0xe6c70000 0x100>;
interrupts = <0 75 IRQ_TYPE_LEVEL_HIGH>; interrupts = <0 75 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp2_clks SH73A0_CLK_SCIFA3>;
clock-names = "sci_ick";
status = "disabled"; status = "disabled";
}; };
...@@ -268,6 +287,8 @@ scifa4: serial@e6c80000 { ...@@ -268,6 +287,8 @@ scifa4: serial@e6c80000 {
compatible = "renesas,scifa-sh73a0", "renesas,scifa"; compatible = "renesas,scifa-sh73a0", "renesas,scifa";
reg = <0xe6c80000 0x100>; reg = <0xe6c80000 0x100>;
interrupts = <0 78 IRQ_TYPE_LEVEL_HIGH>; interrupts = <0 78 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp2_clks SH73A0_CLK_SCIFA4>;
clock-names = "sci_ick";
status = "disabled"; status = "disabled";
}; };
...@@ -275,6 +296,8 @@ scifa5: serial@e6cb0000 { ...@@ -275,6 +296,8 @@ scifa5: serial@e6cb0000 {
compatible = "renesas,scifa-sh73a0", "renesas,scifa"; compatible = "renesas,scifa-sh73a0", "renesas,scifa";
reg = <0xe6cb0000 0x100>; reg = <0xe6cb0000 0x100>;
interrupts = <0 79 IRQ_TYPE_LEVEL_HIGH>; interrupts = <0 79 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp2_clks SH73A0_CLK_SCIFA5>;
clock-names = "sci_ick";
status = "disabled"; status = "disabled";
}; };
...@@ -282,6 +305,8 @@ scifa6: serial@e6cc0000 { ...@@ -282,6 +305,8 @@ scifa6: serial@e6cc0000 {
compatible = "renesas,scifa-sh73a0", "renesas,scifa"; compatible = "renesas,scifa-sh73a0", "renesas,scifa";
reg = <0xe6cc0000 0x100>; reg = <0xe6cc0000 0x100>;
interrupts = <0 156 IRQ_TYPE_LEVEL_HIGH>; interrupts = <0 156 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp3_clks SH73A0_CLK_SCIFA6>;
clock-names = "sci_ick";
status = "disabled"; status = "disabled";
}; };
...@@ -289,6 +314,8 @@ scifa7: serial@e6cd0000 { ...@@ -289,6 +314,8 @@ scifa7: serial@e6cd0000 {
compatible = "renesas,scifa-sh73a0", "renesas,scifa"; compatible = "renesas,scifa-sh73a0", "renesas,scifa";
reg = <0xe6cd0000 0x100>; reg = <0xe6cd0000 0x100>;
interrupts = <0 143 IRQ_TYPE_LEVEL_HIGH>; interrupts = <0 143 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp2_clks SH73A0_CLK_SCIFA7>;
clock-names = "sci_ick";
status = "disabled"; status = "disabled";
}; };
...@@ -296,6 +323,8 @@ scifb8: serial@e6c30000 { ...@@ -296,6 +323,8 @@ scifb8: serial@e6c30000 {
compatible = "renesas,scifb-sh73a0", "renesas,scifb"; compatible = "renesas,scifb-sh73a0", "renesas,scifb";
reg = <0xe6c30000 0x100>; reg = <0xe6c30000 0x100>;
interrupts = <0 80 IRQ_TYPE_LEVEL_HIGH>; interrupts = <0 80 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp2_clks SH73A0_CLK_SCIFB>;
clock-names = "sci_ick";
status = "disabled"; status = "disabled";
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment