1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2/* 3 * Copyright (c) 2018 Microsemi Corporation 4 */ 5 6/dts-v1/; 7#include "mscc,ocelot.dtsi" 8 9/ { 10 compatible = "mscc,ocelot"; 11 12 aliases { 13 spi0 = &spi0; 14 serial0 = &uart0; 15 }; 16 17 chosen { 18 stdout-path = "serial0:115200n8"; 19 }; 20}; 21 22&uart0 { 23 status = "okay"; 24}; 25 26&spi0 { 27 status = "okay"; 28 pinctrl-0 = <&spi_cs1_pin>; 29 pinctrl-names = "default"; 30 31 spi-flash@0 { 32 compatible = "spi-flash"; 33 spi-max-frequency = <18000000>; /* input clock */ 34 reg = <0>; /* CS0 */ 35 }; 36 37 spi-nand@1 { 38 compatible = "spi-nand"; 39 spi-max-frequency = <18000000>; /* input clock */ 40 reg = <1>; /* CS1 */ 41 }; 42}; 43