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