Loading...
Note: File does not exist in v4.17.
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@0 {
17 device_type = "memory";
18 reg = <0x00000000 0x08000000>,
19 <0x88000000 0x18000000>;
20 };
21
22 gpio-keys {
23 compatible = "gpio-keys";
24
25 restart {
26 label = "Reset";
27 linux,code = <KEY_RESTART>;
28 gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
29 };
30 };
31};
32
33&uart1 {
34 status = "okay";
35};
36
37&usb3_phy {
38 status = "okay";
39};
40
41&nandcs {
42 partitions {
43 compatible = "fixed-partitions";
44 #address-cells = <1>;
45 #size-cells = <1>;
46
47 partition@0 {
48 label = "boot";
49 reg = <0x0000000 0x0080000>;
50 read-only;
51 };
52
53 partition@80000 {
54 label = "nvram";
55 reg = <0x0080000 0x0100000>;
56 };
57
58 partition@180000{
59 label = "phicomm";
60 reg = <0x0180000 0x0280000>;
61 read-only;
62 };
63
64 partition@400000 {
65 label = "firmware";
66 reg = <0x0400000 0x7C00000>;
67 compatible = "brcm,trx";
68 };
69 };
70};