Skip to content
Snippets Groups Projects
Commit c1ac7b73 authored by Nicola Sparnacci's avatar Nicola Sparnacci
Browse files

[C57][DTS][C57-31] Add RTC PCF2123 support

parent 621ee3d4
No related branches found
No related tags found
No related merge requests found
......@@ -104,7 +104,7 @@
enable-active-high;
startup-delay-us = <1000>;
};
reg_usb1_pwr_en: usb1_pwr_en {
compatible = "regulator-fixed";
regulator-name = "reg_usb1_pwr_en";
......@@ -424,6 +424,15 @@
>;
};
pinctrl_spi2: spi2grp {
fsl,pins = <
IMX8QXP_SPI2_SCK_ADMA_SPI2_SCK 0x06000040
IMX8QXP_SPI2_SDO_ADMA_SPI2_SDO 0x06000040
IMX8QXP_SPI2_SDI_ADMA_SPI2_SDI 0x06000040
IMX8QXP_SPI2_CS0_LSIO_GPIO1_IO00 0x00000021
>;
};
pinctrl_usdhc1_100mhz: usdhc1grp100mhz {
fsl,pins = <
IMX8QXP_EMMC0_CLK_CONN_EMMC0_CLK 0x06000041
......@@ -534,6 +543,26 @@ gpio4: &lsio_gpio4 {
status = "okay";
};
&lpspi2 {
fsl,spi-num-chipselects = <1>;
cs-gpios = <&gpio1 0 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_spi2>;
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
rtc_pcf2123: pcf2123@0 {
compatible = "nxp,rtc-pcf2123";
reg = <0>;
#address-cells = <1>;
#size-cells = <1>;
spi-max-frequency = <1000000>;
spi-cs-high;
status = "okay";
};
};
/*Fec shared same reset gpio*/
&fec1 {
status = "okay";
......@@ -665,7 +694,7 @@ gpio4: &lsio_gpio4 {
status = "okay";
};
&usbotg1 {
&usbotg1 {
srp-disable;
hnp-disable;
adp-disable;
......@@ -725,7 +754,7 @@ gpio4: &lsio_gpio4 {
};
&usbotg3_cdns3 {
dr_mode = "host";
dr_mode = "host";
status = "okay";
};
......
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