Minor improvements in ARM64 DTS for v6.3, part two

1. Drop deprecated "device_type" property from serial nodes (apm,
    amazon).
 2. Align UART node names and OPP table names with bindings (hisilicon,
    realtek, synaptics).
 3. Use "okay" for status, as expected by Devicetree specification and
    dtschema.
 -----BEGIN PGP SIGNATURE-----
 
 iQJEBAABCgAuFiEE3dJiKD0RGyM7briowTdm5oaLg9cFAmPWhi0QHGtyemtAa2Vy
 bmVsLm9yZwAKCRDBN2bmhouD15bnD/46OE5bYtLVNhKOXIMtsBV/xiqVSRfW8iux
 TOG2SAw40kVjbEDFz9A1AFnoVg64jLRiR36jnfNgMw/kTAySirtTjHOrtYQqrvlu
 XOo3liYsUvDfKrREQSokyQCvuIx2NEMSGRkPdxtyXy4k2G23lEeqigdllSRNlEMb
 JWg9e9COZhxVN2bSZq5QotSof3Tyqpc1CwTSLBM03PIe+/onOW/H5HjLiF4rdC23
 i4bRpojjJ5fW2bfh/YzR4CWbeIFqR/hcNMOik1AxWPU6gj2v9x++MClbQHeisQjS
 RD63yeGJrDdV0NYK9ncMYyvBTkBpLMBHlEd1u7qduFZ8dRTtLGAgrCks5dc5INu3
 0BZ9VfC7z0Z2wipdI5eWCoHNa5WMBA64nlYvDyLqJKDqQ5tbhtT0bYMMiIQoijAO
 hLQQn/cuLxl4SAsFjbqqpSVubzZfXioIjFAJrZJ7XUrNYcwQERk91i2F4qPqHiJG
 dl0pIO3HgTraZx8qmf/aLxX0V1KHM2VkqdboQMka47q7w93ZF4lk3haxQMQaPYUb
 lRlKZeHfC14ITcQJAN8KVuCvSo/HD4vxGPl94cC1kwGslfJ8vABvBvjW9kKIzhi9
 pGV6tVL/0Jek8rHywRVqMshS6yk9WRrAdV2qdh/5Y/V4AXSuXFlKpdBDnsig5row
 k+WSs2oHZg==
 =LXgB
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmPYPeAACgkQmmx57+YA
 GNn1Kg//UDWdoX+MO96K7h6ymSqSWHt61j8kEwzUReuPg0/Oed8w56ngHQAHIHiw
 an7SqrFS9uZOZC4VeCjZtSaV6oKg600YZ/sk57d+gVcbGZ9EcsZt3H0l71NaBYFi
 5dbvFzVVUgBOV6jEUukf5+f/96am/IWAB/fNvkNXy2v9/LPmGAtei142xinRF4Ih
 rO9nhlxUUbF76wVMWxcHF8Sty4gDFhUWDGs7mXSE8rKiOnwxJhq970nYdsvfUgm3
 paW2wDQZg8MNAE7vsCY9dyfsbLzL2Ss9lFoemwUiQDkKRx8fG1E6FunkMSb4SY3r
 qlvkJ+rV908ZuDqNurmjyZabbwP+lSuP/oN3DuciKtoPRAN7RjQEXWNYu5Dtj2Dv
 DMaomtpimigTrp7T5aeH2EfAWZzqMAy3fMvshaoByRc20o86RfgrVBK0b+SeZdcY
 WzrBbAgM3+mgxEISrx1dIblRvjFfg2XEpviTWXqrBER5J9DM+POpuVDUEUt7+L96
 wVrM9TMFjHzmOqoIVM2pgDwyT61SRxAkrsfrJlTGAOAHKbfl3fVglc5/qGHHPVfI
 xdmVuCUj2SEGzWylqAU8KYb1tzggN3+sy5GZMH3/+o+6aS4MBSFjSRh417jSRZ/E
 2Dfr8oycEnIuhkxBkbYKEUCf0i2VzBtgeG28VjY/WU/PSUradUI=
 =CEON
 -----END PGP SIGNATURE-----

Merge tag 'dt64-cleanup-6.3-2' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-dt into arm/dt

Minor improvements in ARM64 DTS for v6.3, part two

1. Drop deprecated "device_type" property from serial nodes (apm,
   amazon).
2. Align UART node names and OPP table names with bindings (hisilicon,
   realtek, synaptics).
3. Use "okay" for status, as expected by Devicetree specification and
   dtschema.

* tag 'dt64-cleanup-6.3-2' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-dt:
  arm64: dts: amd: use "okay" for status
  arm64: dts: apm: use "okay" for status
  arm64: dts: microchip: use "okay" for status
  arm64: dts: synaptics: align UART node name with bindings
  arm64: dts: hisilicon: align UART node name with bindings
  arm64: dts: realtek: align UART node name with bindings
  arm64: dts: amazon: drop deprecated serial device_type
  arm64: dts: apm: drop deprecated serial device_type

Link: https://lore.kernel.org/r/20230129144525.5802-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
Arnd Bergmann 2023-01-30 22:59:59 +01:00
commit 54a39a28ae
12 changed files with 51 additions and 60 deletions

View File

@ -159,7 +159,6 @@
uart0: serial@1883000 {
compatible = "ns16550a";
device_type = "serial";
reg = <0x1883000 0x1000>;
interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
clock-frequency = <500000000>;
@ -170,7 +169,6 @@
uart1: serial@1884000 {
compatible = "ns16550a";
device_type = "serial";
reg = <0x1884000 0x1000>;
interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
clock-frequency = <500000000>;
@ -181,7 +179,6 @@
uart2: serial@1885000 {
compatible = "ns16550a";
device_type = "serial";
reg = <0x1885000 0x1000>;
interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
clock-frequency = <500000000>;
@ -192,7 +189,6 @@
uart3: serial@1886000 {
compatible = "ns16550a";
device_type = "serial";
reg = <0x1886000 0x1000>;
interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
clock-frequency = <500000000>;

View File

@ -26,7 +26,7 @@
};
&ccp0 {
status = "ok";
status = "okay";
amd,zlib-support = <1>;
};
@ -34,31 +34,31 @@
* NOTE: In Rev.B, gpio0 is reserved.
*/
&gpio1 {
status = "ok";
status = "okay";
};
&gpio4 {
status = "ok";
status = "okay";
};
&i2c0 {
status = "ok";
status = "okay";
};
&i2c1 {
status = "ok";
status = "okay";
};
&pcie0 {
status = "ok";
status = "okay";
};
&spi0 {
status = "ok";
status = "okay";
};
&spi1 {
status = "ok";
status = "okay";
sdcard0: sdcard@0 {
compatible = "mmc-spi-slot";
reg = <0>;

View File

@ -26,7 +26,7 @@
};
&ccp0 {
status = "ok";
status = "okay";
amd,zlib-support = <1>;
};
@ -34,43 +34,43 @@
* NOTE: In Rev.B, gpio0 is reserved.
*/
&gpio1 {
status = "ok";
status = "okay";
};
&gpio2 {
status = "ok";
status = "okay";
};
&gpio3 {
status = "ok";
status = "okay";
};
&gpio4 {
status = "ok";
status = "okay";
};
&i2c0 {
status = "ok";
status = "okay";
};
&i2c1 {
status = "ok";
status = "okay";
};
&pcie0 {
status = "ok";
status = "okay";
};
&sata1 {
status = "ok";
status = "okay";
};
&spi0 {
status = "ok";
status = "okay";
};
&spi1 {
status = "ok";
status = "okay";
sdcard0: sdcard@0 {
compatible = "mmc-spi-slot";
reg = <0>;
@ -85,7 +85,7 @@
};
&ipmi_kcs {
status = "ok";
status = "okay";
};
&smb0 {

View File

@ -45,38 +45,38 @@
};
&serial0 {
status = "ok";
status = "okay";
};
&sata1 {
status = "ok";
status = "okay";
};
&sata2 {
status = "ok";
status = "okay";
};
&sata3 {
status = "ok";
status = "okay";
};
&sgenet0 {
status = "ok";
status = "okay";
};
&xgenet1 {
status = "ok";
status = "okay";
};
&mmc0 {
status = "ok";
status = "okay";
};
&i2c4 {
rtc68: rtc@68 {
compatible = "dallas,ds1337";
reg = <0x68>;
status = "ok";
status = "okay";
};
};

View File

@ -45,36 +45,36 @@
};
&pcie0clk {
status = "ok";
status = "okay";
};
&pcie0 {
status = "ok";
status = "okay";
};
&serial0 {
status = "ok";
status = "okay";
};
&menet {
status = "ok";
status = "okay";
};
&sgenet0 {
status = "ok";
status = "okay";
};
&sgenet1 {
status = "ok";
status = "okay";
};
&xgenet {
status = "ok";
status = "okay";
rxlos-gpios = <&sbgpio 12 1>;
};
&mmc0 {
status = "ok";
status = "okay";
};
&mdio {

View File

@ -588,7 +588,6 @@
};
serial0: serial@10600000 {
device_type = "serial";
compatible = "ns16550";
reg = <0 0x10600000 0x0 0x1000>;
reg-shift = <2>;

View File

@ -270,7 +270,7 @@
reg = <0x0 0x1f22c000 0x0 0x1000>;
reg-names = "csr-reg";
clock-output-names = "sataphy2clk";
status = "ok";
status = "okay";
csr-offset = <0x4>;
csr-mask = <0x3a>;
enable-offset = <0x0>;
@ -284,7 +284,7 @@
reg = <0x0 0x1f23c000 0x0 0x1000>;
reg-names = "csr-reg";
clock-output-names = "sataphy3clk";
status = "ok";
status = "okay";
csr-offset = <0x4>;
csr-mask = <0x3a>;
enable-offset = <0x0>;
@ -763,7 +763,6 @@
serial0: serial@1c020000 {
status = "disabled";
device_type = "serial";
compatible = "ns16550a";
reg = <0 0x1c020000 0x0 0x1000>;
reg-shift = <2>;
@ -774,7 +773,6 @@
serial1: serial@1c021000 {
status = "disabled";
device_type = "serial";
compatible = "ns16550a";
reg = <0 0x1c021000 0x0 0x1000>;
reg-shift = <2>;
@ -785,7 +783,6 @@
serial2: serial@1c022000 {
status = "disabled";
device_type = "serial";
compatible = "ns16550a";
reg = <0 0x1c022000 0x0 0x1000>;
reg-shift = <2>;
@ -796,7 +793,6 @@
serial3: serial@1c023000 {
status = "disabled";
device_type = "serial";
compatible = "ns16550a";
reg = <0 0x1c023000 0x0 0x1000>;
reg-shift = <2>;
@ -864,7 +860,7 @@
reg = <0x0 0x1f22a000 0x0 0x100>;
#phy-cells = <1>;
clocks = <&sataphy2clk 0>;
status = "ok";
status = "okay";
apm,tx-boost-gain = <30 30 30 30 30 30>;
apm,tx-eye-tuning = <1 10 10 2 10 10>;
};
@ -874,7 +870,7 @@
reg = <0x0 0x1f23a000 0x0 0x100>;
#phy-cells = <1>;
clocks = <&sataphy3clk 0>;
status = "ok";
status = "okay";
apm,tx-boost-gain = <31 31 31 31 31 31>;
apm,tx-eye-tuning = <2 10 10 2 10 10>;
};
@ -903,7 +899,7 @@
<0x0 0x1f227000 0x0 0x1000>;
interrupts = <0x0 0x87 0x4>;
dma-coherent;
status = "ok";
status = "okay";
clocks = <&sata23clk 0>;
phys = <&phy2 0>;
phy-names = "sata-phy";
@ -917,7 +913,7 @@
<0x0 0x1f23e000 0x0 0x1000>;
interrupts = <0x0 0x88 0x4>;
dma-coherent;
status = "ok";
status = "okay";
clocks = <&sata45clk 0>;
phys = <&phy3 0>;
phy-names = "sata-phy";

View File

@ -1254,7 +1254,7 @@
};
};
uart0: uart@602b0000 {
uart0: serial@602b0000 {
compatible = "arm,sbsa-uart";
reg = <0x0 0x602b0000 0x0 0x1000>;
interrupt-parent = <&mbigen_uart>;

View File

@ -538,7 +538,7 @@
};
&mdio3 {
status = "ok";
status = "okay";
phy64: ethernet-phy@64 {
reg = <28>;
};

View File

@ -208,7 +208,7 @@
};
&mdio0 {
status = "ok";
status = "okay";
phy0: ethernet-phy@0 {
reg = <0>;
};
@ -284,7 +284,7 @@
};
&mdio1 {
status = "ok";
status = "okay";
phy24: ethernet-phy@24 {
reg = <0>;
};
@ -360,7 +360,7 @@
};
&mdio3 {
status = "ok";
status = "okay";
phy64: ethernet-phy@64 {
reg = <28>;
};

View File

@ -195,7 +195,7 @@
};
&iso {
uart0: serial0@800 {
uart0: serial@800 {
compatible = "snps,dw-apb-uart";
reg = <0x800 0x400>;
reg-shift = <2>;
@ -207,7 +207,7 @@
};
&misc {
uart1: serial1@200 {
uart1: serial@200 {
compatible = "snps,dw-apb-uart";
reg = <0x200 0x400>;
reg-shift = <2>;
@ -217,7 +217,7 @@
status = "disabled";
};
uart2: serial2@400 {
uart2: serial@400 {
compatible = "snps,dw-apb-uart";
reg = <0x400 0x400>;
reg-shift = <2>;

View File

@ -289,7 +289,7 @@
};
};
uart0: uart@d000 {
uart0: serial@d000 {
compatible = "snps,dw-apb-uart";
reg = <0xd000 0x100>;
interrupts = <8>;