Skip to content

Commit ca9ff59

Browse files
retro98boyigorpecovnik
authored andcommitted
Copy 6.18/cniot-core.dts to 6.12/cniot-core.dts
1 parent 6b53921 commit ca9ff59

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

patch/kernel/archive/meson64-6.12/dt/meson-g12b-a311d-cainiao-cniot-core.dts

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
22
/*
33
* Copyright (c) 2019 BayLibre, SAS
4-
* Author: Neil Armstrong <narmstrong@baylibre.com>
4+
* Copyright (c) 2019 Neil Armstrong <narmstrong@baylibre.com>
55
* Copyright (c) 2019 Christian Hewitt <christianshewitt@gmail.com>
66
* Copyright (c) 2025 retro98boy <retro98boy@qq.com>
77
*/
@@ -21,7 +21,7 @@
2121
aliases {
2222
serial0 = &uart_AO;
2323
ethernet0 = &ethmac;
24-
rtc99 = &vrtc;
24+
rtc1 = &vrtc;
2525
};
2626

2727
chosen {
@@ -38,7 +38,7 @@
3838
#cooling-cells = <2>;
3939
cooling-levels = <0 120 170 220>;
4040
pwms = <&pwm_cd 1 40000 1>;
41-
tach-gpio = <&gpio GPIOA_4 GPIO_ACTIVE_HIGH>;
41+
tach-gpio = <&gpio GPIOA_3 GPIO_ACTIVE_HIGH>;
4242
};
4343

4444
gpio-keys-polled {
@@ -82,12 +82,11 @@
8282
};
8383
};
8484

85-
ht6872: ht6872 {
85+
ht6872: speaker-amplifier {
8686
compatible = "simple-audio-amplifier";
8787
enable-gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_HIGH>;
8888
VCC-supply = <&vdd_amp>;
89-
sound-name-prefix = "HT6872";
90-
status = "okay";
89+
sound-name-prefix = "Speaker Amplifier";
9190
};
9291

9392
sdio_pwrseq: sdio-pwrseq {
@@ -205,7 +204,7 @@
205204

206205
sound {
207206
compatible = "amlogic,axg-sound-card";
208-
model = "cainiao-cniot-core";
207+
model = "cniot-core";
209208
audio-widgets = "Speaker", "Internal Speaker";
210209
audio-aux-devs = <&tdmout_a>, <&tdmout_b>, <&ht6872>;
211210
audio-routing = "TDMOUT_A IN 0", "FRDDR_A OUT 0",
@@ -216,10 +215,10 @@
216215
"TDMOUT_B IN 1", "FRDDR_B OUT 1",
217216
"TDMOUT_B IN 2", "FRDDR_C OUT 1",
218217
"TDM_B Playback", "TDMOUT_B OUT",
219-
"HT6872 INL", "ACODEC LOLP",
220-
"HT6872 INR", "ACODEC LORP",
221-
"Internal Speaker", "HT6872 OUTL",
222-
"Internal Speaker", "HT6872 OUTR";
218+
"Speaker Amplifier INL", "ACODEC LOLP",
219+
"Speaker Amplifier INR", "ACODEC LORP",
220+
"Internal Speaker", "Speaker Amplifier OUTL",
221+
"Internal Speaker", "Speaker Amplifier OUTR";
223222

224223
clocks = <&clkc CLKID_MPLL2>,
225224
<&clkc CLKID_MPLL0>,
@@ -368,7 +367,7 @@
368367
&cpu_thermal {
369368
trips {
370369
cpu_active: cpu-active {
371-
temperature = <60000>; /* millicelsius */
370+
temperature = <55000>; /* millicelsius */
372371
hysteresis = <5000>; /* millicelsius */
373372
type = "active";
374373
};
@@ -392,7 +391,7 @@
392391
};
393392

394393
&ext_mdio {
395-
rtl8211f: rtl8211f@0 {
394+
rtl8211f: ethernet-phy@0 {
396395
reg = <0>;
397396
max-speed = <1000>;
398397

@@ -517,7 +516,8 @@
517516

518517
/*
519518
* GPIOH_4 is connected to 6 WS2812 LEDs.
520-
* Reusing GPIOH_4 as SPI MOSI to control the WS2812 offers superior performance compared to the GPIO method.
519+
* Reusing GPIOH_4 as SPI MOSI to control the WS2812
520+
* offers superior performance compared to the GPIO method.
521521
*/
522522
&spicc1_pins {
523523
mux {

0 commit comments

Comments
 (0)