mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
The node names should be generic and DT schema expects certain pattern: dove-cubox.dtb: leds: 'power' does not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+' Link: https://lore.kernel.org/r/20221125144125.477032-1-krzysztof.kozlowski@linaro.org Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
71 lines
1.1 KiB
Plaintext
71 lines
1.1 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0
|
|
/dts-v1/;
|
|
|
|
#include "dove.dtsi"
|
|
|
|
/ {
|
|
model = "Globalscale D2Plug";
|
|
compatible = "globalscale,d2plug", "marvell,dove";
|
|
|
|
memory {
|
|
device_type = "memory";
|
|
reg = <0x00000000 0x40000000>;
|
|
};
|
|
|
|
chosen {
|
|
bootargs = "console=ttyS0,115200n8 earlyprintk";
|
|
};
|
|
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
pinctrl-0 = <&pmx_gpio_0 &pmx_gpio_1 &pmx_gpio_2>;
|
|
pinctrl-names = "default";
|
|
|
|
led-wlan-ap {
|
|
label = "wlan-ap";
|
|
gpios = <&gpio0 0 1>;
|
|
};
|
|
|
|
led-wlan-act {
|
|
label = "wlan-act";
|
|
gpios = <&gpio0 1 1>;
|
|
};
|
|
|
|
led-bluetooth-act {
|
|
label = "bt-act";
|
|
gpios = <&gpio0 2 1>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&uart0 { status = "okay"; };
|
|
&sata0 { status = "okay"; };
|
|
&i2c0 { status = "okay"; };
|
|
&mdio { status = "okay"; };
|
|
ð { status = "okay"; };
|
|
|
|
/* Samsung M8G2F eMMC */
|
|
&sdio0 {
|
|
status = "okay";
|
|
non-removable;
|
|
bus-width = <4>;
|
|
};
|
|
|
|
/* Marvell SD8787 WLAN/BT */
|
|
&sdio1 {
|
|
status = "okay";
|
|
non-removable;
|
|
bus-width = <4>;
|
|
};
|
|
|
|
&spi0 {
|
|
status = "okay";
|
|
|
|
/* spi0.0: 4M Flash Macronix MX25L3205D */
|
|
flash@0 {
|
|
compatible = "st,m25l3205d";
|
|
spi-max-frequency = <20000000>;
|
|
reg = <0>;
|
|
};
|
|
};
|