1/dts-v1/;
2/* Copyright (c) 2017, The Linux Foundation. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 and
6 * only version 2 as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11 * GNU General Public License for more details.
12 */
13#include "ipq8074.dtsi"
14
15/ {
16	#address-cells = <0x2>;
17	#size-cells = <0x2>;
18	model = "Qualcomm Technologies, Inc. IPQ8074-HK01";
19	compatible = "qcom,ipq8074-hk01", "qcom,ipq8074";
20	interrupt-parent = <&intc>;
21
22	aliases {
23		serial0 = &blsp1_uart5;
24		serial1 = &blsp1_uart3;
25	};
26
27	chosen {
28		stdout-path = "serial0";
29	};
30
31	memory {
32		device_type = "memory";
33		reg = <0x0 0x40000000 0x0 0x20000000>;
34	};
35
36	soc {
37		serial@78b3000 {
38			status = "ok";
39		};
40
41		spi@78b5000 {
42			status = "ok";
43
44			m25p80@0 {
45				  #address-cells = <1>;
46				  #size-cells = <1>;
47				  compatible = "jedec,spi-nor";
48				  reg = <0>;
49				  spi-max-frequency = <50000000>;
50			};
51		};
52
53		serial@78b1000 {
54			 status = "ok";
55		};
56
57		i2c@78b6000 {
58			 status = "ok";
59		};
60
61		dma@7984000 {
62			 status = "ok";
63		};
64
65		nand@79b0000 {
66			status = "ok";
67
68			nand@0 {
69				reg = <0>;
70				nand-ecc-strength = <4>;
71				nand-ecc-step-size = <512>;
72				nand-bus-width = <8>;
73			};
74		};
75
76		phy@86000 {
77			status = "ok";
78		};
79
80		phy@8e000 {
81			status = "ok";
82		};
83
84		pci@20000000 {
85			status = "ok";
86			perst-gpio = <&tlmm 58 0x1>;
87		};
88
89		pci@10000000 {
90			status = "ok";
91			perst-gpio = <&tlmm 61 0x1>;
92		};
93	};
94};
95