Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arm64: dts: uniphier: fix I2C nodes of PH1-LD20

The I2C hardware blocks on this SoC are connected as follows:

I2C0: external connection
I2C1: external connection
I2C2: internal connection
I2C3: external connection
I2C4: external connection
I2C5: internal connection
I2C6: no connection (not accessible)

Delete pinctrl from Ch2, add pinctrl to Ch4, and remove the Ch6 node.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

authored by

Masahiro Yamada and committed by
Arnd Bergmann
56896ef5 e6d939bf

+5 -16
-1
arch/arm64/boot/dts/socionext/uniphier-ph1-ld20-ref.dts
··· 70 70 i2c3 = &i2c3; 71 71 i2c4 = &i2c4; 72 72 i2c5 = &i2c5; 73 - i2c6 = &i2c6; 74 73 }; 75 74 }; 76 75
+5 -15
arch/arm64/boot/dts/socionext/uniphier-ph1-ld20.dtsi
··· 201 201 202 202 i2c2: i2c@58782000 { 203 203 compatible = "socionext,uniphier-fi2c"; 204 - status = "disabled"; 205 204 reg = <0x58782000 0x80>; 206 205 #address-cells = <1>; 207 206 #size-cells = <0>; 208 207 interrupts = <0 43 4>; 209 - pinctrl-names = "default"; 210 - pinctrl-0 = <&pinctrl_i2c2>; 211 208 clocks = <&i2c_clk>; 212 - clock-frequency = <100000>; 209 + clock-frequency = <400000>; 213 210 }; 214 211 215 212 i2c3: i2c@58783000 { ··· 224 227 225 228 i2c4: i2c@58784000 { 226 229 compatible = "socionext,uniphier-fi2c"; 230 + status = "disabled"; 227 231 reg = <0x58784000 0x80>; 228 232 #address-cells = <1>; 229 233 #size-cells = <0>; 230 234 interrupts = <0 45 4>; 235 + pinctrl-names = "default"; 236 + pinctrl-0 = <&pinctrl_i2c4>; 231 237 clocks = <&i2c_clk>; 232 - clock-frequency = <400000>; 238 + clock-frequency = <100000>; 233 239 }; 234 240 235 241 i2c5: i2c@58785000 { ··· 241 241 #address-cells = <1>; 242 242 #size-cells = <0>; 243 243 interrupts = <0 25 4>; 244 - clocks = <&i2c_clk>; 245 - clock-frequency = <400000>; 246 - }; 247 - 248 - i2c6: i2c@58786000 { 249 - compatible = "socionext,uniphier-fi2c"; 250 - reg = <0x58786000 0x80>; 251 - #address-cells = <1>; 252 - #size-cells = <0>; 253 - interrupts = <0 26 4>; 254 244 clocks = <&i2c_clk>; 255 245 clock-frequency = <400000>; 256 246 };