blob: 885b5643f7c9c7bb6469548324af8aa302da7537 [file] [log] [blame]
Gregory CLEMENT6787c1e2018-12-14 16:16:49 +01001// 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 {
Neil Armstrongffd4c7c2019-02-10 10:16:20 +000032 compatible = "jedec,spi-nor";
Gregory CLEMENT6787c1e2018-12-14 16:16:49 +010033 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};