Amlogic ARM DT for v6.16:

- UART RX/TX pull-up pinconf properties for all SoCs
 - New Boards:
   - Meson8 TCU Fernsehfee 3.0
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEPVPGJshWBf4d9CyLd9zb2sjISdEFAmgjGgkACgkQd9zb2sjI
 SdH1zBAAjgDUyWG1UTpAHZ/3W+gW6SvKgEHhkYTaDLCIEcnSVrNha6mIfpK9UWyE
 0FWdcwj6tKkF0p+Ot2g5W2A+G/ZjWSNUTpsZbAEJGoxKOsl5/rrXSUp5bkZl/1sl
 iAlfKNMC6o+wUEQtVLlNON5yvPrh97EyF0xtUw7U3d47E01Xn7JTIS9VxTBYtnYB
 /wZupt4HoMtMU+sQmzL6z5nZXVdGAngbN+/tUFr6VsAIPhOMYEXc8obsCmkqtOTR
 bcXFVO9t/zcS64TPNyLu2Z3/D08mJMxWjtheKSfpyuCINdabOebkxAvgJ0l+ElAY
 OHZ5uQ7ZiLVaVSvYEQaTfewTpjPpZ4z9iPEChxHRteADT2f2+OEC0UFCsC+baphU
 n9fn9hsPiwqIEVn/Jl+/zx/rXhFDVKBHKGw0OZo3VkKeHjc4uB529+ShuBEqVlAr
 C7DVWgWYQP4PE0Fpt2e1BKJiiubuEBgThBZVjVfIarVSL6n5Y73fkcpVfe2B60vp
 ya1LE6tsM59QVRd/NX2GDRp3ZRYQwDVcIKGTOos8WsMwm0vTXfmTahsC5tT4xHce
 MEq5qDvOY0xspY0oQ4fJSaKI8EjxZrDdHtUUh8k9CsYla2mayYu+4Cyu8hB0ekeB
 tBPUkN4VGHNCFnYOsIZZoAbH+UZyemsGYs6B//GOF4MNsn+WuYU=
 =MyHJ
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmguCNsACgkQmmx57+YA
 GNkc6w/+K3xUODX7CMgeOKBfbJhIWCO2zQaa/OwGGoW7J2hDC/8e9vvr/OLQ3N9T
 TKb8/j86wi60pH1lLwW5oM1NdYG737t2+oM73egTDk29oQl2xxtnjLBGtzaBbzCX
 DKKmA6oYczrT3qPQll5Gwvb2bIGMOpEGRbti9S5P+gntdDna7ewnzqs2SHxctSOj
 JbdmW6MynUPFCPuZe2PVyRjpv/4Z2f9JbkGoc4xr2umLK+w1XwcQ6WtjN7PvotGd
 9Pn5J/I6udkx2l4jQK40MzY+BwsgvlXaUDzAO56phr6NEpfIStm52uUcdGO7Xvol
 OiUdW9y961YjMCDy7tdy2Tf95Eewt45G7h0624FKMZl/fIRJunP6CNI0DjoD7K3g
 lt6tCgRrznrkpn0qiQrZRnhutt9exRZMi1jpltmZqz4IKFoJ84olyrubMIuir05l
 J/XXu6XCs3ZL1Pl2+P4hgxjVBE3UlqP/reSeQPugxdXg0/HiWNQfLo1Le7p3C3sy
 WRObilgITUc/W2y6rSQuNf7jdjAlkszfnXb1tp/GBJp0C2Rc/8QXO/FHZqqkn0Il
 XLqY/muffv4PkqZcK3GYUI/UulPJ7il0DjRdMoe9K0mSHJ5+KR3N/VjdaG2yPJ/5
 Acjwwo0IHPZ4FTQ8hShw5rsNDstf/igUEKDh4iAKBslOSOEJNfY=
 =VPeq
 -----END PGP SIGNATURE-----

Merge tag 'amlogic-arm-dt-for-v6.16' of https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux into soc/dt

Amlogic ARM DT for v6.16:
- UART RX/TX pull-up pinconf properties for all SoCs
- New Boards:
  - Meson8 TCU Fernsehfee 3.0

* tag 'amlogic-arm-dt-for-v6.16' of https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux:
  ARM: dts: amlogic: meson8-fernsehfee3: Describe regulators
  ARM: dts: amlogic: Add TCU Fernsehfee 3.0
  dt-bindings: arm: amlogic: Add TCU Fernsehfee 3.0 board
  dt-bindings: vendor-prefixes: Add TC Unterhaltungselektronik AG
  ARM: dts: amlogic: meson8b: enable UART RX and TX pull up by default
  ARM: dts: amlogic: meson8: enable UART RX and TX pull up by default

Link: https://lore.kernel.org/r/838c5305-5c5b-4232-b7fe-86598dc50ace@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
Arnd Bergmann 2025-05-21 19:09:46 +02:00
commit 709c8afa15
6 changed files with 332 additions and 4 deletions

View File

@ -27,6 +27,7 @@ properties:
items:
- enum:
- minix,neo-x8
- tcu,fernsehfee3
- const: amlogic,meson8
- description: Boards with the Amlogic Meson8m2 SoC

View File

@ -1496,6 +1496,8 @@ patternProperties:
description: Toby Churchill Ltd.
"^tcs,.*":
description: Shenzhen City Tang Cheng Technology Co., Ltd.
"^tcu,.*":
description: TC Unterhaltungselektronik AG
"^tdo,.*":
description: Shangai Top Display Optoelectronics Co., Ltd
"^team-source-display,.*":

View File

@ -1,6 +1,7 @@
# SPDX-License-Identifier: GPL-2.0
dtb-$(CONFIG_MACH_MESON8) += \
meson8-minix-neo-x8.dtb \
meson8-fernsehfee3.dtb \
meson8b-ec100.dtb \
meson8b-mxq.dtb \
meson8b-odroidc1.dtb \

View File

@ -0,0 +1,306 @@
// SPDX-License-Identifier: GPL-2.0-only OR MIT
// Copyright (C) 2025 J. Neuschäfer <j.ne@posteo.net>
/dts-v1/;
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/linux-event-codes.h>
#include <dt-bindings/leds/common.h>
#include "meson8.dtsi"
/ {
model = "Fernsehfee 3.0";
compatible = "tcu,fernsehfee3", "amlogic,meson8";
aliases {
serial0 = &uart_AO;
gpiochip0 = &gpio;
gpiochip1 = &gpio_ao;
i2c0 = &i2c_AO;
i2c1 = &i2c_B;
mmc0 = &sdhc;
mmc1 = &sdio;
};
chosen {
stdout-path = "serial0:115200n8";
};
memory@0 {
device_type = "memory";
reg = <0x0 0x40000000>; /* 1 GiB */
};
gpio-keys {
compatible = "gpio-keys-polled";
poll-interval = <100>;
power-button {
label = "Power button";
linux,code = <KEY_POWER>;
gpios = <&gpio_ao GPIOAO_3 GPIO_ACTIVE_LOW>;
};
};
leds {
compatible = "gpio-leds";
led-0 {
/*
* The power LED can be turned red, otherwise it is green.
*/
gpios = <&gpio_ao GPIO_TEST_N GPIO_ACTIVE_LOW>;
function = LED_FUNCTION_POWER;
color = <LED_COLOR_ID_RED>;
};
};
vcc_5v: regulator-5v {
/* 5V rail, always on as long as the system is running */
compatible = "regulator-fixed";
regulator-name = "5V";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
};
vcc_3v3: regulator-3v3 {
/* Chipown AP2420 step-down converter */
compatible = "regulator-fixed";
regulator-name = "3.3V";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
vin-supply = <&vcc_5v>;
};
wifi_3v3: regulator-wifi {
compatible = "regulator-fixed";
regulator-name = "3.3V-WIFI";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
vin-supply = <&vcc_3v3>;
gpio = <&gpio GPIOX_11 GPIO_ACTIVE_HIGH>;
enable-active-high;
};
};
&cpu0 {
cpu-supply = <&vcck>;
};
&ethmac {
status = "okay";
pinctrl-0 = <&eth_pins>;
pinctrl-names = "default";
phy-handle = <&eth_phy0>;
phy-mode = "rmii";
mdio {
compatible = "snps,dwmac-mdio";
#address-cells = <1>;
#size-cells = <0>;
eth_phy0: ethernet-phy@0 {
/* IC Plus IP101A (0x02430c54) */
reg = <0>;
reset-assert-us = <10000>;
reset-deassert-us = <10000>;
reset-gpios = <&gpio GPIOH_4 GPIO_ACTIVE_LOW>;
};
};
};
&i2c_AO {
status = "okay";
pinctrl-0 = <&i2c_ao_pins>;
pinctrl-names = "default";
pmic@32 {
compatible = "ricoh,rn5t618";
reg = <0x32>;
system-power-controller;
regulators {
vcck: DCDC1 {
regulator-name = "VCCK";
regulator-min-microvolt = <825000>;
regulator-max-microvolt = <1150000>;
regulator-boot-on;
regulator-always-on;
};
vddee: DCDC2 {
/* the output is also used as VDDAO */
regulator-name = "VDD_EE";
regulator-min-microvolt = <950000>;
regulator-max-microvolt = <1150000>;
regulator-boot-on;
regulator-always-on;
};
DCDC3 {
regulator-name = "VDD_DDR";
regulator-min-microvolt = <1500000>;
regulator-max-microvolt = <1500000>;
regulator-boot-on;
regulator-always-on;
};
LDO1 {
regulator-name = "VDDIO_AO28";
regulator-min-microvolt = <2900000>;
regulator-max-microvolt = <2900000>;
regulator-boot-on;
regulator-always-on;
};
LDO2 {
regulator-name = "VDDIO_AO18";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-boot-on;
regulator-always-on;
};
vcc1v8_usb: LDO3 {
regulator-name = "VCC1V8_USB";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-boot-on;
};
LDO4 {
/* This one appears to be unused */
regulator-name = "VCC2V8";
regulator-min-microvolt = <2850000>;
regulator-max-microvolt = <2850000>;
};
LDO5 {
regulator-name = "AVDD1V8";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-boot-on;
regulator-always-on;
};
LDORTC1 {
regulator-name = "VDD_LDO";
regulator-min-microvolt = <2700000>;
regulator-max-microvolt = <2700000>;
regulator-boot-on;
regulator-always-on;
};
LDORTC2 {
regulator-name = "RTC_0V9";
regulator-min-microvolt = <900000>;
regulator-max-microvolt = <900000>;
regulator-boot-on;
regulator-always-on;
};
};
};
eeprom@50 {
/* Fairchild FM24C08A */
compatible = "atmel,24c08";
reg = <0x50>;
pagesize = <16>;
wp-gpios = <&gpio GPIOH_3 GPIO_ACTIVE_HIGH>;
num-addresses = <4>;
};
};
&i2c_B {
status = "okay";
pinctrl-0 = <&i2c_b_pins>;
pinctrl-names = "default";
/* TODO: SiI9293 HDMI receiver @ 0x39 */
};
&mali {
mali-supply = <&vddee>;
};
&sdhc {
status = "okay";
pinctrl-0 = <&sdxc_c_pins>;
pinctrl-names = "default";
/* eMMC */
bus-width = <8>;
max-frequency = <100000000>;
disable-wp;
cap-mmc-highspeed;
mmc-hs200-1_8v;
no-sdio;
vmmc-supply = <&vcc_3v3>;
vqmmc-supply = <&vcc_3v3>;
};
&sdio {
status = "okay";
pinctrl-0 = <&sd_b_pins>;
/* SD card */
slot@1 {
compatible = "mmc-slot";
reg = <1>;
status = "okay";
bus-width = <4>;
cap-mmc-highspeed;
cap-sd-highspeed;
disable-wp;
cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_LOW>;
vmmc-supply = <&vcc_3v3>;
};
};
&uart_AO {
status = "okay";
pinctrl-0 = <&uart_ao_a_pins>;
pinctrl-names = "default";
};
&usb0 {
status = "okay";
};
&usb0_phy {
status = "okay";
phy-supply = <&vcc1v8_usb>;
};
&usb1 {
status = "okay";
dr_mode = "host";
#address-cells = <1>;
#size-cells = <0>;
wifi: wifi@1 {
/* Realtek RTL8188 2.4GHz WiFi module */
compatible = "usbbda,179";
reg = <1>;
vdd-supply = <&wifi_3v3>;
};
};
&usb1_phy {
status = "okay";
phy-supply = <&vcc1v8_usb>;
};
&ir_receiver {
status = "okay";
pinctrl-0 = <&ir_recv_pins>;
pinctrl-names = "default";
};

View File

@ -398,7 +398,7 @@ uart_ao_a_pins: uart_ao_a {
mux {
groups = "uart_tx_ao_a", "uart_rx_ao_a";
function = "uart_ao";
bias-disable;
bias-pull-up;
};
};
@ -481,6 +481,14 @@ gpio: bank@80 {
gpio-ranges = <&pinctrl_cbus 0 0 120>;
};
i2c_b_pins: i2c-b {
mux {
groups = "i2c_sda_b", "i2c_sck_b";
function = "i2c_b";
bias-disable;
};
};
sd_a_pins: sd-a {
mux {
groups = "sd_d0_a", "sd_d1_a", "sd_d2_a",
@ -526,6 +534,16 @@ mux {
};
};
sdxc_c_pins: sdxc-c {
mux {
groups = "sdxc_d0_c", "sdxc_d13_c",
"sdxc_clk_c", "sdxc_cmd_c",
"sdxc_d47_c";
function = "sdxc_c";
bias-pull-up;
};
};
spdif_out_pins: spdif-out {
mux {
groups = "spdif_out";
@ -567,7 +585,7 @@ mux {
groups = "uart_tx_a1",
"uart_rx_a1";
function = "uart_a";
bias-disable;
bias-pull-up;
};
};

View File

@ -368,7 +368,7 @@ uart_ao_a_pins: uart_ao_a {
mux {
groups = "uart_tx_ao_a", "uart_rx_ao_a";
function = "uart_ao";
bias-disable;
bias-pull-up;
};
};
@ -521,7 +521,7 @@ mux {
groups = "uart_tx_b0",
"uart_rx_b0";
function = "uart_b";
bias-disable;
bias-pull-up;
};
};