Skip to content

Commit

Permalink
devicetree: Change the property names in the DTS
Browse files Browse the repository at this point in the history
Change the property names in the DTS to use
hyphens(-) for separation instead of underscores(_).

Signed-off-by: James Roy <[email protected]>
  • Loading branch information
rruuaanng committed Dec 24, 2024
1 parent b2b8120 commit de80dbd
Show file tree
Hide file tree
Showing 41 changed files with 105 additions and 105 deletions.
6 changes: 3 additions & 3 deletions boards/mediatek/mt8195/mt8195_adsp.dts
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
cpuclk: cpuclk@10000000 {
compatible = "mediatek,mt8195_cpuclk";
reg = <0x10000000 380>;
cg_reg = <0x10720180>;
pll_ctrl_reg = <0x1000c7e0>;
freqs_mhz = <26 370 540 720>;
cg-reg = <0x10720180>;
pll-ctrl-reg = <0x1000c7e0>;
freqs-mhz = <26 370 540 720>;
};

core_intc: core_intc@0 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@

&i2c_smb_0 {
status = "okay";
port_sel = <0>;
port-sel = <0>;
sda-gpios = <MCHP_GPIO_DECODE_003 0>;
scl-gpios = <MCHP_GPIO_DECODE_004 0>;
pinctrl-0 = < &i2c00_scl_gpio004 &i2c00_sda_gpio003 >;
Expand All @@ -61,7 +61,7 @@

&i2c_smb_1 {
status = "okay";
port_sel = <1>;
port-sel = <1>;
sda-gpios = <MCHP_GPIO_DECODE_130 0>;
scl-gpios = <MCHP_GPIO_DECODE_131 0>;
pinctrl-0 = < &i2c01_scl_gpio131 &i2c01_sda_gpio130 >;
Expand All @@ -70,9 +70,9 @@

&espi0 {
status = "okay";
io_girq = <19>;
vw_girqs = <24 25>;
pc_girq = <15>;
io-girq = <19>;
vw-girqs = <24 25>;
pc-girq = <15>;
pinctrl-0 = < &espi_reset_n_gpio061 &espi_cs_n_gpio066
&espi_alert_n_gpio063 &espi_clk_gpio065
&espi_io0_gpio070 &espi_io1_gpio071
Expand Down
16 changes: 8 additions & 8 deletions boards/microchip/mec15xxevb_assy6853/mec15xxevb_assy6853.dts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@

&i2c_smb_0 {
status = "okay";
port_sel = <0>;
port-sel = <0>;
sda-gpios = <MCHP_GPIO_DECODE_003 0>;
scl-gpios = <MCHP_GPIO_DECODE_004 0>;
pinctrl-0 = < &i2c00_scl_gpio004 &i2c00_sda_gpio003 >;
Expand All @@ -89,7 +89,7 @@

&i2c_smb_1 {
status = "okay";
port_sel = <1>;
port-sel = <1>;
sda-gpios = <MCHP_GPIO_DECODE_130 0>;
scl-gpios = <MCHP_GPIO_DECODE_131 0>;
pinctrl-0 = < &i2c01_scl_gpio131 &i2c01_sda_gpio130 >;
Expand All @@ -114,7 +114,7 @@

&i2c_smb_2 {
status = "okay";
port_sel = <7>;
port-sel = <7>;
sda-gpios = <MCHP_GPIO_DECODE_012 0>;
scl-gpios = <MCHP_GPIO_DECODE_013 0>;
pinctrl-0 = < &i2c07_scl_gpio013 &i2c07_sda_gpio012 >;
Expand All @@ -123,9 +123,9 @@

&espi0 {
status = "okay";
io_girq = <19>;
vw_girqs = <24 25>;
pc_girq = <15>;
io-girq = <19>;
vw-girqs = <24 25>;
pc-girq = <15>;
pinctrl-0 = < &espi_reset_n_gpio061 &espi_cs_n_gpio066
&espi_alert_n_gpio063 &espi_clk_gpio065
&espi_io0_gpio070 &espi_io1_gpio071
Expand Down Expand Up @@ -192,8 +192,8 @@

&spi0 {
status = "okay";
port_sel = <0>;
chip_select = <0>;
port-sel = <0>;
chip-select = <0>;
lines = <1>;
pinctrl-0 = < &shd_cs0_n_gpio055
&shd_clk_gpio056
Expand Down
6 changes: 3 additions & 3 deletions boards/microchip/mec172xevb_assy6906/mec172xevb_assy6906.dts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
/* I2C */
&i2c_smb_0 {
status = "okay";
port_sel = <0>;
port-sel = <0>;

pinctrl-0 = < &i2c00_scl_gpio004 &i2c00_sda_gpio003 >;
pinctrl-names = "default";
Expand All @@ -145,7 +145,7 @@

&i2c_smb_1 {
status = "okay";
port_sel = <1>;
port-sel = <1>;
pinctrl-0 = <&i2c01_scl_gpio131 &i2c01_sda_gpio130>;
pinctrl-names = "default";

Expand Down Expand Up @@ -180,7 +180,7 @@

&i2c_smb_2 {
status = "okay";
port_sel = <7>;
port-sel = <7>;
pinctrl-0 = <&i2c07_scl_gpio013 &i2c07_sda_gpio012>;
pinctrl-names = "default";
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
/* I2C */
&i2c_smb_0 {
status = "okay";
port_sel = <0>;
port-sel = <0>;

pinctrl-0 = < &i2c00_scl_gpio004 &i2c00_sda_gpio003 >;
pinctrl-names = "default";
Expand All @@ -139,7 +139,7 @@

&i2c_smb_1 {
status = "okay";
port_sel = <1>;
port-sel = <1>;
pinctrl-0 = <&i2c01_scl_gpio131 &i2c01_sda_gpio130>;
pinctrl-names = "default";
};
Expand All @@ -158,7 +158,7 @@

&i2c_smb_2 {
status = "okay";
port_sel = <7>;
port-sel = <7>;
pinctrl-0 = <&i2c07_scl_gpio013 &i2c07_sda_gpio012>;
pinctrl-names = "default";
};
Expand Down
2 changes: 1 addition & 1 deletion boards/nxp/frdm_mcxn947/frdm_mcxn947_mcxn947_cpu0.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@

zephyr_udc0: &usb1 {
status = "okay";
phy_handle = <&usbphy1>;
phy-handle = <&usbphy1>;
};

&usbphy1 {
Expand Down
2 changes: 1 addition & 1 deletion boards/nxp/lpcxpresso55s16/lpcxpresso55s16.dts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

zephyr_udc0: &usbhs {
status = "okay";
phy_handle = <&usbphy1>;
phy-handle = <&usbphy1>;
};

&usbphy1 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@

zephyr_udc0: &usbhs {
status = "okay";
phy_handle = <&usbphy1>;
phy-handle = <&usbphy1>;
};

&usbphy1 {
Expand Down
2 changes: 1 addition & 1 deletion boards/nxp/mimxrt1060_evk/mimxrt1060_evk.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ arduino_i2c: &lpi2c1 {

zephyr_udc0: &usb1 {
status = "okay";
phy_handle = <&usbphy1>;
phy-handle = <&usbphy1>;
};

&usbphy1 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ nxp_mipi_i2c: &lpi2c5 {

zephyr_udc0: &usb1 {
status = "okay";
phy_handle = <&usbphy1>;
phy-handle = <&usbphy1>;
};

&usbphy1 {
Expand Down
4 changes: 2 additions & 2 deletions boards/nxp/mimxrt595_evk/mimxrt595_evk_mimxrt595s_cm33.dts
Original file line number Diff line number Diff line change
Expand Up @@ -376,8 +376,8 @@ zephyr_udc0: &usbhs {
};
pinctrl-0 = <&pinmux_usdhc>;
pinctrl-names = "default";
mmc-hs200-1_8v;
mmc-hs400-1_8v;
mmc-hs200-1-8v;
mmc-hs400-1-8v;
};

&wwdt0 {
Expand Down
2 changes: 1 addition & 1 deletion boards/nxp/mimxrt685_evk/mimxrt685_evk_mimxrt685s_cm33.dts
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ i2s1: &flexcomm3 {

zephyr_udc0: &usbhs {
status = "okay";
phy_handle = <&usbphy>;
phy-handle = <&usbphy>;
};

&usbphy {
Expand Down
4 changes: 2 additions & 2 deletions boards/renesas/rcar_h3ulcb/rcar_h3ulcb_r8a77951_a57.dts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
status = "disabled";
};
bus-width = <8>;
mmc-hs200-1_8v;
mmc-hs400-1_8v;
mmc-hs200-1-8v;
mmc-hs400-1-8v;
non-removable;
};
4 changes: 2 additions & 2 deletions boards/renesas/rcar_salvator_xs/rcar_salvator_xs.dts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
status = "disabled";
};
bus-width = <8>;
mmc-hs200-1_8v;
mmc-hs400-1_8v;
mmc-hs200-1-8v;
mmc-hs400-1-8v;
non-removable;
};
4 changes: 2 additions & 2 deletions boards/renesas/rcar_spider_s4/rcar_spider_s4_r8a779f0_a55.dts
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
status = "okay";
};
bus-width = <8>;
mmc-hs200-1_8v;
mmc-hs400-1_8v;
mmc-hs200-1-8v;
mmc-hs400-1-8v;
non-removable;
status = "okay";
};
2 changes: 1 addition & 1 deletion boards/shields/ftdi_vm800c/ftdi_vm800c.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
irq-gpios = <&arduino_header 8 GPIO_ACTIVE_LOW>;

pclk = <5>;
pclk_pol = <1>;
pclk-pol = <1>;
cspread = <1>;
swizzle = <0>;
vsize = <272>;
Expand Down
2 changes: 1 addition & 1 deletion boards/shields/ssd1306/ssd1306_128x64_spi.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
segment-remap;
com-invdir;
prechargep = <0x22>;
data_cmd-gpios = <&arduino_header 15 0>;
data-cmd-gpios = <&arduino_header 15 0>;
/* reset-gpios = <&arduino_header 14 GPIO_ACTIVE_LOW>; */
};
};
20 changes: 10 additions & 10 deletions boards/silabs/radio_boards/slwrb4321a/slwrb4321a.dts
Original file line number Diff line number Diff line change
Expand Up @@ -125,19 +125,19 @@

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

/* RMII interface pins */
location-rmii = <GECKO_LOCATION(0)>;
location-rmii_refclk = <GECKO_LOCATION(0) GECKO_PORT_A GECKO_PIN(3)>;
location-rmii_crs_dv = <GECKO_LOCATION(0) GECKO_PORT_A GECKO_PIN(4)>;
location-rmii_txd0 = <GECKO_LOCATION(0) GECKO_PORT_E GECKO_PIN(15)>;
location-rmii_txd1 = <GECKO_LOCATION(0) GECKO_PORT_E GECKO_PIN(14)>;
location-rmii_tx_en = <GECKO_LOCATION(0) GECKO_PORT_A GECKO_PIN(0)>;
location-rmii_rxd0 = <GECKO_LOCATION(0) GECKO_PORT_A GECKO_PIN(2)>;
location-rmii_rxd1 = <GECKO_LOCATION(0) GECKO_PORT_A GECKO_PIN(1)>;
location-rmii_rx_er = <GECKO_LOCATION(0) GECKO_PORT_A GECKO_PIN(5)>;
location-rmii-refclk = <GECKO_LOCATION(0) GECKO_PORT_A GECKO_PIN(3)>;
location-rmii-crs-dv = <GECKO_LOCATION(0) GECKO_PORT_A GECKO_PIN(4)>;
location-rmii-txd0 = <GECKO_LOCATION(0) GECKO_PORT_E GECKO_PIN(15)>;
location-rmii-txd1 = <GECKO_LOCATION(0) GECKO_PORT_E GECKO_PIN(14)>;
location-rmii-tx-en = <GECKO_LOCATION(0) GECKO_PORT_A GECKO_PIN(0)>;
location-rmii-rxd0 = <GECKO_LOCATION(0) GECKO_PORT_A GECKO_PIN(2)>;
location-rmii-rxd1 = <GECKO_LOCATION(0) GECKO_PORT_A GECKO_PIN(1)>;
location-rmii-rx-er = <GECKO_LOCATION(0) GECKO_PORT_A GECKO_PIN(5)>;

status = "okay";
};
Expand Down
20 changes: 10 additions & 10 deletions boards/silabs/starter_kits/slstk3701a/slstk3701a.dts
Original file line number Diff line number Diff line change
Expand Up @@ -156,19 +156,19 @@

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

/* RMII interface pins */
location-rmii = <GECKO_LOCATION(1)>;
location-rmii_refclk = <GECKO_LOCATION(5) GECKO_PORT_D GECKO_PIN(10)>;
location-rmii_crs_dv = <GECKO_LOCATION(1) GECKO_PORT_D GECKO_PIN(11)>;
location-rmii_txd0 = <GECKO_LOCATION(1) GECKO_PORT_F GECKO_PIN(7)>;
location-rmii_txd1 = <GECKO_LOCATION(1) GECKO_PORT_F GECKO_PIN(6)>;
location-rmii_tx_en = <GECKO_LOCATION(1) GECKO_PORT_F GECKO_PIN(8)>;
location-rmii_rxd0 = <GECKO_LOCATION(1) GECKO_PORT_D GECKO_PIN(9)>;
location-rmii_rxd1 = <GECKO_LOCATION(1) GECKO_PORT_F GECKO_PIN(9)>;
location-rmii_rx_er = <GECKO_LOCATION(1) GECKO_PORT_D GECKO_PIN(12)>;
location-rmii-refclk = <GECKO_LOCATION(5) GECKO_PORT_D GECKO_PIN(10)>;
location-rmii-crs-dv = <GECKO_LOCATION(1) GECKO_PORT_D GECKO_PIN(11)>;
location-rmii-txd0 = <GECKO_LOCATION(1) GECKO_PORT_F GECKO_PIN(7)>;
location-rmii-txd1 = <GECKO_LOCATION(1) GECKO_PORT_F GECKO_PIN(6)>;
location-rmii-tx-en = <GECKO_LOCATION(1) GECKO_PORT_F GECKO_PIN(8)>;
location-rmii-rxd0 = <GECKO_LOCATION(1) GECKO_PORT_D GECKO_PIN(9)>;
location-rmii-rxd1 = <GECKO_LOCATION(1) GECKO_PORT_F GECKO_PIN(9)>;
location-rmii-rx-er = <GECKO_LOCATION(1) GECKO_PORT_D GECKO_PIN(12)>;

status = "okay";
};
Expand Down
6 changes: 3 additions & 3 deletions boards/snps/em_starterkit/em_starterkit_r23.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
compatible = "snps,creg-gpio";
reg = <0xf0000014 0x4>;
ngpios = <6>;
bit_per_gpio = <1>;
off_val = <0>;
on_val = <1>;
bit-per-gpio = <1>;
off-val = <0>;
on-val = <1>;

gpio-controller;
#gpio-cells = <2>;
Expand Down
8 changes: 4 additions & 4 deletions doc/releases/release-notes-3.3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1711,13 +1711,13 @@ Modified bindings:

- :dtcompatible:`nxp,imx-usdhc`:

- new property: ``mmc-hs200-1_8v``
- new property: ``mmc-hs400-1_8v``
- new property: ``mmc-hs200-1-8v``
- new property: ``mmc-hs400-1-8v``

- :dtcompatible:`nxp,lpc-sdif`:

- new property: ``mmc-hs200-1_8v``
- new property: ``mmc-hs400-1_8v``
- new property: ``mmc-hs200-1-8v``
- new property: ``mmc-hs400-1-8v``

- QEMU, a generic and open source machine emulator and virtualizer (qemu):

Expand Down
6 changes: 3 additions & 3 deletions dts/arc/synopsys/arc_hs4xd.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,9 @@
compatible = "snps,creg-gpio";
reg = <0xf00014b0 0x4>;
ngpios = <12>;
bit_per_gpio = <2>;
off_val = <0>;
on_val = <2>;
bit-per-gpio = <2>;
off-val = <0>;
on-val = <2>;

gpio-controller;
#gpio-cells = <2>;
Expand Down
6 changes: 3 additions & 3 deletions dts/arc/synopsys/arc_hsdk.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,9 @@
compatible = "snps,creg-gpio";
reg = <0xf00014b0 0x4>;
ngpios = <12>;
bit_per_gpio = <2>;
off_val = <0>;
on_val = <2>;
bit-per-gpio = <2>;
off-val = <0>;
on-val = <2>;

gpio-controller;
#gpio-cells = <2>;
Expand Down
2 changes: 1 addition & 1 deletion dts/arm/microchip/mec1501hsz.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@
rxdma = <11>;
txdma = <10>;
lines = <1>;
chip_select = <0>;
chip-select = <0>;
dcsckon = <6>;
dckcsoff = <4>;
dldh = <6>;
Expand Down
2 changes: 1 addition & 1 deletion dts/arm/nxp/nxp_rt10xx.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -885,7 +885,7 @@
dma-channels = <32>;
dma-requests = <128>;
nxp,mem2mem;
nxp,a_on;
nxp,a-on;
reg = <0x400E8000 0x4000>,
<0x400EC000 0x4000>;
interrupts = <0 0>, <1 0>, <2 0>, <3 0>,
Expand Down
Loading

0 comments on commit de80dbd

Please sign in to comment.