Skip to content

Commit

Permalink
boards: arm: stm32: clean up dts after clock conversion
Browse files Browse the repository at this point in the history
Mass conversion of STM32 boards to dts based clock configuration has
left some minor whitespace issues. Fix these and some other whitespaces
in the affected files.

Signed-off-by: Ilya Tagunov <tagunil@gmail.com>
  • Loading branch information
tagunil authored and galak committed May 12, 2021
1 parent b9a782b commit d75e982
Show file tree
Hide file tree
Showing 16 changed files with 15 additions and 27 deletions.
2 changes: 1 addition & 1 deletion boards/arm/disco_l475_iot1/disco_l475_iot1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
};
};

&clk_hsi{
&clk_hsi {
status = "okay";
};

Expand Down
3 changes: 0 additions & 3 deletions boards/arm/mikroe_clicker_2/mikroe_clicker_2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
zephyr,ccm = &ccm0;
};


leds {
compatible = "gpio-leds";
ld1: led_1 {
Expand Down Expand Up @@ -102,7 +101,6 @@
status = "okay";
};


&spi2 {
pinctrl-0 = <&spi2_sck_pb13 &spi2_miso_pb14 &spi2_mosi_pb15>;
cs-gpios = <&gpioe 11 GPIO_ACTIVE_LOW>;
Expand Down Expand Up @@ -130,7 +128,6 @@
pinctrl-0 = <&adc1_in2_pa2 &adc1_in3_pa3>;
};


mikrobus_1_i2c: &i2c3 {};

mikrobus_1_spi: &spi3 {};
Expand Down
1 change: 0 additions & 1 deletion boards/arm/nucleo_f303k8/nucleo_f303k8.dts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@
status = "okay";
};


&i2c1 {
pinctrl-0 = <&i2c1_scl_pb6 &i2c1_sda_pb7>;
status = "okay";
Expand Down
2 changes: 1 addition & 1 deletion boards/arm/nucleo_f401re/nucleo_f401re.dts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
};
};

&clk_hse{
&clk_hse {
hse-bypass;
clock-frequency = <DT_FREQ_M(8)>; /* STLink 8MHz clock */
status = "okay";
Expand Down
2 changes: 1 addition & 1 deletion boards/arm/nucleo_f411re/nucleo_f411re.dts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
};
};

&clk_hse{
&clk_hse {
hse-bypass;
clock-frequency = <DT_FREQ_M(8)>; /* STLink 8MHz clock */
status = "okay";
Expand Down
1 change: 0 additions & 1 deletion boards/arm/nucleo_f429zi/nucleo_f429zi.dts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@
apb2-prescaler = <2>;
};


&adc1 {
pinctrl-0 = <&adc1_in0_pa0>;
status = "okay";
Expand Down
2 changes: 1 addition & 1 deletion boards/arm/nucleo_g071rb/nucleo_g071rb.dts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
};
};

&clk_hsi{
&clk_hsi {
status = "okay";
};

Expand Down
2 changes: 1 addition & 1 deletion boards/arm/nucleo_g431rb/nucleo_g431rb.dts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
};
};

&clk_hse{
&clk_hse {
clock-frequency = <DT_FREQ_M(24)>;
status = "okay";
};
Expand Down
1 change: 0 additions & 1 deletion boards/arm/nucleo_h753zi/nucleo_h753zi.dts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
};
};


&clk_hse {
hse-bypass;
clock-frequency = <DT_FREQ_M(8)>; /* STLink 8MHz clock */
Expand Down
7 changes: 3 additions & 4 deletions boards/arm/nucleo_l053r8/nucleo_l053r8.dts
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@
};
};

&clk_hse{
status = "okay";
clock-frequency = <DT_FREQ_M(8)>;
&clk_hse {
hse-bypass;
clock-frequency = <DT_FREQ_M(8)>; /* STLink 8MHz clock */
status = "okay";
};

&pll {
Expand All @@ -64,7 +64,6 @@
apb2-prescaler = <1>;
};


/* Due to limited available memory, don't enable gpiod and gpiof */
/* (Test cases fail due to 'SRAM' region overflow) */
&gpiod {status = "disabled";};
Expand Down
3 changes: 1 addition & 2 deletions boards/arm/nucleo_l476rg/nucleo_l476rg.dts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
};
};

&clk_hsi{
&clk_hsi {
status = "okay";
};

Expand Down Expand Up @@ -135,7 +135,6 @@
status = "okay";
};


&timers2 {
status = "okay";

Expand Down
4 changes: 2 additions & 2 deletions boards/arm/nucleo_l552ze_q/nucleo_l552ze_q-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "arduino_r3_connector.dtsi"

/ {
leds {
leds {
compatible = "gpio-leds";
green_led_1: led_1 {
gpios = <&gpioa 5 GPIO_ACTIVE_HIGH>;
Expand All @@ -34,7 +34,7 @@
};
};

&clk_msi{
&clk_msi {
status = "okay";
msi-range = <6>;
};
Expand Down
5 changes: 2 additions & 3 deletions boards/arm/nucleo_wb55rg/nucleo_wb55rg.dts
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,11 @@
};
};


&clk_hse{
&clk_hse {
status = "okay";
};

&clk_lse{
&clk_lse {
status = "okay";
};

Expand Down
1 change: 0 additions & 1 deletion boards/arm/ronoth_lodev/ronoth_lodev.dts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@
status = "okay";
};


&iwdg {
status = "okay";
};
Expand Down
2 changes: 0 additions & 2 deletions boards/arm/stm32f429i_disc1/stm32f429i_disc1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,6 @@
clock-frequency = <I2C_BITRATE_FAST>;
};



&spi5 {
pinctrl-0 = <&spi5_nss_pf6 &spi5_sck_pf7
&spi5_miso_pf8 &spi5_mosi_pf9>;
Expand Down
4 changes: 2 additions & 2 deletions boards/arm/stm32l562e_dk/stm32l562e_dk_common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@
};
};

&clk_msi{
&clk_msi {
status = "okay";
msi-range = <6>;
msi-pll-mode;
};

&clk_lse{
&clk_lse {
status = "okay";
};

Expand Down

0 comments on commit d75e982

Please sign in to comment.