blob: a4fa37001f2400cc36c8262ab0992aae1bc9f849 [file] [log] [blame]
Gregory CLEMENT6787c1e2018-12-14 16:16:49 +01001// 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 PCB123 Reference Board";
11 compatible = "mscc,ocelot-pcb123", "mscc,ocelot";
Lars Povlsen26ad3c42019-01-02 09:52:25 +010012
13 chosen {
14 stdout-path = "serial0:115200n8";
15 };
16
17 gpio-leds {
18 compatible = "gpio-leds";
19
20 status_green {
21 label = "pcb123:green:status";
22 gpios = <&sgpio 43 1>; /* p11.1 */
23 default-state = "on";
24 };
25
26 status_red {
27 label = "pcb123:red:status";
28 gpios = <&sgpio 11 1>; /* p11.0 */
29 default-state = "off";
30 };
31 };
32};
33
34&sgpio {
35 status = "okay";
36 mscc,sgpio-ports = <0x00FFFFFF>;
Gregory CLEMENT6787c1e2018-12-14 16:16:49 +010037};
Gregory CLEMENT55037902019-01-17 17:07:12 +010038
39&mdio0 {
40 status = "okay";
41};
42
43&port0 {
44 phy-handle = <&phy0>;
45};
46
47&port1 {
48 phy-handle = <&phy1>;
49};
50
51&port2 {
52 phy-handle = <&phy2>;
53};
54
55&port3 {
56 phy-handle = <&phy3>;
57};