1f8c8ceddSGregory CLEMENT// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2f8c8ceddSGregory CLEMENT/* 3f8c8ceddSGregory CLEMENT * Copyright (c) 2018 Microsemi Corporation 4f8c8ceddSGregory CLEMENT */ 5f8c8ceddSGregory CLEMENT 6f8c8ceddSGregory CLEMENT/dts-v1/; 7f8c8ceddSGregory CLEMENT#include "mscc,luton.dtsi" 8f8c8ceddSGregory CLEMENT 9f8c8ceddSGregory CLEMENT/ { 10f8c8ceddSGregory CLEMENT model = "Luton10 PCB091 Reference Board"; 11f8c8ceddSGregory CLEMENT compatible = "mscc,luton-pcb091", "mscc,luton"; 12f8c8ceddSGregory CLEMENT 13f8c8ceddSGregory CLEMENT aliases { 14f8c8ceddSGregory CLEMENT serial0 = &uart0; 15f8c8ceddSGregory CLEMENT spi0 = &spi0; 16f8c8ceddSGregory CLEMENT }; 17f8c8ceddSGregory CLEMENT 18f8c8ceddSGregory CLEMENT chosen { 19f8c8ceddSGregory CLEMENT stdout-path = "serial0:115200n8"; 20f8c8ceddSGregory CLEMENT }; 21738f2b14SLars Povlsen 22738f2b14SLars Povlsen gpio-leds { 23738f2b14SLars Povlsen compatible = "gpio-leds"; 24738f2b14SLars Povlsen 25738f2b14SLars Povlsen top_dimmer { 26738f2b14SLars Povlsen label = "pcb091:top:dimmer"; 27738f2b14SLars Povlsen gpios = <&gpio 29 GPIO_ACTIVE_LOW>; 28738f2b14SLars Povlsen default-state = "on"; 29738f2b14SLars Povlsen }; 30738f2b14SLars Povlsen 31738f2b14SLars Povlsen status_green { 32738f2b14SLars Povlsen label = "pcb091:green:status"; 33738f2b14SLars Povlsen gpios = <&sgpio 26 GPIO_ACTIVE_HIGH>; /* p26.0 */ 34738f2b14SLars Povlsen default-state = "on"; 35738f2b14SLars Povlsen }; 36738f2b14SLars Povlsen 37738f2b14SLars Povlsen status_red { 38738f2b14SLars Povlsen label = "pcb091:red:status"; 39738f2b14SLars Povlsen gpios = <&sgpio 58 GPIO_ACTIVE_HIGH>; /* p26.1 */ 40738f2b14SLars Povlsen default-state = "off"; 41738f2b14SLars Povlsen }; 42738f2b14SLars Povlsen }; 43738f2b14SLars Povlsen}; 44738f2b14SLars Povlsen 45738f2b14SLars Povlsen&sgpio { 46738f2b14SLars Povlsen status = "okay"; 47738f2b14SLars Povlsen mscc,sgpio-ports = <0xFFF000FF>; 48f8c8ceddSGregory CLEMENT}; 49f8c8ceddSGregory CLEMENT 50f8c8ceddSGregory CLEMENT&uart0 { 51f8c8ceddSGregory CLEMENT status = "okay"; 52f8c8ceddSGregory CLEMENT}; 53f8c8ceddSGregory CLEMENT 54f8c8ceddSGregory CLEMENT&spi0 { 55f8c8ceddSGregory CLEMENT status = "okay"; 56f8c8ceddSGregory CLEMENT spi-flash@0 { 57f8c8ceddSGregory CLEMENT compatible = "spi-flash"; 58f8c8ceddSGregory CLEMENT spi-max-frequency = <18000000>; /* input clock */ 59f8c8ceddSGregory CLEMENT reg = <0>; /* CS0 */ 60f8c8ceddSGregory CLEMENT spi-cs-high; 61f8c8ceddSGregory CLEMENT }; 62f8c8ceddSGregory CLEMENT}; 63f8c8ceddSGregory CLEMENT 64*ee7b65f2SHoratiu Vultur&mdio0 { 65*ee7b65f2SHoratiu Vultur status = "okay"; 66*ee7b65f2SHoratiu Vultur}; 67*ee7b65f2SHoratiu Vultur 68*ee7b65f2SHoratiu Vultur&port0 { 69*ee7b65f2SHoratiu Vultur phy-handle = <&phy0>; 70*ee7b65f2SHoratiu Vultur}; 71*ee7b65f2SHoratiu Vultur 72*ee7b65f2SHoratiu Vultur&port1 { 73*ee7b65f2SHoratiu Vultur phy-handle = <&phy1>; 74*ee7b65f2SHoratiu Vultur}; 75*ee7b65f2SHoratiu Vultur 76*ee7b65f2SHoratiu Vultur&port2 { 77*ee7b65f2SHoratiu Vultur phy-handle = <&phy2>; 78*ee7b65f2SHoratiu Vultur}; 79*ee7b65f2SHoratiu Vultur 80*ee7b65f2SHoratiu Vultur&port3 { 81*ee7b65f2SHoratiu Vultur phy-handle = <&phy3>; 82*ee7b65f2SHoratiu Vultur}; 83*ee7b65f2SHoratiu Vultur 84*ee7b65f2SHoratiu Vultur&port4 { 85*ee7b65f2SHoratiu Vultur phy-handle = <&phy4>; 86*ee7b65f2SHoratiu Vultur}; 87*ee7b65f2SHoratiu Vultur 88*ee7b65f2SHoratiu Vultur&port5 { 89*ee7b65f2SHoratiu Vultur phy-handle = <&phy5>; 90*ee7b65f2SHoratiu Vultur}; 91*ee7b65f2SHoratiu Vultur 92*ee7b65f2SHoratiu Vultur&port6 { 93*ee7b65f2SHoratiu Vultur phy-handle = <&phy6>; 94*ee7b65f2SHoratiu Vultur}; 95*ee7b65f2SHoratiu Vultur 96*ee7b65f2SHoratiu Vultur&port7 { 97*ee7b65f2SHoratiu Vultur phy-handle = <&phy7>; 98*ee7b65f2SHoratiu Vultur}; 99*ee7b65f2SHoratiu Vultur 100*ee7b65f2SHoratiu Vultur&port8 { 101*ee7b65f2SHoratiu Vultur phy-handle = <&phy8>; 102*ee7b65f2SHoratiu Vultur}; 103*ee7b65f2SHoratiu Vultur 104*ee7b65f2SHoratiu Vultur&port9 { 105*ee7b65f2SHoratiu Vultur phy-handle = <&phy9>; 106*ee7b65f2SHoratiu Vultur}; 107*ee7b65f2SHoratiu Vultur 108*ee7b65f2SHoratiu Vultur&port10 { 109*ee7b65f2SHoratiu Vultur phy-handle = <&phy10>; 110*ee7b65f2SHoratiu Vultur}; 111*ee7b65f2SHoratiu Vultur 112*ee7b65f2SHoratiu Vultur&port11 { 113*ee7b65f2SHoratiu Vultur phy-handle = <&phy11>; 114*ee7b65f2SHoratiu Vultur}; 115