1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2018 Microsemi Corporation
7 #include "mscc,ocelot_pcb.dtsi"
10 model = "Ocelot PCB120 Reference Board";
11 compatible = "mscc,ocelot-pcb120", "mscc,ocelot";
14 stdout-path = "serial0:115200n8";
18 compatible = "gpio-leds";
21 label = "pcb120:green:poe";
22 gpios = <&sgpio 44 1>; /* p12.1 */
23 default-state = "off";
27 label = "pcb120:red:poe";
28 gpios = <&sgpio 12 1>; /* p12.0 */
29 default-state = "off";
33 label = "pcb120:green:alarm";
34 gpios = <&sgpio 45 1>; /* p13.1 */
35 default-state = "off";
39 label = "pcb120:red:alarm";
40 gpios = <&sgpio 13 1>; /* p13.0 */
41 default-state = "off";
45 label = "pcb120:green:dc_a";
46 gpios = <&sgpio 46 1>; /* p14.1 */
47 default-state = "off";
51 label = "pcb120:red:dc_a";
52 gpios = <&sgpio 14 1>; /* p14.0 */
53 default-state = "off";
57 label = "pcb120:green:dc_b";
58 gpios = <&sgpio 47 1>; /* p15.1 */
59 default-state = "off";
63 label = "pcb120:red:dc_b";
64 gpios = <&sgpio 15 1>; /* p15.0 */
65 default-state = "off";
69 label = "pcb120:green:status";
70 gpios = <&sgpio 48 1>; /* p16.1 */
75 label = "pcb120:red:alarm";
76 gpios = <&sgpio 16 1>; /* p16.0 */
77 default-state = "off";
86 mscc,sgpio-ports = <0x000FFFFF>;