Skip to content

Commit 82669ec

Browse files
decsnycfriedt
authored andcommitted
boards: frdm_mcxn947: Move camera connector node
No idea why this was not put with the other node definitions next to the other connector node. There is actually a style guideline for DTS files and pretty sure this was breaking multiple of the rules. Signed-off-by: Declan Snyder <[email protected]>
1 parent 8640355 commit 82669ec

File tree

1 file changed

+9
-15
lines changed

1 file changed

+9
-15
lines changed

boards/nxp/frdm_mcxn947/frdm_mcxn947.dtsi

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,15 @@
6767
<10 0 &gpio4 5 0>, /* Pin 10, LCD backlight control */
6868
<11 0 &gpio4 7 0>; /* Pin 11, LCD and touch reset */
6969
};
70+
71+
dvp_20pin_connector: dvp-20pin-connector {
72+
compatible = "arducam,dvp-20pin-connector";
73+
#gpio-cells = <2>;
74+
gpio-map-mask = <0xffffffff 0xffffffc0>;
75+
gpio-map-pass-thru = <0x0 GPIO_DT_FLAGS_MASK>;
76+
gpio-map = <DVP_20PIN_PEN 0 &gpio1 19 0>,
77+
<DVP_20PIN_PDN 0 &gpio1 18 0>;
78+
};
7079
};
7180

7281
&flexcomm1_lpspi1 {
@@ -283,21 +292,6 @@ zephyr_mipi_dbi_parallel: &flexio0_lcd {
283292
pinctrl-names = "default";
284293
};
285294

286-
/*
287-
* Connection with camera modules such as the dvp_20pin_ov7670 shield
288-
*/
289-
290-
/ {
291-
dvp_20pin_connector: dvp-20pin-connector {
292-
compatible = "arducam,dvp-20pin-connector";
293-
#gpio-cells = <2>;
294-
gpio-map-mask = <0xffffffff 0xffffffc0>;
295-
gpio-map-pass-thru = <0x0 GPIO_DT_FLAGS_MASK>;
296-
gpio-map = <DVP_20PIN_PEN 0 &gpio1 19 0>,
297-
<DVP_20PIN_PDN 0 &gpio1 18 0>;
298-
};
299-
};
300-
301295
dvp_20pin_i2c: &flexcomm7_lpi2c7 {};
302296

303297
dvp_20pin_interface: &video_sdma {};

0 commit comments

Comments
 (0)