Commit 70f76289 authored by Jagan Teki's avatar Jagan Teki Committed by Maxime Ripard

arm64: dts: allwinner: a64: move I2C pinctrl to dtsi

There is only one pinmuxing available for each I2C controller.

So, move pinctrl for i2c0, i2c1 from board dts files into SoC dtsi.

By moving these pinctrls the i2c1 node from Nanopi A64 just have a
status, which is disabled already so remove the entire node from it.
Signed-off-by: default avatarJagan Teki <jagan@amarulasolutions.com>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@bootlin.com>
parent a188339c
...@@ -85,8 +85,6 @@ &ehci0 { ...@@ -85,8 +85,6 @@ &ehci0 {
}; };
&i2c0 { &i2c0 {
pinctrl-names = "default";
pinctrl-0 = <&i2c0_pins>;
status = "okay"; status = "okay";
sensor@48 { sensor@48 {
......
...@@ -145,8 +145,6 @@ hdmi_out_con: endpoint { ...@@ -145,8 +145,6 @@ hdmi_out_con: endpoint {
}; };
&i2c1 { &i2c1 {
pinctrl-names = "default";
pinctrl-0 = <&i2c1_pins>;
status = "okay"; status = "okay";
}; };
......
...@@ -120,12 +120,6 @@ hdmi_out_con: endpoint { ...@@ -120,12 +120,6 @@ hdmi_out_con: endpoint {
}; };
/* i2c1 connected with gpio headers like pine64, bananapi */ /* i2c1 connected with gpio headers like pine64, bananapi */
&i2c1 {
pinctrl-names = "default";
pinctrl-0 = <&i2c1_pins>;
status = "disabled";
};
&i2c1_pins { &i2c1_pins {
bias-pull-up; bias-pull-up;
}; };
......
...@@ -122,8 +122,6 @@ hdmi_out_con: endpoint { ...@@ -122,8 +122,6 @@ hdmi_out_con: endpoint {
}; };
&i2c1 { &i2c1 {
pinctrl-names = "default";
pinctrl-0 = <&i2c1_pins>;
status = "okay"; status = "okay";
}; };
......
...@@ -92,8 +92,6 @@ &ehci1 { ...@@ -92,8 +92,6 @@ &ehci1 {
*/ */
&i2c0 { &i2c0 {
clock-frequency = <100000>; clock-frequency = <100000>;
pinctrl-names = "default";
pinctrl-0 = <&i2c0_pins>;
status = "okay"; status = "okay";
}; };
......
...@@ -842,6 +842,8 @@ i2c0: i2c@1c2ac00 { ...@@ -842,6 +842,8 @@ i2c0: i2c@1c2ac00 {
interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&ccu CLK_BUS_I2C0>; clocks = <&ccu CLK_BUS_I2C0>;
resets = <&ccu RST_BUS_I2C0>; resets = <&ccu RST_BUS_I2C0>;
pinctrl-names = "default";
pinctrl-0 = <&i2c0_pins>;
status = "disabled"; status = "disabled";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
...@@ -853,6 +855,8 @@ i2c1: i2c@1c2b000 { ...@@ -853,6 +855,8 @@ i2c1: i2c@1c2b000 {
interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&ccu CLK_BUS_I2C1>; clocks = <&ccu CLK_BUS_I2C1>;
resets = <&ccu RST_BUS_I2C1>; resets = <&ccu RST_BUS_I2C1>;
pinctrl-names = "default";
pinctrl-0 = <&i2c1_pins>;
status = "disabled"; status = "disabled";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
......
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