Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: stm32: Add ST MIPID02 bindings to AV96

Add DT bindings for ST MIPID02 and DCMI to Avenger96 base DT.
Both the ST MIPID02 and DCMI are disabled by default, as the
AV96 camera module is optional.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alexandre Torgue <alexandre.torgue@foss.st.com>
Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Cc: linux-stm32@st-md-mailman.stormreply.com
To: linux-arm-kernel@lists.infradead.org
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>

authored by

Marek Vasut and committed by
Alexandre Torgue
cc6280cf f95a5242

+55
+55
arch/arm/boot/dts/stm32mp15xx-dhcor-avenger96.dtsi
··· 126 126 }; 127 127 }; 128 128 129 + &dcmi { 130 + pinctrl-names = "default", "sleep"; 131 + pinctrl-0 = <&dcmi_pins_c>; 132 + pinctrl-1 = <&dcmi_sleep_pins_c>; 133 + status = "disabled"; 134 + 135 + port { 136 + dcmi_0: endpoint { 137 + remote-endpoint = <&stmipi_2>; 138 + bus-type = <5>; 139 + bus-width = <8>; 140 + pclk-sample = <0>; 141 + }; 142 + }; 143 + }; 144 + 129 145 &ethernet0 { 130 146 status = "okay"; 131 147 pinctrl-0 = <&ethernet0_rgmii_pins_c>; ··· 235 219 }; 236 220 237 221 &i2c4 { 222 + stmipi: stmipi@14 { 223 + compatible = "st,st-mipid02"; 224 + pinctrl-names = "default", "sleep"; 225 + pinctrl-0 = <&mco1_pins_a>; 226 + pinctrl-1 = <&mco1_sleep_pins_a>; 227 + reg = <0x14>; 228 + clocks = <&rcc CK_MCO1>; 229 + clock-names = "xclk"; 230 + assigned-clocks = <&rcc CK_MCO1>; 231 + assigned-clock-parents = <&rcc CK_HSE>; 232 + assigned-clock-rates = <24000000>; 233 + VDDE-supply = <&v1v8>; 234 + VDDIN-supply = <&v1v8>; 235 + reset-gpios = <&gpioz 0 GPIO_ACTIVE_LOW>; 236 + status = "disabled"; 237 + 238 + ports { 239 + #address-cells = <1>; 240 + #size-cells = <0>; 241 + 242 + port@0 { 243 + reg = <0>; 244 + stmipi_0: endpoint { 245 + }; 246 + }; 247 + 248 + port@2 { 249 + reg = <2>; 250 + stmipi_2: endpoint { 251 + bus-width = <8>; 252 + hsync-active = <0>; 253 + vsync-active = <0>; 254 + pclk-sample = <0>; 255 + remote-endpoint = <&dcmi_0>; 256 + }; 257 + }; 258 + }; 259 + }; 260 + 238 261 hdmi-transmitter@3d { 239 262 compatible = "adi,adv7513"; 240 263 reg = <0x3d>, <0x4d>, <0x2d>, <0x5d>;