1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (C) 2017 exceet electronics GmbH
4 * Copyright (C) 2018 Kontron Electronics GmbH
5 * Copyright (c) 2019 Krzysztof Kozlowski <krzk@kernel.org>
6 */
7
8#include "imx6ul.dtsi"
9#include "imx6ul-kontron-n6x1x-som-common.dtsi"
10
11/ {
12	model = "Kontron N6310 SOM";
13	compatible = "kontron,imx6ul-n6310-som", "fsl,imx6ul";
14
15	memory@80000000 {
16		reg = <0x80000000 0x10000000>;
17		device_type = "memory";
18	};
19};
20
21&qspi {
22	spi-flash@0 {
23		#address-cells = <1>;
24		#size-cells = <1>;
25		compatible = "spi-nand";
26		spi-max-frequency = <108000000>;
27		spi-tx-bus-width = <4>;
28		spi-rx-bus-width = <4>;
29		reg = <0>;
30
31		partition@0 {
32			label = "ubi1";
33			reg = <0x00000000 0x08000000>;
34		};
35
36		partition@8000000 {
37			label = "ubi2";
38			reg = <0x08000000 0x08000000>;
39		};
40	};
41};
42