]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: rockchip: Add HDMI out for RockPI N8/N10
authorJagan Teki <jagan@amarulasolutions.com>
Tue, 21 Jul 2020 15:24:39 +0000 (20:54 +0530)
committerKever Yang <kever.yang@rock-chips.com>
Wed, 22 Jul 2020 12:55:13 +0000 (20:55 +0800)
This patch adds support to enable HDMI out for
N10 and N8 combinations SBCs.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/dts/rk3288-vmarc-som.dtsi
arch/arm/dts/rk3399pro-vmarc-som.dtsi
arch/arm/dts/rockchip-radxa-dalang-carrier.dtsi

index 72a503e50de7a4fc704306ea5e6c21c451127230..717cb3dc816ee641b4942a15d00f8ecc564fac13 100644 (file)
        snps,reset-gpio = <&gpio4 RK_PA7 GPIO_ACTIVE_HIGH>;
 };
 
+&hdmi {
+       ddc-i2c-bus = <&i2c5>;
+       pinctrl-names = "default";
+       pinctrl-0 = <&hdmi_cec_c0>;
+};
+
 &i2c0 {
        clock-frequency = <400000>;
        status = "okay";
        };
 };
 
+&i2c5 {
+       status = "okay";
+};
+
 &pinctrl {
        pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma {
                drive-strength = <8>;
index 111d6cf9a4e6a8641a5150e00b0b60a2fc5640bf..ebccc4a153a2e0fa088738befd852762678a2625 100644 (file)
        snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
 };
 
+&hdmi {
+       ddc-i2c-bus = <&i2c3>;
+       pinctrl-names = "default";
+       pinctrl-0 = <&hdmi_cec>;
+};
+
 &i2c0 {
        clock-frequency = <400000>;
        i2c-scl-falling-time-ns = <30>;
        };
 };
 
+&i2c3 {
+       i2c-scl-rising-time-ns = <450>;
+       i2c-scl-falling-time-ns = <15>;
+       status = "okay";
+};
+
 &io_domains {
        status = "okay";
        bt656-supply = <&vcca_1v8>;
index d2b6ead148a29ce3f4ff156e9e6f1af39b8ce027..26b53eac470688dcc8f7a1eed38a87ac881e156c 100644 (file)
        status = "okay";
 };
 
+&hdmi {
+       status = "okay";
+};
+
 &pwm0 {
        status = "okay";
 };
 &uart2 {
        status = "okay";
 };
+
+&vopb {
+       status = "okay";
+};
+
+&vopb_mmu {
+       status = "okay";
+};
+
+&vopl {
+       status = "okay";
+};
+
+&vopl_mmu {
+       status = "okay";
+};