};
+ gpio1_hdmi {
+ hdmi_cec:hdmi-cec {
+ rockchip,pins = <HDMI_CEC>;
+ rockchip,pull = <VALUE_PULL_DISABLE>;
+ //rockchip,voltage = <VALUE_VOL_DEFAULT>;
+ rockchip,drive = <VALUE_DRV_8MA>;
+ };
+
+ hdmi_sda:hdmi-sda {
+ rockchip,pins = <HDMI_SDA>;
+ rockchip,pull = <VALUE_PULL_DISABLE>;
+ //rockchip,voltage = <VALUE_VOL_DEFAULT>;
+ rockchip,drive = <VALUE_DRV_8MA>;
+ };
+
+ hdmi_scl:hdmi-scl {
+ rockchip,pins = <HDMI_SCL>;
+ rockchip,pull = <VALUE_PULL_DISABLE>;
+ //rockchip,voltage = <VALUE_VOL_DEFAULT>;
+ rockchip,drive = <VALUE_DRV_8MA>;
+ };
+
+ hdmi_hpd:hdmi-hpd {
+ rockchip,pins = <HDMI_HPD>;
+ rockchip,pull = <VALUE_PULL_DISABLE>;
+ //rockchip,voltage = <VALUE_VOL_DEFAULT>;
+ rockchip,drive = <VALUE_DRV_8MA>;
+ };
+
+ hdmi_gpio: hdmi-gpio {
+ rockchip,pins = <FUNC_TO_GPIO(HDMI_CEC)>, <FUNC_TO_GPIO(HDMI_SDA)>, <FUNC_TO_GPIO(HDMI_SCL)>, <FUNC_TO_GPIO(HDMI_HPD)>;
+ rockchip,drive = <VALUE_DRV_DEFAULT>;
+ };
+ };
gpio1_i2s0 {
#include "skeleton.dtsi"
#include "rk3036-clocks.dtsi"
+#include "rk3036-pinctrl.dtsi"
/ {
compatible = "rockchip,rk3036";
reg = <0x20034000 0x4000>;
interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
rockchip,hdmi_lcdc_source = <0>;
- //pinctrl-names = "default", "gpio";
- //pinctrl-0 = <&i2c5_sda &i2c5_scl>;
- //pinctrl-1 = <&i2c5_gpio>;
+ pinctrl-names = "default", "gpio";
+ pinctrl-0 = <&hdmi_cec &hdmi_sda &hdmi_scl &hdmi_hpd>;
+ pinctrl-1 = <&hdmi_gpio>;
clocks = <&clk_gates3 8>;
clock-names = "pclk_hdmi";
status = "disabled";