blob: 11982498d71f542c01bd7d676e3de0934e495d92 [file] [log] [blame]
Horatiu Vultur5cc72e82019-01-23 16:39:44 +01001// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (c) 2018 Microsemi Corporation
4 */
5
6/dts-v1/;
7#include "mscc,serval.dtsi"
8
9/ {
10 model = "Serval PCB106 Reference Board";
11 compatible = "mscc,serval-pcb106", "mscc,serval";
12
13 aliases {
14 spi0 = &spi0;
15 serial0 = &uart0;
16 };
17
18 chosen {
19 stdout-path = "serial0:115200n8";
20 };
21
22 gpio-leds {
23 compatible = "gpio-leds";
24
25 status_green {
26 label = "pcb106:green:status";
27 gpios = <&sgpio 43 1>; /* p11.1 */
28 default-state = "on";
29 };
30
31 status_red {
32 label = "pcb106:red:status";
33 gpios = <&sgpio 11 1>; /* p11.0 */
34 default-state = "off";
35 };
36 };
37};
38
39&uart0 {
40 status = "okay";
41};
42
43&spi0 {
44 status = "okay";
45 spi-flash@0 {
46 compatible = "spi-flash";
47 spi-max-frequency = <18000000>; /* input clock */
48 reg = <0>; /* CS0 */
49 spi-cs-high;
50 };
51};
52
53&sgpio {
54 status = "okay";
55 sgpio-ports = <0x00FFFFFF>;
56};