boards: nxp: vmu_rt1170: Fix dts binding issues

Fixs USDHC by setting PWR and CD gpio's correctly.
Adds missing button from the GPS module.

Co-authored-by: Peter van der Perk <peter.vanderperk@nxp.com>
Signed-off-by: Benjamin Perseghetti <bperseghetti@rudislabs.com>
This commit is contained in:
Benjamin Perseghetti 2024-04-02 20:26:46 +02:00 committed by Carles Cufí
commit c032c6305d
2 changed files with 21 additions and 9 deletions

View file

@ -128,6 +128,11 @@
};
};
pinmux_user: pinmux_user {
group0 {
pinmux = <&iomuxc_gpio_emc_b1_24_gpio_mux1_io24>;
};
};
pinmux_flexspi1: pinmux_flexspi1 {
group0 {
@ -346,11 +351,15 @@
input-enable;
};
group1 {
pinmux = <&iomuxc_gpio_sd_b1_01_usdhc1_clk>,
<&iomuxc_gpio_ad_32_usdhc1_cd_b>;
pinmux = <&iomuxc_gpio_sd_b1_01_usdhc1_clk>;
drive-strength = "high";
slew-rate = "fast";
};
group2 {
pinmux = <&iomuxc_gpio_ad_32_usdhc1_cd_b>;
bias-pull-down;
input-enable;
};
};
};

View file

@ -19,6 +19,7 @@
led1 = &red_led;
watchdog0 = &wdog1;
sdhc0 = &usdhc1;
sw0 = &arming_button;
};
chosen {
@ -34,13 +35,13 @@
zephyr,code-partition = &slot0_partition;
};
/* This regulator controls VDD_3V3_SD_CARD onboard supply */
reg-3v3-sdcard {
compatible = "regulator-fixed";
regulator-name = "reg-3v3-sdcard";
enable-gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>;
regulator-always-on;
status = "okay";
/* This is the Button on the included GPS module for 10 pin JST-GH */
buttons {
compatible = "gpio-keys";
arming_button: button_0 {
label = "Arming Switch";
gpios = <&gpio1 24 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>;
};
};
/* This regulator controls VDD_5V_PERIPH onboard supply */
@ -397,6 +398,8 @@
&usdhc1 {
status = "okay";
no-1-8-v;
pwr-gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>;
sdmmc {
compatible = "zephyr,sdmmc-disk";
status = "okay";