Commit f34d0d5d authored by Russell King's avatar Russell King Committed by Shawn Guo

ARM: imx: add HDMI support for SolidRun HummingBoard and Cubox-i

Add the HDMI DT configuration for the SolidRun HummingBoard and Cubox-i.
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: default avatarShawn Guo <shawn.guo@freescale.com>
parent 819826a1
...@@ -71,6 +71,13 @@ &can1 { ...@@ -71,6 +71,13 @@ &can1 {
status = "okay"; status = "okay";
}; };
&hdmi {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_hummingboard_hdmi>;
ddc-i2c-bus = <&i2c2>;
status = "okay";
};
&i2c1 { &i2c1 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_hummingboard_i2c1>; pinctrl-0 = <&pinctrl_hummingboard_i2c1>;
...@@ -86,6 +93,13 @@ rtc: pcf8523@68 { ...@@ -86,6 +93,13 @@ rtc: pcf8523@68 {
*/ */
}; };
&i2c2 {
clock-frequency = <100000>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_hummingboard_i2c2>;
status = "okay";
};
&iomuxc { &iomuxc {
hummingboard { hummingboard {
pinctrl_hummingboard_flexcan1: hummingboard-flexcan1 { pinctrl_hummingboard_flexcan1: hummingboard-flexcan1 {
...@@ -101,6 +115,12 @@ MX6QDL_PAD_GPIO_2__GPIO1_IO02 0x80000000 ...@@ -101,6 +115,12 @@ MX6QDL_PAD_GPIO_2__GPIO1_IO02 0x80000000
>; >;
}; };
pinctrl_hummingboard_hdmi: hummingboard-hdmi {
fsl,pins = <
MX6QDL_PAD_KEY_ROW2__HDMI_TX_CEC_LINE 0x1f8b0
>;
};
pinctrl_hummingboard_i2c1: hummingboard-i2c1 { pinctrl_hummingboard_i2c1: hummingboard-i2c1 {
fsl,pins = < fsl,pins = <
MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1 MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1
...@@ -108,6 +128,13 @@ MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1 ...@@ -108,6 +128,13 @@ MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1
>; >;
}; };
pinctrl_hummingboard_i2c2: hummingboard-i2c2 {
fsl,pins = <
MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1
MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1
>;
};
pinctrl_hummingboard_spdif: hummingboard-spdif { pinctrl_hummingboard_spdif: hummingboard-spdif {
fsl,pins = <MX6QDL_PAD_GPIO_17__SPDIF_OUT 0x13091>; fsl,pins = <MX6QDL_PAD_GPIO_17__SPDIF_OUT 0x13091>;
}; };
......
...@@ -55,6 +55,20 @@ sound-spdif { ...@@ -55,6 +55,20 @@ sound-spdif {
}; };
}; };
&hdmi {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_cubox_i_hdmi>;
ddc-i2c-bus = <&i2c2>;
status = "okay";
};
&i2c2 {
clock-frequency = <100000>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_cubox_i_i2c2>;
status = "okay";
};
&i2c3 { &i2c3 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_cubox_i_i2c3>; pinctrl-0 = <&pinctrl_cubox_i_i2c3>;
...@@ -69,6 +83,19 @@ rtc: pcf8523@68 { ...@@ -69,6 +83,19 @@ rtc: pcf8523@68 {
&iomuxc { &iomuxc {
cubox_i { cubox_i {
pinctrl_cubox_i_hdmi: cubox-i-hdmi {
fsl,pins = <
MX6QDL_PAD_KEY_ROW2__HDMI_TX_CEC_LINE 0x1f8b0
>;
};
pinctrl_cubox_i_i2c2: cubox-i-i2c2 {
fsl,pins = <
MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1
MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1
>;
};
pinctrl_cubox_i_i2c3: cubox-i-i2c3 { pinctrl_cubox_i_i2c3: cubox-i-i2c3 {
fsl,pins = < fsl,pins = <
MX6QDL_PAD_EIM_D17__I2C3_SCL 0x4001b8b1 MX6QDL_PAD_EIM_D17__I2C3_SCL 0x4001b8b1
......
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