summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator-edp.dts
diff options
context:
space:
mode:
authorwlq <wlq@rock-chips.com>2017-04-19 17:04:30 +0800
committerHuang, Tao <huangtao@rock-chips.com>2017-04-20 08:59:51 +0800
commit4731c32977a5bde725f9bc9fb1042a704ea9bde2 (patch)
tree1146e06242f8a528ba13a3abd12aa277421471f0 /arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator-edp.dts
parent44764cfd4837dd4799a331cf2ebe25cc836ab606 (diff)
arm64: dts: rockchip: sapphire-excavator: enabled hdmiin
Change-Id: I5d09ee8e07e515270fadfcdb1e8bbb98cbfaa8ac Signed-off-by: Wu Liangqing <wlq@rock-chips.com>
Diffstat (limited to 'arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator-edp.dts')
-rw-r--r--arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator-edp.dts56
1 files changed, 55 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator-edp.dts b/arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator-edp.dts
index 08cc37536bb5..a3d27addb13c 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator-edp.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator-edp.dts
@@ -67,7 +67,14 @@
status = "okay";
};
- rt5651 {
+ rt5651-sound {
+ status = "disabled";
+ };
+
+ hdmiin-sound {
+ compatible = "rockchip,rockchip-rt5651-tc358749x-sound";
+ rockchip,cpu = <&i2s0>;
+ rockchip,codec = <&rt5651 &rt5651 &tc358749x>;
status = "okay";
};
};
@@ -106,6 +113,10 @@
status = "disabled";
};
+&rt5651 {
+ status = "okay";
+};
+
&hdmi_sound {
status = "okay";
};
@@ -125,6 +136,37 @@
irq_gpio_number = <&gpio1 20 IRQ_TYPE_LEVEL_LOW>;
rst_gpio_number = <&gpio4 22 GPIO_ACTIVE_HIGH>;
};
+
+ tc358749x: tc358749x@0f {
+ compatible = "toshiba,tc358749x";
+ reg = <0x0f>;
+ power-gpios = <&gpio2 6 GPIO_ACTIVE_HIGH>;
+ power18-gpios = <&gpio2 9 GPIO_ACTIVE_HIGH>;
+ power33-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
+ csi-ctl-gpios = <&gpio2 10 GPIO_ACTIVE_HIGH>;
+ stanby-gpios = <&gpio2 8 GPIO_ACTIVE_HIGH>;
+ reset-gpios = <&gpio2 7 GPIO_ACTIVE_HIGH>;
+ int-gpios = <&gpio2 12 GPIO_ACTIVE_HIGH>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&hdmiin_gpios>;
+ status = "okay";
+ };
+};
+
+&isp0 {
+ status = "okay";
+};
+
+&isp1 {
+ status = "okay";
+};
+
+&isp0_mmu {
+ status = "okay";
+};
+
+&isp1_mmu {
+ status = "okay";
};
&vopb {
@@ -147,5 +189,17 @@
rockchip,pins = <4 30 RK_FUNC_GPIO &pcfg_pull_up>;
};
};
+
+ hdmiin {
+ hdmiin_gpios: hdmiin_gpios {
+ rockchip,pins =
+ <2 5 RK_FUNC_GPIO &pcfg_pull_none>,
+ <2 6 RK_FUNC_GPIO &pcfg_pull_none>,
+ <2 7 RK_FUNC_GPIO &pcfg_pull_none>,
+ <2 8 RK_FUNC_GPIO &pcfg_pull_none>,
+ <2 9 RK_FUNC_GPIO &pcfg_pull_none>,
+ <2 12 RK_FUNC_GPIO &pcfg_pull_none>;
+ };
+ };
};