Skip to content

Commit

Permalink
arm64: dts: uniphier: fix I2C nodes of PH1-LD20
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Masahiro Yamada authored and Arnd Bergmann committed Apr 23, 2016
1 parent e6d939b commit 56896ef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 16 deletions.
1 change: 0 additions & 1 deletion arch/arm64/boot/dts/socionext/uniphier-ph1-ld20-ref.dts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@
i2c3 = &i2c3;
i2c4 = &i2c4;
i2c5 = &i2c5;
i2c6 = &i2c6;
};
};

Expand Down
20 changes: 5 additions & 15 deletions arch/arm64/boot/dts/socionext/uniphier-ph1-ld20.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -201,15 +201,12 @@

i2c2: i2c@58782000 {
compatible = "socionext,uniphier-fi2c";
status = "disabled";
reg = <0x58782000 0x80>;
#address-cells = <1>;
#size-cells = <0>;
interrupts = <0 43 4>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_i2c2>;
clocks = <&i2c_clk>;
clock-frequency = <100000>;
clock-frequency = <400000>;
};

i2c3: i2c@58783000 {
Expand All @@ -227,12 +224,15 @@

i2c4: i2c@58784000 {
compatible = "socionext,uniphier-fi2c";
status = "disabled";
reg = <0x58784000 0x80>;
#address-cells = <1>;
#size-cells = <0>;
interrupts = <0 45 4>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_i2c4>;
clocks = <&i2c_clk>;
clock-frequency = <400000>;
clock-frequency = <100000>;
};

i2c5: i2c@58785000 {
Expand All @@ -245,16 +245,6 @@
clock-frequency = <400000>;
};

i2c6: i2c@58786000 {
compatible = "socionext,uniphier-fi2c";
reg = <0x58786000 0x80>;
#address-cells = <1>;
#size-cells = <0>;
interrupts = <0 26 4>;
clocks = <&i2c_clk>;
clock-frequency = <400000>;
};

system_bus: system-bus@58c00000 {
compatible = "socionext,uniphier-system-bus";
status = "disabled";
Expand Down

0 comments on commit 56896ef

Please sign in to comment.