mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2026-01-05 23:25:00 +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
844 B
Plaintext
46 lines
844 B
Plaintext
// SPDX-License-Identifier: GPL-2.0
|
|
/dts-v1/;
|
|
#include "bcm2835.dtsi"
|
|
#include "bcm2835-rpi.dtsi"
|
|
#include "bcm2835-rpi-common.dtsi"
|
|
#include "bcm283x-rpi-led-deprecated.dtsi"
|
|
|
|
/ {
|
|
leds {
|
|
led-act {
|
|
gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
|
|
memory@0 {
|
|
device_type = "memory";
|
|
reg = <0 0x20000000>;
|
|
};
|
|
|
|
reg_3v3: fixed-regulator {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "3V3";
|
|
regulator-min-microvolt = <3300000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-always-on;
|
|
};
|
|
|
|
reg_1v8: fixed-regulator {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "1V8";
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
regulator-always-on;
|
|
};
|
|
};
|
|
|
|
&led_act {
|
|
gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
&sdhost {
|
|
non-removable;
|
|
vmmc-supply = <®_3v3>;
|
|
vqmmc-supply = <®_1v8>;
|
|
};
|