Merge branch 'for-linus-5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad...
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / bcm47094-phicomm-k3.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 /*
3  * Copyright (C) 2017 Hamster Tian <haotia@gmail.com>
4  * Copyright (C) 2019 Hao Dong <halbertdong@gmail.com>
5  */
6
7 /dts-v1/;
8
9 #include "bcm47094.dtsi"
10 #include "bcm5301x-nand-cs0-bch4.dtsi"
11
12 / {
13         compatible = "phicomm,k3", "brcm,bcm47094", "brcm,bcm4708";
14         model = "Phicomm K3";
15
16         memory {
17                 device_type = "memory";
18                 reg = <0x00000000 0x08000000
19                        0x88000000 0x18000000>;
20         };
21
22         gpio-keys {
23                 compatible = "gpio-keys";
24                 #address-cells = <1>;
25                 #size-cells = <0>;
26
27                 restart {
28                         label = "Reset";
29                         linux,code = <KEY_RESTART>;
30                         gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
31                 };
32         };
33 };
34
35 &uart1 {
36         status = "okay";
37 };
38
39 &usb3_phy {
40         status = "okay";
41 };
42
43 &nandcs {
44         partitions {
45                 compatible = "fixed-partitions";
46                 #address-cells = <1>;
47                 #size-cells = <1>;
48
49                 partition@0 {
50                         label = "boot";
51                         reg = <0x0000000 0x0080000>;
52                         read-only;
53                 };
54
55                 partition@80000 {
56                         label = "nvram";
57                         reg = <0x0080000 0x0100000>;
58                 };
59
60                 partition@180000{
61                         label = "phicomm";
62                         reg = <0x0180000 0x0280000>;
63                         read-only;
64                 };
65
66                 partition@400000 {
67                         label = "firmware";
68                         reg = <0x0400000 0x7C00000>;
69                         compatible = "brcm,trx";
70                 };
71         };
72 };