boards: adi: max32: Enable counter RTC
This commit enables counter RTC for following boards - MAX32662 EVKIT - MAX32655 EVKIT - MAX32655 FTHR - MAX32666 FTHR - MAX32666 EVKIT - MAX32670 EVKIT - MAX32672 FTHR - MAX32672 EVKIT - MAX32690 EVKIT Co-authored-by: Sadik Ozer <sadik.ozer@analog.com> Co-authored-by: Maureen Helm <maureen.helm@analog.com> Signed-off-by: Okan Sahin <okan.sahin@analog.com>
This commit is contained in:
parent
5e38168f0c
commit
0253a1054c
18 changed files with 87 additions and 0 deletions
|
@ -78,6 +78,13 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
/*
|
||||
* ERTCO is required for counter RTC
|
||||
*/
|
||||
&clk_ertco {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gpio0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -122,3 +129,7 @@
|
|||
pinctrl-0 = <&owm_io_p0_6 &owm_pe_p0_7>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
|
||||
&rtc_counter {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -17,6 +17,7 @@ supported:
|
|||
- spi
|
||||
- adc
|
||||
- counter
|
||||
- rtc_counter
|
||||
- pwm
|
||||
- w1
|
||||
- flash
|
||||
|
|
|
@ -112,6 +112,13 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
/*
|
||||
* ERTCO is required for counter RTC
|
||||
*/
|
||||
&clk_ertco {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gpio0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -151,3 +158,7 @@
|
|||
pinctrl-0 = <&spi1_mosi_p0_21 &spi1_miso_p0_22 &spi1_sck_p0_23 &spi1_ss0_p0_20>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
|
||||
&rtc_counter {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -17,6 +17,7 @@ supported:
|
|||
- spi
|
||||
- adc
|
||||
- counter
|
||||
- rtc_counter
|
||||
- pwm
|
||||
- flash
|
||||
ram: 128
|
||||
|
|
|
@ -102,6 +102,13 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
/*
|
||||
* ERTCO is required for counter RTC
|
||||
*/
|
||||
&clk_ertco {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gpio0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -120,6 +127,10 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&rtc_counter {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&spi0a_copi_p0_3 &spi0a_cito_p0_2 &spi0a_sck_p0_4 &spi0a_ts0_p0_5>;
|
||||
|
|
|
@ -17,6 +17,7 @@ supported:
|
|||
- spi
|
||||
- adc
|
||||
- counter
|
||||
- rtc_counter
|
||||
- pwm
|
||||
- flash
|
||||
ram: 80
|
||||
|
|
|
@ -110,3 +110,7 @@
|
|||
pinctrl-0 = <&owm_io_p0_4 &owm_pe_p0_5>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
|
||||
&rtc_counter {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -16,6 +16,7 @@ supported:
|
|||
- watchdog
|
||||
- adc
|
||||
- counter
|
||||
- rtc_counter
|
||||
- pwm
|
||||
- w1
|
||||
- flash
|
||||
|
|
|
@ -120,6 +120,10 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&rtc_counter {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&spi1 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&spi1_mosi_p0_17 &spi1_miso_p0_18 &spi1_sck_p0_19 &spi1_ss0_p0_16>;
|
||||
|
|
|
@ -17,6 +17,7 @@ supported:
|
|||
- spi
|
||||
- adc
|
||||
- counter
|
||||
- rtc_counter
|
||||
- pwm
|
||||
- w1
|
||||
- flash
|
||||
|
|
|
@ -65,6 +65,13 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
/*
|
||||
* ERTCO is required for counter RTC
|
||||
*/
|
||||
&clk_ertco {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gpio0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -96,3 +103,7 @@
|
|||
pinctrl-0 = <&spi0_mosi_p0_3 &spi0_miso_p0_2 &spi0_sck_p0_4 &spi0_ss0_p0_5>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
|
||||
&rtc_counter {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -16,6 +16,7 @@ supported:
|
|||
- watchdog
|
||||
- spi
|
||||
- counter
|
||||
- rtc_counter
|
||||
- pwm
|
||||
- flash
|
||||
ram: 160
|
||||
|
|
|
@ -103,6 +103,13 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
/*
|
||||
* ERTCO is required for counter RTC
|
||||
*/
|
||||
&clk_ertco {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gpio0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -149,3 +156,7 @@
|
|||
pinctrl-names = "default";
|
||||
cs-gpios = <&gpio0 5 (GPIO_ACTIVE_LOW | MAX32_VSEL_VDDIOH)>;
|
||||
};
|
||||
|
||||
&rtc_counter {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -17,6 +17,7 @@ supported:
|
|||
- spi
|
||||
- adc
|
||||
- counter
|
||||
- rtc_counter
|
||||
- pwm
|
||||
- flash
|
||||
ram: 200
|
||||
|
|
|
@ -100,6 +100,13 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
/*
|
||||
* ERTCO is required for counter RTC
|
||||
*/
|
||||
&clk_ertco {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gpio0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -148,3 +155,7 @@
|
|||
pinctrl-0 = <&spi1a_mosi_p0_15 &spi1a_miso_p0_14 &spi1a_sck_p0_16 &spi1a_ss0_p0_17>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
|
||||
&rtc_counter {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -17,6 +17,7 @@ supported:
|
|||
- spi
|
||||
- adc
|
||||
- counter
|
||||
- rtc_counter
|
||||
- pwm
|
||||
- flash
|
||||
ram: 200
|
||||
|
|
|
@ -163,3 +163,7 @@
|
|||
pinctrl-0 = <&owm_io_p0_8 &owm_pe_p0_7>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
|
||||
&rtc_counter {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -17,6 +17,7 @@ supported:
|
|||
- watchdog
|
||||
- adc
|
||||
- counter
|
||||
- rtc_counter
|
||||
- pwm
|
||||
- w1
|
||||
- flash
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue