mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-23 13:05:21 +00:00
The usage of the label property for gpio-leds has been deprecated a long time ago. In bcm2835-rpi.dtsi the ACT LED uses such a label and derive it to almost every Raspberry Pi board. Since we cannot break userspace interface this property must be kept. But we can move the ACT LED into a separate dtsi and include them from the board files. This change have two benefits: - with both new refs it's now clear the LED part is included from a dtsi - new boards do not include the deprecated stuff automatically Reported-by: Alexander Dahl <ada@thorsis.com> Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Link: https://lore.kernel.org/r/20221110173105.6633-3-stefan.wahren@i2se.com Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
46 lines
732 B
Plaintext
46 lines
732 B
Plaintext
// SPDX-License-Identifier: GPL-2.0
|
|
/dts-v1/;
|
|
#include "bcm2711-rpi-4-b.dts"
|
|
|
|
/ {
|
|
compatible = "raspberrypi,400", "brcm,bcm2711";
|
|
model = "Raspberry Pi 400";
|
|
|
|
chosen {
|
|
/* 8250 auxiliary UART instead of pl011 */
|
|
stdout-path = "serial1:115200n8";
|
|
};
|
|
|
|
gpio-poweroff {
|
|
compatible = "gpio-poweroff";
|
|
gpios = <&expgpio 5 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
};
|
|
|
|
&expgpio {
|
|
gpio-line-names = "BT_ON",
|
|
"WL_ON",
|
|
"PWR_LED_OFF",
|
|
"GLOBAL_RESET",
|
|
"VDD_SD_IO_SEL",
|
|
"GLOBAL_SHUTDOWN",
|
|
"SD_PWR_ON",
|
|
"SHUTDOWN_REQUEST";
|
|
};
|
|
|
|
&genet_mdio {
|
|
clock-frequency = <1950000>;
|
|
};
|
|
|
|
&led_pwr {
|
|
gpios = <&gpio 42 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
|
|
&leds {
|
|
/delete-node/ led_act;
|
|
};
|
|
|
|
&pm {
|
|
/delete-property/ system-power-controller;
|
|
};
|