blob: bf638b2bc747d156dd0fad8867ca3c83bd618990 [file] [log] [blame]
Gregory CLEMENTf8c8ced2018-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 Povlsen738f2b12019-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 CLEMENTf8c8ced2018-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