aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>2018-11-06 23:33:14 +0530
committerManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>2018-11-06 23:33:14 +0530
commit504287f9094c3692f3f22c5932b9afb1001551b4 (patch)
treec1cd014bf50de096b636dd71d6dabf6c1f2912e1
parent20fa90c9c09750150192096a2d0984f42fffaf4d (diff)
download96b-common-504287f9094c3692f3f22c5932b9afb1001551b4.tar.gz
arm64: dts: rockchip: Modify I2C instances for Rock960 family boardsrock960
Rock960 family boards such as Ficus and Rock960 are exposing different I2C instances on LS header. Hence, move the LS instances to individual board dts and keep the HS ones in shared dtsi with labels. Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
-rw-r--r--arch/arm64/boot/dts/rockchip/rk3399-ficus.dts12
-rw-r--r--arch/arm64/boot/dts/rockchip/rk3399-rock960.dts12
-rw-r--r--arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi14
3 files changed, 29 insertions, 9 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-ficus.dts b/arch/arm64/boot/dts/rockchip/rk3399-ficus.dts
index 027d428917b8..aeb426ed9c05 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-ficus.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3399-ficus.dts
@@ -87,6 +87,18 @@
status = "okay";
};
+&i2c1 {
+ /* On Low speed expansion */
+ label = "LS-I2C0";
+ status = "okay";
+};
+
+&i2c6 {
+ /* On Low speed expansion */
+ label = "LS-I2C1";
+ status = "okay";
+};
+
&pcie0 {
ep-gpios = <&gpio4 RK_PD4 GPIO_ACTIVE_HIGH>;
};
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dts b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dts
index 0b36e46ad35d..84ef3ac8bbd9 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dts
@@ -15,6 +15,18 @@
};
};
+&i2c1 {
+ /* On Low speed expansion */
+ label = "LS-I2C1";
+ status = "okay";
+};
+
+&i2c6 {
+ /* On Low speed expansion */
+ label = "LS-I2C0";
+ status = "okay";
+};
+
&pcie0 {
ep-gpios = <&gpio2 RK_PA2 GPIO_ACTIVE_HIGH>;
};
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi
index 9247a479c2e2..d11c6129de0a 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi
@@ -352,19 +352,15 @@
};
};
-&i2c1 {
- status = "okay";
-};
-
&i2c2 {
+ /* On High speed expansion */
+ label = "HS-I2C2";
status = "okay";
};
-&i2c3 {
- status = "okay";
-};
-
-&i2c4 {
+&i2c7 {
+ /* On High speed expansion */
+ label = "HS-I2C3";
status = "okay";
};