boards: mimxrt1040_evk: Added pinctrl for fxls8974
Added fxls8974 pinctrl to the dts file Signed-off-by: Krystof Sadlik <krystof.sadlik@nxp.com>
This commit is contained in:
parent
928d025201
commit
99235d6516
2 changed files with 20 additions and 5 deletions
|
@ -43,11 +43,11 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Conflicts with lpspi1 pin routing. SDA: J17 pin 3, SCL: J17 pin 6 */
|
/* LPI2C3 SDA: J33 pin 6, LPI2C3 SCL: J33 pin 5 */
|
||||||
pinmux_lpi2c3: pinmux_lpi2c3 {
|
pinmux_lpi2c3: pinmux_lpi2c3 {
|
||||||
group0 {
|
group0 {
|
||||||
pinmux = <&iomuxc_gpio_sd_b0_00_lpi2c3_scl>,
|
pinmux = <&iomuxc_gpio_ad_b1_06_lpi2c3_sda>,
|
||||||
<&iomuxc_gpio_sd_b0_01_lpi2c3_sda>;
|
<&iomuxc_gpio_ad_b1_07_lpi2c3_scl>;
|
||||||
drive-strength = "r0-6";
|
drive-strength = "r0-6";
|
||||||
slew-rate = "slow";
|
slew-rate = "slow";
|
||||||
nxp,speed = "100-mhz";
|
nxp,speed = "100-mhz";
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
led0 = &green_led;
|
led0 = &green_led;
|
||||||
sw0 = &user_button;
|
sw0 = &user_button;
|
||||||
pwm-0 = &flexpwm1_pwm3;
|
pwm-0 = &flexpwm1_pwm3;
|
||||||
|
accel0 = &fxls8974;
|
||||||
};
|
};
|
||||||
|
|
||||||
chosen {
|
chosen {
|
||||||
|
@ -198,10 +199,24 @@ zephyr_lcdif: &lcdif {
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Leave LPI2C3 disabled by default, since it conflicts with LPSPI1 pins */
|
lpi2c3: &lpi2c3 {
|
||||||
&lpi2c3 {
|
|
||||||
pinctrl-0 = <&pinmux_lpi2c3>;
|
pinctrl-0 = <&pinmux_lpi2c3>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
fxls8974: fxls8974@18 {
|
||||||
|
compatible = "nxp,fxls8974";
|
||||||
|
reg = <0x18>;
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
/* Two zero ohm resistors (R115 and R122) isolate sensor
|
||||||
|
* interrupt gpios from the soc and are unpopulated by default.
|
||||||
|
* Note that if you populate them, they conflict with JTAG_TDO and
|
||||||
|
* ethernet PHY interrupt signals.
|
||||||
|
* int1-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
|
||||||
|
* int2-gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
|
||||||
|
*/
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
/* GPT and Systick are enabled. If power management is enabled, the GPT
|
/* GPT and Systick are enabled. If power management is enabled, the GPT
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue