mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-30 16:39:35 +00:00
26ad3c43a7
This enables the use of the MSCC serial GPIO driver on the MSCC VCoreIII 'ocelot' SOC, and add gpio-leds nodes to the pcb123 and pcb120 DT. Signed-off-by: Lars Povlsen <lars.povlsen@microsemi.com>
37 lines
640 B
Text
37 lines
640 B
Text
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
/*
|
|
* Copyright (c) 2018 Microsemi Corporation
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include "mscc,ocelot_pcb.dtsi"
|
|
|
|
/ {
|
|
model = "Ocelot PCB123 Reference Board";
|
|
compatible = "mscc,ocelot-pcb123", "mscc,ocelot";
|
|
|
|
chosen {
|
|
stdout-path = "serial0:115200n8";
|
|
};
|
|
|
|
gpio-leds {
|
|
compatible = "gpio-leds";
|
|
|
|
status_green {
|
|
label = "pcb123:green:status";
|
|
gpios = <&sgpio 43 1>; /* p11.1 */
|
|
default-state = "on";
|
|
};
|
|
|
|
status_red {
|
|
label = "pcb123:red:status";
|
|
gpios = <&sgpio 11 1>; /* p11.0 */
|
|
default-state = "off";
|
|
};
|
|
};
|
|
};
|
|
|
|
&sgpio {
|
|
status = "okay";
|
|
mscc,sgpio-ports = <0x00FFFFFF>;
|
|
};
|