blob: fe457bae9d56e6ab49b2b051d0cf8de85c5c59d8 [file] [log] [blame]
Lars Povlsene39c6782018-12-20 09:56:04 +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 = "Luton26 PCB090 Reference Board";
11 compatible = "mscc,luton-pcb090", "mscc,luton";
12
13 aliases {
14 serial0 = &uart0;
15 spi0 = &spi0;
16 };
17
18 chosen {
19 stdout-path = "serial0:115200n8";
20 };
Lars Povlsen738f2b12019-01-02 09:52:23 +010021
22 gpio-leds {
23 compatible = "gpio-leds";
24
25 status_green {
26 label = "pcb090:green:status";
27 gpios = <&sgpio 64 GPIO_ACTIVE_HIGH>; /* p0.2 */
28 default-state = "on";
29 };
30
31 status_red {
32 label = "pcb090:red:status";
33 gpios = <&sgpio 65 GPIO_ACTIVE_HIGH>; /* p1.2 */
34 default-state = "off";
35 };
36 };
37};
38
39&sgpio {
40 status = "okay";
41 gpio-ranges = <&sgpio 0 0 96>;
Lars Povlsene39c6782018-12-20 09:56:04 +010042};
43
44&uart0 {
45 status = "okay";
46};
47
48&spi0 {
49 status = "okay";
50 spi-flash@0 {
Neil Armstrongffd4c7c2019-02-10 10:16:20 +000051 compatible = "jedec,spi-nor";
Lars Povlsene39c6782018-12-20 09:56:04 +010052 spi-max-frequency = <18000000>; /* input clock */
53 reg = <0>; /* CS0 */
54 spi-cs-high;
55 };
56};
57
Horatiu Vulturee7b65f2019-01-31 15:30:38 +010058&mdio0 {
59 status = "okay";
60};
61
62&port0 {
63 phy-handle = <&phy0>;
64};
65
66&port1 {
67 phy-handle = <&phy1>;
68};
69
70&port2 {
71 phy-handle = <&phy2>;
72};
73
74&port3 {
75 phy-handle = <&phy3>;
76};
77
78&port4 {
79 phy-handle = <&phy4>;
80};
81
82&port5 {
83 phy-handle = <&phy5>;
84};
85
86&port6 {
87 phy-handle = <&phy6>;
88};
89
90&port7 {
91 phy-handle = <&phy7>;
92};
93
94&port8 {
95 phy-handle = <&phy8>;
96};
97
98&port9 {
99 phy-handle = <&phy9>;
100};
101
102&port10 {
103 phy-handle = <&phy10>;
104};
105
106&port11 {
107 phy-handle = <&phy11>;
108};