Skip to content
Snippets Groups Projects
Commit 1344417e authored by Gianfranco Mariotti's avatar Gianfranco Mariotti
Browse files

[D18] add RTC PCF2123 support

parent 71ac6308
No related branches found
No related tags found
1 merge request!100[i.MX8MP][D18] Add support for D18 board
...@@ -141,11 +141,21 @@ ...@@ -141,11 +141,21 @@
&ecspi2 { &ecspi2 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
fsl,spi-num-chipselects = <1>; fsl,spi-num-chipselects = <3>;
pinctrl-names = "default"; pinctrl-names = "default","default-gpio";
pinctrl-0 = <&pinctrl_ecspi2 &pinctrl_ecspi2_cs>; pinctrl-0 = <&pinctrl_ecspi2>, <&pinctrl_ecspi2_cs>;
cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>; cs-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>, <&gpio5 13 GPIO_ACTIVE_LOW>, <&gpio3 20 GPIO_ACTIVE_LOW>;
status = "okay"; status = "okay";
rtc: pcf2123@0 {
compatible = "nxp,rtc-pcf2123";
reg = <0>;
#address-cells = <1>;
#size-cells = <1>;
spi-max-frequency = <1000000>;
spi-cs-high;
status = "okay";
};
}; };
&eqos { &eqos {
...@@ -647,6 +657,8 @@ ...@@ -647,6 +657,8 @@
pinctrl_ecspi2_cs: ecspi2cs { pinctrl_ecspi2_cs: ecspi2cs {
fsl,pins = < fsl,pins = <
MX8MP_IOMUXC_SAI5_RXFS__GPIO3_IO19 0x40000
MX8MP_IOMUXC_SAI5_RXC__GPIO3_IO20 0x40000
MX8MP_IOMUXC_ECSPI2_SS0__GPIO5_IO13 0x40000 MX8MP_IOMUXC_ECSPI2_SS0__GPIO5_IO13 0x40000
>; >;
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment