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