1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2/* 3 * Copyright (c) 2018 Microsemi Corporation 4 */ 5 6/dts-v1/; 7#include "mscc,ocelot_pcb.dtsi" 8 9/ { 10 model = "Ocelot PCB120 Reference Board"; 11 compatible = "mscc,ocelot-pcb120", "mscc,ocelot"; 12 13 chosen { 14 stdout-path = "serial0:115200n8"; 15 }; 16 17 gpio-leds { 18 compatible = "gpio-leds"; 19 20 poe_green { 21 label = "pcb120:green:poe"; 22 gpios = <&sgpio 44 1>; /* p12.1 */ 23 default-state = "off"; 24 }; 25 26 poe_red { 27 label = "pcb120:red:poe"; 28 gpios = <&sgpio 12 1>; /* p12.0 */ 29 default-state = "off"; 30 }; 31 32 alarm_green { 33 label = "pcb120:green:alarm"; 34 gpios = <&sgpio 45 1>; /* p13.1 */ 35 default-state = "off"; 36 }; 37 38 alarm_red { 39 label = "pcb120:red:alarm"; 40 gpios = <&sgpio 13 1>; /* p13.0 */ 41 default-state = "off"; 42 }; 43 44 dc_a_green { 45 label = "pcb120:green:dc_a"; 46 gpios = <&sgpio 46 1>; /* p14.1 */ 47 default-state = "off"; 48 }; 49 50 dc_a_red { 51 label = "pcb120:red:dc_a"; 52 gpios = <&sgpio 14 1>; /* p14.0 */ 53 default-state = "off"; 54 }; 55 56 dc_b_green { 57 label = "pcb120:green:dc_b"; 58 gpios = <&sgpio 47 1>; /* p15.1 */ 59 default-state = "off"; 60 }; 61 62 dc_b_red { 63 label = "pcb120:red:dc_b"; 64 gpios = <&sgpio 15 1>; /* p15.0 */ 65 default-state = "off"; 66 }; 67 68 status_green { 69 label = "pcb120:green:status"; 70 gpios = <&sgpio 48 1>; /* p16.1 */ 71 default-state = "on"; 72 }; 73 74 status_red { 75 label = "pcb120:red:alarm"; 76 gpios = <&sgpio 16 1>; /* p16.0 */ 77 default-state = "off"; 78 }; 79 80 }; 81 82}; 83 84&sgpio { 85 status = "okay"; 86 mscc,sgpio-ports = <0x000FFFFF>; 87}; 88 89