Skip to content

Commit 56896ef

Browse files
masahir0yarndb
authored andcommitted
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>
1 parent e6d939b commit 56896ef

2 files changed

Lines changed: 5 additions & 16 deletions

File tree

‎arch/arm64/boot/dts/socionext/uniphier-ph1-ld20-ref.dts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@
7070
i2c3 = &i2c3;
7171
i2c4 = &i2c4;
7272
i2c5 = &i2c5;
73-
i2c6 = &i2c6;
7473
};
7574
};
7675

‎arch/arm64/boot/dts/socionext/uniphier-ph1-ld20.dtsi‎

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -201,15 +201,12 @@
201201

202202
i2c2: i2c@58782000 {
203203
compatible = "socionext,uniphier-fi2c";
204-
status = "disabled";
205204
reg = <0x58782000 0x80>;
206205
#address-cells = <1>;
207206
#size-cells = <0>;
208207
interrupts = <0 43 4>;
209-
pinctrl-names = "default";
210-
pinctrl-0 = <&pinctrl_i2c2>;
211208
clocks = <&i2c_clk>;
212-
clock-frequency = <100000>;
209+
clock-frequency = <400000>;
213210
};
214211

215212
i2c3: i2c@58783000 {
@@ -227,12 +224,15 @@
227224

228225
i2c4: i2c@58784000 {
229226
compatible = "socionext,uniphier-fi2c";
227+
status = "disabled";
230228
reg = <0x58784000 0x80>;
231229
#address-cells = <1>;
232230
#size-cells = <0>;
233231
interrupts = <0 45 4>;
232+
pinctrl-names = "default";
233+
pinctrl-0 = <&pinctrl_i2c4>;
234234
clocks = <&i2c_clk>;
235-
clock-frequency = <400000>;
235+
clock-frequency = <100000>;
236236
};
237237

238238
i2c5: i2c@58785000 {
@@ -245,16 +245,6 @@
245245
clock-frequency = <400000>;
246246
};
247247

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-
clocks = <&i2c_clk>;
255-
clock-frequency = <400000>;
256-
};
257-
258248
system_bus: system-bus@58c00000 {
259249
compatible = "socionext,uniphier-system-bus";
260250
status = "disabled";

0 commit comments

Comments
 (0)