blob: 9b4d628797e4174eae2d9dd5db7a76e459abb473 [file] [log] [blame]
Gregory CLEMENTdc253e22018-12-14 16:16:50 +01001// 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 };
Lars Povlsen2a6db6c2019-01-02 09:52:23 +010021
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>;
Gregory CLEMENTdc253e22018-12-14 16:16:50 +010048};
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
Horatiu Vulturaecde642019-01-31 15:30:38 +010064&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};