Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/dts arm: dts: adapt for dts-5.15



details:   https://anonhg.NetBSD.org/src/rev/18410700cd0e
branches:  trunk
changeset: 1024859:18410700cd0e
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun Nov 07 17:11:43 2021 +0000

description:
arm: dts: adapt for dts-5.15

diffstat:

 sys/arch/arm/dts/meson-g12b-odroid-n2-plus.dts          |   228 ---
 sys/arch/arm/dts/meson8b-odroidc1.dts                   |    19 +-
 sys/arch/arm/dts/meson8b.dtsi                           |    34 +-
 sys/arch/arm/dts/rk3328-rock64.dts                      |    38 -
 sys/arch/arm/dts/rk3328.dtsi                            |    53 -
 sys/arch/arm/dts/rk3399-pinebook-pro.dts                |  1117 +--------------
 sys/arch/arm/dts/rk3399-rockpro64.dts                   |    61 +-
 sys/arch/arm/dts/sun50i-a64-pine64-plus.dts             |    25 +-
 sys/arch/arm/dts/sun50i-a64-pinebook.dts                |   129 +-
 sys/arch/arm/dts/sun50i-a64-sopine-baseboard.dts        |    15 +-
 sys/arch/arm/dts/sun50i-a64.dtsi                        |    64 +-
 sys/arch/arm/dts/sun50i-h5-libretech-all-h3-cc.dts      |    48 -
 sys/arch/arm/dts/sun50i-h5-nanopi-neo-plus2.dts         |    20 -
 sys/arch/arm/dts/sun50i-h5.dtsi                         |    46 -
 sys/arch/arm/dts/sun50i-h6-orangepi-lite2.dts           |   341 ----
 sys/arch/arm/dts/sun7i-a20-olinuxino-lime2-emmc-spi.dts |     4 +-
 sys/arch/arm/dts/sun8i-a83t.dtsi                        |    13 +-
 sys/arch/arm/dts/sun8i-h3-nanopi-duo2.dts               |    99 -
 sys/arch/arm/dts/sun8i-h3-nanopi-m1.dts                 |    41 -
 sys/arch/arm/dts/sun8i-h3-nanopi-neo.dts                |     5 +-
 sys/arch/arm/dts/sun8i-h3-nanopi-r1.dts                 |   204 --
 sys/arch/arm/dts/sun8i-h3.dtsi                          |    75 -
 22 files changed, 49 insertions(+), 2630 deletions(-)

diffs (truncated from 2905 to 300 lines):

diff -r 61bbc2872022 -r 18410700cd0e sys/arch/arm/dts/meson-g12b-odroid-n2-plus.dts
--- a/sys/arch/arm/dts/meson-g12b-odroid-n2-plus.dts    Sun Nov 07 17:11:05 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,228 +0,0 @@
-// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
-/*
- * Copyright (c) 2019 BayLibre, SAS
- * Author: Neil Armstrong <narmstrong%baylibre.com@localhost>
- */
-
-/dts-v1/;
-
-#include "../../../external/gpl2/dts/dist/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts"
-
-/ {
-       compatible = "hardkernel,odroid-n2-plus", "amlogic,s922x", "amlogic,g12b";
-       model = "Hardkernel ODROID-N2Plus";
-
-       vddcpu_a: regulator-vddcpu-a {
-               regulator-min-microvolt = <680000>;
-               regulator-max-microvolt = <1040000>;
-
-               pwms = <&pwm_ab 0 1500 0>;
-
-               /delete-property/ pwm-dutycycle-range;
-
-               /* Voltage Duty-Cycle */
-               voltage-table = <1040000 0>,
-                       <1030000 3>,
-                       <1020000 6>,
-                       <1010000 8>,
-                       <1000000 11>,
-                       <990000 14>,
-                       <980000 17>,
-                       <970000 20>,
-                       <960000 23>,
-                       <950000 26>,
-                       <940000 29>,
-                       <930000 31>,
-                       <920000 34>,
-                       <910000 37>,
-                       <900000 40>,
-                       <890000 43>,
-                       <880000 45>,
-                       <870000 48>,
-                       <860000 51>,
-                       <850000 54>,
-                       <840000 56>,
-                       <830000 59>,
-                       <820000 62>,
-                       <810000 65>,
-                       <800000 68>,
-                       <790000 70>,
-                       <780000 73>,
-                       <770000 76>,
-                       <760000 79>,
-                       <750000 81>,
-                       <740000 84>,
-                       <730000 87>,
-                       <720000 89>,
-                       <710000 92>,
-                       <700000 95>,
-                       <690000 98>,
-                       <680000 100>;
-       };
-
-       vddcpu_b: regulator-vddcpu-b {
-               regulator-min-microvolt = <680000>;
-               regulator-max-microvolt = <1040000>;
-
-               pwms = <&pwm_AO_cd 1 1500 0>;
-
-               /delete-property/ pwm-dutycycle-range;
-
-               /* Voltage Duty-Cycle */
-               voltage-table = <1040000 0>,
-                       <1030000 3>,
-                       <1020000 6>,
-                       <1010000 8>,
-                       <1000000 11>,
-                       <990000 14>,
-                       <980000 17>,
-                       <970000 20>,
-                       <960000 23>,
-                       <950000 26>,
-                       <940000 29>,
-                       <930000 31>,
-                       <920000 34>,
-                       <910000 37>,
-                       <900000 40>,
-                       <890000 43>,
-                       <880000 45>,
-                       <870000 48>,
-                       <860000 51>,
-                       <850000 54>,
-                       <840000 56>,
-                       <830000 59>,
-                       <820000 62>,
-                       <810000 65>,
-                       <800000 68>,
-                       <790000 70>,
-                       <780000 73>,
-                       <770000 76>,
-                       <760000 79>,
-                       <750000 81>,
-                       <740000 84>,
-                       <730000 87>,
-                       <720000 89>,
-                       <710000 92>,
-                       <700000 95>,
-                       <690000 98>,
-                       <680000 100>;
-       };
-
-       /delete-node/ opp-table-0;
-       cpu_opp_table_0: opp-table-0 {
-               compatible = "operating-points-v2";
-               opp-shared;
-
-               opp00 {
-                       opp-hz = /bits/ 64 <500000000>;
-                       opp-microvolt = <730000>;
-               };
-               opp01 {
-                       opp-hz = /bits/ 64 <667000000>;
-                       opp-microvolt = <730000>;
-               };
-               opp02 {
-                       opp-hz = /bits/ 64 <1000000000>;
-                       opp-microvolt = <760000>;
-               };
-               opp03 {
-                       opp-hz = /bits/ 64 <1200000000>;
-                       opp-microvolt = <780000>;
-               };
-               opp04 {
-                       opp-hz = /bits/ 64 <1398000000>;
-                       opp-microvolt = <810000>;
-               };
-               opp05 {
-                       opp-hz = /bits/ 64 <1512000000>;
-                       opp-microvolt = <860000>;
-               };
-               opp06 {
-                       opp-hz = /bits/ 64 <1608000000>;
-                       opp-microvolt = <900000>;
-               };
-               opp07 {
-                       opp-hz = /bits/ 64 <1704000000>;
-                       opp-microvolt = <960000>;
-               };
-               opp08 {
-                       opp-hz = /bits/ 64 <1800000000>;
-                       opp-microvolt = <1020000>;
-               };
-               opp09 {
-                       opp-hz = /bits/ 64 <1908000000>;
-                       opp-microvolt = <1030000>;
-               };
-               opp10 {
-                       opp-hz = /bits/ 64 <2016000000>;
-                       opp-microvolt = <1040000>;
-               };
-       };
-
-       /delete-node/ opp-table-1;
-       cpub_opp_table_1: opp-table-1 {
-               compatible = "operating-points-v2";
-               opp-shared;
-
-               opp00 {
-                       opp-hz = /bits/ 64 <500000000>;
-                       opp-microvolt = <730000>;
-               };
-               opp01 {
-                       opp-hz = /bits/ 64 <667000000>;
-                       opp-microvolt = <730000>;
-               };
-               opp02 {
-                       opp-hz = /bits/ 64 <1000000000>;
-                       opp-microvolt = <730000>;
-               };
-               opp03 {
-                       opp-hz = /bits/ 64 <1200000000>;
-                       opp-microvolt = <750000>;
-               };
-               opp04 {
-                       opp-hz = /bits/ 64 <1398000000>;
-                       opp-microvolt = <770000>;
-               };
-               opp05 {
-                       opp-hz = /bits/ 64 <1512000000>;
-                       opp-microvolt = <770000>;
-               };
-               opp06 {
-                       opp-hz = /bits/ 64 <1608000000>;
-                       opp-microvolt = <780000>;
-               };
-               opp07 {
-                       opp-hz = /bits/ 64 <1704000000>;
-                       opp-microvolt = <790000>;
-               };
-               opp08 {
-                       opp-hz = /bits/ 64 <1800000000>;
-                       opp-microvolt = <830000>;
-               };
-               opp09 {
-                       opp-hz = /bits/ 64 <1908000000>;
-                       opp-microvolt = <860000>;
-               };
-               opp10 {
-                       opp-hz = /bits/ 64 <2016000000>;
-                       opp-microvolt = <910000>;
-               };
-               opp11 {
-                       opp-hz = /bits/ 64 <2100000000>;
-                       opp-microvolt = <960000>;
-               };
-               opp12 {
-                       opp-hz = /bits/ 64 <2208000000>;
-                       opp-microvolt = <1030000>;
-               };
-               opp13 {
-                       opp-hz = /bits/ 64 <2304000000>;
-                       opp-microvolt = <1030000>;
-               };
-               opp14 {
-                       opp-hz = /bits/ 64 <2400000000>;
-                       opp-microvolt = <1040000>;
-               };
-       };
-};
diff -r 61bbc2872022 -r 18410700cd0e sys/arch/arm/dts/meson8b-odroidc1.dts
--- a/sys/arch/arm/dts/meson8b-odroidc1.dts     Sun Nov 07 17:11:05 2021 +0000
+++ b/sys/arch/arm/dts/meson8b-odroidc1.dts     Sun Nov 07 17:11:43 2021 +0000
@@ -1,7 +1,7 @@
-/* $NetBSD: meson8b-odroidc1.dts,v 1.5 2020/03/05 14:24:46 tnn Exp $ */
+/* $NetBSD: meson8b-odroidc1.dts,v 1.6 2021/11/07 17:11:43 jmcneill Exp $ */
 
 /*-
- * Copyright (c) 2019 Jared McNeill <jmcneill%invisible.ca@localhost>
+ * Copyright (c) 2019,2021 Jared McNeill <jmcneill%invisible.ca@localhost>
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -34,11 +34,6 @@
 };
 
 &sdhc {
-       status = "okay";
-
-       pinctrl-0 = <&sdxc_c_pins>;
-       pinctrl-names = "default";
-
        /* eMMC card */
        emmc_card_slot: slot@2 {
                compatible = "mmc-slot";
@@ -52,13 +47,3 @@
                disable-wp;
        };
 };
-
-&ethmac {
-       /delete-property/ snps,reset-gpio;
-       /delete-property/ snps,reset-active-low;
-       /delete-property/ snps,reset-delays-us;
-};
-
-&cpu0 {
-       /delete-property/ cpu-supply;
-};
diff -r 61bbc2872022 -r 18410700cd0e sys/arch/arm/dts/meson8b.dtsi
--- a/sys/arch/arm/dts/meson8b.dtsi     Sun Nov 07 17:11:05 2021 +0000
+++ b/sys/arch/arm/dts/meson8b.dtsi     Sun Nov 07 17:11:43 2021 +0000
@@ -1,7 +1,7 @@
-/* $NetBSD: meson8b.dtsi,v 1.7 2019/08/14 09:54:34 jmcneill Exp $ */
+/* $NetBSD: meson8b.dtsi,v 1.8 2021/11/07 17:11:43 jmcneill Exp $ */
 
 /*-
- * Copyright (c) 2019 Jared McNeill <jmcneill%invisible.ca@localhost>
+ * Copyright (c) 2019,2021 Jared McNeill <jmcneill%invisible.ca@localhost>
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -35,33 +35,3 @@
                status = "disabled";
        };
 };
-
-&pinctrl_cbus {
-       sdxc_c_pins: sdxc-c {
-               mux {
-                       groups = "sdxc_d0_c", "sdxc_d13_c", "sdxc_d47_c", "sdxc_clk_c", "sdxc_cmd_c";
-                       function = "sdxc_c";
-               };
-       };
-};
-
-&cbus {
-       sdhc: mmc@8e00 {



Home | Main Index | Thread Index | Old Index