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 = "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 }; 21 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>; 42}; 43 44&uart0 { 45 status = "okay"; 46}; 47 48&spi0 { 49 status = "okay"; 50 spi-flash@0 { 51 compatible = "spi-flash"; 52 spi-max-frequency = <18000000>; /* input clock */ 53 reg = <0>; /* CS0 */ 54 spi-cs-high; 55 }; 56}; 57 58