| 1 |
// SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| 2 |
/* |
| 3 |
* DT overlay for MCIMXHDMICARD as used with the iMX53 QSB or QSRB boards |
| 4 |
*/ |
| 5 |
|
| 6 |
#include <dt-bindings/interrupt-controller/irq.h> |
| 7 |
#include <dt-bindings/gpio/gpio.h> |
| 8 |
|
| 9 |
/dts-v1/; |
| 10 |
/plugin/; |
| 11 |
|
| 12 |
&{/} { |
| 13 |
hdmi: connector-hdmi { |
| 14 |
compatible = "hdmi-connector"; |
| 15 |
label = "hdmi"; |
| 16 |
type = "a"; |
| 17 |
|
| 18 |
port { |
| 19 |
hdmi_connector_in: endpoint { |
| 20 |
remote-endpoint = <&sii9022_out>; |
| 21 |
}; |
| 22 |
}; |
| 23 |
}; |
| 24 |
|
| 25 |
reg_1p2v: regulator-1p2v { |
| 26 |
compatible = "regulator-fixed"; |
| 27 |
regulator-name = "1P2V"; |
| 28 |
regulator-min-microvolt = <1200000>; |
| 29 |
regulator-max-microvolt = <1200000>; |
| 30 |
regulator-always-on; |
| 31 |
vin-supply = <®_3p2v>; |
| 32 |
}; |
| 33 |
}; |
| 34 |
|
| 35 |
&display0 { |
| 36 |
status = "okay"; |
| 37 |
|
| 38 |
port@1 { |
| 39 |
display0_out: endpoint { |
| 40 |
remote-endpoint = <&sii9022_in>; |
| 41 |
}; |
| 42 |
}; |
| 43 |
}; |
| 44 |
|
| 45 |
&i2c2 { |
| 46 |
#address-cells = <1>; |
| 47 |
#size-cells = <0>; |
| 48 |
|
| 49 |
sii9022: bridge-hdmi@39 { |
| 50 |
compatible = "sil,sii9022"; |
| 51 |
reg = <0x39>; |
| 52 |
reset-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>; |
| 53 |
interrupts-extended = <&gpio3 31 IRQ_TYPE_LEVEL_LOW>; |
| 54 |
iovcc-supply = <®_3p2v>; |
| 55 |
#sound-dai-cells = <0>; |
| 56 |
sil,i2s-data-lanes = <0>; |
| 57 |
|
| 58 |
ports { |
| 59 |
#address-cells = <1>; |
| 60 |
#size-cells = <0>; |
| 61 |
|
| 62 |
port@0 { |
| 63 |
reg = <0>; |
| 64 |
|
| 65 |
sii9022_in: endpoint { |
| 66 |
remote-endpoint = <&display0_out>; |
| 67 |
}; |
| 68 |
}; |
| 69 |
|
| 70 |
port@1 { |
| 71 |
reg = <1>; |
| 72 |
|
| 73 |
sii9022_out: endpoint { |
| 74 |
remote-endpoint = <&hdmi_connector_in>; |
| 75 |
}; |
| 76 |
}; |
| 77 |
}; |
| 78 |
}; |
| 79 |
}; |
| 80 |
|
| 81 |
&panel_dpi { |
| 82 |
status = "disabled"; |
| 83 |
}; |