xref: /openbmc/u-boot/arch/mips/dts/luton_pcb091.dts (revision 25fde1c0)
1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (c) 2018 Microsemi Corporation
4 */
5
6/dts-v1/;
7#include "mscc,luton.dtsi"
8
9/ {
10	model = "Luton10 PCB091 Reference Board";
11	compatible = "mscc,luton-pcb091", "mscc,luton";
12
13	aliases {
14		serial0 = &uart0;
15		spi0 = &spi0;
16	};
17
18	chosen {
19		stdout-path = "serial0:115200n8";
20	};
21
22	gpio-leds {
23		compatible = "gpio-leds";
24
25		top_dimmer {
26			label = "pcb091:top:dimmer";
27			gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
28			default-state = "on";
29		};
30
31		status_green {
32			label = "pcb091:green:status";
33			gpios = <&sgpio 26 GPIO_ACTIVE_HIGH>; /* p26.0 */
34			default-state = "on";
35		};
36
37		status_red {
38			label = "pcb091:red:status";
39			gpios = <&sgpio 58 GPIO_ACTIVE_HIGH>; /* p26.1 */
40			default-state = "off";
41		};
42	};
43};
44
45&sgpio {
46	status = "okay";
47	mscc,sgpio-ports = <0xFFF000FF>;
48};
49
50&uart0 {
51	status = "okay";
52};
53
54&spi0 {
55	status = "okay";
56	spi-flash@0 {
57		compatible = "spi-flash";
58		spi-max-frequency = <18000000>; /* input clock */
59		reg = <0>; /* CS0 */
60		spi-cs-high;
61	};
62};
63
64&mdio0 {
65	status = "okay";
66};
67
68&port0 {
69	phy-handle = <&phy0>;
70};
71
72&port1 {
73	phy-handle = <&phy1>;
74};
75
76&port2 {
77	phy-handle = <&phy2>;
78};
79
80&port3 {
81	phy-handle = <&phy3>;
82};
83
84&port4 {
85	phy-handle = <&phy4>;
86};
87
88&port5 {
89	phy-handle = <&phy5>;
90};
91
92&port6 {
93	phy-handle = <&phy6>;
94};
95
96&port7 {
97	phy-handle = <&phy7>;
98};
99
100&port8 {
101	phy-handle = <&phy8>;
102};
103
104&port9 {
105	phy-handle = <&phy9>;
106};
107
108&port10 {
109	phy-handle = <&phy10>;
110};
111
112&port11 {
113	phy-handle = <&phy11>;
114};
115