Skip to content

Commit debb691

Browse files
committed
devicetree: Change the property names in the DTS
Change the property names in the DTS to use hyphens(-) for separation instead of underscores(_). Signed-off-by: James Roy <rruuaanng@outlook.com>
1 parent 8f66075 commit debb691

File tree

40 files changed

+101
-101
lines changed

40 files changed

+101
-101
lines changed

boards/mediatek/mt8195/mt8195_adsp.dts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828
cpuclk: cpuclk@10000000 {
2929
compatible = "mediatek,mt8195_cpuclk";
3030
reg = <0x10000000 380>;
31-
cg_reg = <0x10720180>;
32-
pll_ctrl_reg = <0x1000c7e0>;
33-
freqs_mhz = <26 370 540 720>;
31+
cg-reg = <0x10720180>;
32+
pll-ctrl-reg = <0x1000c7e0>;
33+
freqs-mhz = <26 370 540 720>;
3434
};
3535

3636
core_intc: core_intc@0 {

boards/microchip/mec1501modular_assy6885/mec1501modular_assy6885.dts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252

5353
&i2c_smb_0 {
5454
status = "okay";
55-
port_sel = <0>;
55+
port-sel = <0>;
5656
sda-gpios = <MCHP_GPIO_DECODE_003 0>;
5757
scl-gpios = <MCHP_GPIO_DECODE_004 0>;
5858
pinctrl-0 = < &i2c00_scl_gpio004 &i2c00_sda_gpio003 >;
@@ -61,7 +61,7 @@
6161

6262
&i2c_smb_1 {
6363
status = "okay";
64-
port_sel = <1>;
64+
port-sel = <1>;
6565
sda-gpios = <MCHP_GPIO_DECODE_130 0>;
6666
scl-gpios = <MCHP_GPIO_DECODE_131 0>;
6767
pinctrl-0 = < &i2c01_scl_gpio131 &i2c01_sda_gpio130 >;
@@ -70,9 +70,9 @@
7070

7171
&espi0 {
7272
status = "okay";
73-
io_girq = <19>;
74-
vw_girqs = <24 25>;
75-
pc_girq = <15>;
73+
io-girq = <19>;
74+
vw-girqs = <24 25>;
75+
pc-girq = <15>;
7676
pinctrl-0 = < &espi_reset_n_gpio061 &espi_cs_n_gpio066
7777
&espi_alert_n_gpio063 &espi_clk_gpio065
7878
&espi_io0_gpio070 &espi_io1_gpio071

boards/microchip/mec15xxevb_assy6853/mec15xxevb_assy6853.dts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080

8181
&i2c_smb_0 {
8282
status = "okay";
83-
port_sel = <0>;
83+
port-sel = <0>;
8484
sda-gpios = <MCHP_GPIO_DECODE_003 0>;
8585
scl-gpios = <MCHP_GPIO_DECODE_004 0>;
8686
pinctrl-0 = < &i2c00_scl_gpio004 &i2c00_sda_gpio003 >;
@@ -89,7 +89,7 @@
8989

9090
&i2c_smb_1 {
9191
status = "okay";
92-
port_sel = <1>;
92+
port-sel = <1>;
9393
sda-gpios = <MCHP_GPIO_DECODE_130 0>;
9494
scl-gpios = <MCHP_GPIO_DECODE_131 0>;
9595
pinctrl-0 = < &i2c01_scl_gpio131 &i2c01_sda_gpio130 >;
@@ -114,7 +114,7 @@
114114

115115
&i2c_smb_2 {
116116
status = "okay";
117-
port_sel = <7>;
117+
port-sel = <7>;
118118
sda-gpios = <MCHP_GPIO_DECODE_012 0>;
119119
scl-gpios = <MCHP_GPIO_DECODE_013 0>;
120120
pinctrl-0 = < &i2c07_scl_gpio013 &i2c07_sda_gpio012 >;
@@ -123,9 +123,9 @@
123123

124124
&espi0 {
125125
status = "okay";
126-
io_girq = <19>;
127-
vw_girqs = <24 25>;
128-
pc_girq = <15>;
126+
io-girq = <19>;
127+
vw-girqs = <24 25>;
128+
pc-girq = <15>;
129129
pinctrl-0 = < &espi_reset_n_gpio061 &espi_cs_n_gpio066
130130
&espi_alert_n_gpio063 &espi_clk_gpio065
131131
&espi_io0_gpio070 &espi_io1_gpio071
@@ -192,8 +192,8 @@
192192

193193
&spi0 {
194194
status = "okay";
195-
port_sel = <0>;
196-
chip_select = <0>;
195+
port-sel = <0>;
196+
chip-select = <0>;
197197
lines = <1>;
198198
pinctrl-0 = < &shd_cs0_n_gpio055
199199
&shd_clk_gpio056

boards/microchip/mec172xevb_assy6906/mec172xevb_assy6906.dts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
/* I2C */
126126
&i2c_smb_0 {
127127
status = "okay";
128-
port_sel = <0>;
128+
port-sel = <0>;
129129

130130
pinctrl-0 = < &i2c00_scl_gpio004 &i2c00_sda_gpio003 >;
131131
pinctrl-names = "default";
@@ -145,7 +145,7 @@
145145

146146
&i2c_smb_1 {
147147
status = "okay";
148-
port_sel = <1>;
148+
port-sel = <1>;
149149
pinctrl-0 = <&i2c01_scl_gpio131 &i2c01_sda_gpio130>;
150150
pinctrl-names = "default";
151151

@@ -180,7 +180,7 @@
180180

181181
&i2c_smb_2 {
182182
status = "okay";
183-
port_sel = <7>;
183+
port-sel = <7>;
184184
pinctrl-0 = <&i2c07_scl_gpio013 &i2c07_sda_gpio012>;
185185
pinctrl-names = "default";
186186
};

boards/microchip/mec172xmodular_assy6930/mec172xmodular_assy6930.dts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
/* I2C */
120120
&i2c_smb_0 {
121121
status = "okay";
122-
port_sel = <0>;
122+
port-sel = <0>;
123123

124124
pinctrl-0 = < &i2c00_scl_gpio004 &i2c00_sda_gpio003 >;
125125
pinctrl-names = "default";
@@ -139,7 +139,7 @@
139139

140140
&i2c_smb_1 {
141141
status = "okay";
142-
port_sel = <1>;
142+
port-sel = <1>;
143143
pinctrl-0 = <&i2c01_scl_gpio131 &i2c01_sda_gpio130>;
144144
pinctrl-names = "default";
145145
};
@@ -158,7 +158,7 @@
158158

159159
&i2c_smb_2 {
160160
status = "okay";
161-
port_sel = <7>;
161+
port-sel = <7>;
162162
pinctrl-0 = <&i2c07_scl_gpio013 &i2c07_sda_gpio012>;
163163
pinctrl-names = "default";
164164
};

boards/nxp/frdm_mcxn947/frdm_mcxn947_mcxn947_cpu0.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@
182182

183183
zephyr_udc0: &usb1 {
184184
status = "okay";
185-
phy_handle = <&usbphy1>;
185+
phy-handle = <&usbphy1>;
186186
};
187187

188188
&usbphy1 {

boards/nxp/lpcxpresso55s16/lpcxpresso55s16.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
zephyr_udc0: &usbhs {
2828
status = "okay";
29-
phy_handle = <&usbphy1>;
29+
phy-handle = <&usbphy1>;
3030
};
3131

3232
&usbphy1 {

boards/nxp/lpcxpresso55s69/lpcxpresso55s69_lpc55s69_cpu0.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152

153153
zephyr_udc0: &usbhs {
154154
status = "okay";
155-
phy_handle = <&usbphy1>;
155+
phy-handle = <&usbphy1>;
156156
};
157157

158158
&usbphy1 {

boards/nxp/mimxrt1060_evk/mimxrt1060_evk.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ arduino_i2c: &lpi2c1 {
185185

186186
zephyr_udc0: &usb1 {
187187
status = "okay";
188-
phy_handle = <&usbphy1>;
188+
phy-handle = <&usbphy1>;
189189
};
190190

191191
&usbphy1 {

boards/nxp/mimxrt1170_evk/mimxrt1170_evk_mimxrt1176_cm7.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ nxp_mipi_i2c: &lpi2c5 {
150150

151151
zephyr_udc0: &usb1 {
152152
status = "okay";
153-
phy_handle = <&usbphy1>;
153+
phy-handle = <&usbphy1>;
154154
};
155155

156156
&usbphy1 {

boards/nxp/mimxrt595_evk/mimxrt595_evk_mimxrt595s_cm33.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -376,8 +376,8 @@ zephyr_udc0: &usbhs {
376376
};
377377
pinctrl-0 = <&pinmux_usdhc>;
378378
pinctrl-names = "default";
379-
mmc-hs200-1_8v;
380-
mmc-hs400-1_8v;
379+
mmc-hs200-1-8v;
380+
mmc-hs400-1-8v;
381381
};
382382

383383
&wwdt0 {

boards/nxp/mimxrt685_evk/mimxrt685_evk_mimxrt685s_cm33.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ i2s1: &flexcomm3 {
359359

360360
zephyr_udc0: &usbhs {
361361
status = "okay";
362-
phy_handle = <&usbphy>;
362+
phy-handle = <&usbphy>;
363363
};
364364

365365
&usbphy {

boards/renesas/rcar_h3ulcb/rcar_h3ulcb_r8a77951_a57.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
status = "disabled";
9999
};
100100
bus-width = <8>;
101-
mmc-hs200-1_8v;
102-
mmc-hs400-1_8v;
101+
mmc-hs200-1-8v;
102+
mmc-hs400-1-8v;
103103
non-removable;
104104
};

boards/renesas/rcar_salvator_xs/rcar_salvator_xs.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
status = "disabled";
5151
};
5252
bus-width = <8>;
53-
mmc-hs200-1_8v;
54-
mmc-hs400-1_8v;
53+
mmc-hs200-1-8v;
54+
mmc-hs400-1-8v;
5555
non-removable;
5656
};

boards/renesas/rcar_spider_s4/rcar_spider_s4_r8a779f0_a55.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@
4545
status = "okay";
4646
};
4747
bus-width = <8>;
48-
mmc-hs200-1_8v;
49-
mmc-hs400-1_8v;
48+
mmc-hs200-1-8v;
49+
mmc-hs400-1-8v;
5050
non-removable;
5151
status = "okay";
5252
};

boards/shields/ftdi_vm800c/ftdi_vm800c.overlay

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
irq-gpios = <&arduino_header 8 GPIO_ACTIVE_LOW>;
2020

2121
pclk = <5>;
22-
pclk_pol = <1>;
22+
pclk-pol = <1>;
2323
cspread = <1>;
2424
swizzle = <0>;
2525
vsize = <272>;

boards/shields/ssd1306/ssd1306_128x64_spi.overlay

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
segment-remap;
2727
com-invdir;
2828
prechargep = <0x22>;
29-
data_cmd-gpios = <&arduino_header 15 0>;
29+
data-cmd-gpios = <&arduino_header 15 0>;
3030
/* reset-gpios = <&arduino_header 14 GPIO_ACTIVE_LOW>; */
3131
};
3232
};

boards/silabs/radio_boards/slwrb4321a/slwrb4321a.dts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -125,19 +125,19 @@
125125

126126
/* PHY management pins */
127127
location-mdio = <GECKO_LOCATION(3)>;
128-
location-phy_mdc = <GECKO_LOCATION(3) GECKO_PORT_A GECKO_PIN(6)>;
129-
location-phy_mdio = <GECKO_LOCATION(3) GECKO_PORT_A GECKO_PIN(15)>;
128+
location-phy-mdc = <GECKO_LOCATION(3) GECKO_PORT_A GECKO_PIN(6)>;
129+
location-phy-mdio = <GECKO_LOCATION(3) GECKO_PORT_A GECKO_PIN(15)>;
130130

131131
/* RMII interface pins */
132132
location-rmii = <GECKO_LOCATION(0)>;
133-
location-rmii_refclk = <GECKO_LOCATION(0) GECKO_PORT_A GECKO_PIN(3)>;
134-
location-rmii_crs_dv = <GECKO_LOCATION(0) GECKO_PORT_A GECKO_PIN(4)>;
135-
location-rmii_txd0 = <GECKO_LOCATION(0) GECKO_PORT_E GECKO_PIN(15)>;
136-
location-rmii_txd1 = <GECKO_LOCATION(0) GECKO_PORT_E GECKO_PIN(14)>;
137-
location-rmii_tx_en = <GECKO_LOCATION(0) GECKO_PORT_A GECKO_PIN(0)>;
138-
location-rmii_rxd0 = <GECKO_LOCATION(0) GECKO_PORT_A GECKO_PIN(2)>;
139-
location-rmii_rxd1 = <GECKO_LOCATION(0) GECKO_PORT_A GECKO_PIN(1)>;
140-
location-rmii_rx_er = <GECKO_LOCATION(0) GECKO_PORT_A GECKO_PIN(5)>;
133+
location-rmii-refclk = <GECKO_LOCATION(0) GECKO_PORT_A GECKO_PIN(3)>;
134+
location-rmii-crs-dv = <GECKO_LOCATION(0) GECKO_PORT_A GECKO_PIN(4)>;
135+
location-rmii-txd0 = <GECKO_LOCATION(0) GECKO_PORT_E GECKO_PIN(15)>;
136+
location-rmii-txd1 = <GECKO_LOCATION(0) GECKO_PORT_E GECKO_PIN(14)>;
137+
location-rmii-tx-en = <GECKO_LOCATION(0) GECKO_PORT_A GECKO_PIN(0)>;
138+
location-rmii-rxd0 = <GECKO_LOCATION(0) GECKO_PORT_A GECKO_PIN(2)>;
139+
location-rmii-rxd1 = <GECKO_LOCATION(0) GECKO_PORT_A GECKO_PIN(1)>;
140+
location-rmii-rx-er = <GECKO_LOCATION(0) GECKO_PORT_A GECKO_PIN(5)>;
141141

142142
status = "okay";
143143
};

boards/silabs/starter_kits/slstk3701a/slstk3701a.dts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -156,19 +156,19 @@
156156

157157
/* PHY management pins */
158158
location-mdio = <GECKO_LOCATION(1)>;
159-
location-phy_mdc = <GECKO_LOCATION(1) GECKO_PORT_D GECKO_PIN(14)>;
160-
location-phy_mdio = <GECKO_LOCATION(1) GECKO_PORT_D GECKO_PIN(13)>;
159+
location-phy-mdc = <GECKO_LOCATION(1) GECKO_PORT_D GECKO_PIN(14)>;
160+
location-phy-mdio = <GECKO_LOCATION(1) GECKO_PORT_D GECKO_PIN(13)>;
161161

162162
/* RMII interface pins */
163163
location-rmii = <GECKO_LOCATION(1)>;
164-
location-rmii_refclk = <GECKO_LOCATION(5) GECKO_PORT_D GECKO_PIN(10)>;
165-
location-rmii_crs_dv = <GECKO_LOCATION(1) GECKO_PORT_D GECKO_PIN(11)>;
166-
location-rmii_txd0 = <GECKO_LOCATION(1) GECKO_PORT_F GECKO_PIN(7)>;
167-
location-rmii_txd1 = <GECKO_LOCATION(1) GECKO_PORT_F GECKO_PIN(6)>;
168-
location-rmii_tx_en = <GECKO_LOCATION(1) GECKO_PORT_F GECKO_PIN(8)>;
169-
location-rmii_rxd0 = <GECKO_LOCATION(1) GECKO_PORT_D GECKO_PIN(9)>;
170-
location-rmii_rxd1 = <GECKO_LOCATION(1) GECKO_PORT_F GECKO_PIN(9)>;
171-
location-rmii_rx_er = <GECKO_LOCATION(1) GECKO_PORT_D GECKO_PIN(12)>;
164+
location-rmii-refclk = <GECKO_LOCATION(5) GECKO_PORT_D GECKO_PIN(10)>;
165+
location-rmii-crs-dv = <GECKO_LOCATION(1) GECKO_PORT_D GECKO_PIN(11)>;
166+
location-rmii-txd0 = <GECKO_LOCATION(1) GECKO_PORT_F GECKO_PIN(7)>;
167+
location-rmii-txd1 = <GECKO_LOCATION(1) GECKO_PORT_F GECKO_PIN(6)>;
168+
location-rmii-tx-en = <GECKO_LOCATION(1) GECKO_PORT_F GECKO_PIN(8)>;
169+
location-rmii-rxd0 = <GECKO_LOCATION(1) GECKO_PORT_D GECKO_PIN(9)>;
170+
location-rmii-rxd1 = <GECKO_LOCATION(1) GECKO_PORT_F GECKO_PIN(9)>;
171+
location-rmii-rx-er = <GECKO_LOCATION(1) GECKO_PORT_D GECKO_PIN(12)>;
172172

173173
status = "okay";
174174
};

boards/snps/em_starterkit/em_starterkit_r23.dtsi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@
3434
compatible = "snps,creg-gpio";
3535
reg = <0xf0000014 0x4>;
3636
ngpios = <6>;
37-
bit_per_gpio = <1>;
38-
off_val = <0>;
39-
on_val = <1>;
37+
bit-per-gpio = <1>;
38+
off-val = <0>;
39+
on-val = <1>;
4040

4141
gpio-controller;
4242
#gpio-cells = <2>;

dts/arc/synopsys/arc_hs4xd.dtsi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,9 @@
135135
compatible = "snps,creg-gpio";
136136
reg = <0xf00014b0 0x4>;
137137
ngpios = <12>;
138-
bit_per_gpio = <2>;
139-
off_val = <0>;
140-
on_val = <2>;
138+
bit-per-gpio = <2>;
139+
off-val = <0>;
140+
on-val = <2>;
141141

142142
gpio-controller;
143143
#gpio-cells = <2>;

dts/arc/synopsys/arc_hsdk.dtsi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,9 @@
135135
compatible = "snps,creg-gpio";
136136
reg = <0xf00014b0 0x4>;
137137
ngpios = <12>;
138-
bit_per_gpio = <2>;
139-
off_val = <0>;
140-
on_val = <2>;
138+
bit-per-gpio = <2>;
139+
off-val = <0>;
140+
on-val = <2>;
141141

142142
gpio-controller;
143143
#gpio-cells = <2>;

dts/arm/microchip/mec1501hsz.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@
471471
rxdma = <11>;
472472
txdma = <10>;
473473
lines = <1>;
474-
chip_select = <0>;
474+
chip-select = <0>;
475475
dcsckon = <6>;
476476
dckcsoff = <4>;
477477
dldh = <6>;

dts/arm/nxp/nxp_rt10xx.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -885,7 +885,7 @@
885885
dma-channels = <32>;
886886
dma-requests = <128>;
887887
nxp,mem2mem;
888-
nxp,a_on;
888+
nxp,a-on;
889889
reg = <0x400E8000 0x4000>,
890890
<0x400EC000 0x4000>;
891891
interrupts = <0 0>, <1 0>, <2 0>, <3 0>,

dts/arm/nxp/nxp_rt11xx.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1048,7 +1048,7 @@
10481048
dma-channels = <32>;
10491049
dma-requests = <208>;
10501050
nxp,mem2mem;
1051-
nxp,a_on;
1051+
nxp,a-on;
10521052
reg = <0x40070000 0x4000>,
10531053
<0x40074000 0x4000>;
10541054
clocks = <&ccm IMX_CCM_EDMA_CLK 0x7C 0x000000C0>;
@@ -1068,7 +1068,7 @@
10681068
dma-channels = <32>;
10691069
dma-requests = <208>;
10701070
nxp,mem2mem;
1071-
nxp,a_on;
1071+
nxp,a-on;
10721072
reg = <0x40c14000 0x4000>,
10731073
<0x40c18000 0x4000>;
10741074
clocks = <&ccm IMX_CCM_EDMA_LPSR_CLK 0x7C 0x000000C0>;

0 commit comments

Comments
 (0)