ARM: dts: uniphier: Set SCSSI clock and reset IDs for each channel
authorKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Fri, 13 Mar 2020 00:58:14 +0000 (09:58 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 16 Mar 2020 15:01:02 +0000 (00:01 +0900)
Currently common clock and reset IDs were used, however, each clock and
reset ID should be used for each channel.

Pro5 and PXs2 are affected by this fix, but the SCSSI clock gate of Pro5 is
common to all channels.

Fixes: 92fa4f4cc2cd ("ARM: dts: uniphier: add SPI node for UniPhier 32bit SoCs")
Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/boot/dts/uniphier-pro5.dtsi
arch/arm/boot/dts/uniphier-pxs2.dtsi

index 36e4f31ee5fe8d0ad53447f1dc77e68e7d84b912..8f1ae0957f5f108ae6be301d255eb56ea590f721 100644 (file)
                        interrupts = <0 216 4>;
                        pinctrl-names = "default";
                        pinctrl-0 = <&pinctrl_spi1>;
-                       clocks = <&peri_clk 11>;
-                       resets = <&peri_rst 11>;
+                       clocks = <&peri_clk 11>;        /* common with spi0 */
+                       resets = <&peri_rst 12>;
                };
 
                serial0: serial@54006800 {
index 7044f8700cb2071983e1d8e2bded6b945ed76478..2f2a24994c69727b6d29afd8528c251ad236ea8f 100644 (file)
                        interrupts = <0 216 4>;
                        pinctrl-names = "default";
                        pinctrl-0 = <&pinctrl_spi1>;
-                       clocks = <&peri_clk 11>;
-                       resets = <&peri_rst 11>;
+                       clocks = <&peri_clk 12>;
+                       resets = <&peri_rst 12>;
                };
 
                serial0: serial@54006800 {