|
1 | 1 | // SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
2 | 2 | /* |
3 | 3 | * Copyright (c) 2019 BayLibre, SAS |
4 | | - * Author: Neil Armstrong <narmstrong@baylibre.com> |
| 4 | + * Copyright (c) 2019 Neil Armstrong <narmstrong@baylibre.com> |
5 | 5 | * Copyright (c) 2019 Christian Hewitt <christianshewitt@gmail.com> |
6 | 6 | * Copyright (c) 2025 retro98boy <retro98boy@qq.com> |
7 | 7 | */ |
|
21 | 21 | aliases { |
22 | 22 | serial0 = &uart_AO; |
23 | 23 | ethernet0 = ðmac; |
24 | | - rtc99 = &vrtc; |
| 24 | + rtc1 = &vrtc; |
25 | 25 | }; |
26 | 26 |
|
27 | 27 | chosen { |
|
38 | 38 | #cooling-cells = <2>; |
39 | 39 | cooling-levels = <0 120 170 220>; |
40 | 40 | pwms = <&pwm_cd 1 40000 1>; |
41 | | - tach-gpio = <&gpio GPIOA_4 GPIO_ACTIVE_HIGH>; |
| 41 | + tach-gpio = <&gpio GPIOA_3 GPIO_ACTIVE_HIGH>; |
42 | 42 | }; |
43 | 43 |
|
44 | 44 | gpio-keys-polled { |
|
82 | 82 | }; |
83 | 83 | }; |
84 | 84 |
|
85 | | - ht6872: ht6872 { |
| 85 | + ht6872: speaker-amplifier { |
86 | 86 | compatible = "simple-audio-amplifier"; |
87 | 87 | enable-gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_HIGH>; |
88 | 88 | VCC-supply = <&vdd_amp>; |
89 | | - sound-name-prefix = "HT6872"; |
90 | | - status = "okay"; |
| 89 | + sound-name-prefix = "Speaker Amplifier"; |
91 | 90 | }; |
92 | 91 |
|
93 | 92 | sdio_pwrseq: sdio-pwrseq { |
|
205 | 204 |
|
206 | 205 | sound { |
207 | 206 | compatible = "amlogic,axg-sound-card"; |
208 | | - model = "cainiao-cniot-core"; |
| 207 | + model = "cniot-core"; |
209 | 208 | audio-widgets = "Speaker", "Internal Speaker"; |
210 | 209 | audio-aux-devs = <&tdmout_a>, <&tdmout_b>, <&ht6872>; |
211 | 210 | audio-routing = "TDMOUT_A IN 0", "FRDDR_A OUT 0", |
|
216 | 215 | "TDMOUT_B IN 1", "FRDDR_B OUT 1", |
217 | 216 | "TDMOUT_B IN 2", "FRDDR_C OUT 1", |
218 | 217 | "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"; |
223 | 222 |
|
224 | 223 | clocks = <&clkc CLKID_MPLL2>, |
225 | 224 | <&clkc CLKID_MPLL0>, |
|
368 | 367 | &cpu_thermal { |
369 | 368 | trips { |
370 | 369 | cpu_active: cpu-active { |
371 | | - temperature = <60000>; /* millicelsius */ |
| 370 | + temperature = <55000>; /* millicelsius */ |
372 | 371 | hysteresis = <5000>; /* millicelsius */ |
373 | 372 | type = "active"; |
374 | 373 | }; |
|
392 | 391 | }; |
393 | 392 |
|
394 | 393 | &ext_mdio { |
395 | | - rtl8211f: rtl8211f@0 { |
| 394 | + rtl8211f: ethernet-phy@0 { |
396 | 395 | reg = <0>; |
397 | 396 | max-speed = <1000>; |
398 | 397 |
|
|
517 | 516 |
|
518 | 517 | /* |
519 | 518 | * 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. |
521 | 521 | */ |
522 | 522 | &spicc1_pins { |
523 | 523 | mux { |
|
0 commit comments