1724ba675SRob Herring// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2724ba675SRob Herring/* 3724ba675SRob Herring * Copyright 2022 Broadcom Ltd. 4724ba675SRob Herring */ 5724ba675SRob Herring 6724ba675SRob Herring#include <dt-bindings/interrupt-controller/arm-gic.h> 7724ba675SRob Herring#include <dt-bindings/interrupt-controller/irq.h> 8724ba675SRob Herring 9724ba675SRob Herring/ { 10724ba675SRob Herring compatible = "brcm,bcm6846", "brcm,bcmbca"; 11724ba675SRob Herring #address-cells = <1>; 12724ba675SRob Herring #size-cells = <1>; 13724ba675SRob Herring 14724ba675SRob Herring interrupt-parent = <&gic>; 15724ba675SRob Herring 16724ba675SRob Herring cpus { 17724ba675SRob Herring #address-cells = <1>; 18724ba675SRob Herring #size-cells = <0>; 19724ba675SRob Herring 20724ba675SRob Herring CA7_0: cpu@0 { 21724ba675SRob Herring device_type = "cpu"; 22724ba675SRob Herring compatible = "arm,cortex-a7"; 23724ba675SRob Herring reg = <0x0>; 24724ba675SRob Herring next-level-cache = <&L2_0>; 25724ba675SRob Herring enable-method = "psci"; 26724ba675SRob Herring }; 27724ba675SRob Herring 28724ba675SRob Herring CA7_1: cpu@1 { 29724ba675SRob Herring device_type = "cpu"; 30724ba675SRob Herring compatible = "arm,cortex-a7"; 31724ba675SRob Herring reg = <0x1>; 32724ba675SRob Herring next-level-cache = <&L2_0>; 33724ba675SRob Herring enable-method = "psci"; 34724ba675SRob Herring }; 35724ba675SRob Herring 36724ba675SRob Herring L2_0: l2-cache0 { 37724ba675SRob Herring compatible = "cache"; 38724ba675SRob Herring cache-level = <2>; 39724ba675SRob Herring cache-unified; 40724ba675SRob Herring }; 41724ba675SRob Herring }; 42724ba675SRob Herring 43724ba675SRob Herring timer { 44724ba675SRob Herring compatible = "arm,armv7-timer"; 45724ba675SRob Herring interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>, 46724ba675SRob Herring <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>, 47724ba675SRob Herring <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>, 48724ba675SRob Herring <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>; 49724ba675SRob Herring arm,cpu-registers-not-fw-configured; 50724ba675SRob Herring }; 51724ba675SRob Herring 52724ba675SRob Herring pmu: pmu { 53724ba675SRob Herring compatible = "arm,cortex-a7-pmu"; 54724ba675SRob Herring interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>, 55724ba675SRob Herring <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; 56724ba675SRob Herring interrupt-affinity = <&CA7_0>, <&CA7_1>; 57724ba675SRob Herring }; 58724ba675SRob Herring 59724ba675SRob Herring clocks: clocks { 60724ba675SRob Herring periph_clk: periph-clk { 61724ba675SRob Herring compatible = "fixed-clock"; 62724ba675SRob Herring #clock-cells = <0>; 63724ba675SRob Herring clock-frequency = <200000000>; 64724ba675SRob Herring }; 65724ba675SRob Herring 66724ba675SRob Herring hsspi_pll: hsspi-pll { 67724ba675SRob Herring compatible = "fixed-clock"; 68724ba675SRob Herring #clock-cells = <0>; 69724ba675SRob Herring clock-frequency = <400000000>; 70724ba675SRob Herring }; 71724ba675SRob Herring }; 72724ba675SRob Herring 73724ba675SRob Herring psci { 74724ba675SRob Herring compatible = "arm,psci-0.2"; 75724ba675SRob Herring method = "smc"; 76724ba675SRob Herring }; 77724ba675SRob Herring 78724ba675SRob Herring axi@81000000 { 79724ba675SRob Herring compatible = "simple-bus"; 80724ba675SRob Herring #address-cells = <1>; 81724ba675SRob Herring #size-cells = <1>; 82724ba675SRob Herring ranges = <0 0x81000000 0x8000>; 83724ba675SRob Herring 84724ba675SRob Herring gic: interrupt-controller@1000 { 85724ba675SRob Herring compatible = "arm,cortex-a7-gic"; 86724ba675SRob Herring #interrupt-cells = <3>; 87724ba675SRob Herring interrupt-controller; 88724ba675SRob Herring interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>; 89724ba675SRob Herring reg = <0x1000 0x1000>, 90724ba675SRob Herring <0x2000 0x2000>, 91724ba675SRob Herring <0x4000 0x2000>, 92724ba675SRob Herring <0x6000 0x2000>; 93724ba675SRob Herring }; 94724ba675SRob Herring }; 95724ba675SRob Herring 96724ba675SRob Herring bus@ff800000 { 97724ba675SRob Herring compatible = "simple-bus"; 98724ba675SRob Herring #address-cells = <1>; 99724ba675SRob Herring #size-cells = <1>; 100724ba675SRob Herring ranges = <0 0xff800000 0x800000>; 101724ba675SRob Herring 102724ba675SRob Herring uart0: serial@640 { 103724ba675SRob Herring compatible = "brcm,bcm6345-uart"; 104724ba675SRob Herring reg = <0x640 0x1b>; 105724ba675SRob Herring interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>; 106724ba675SRob Herring clocks = <&periph_clk>; 107724ba675SRob Herring clock-names = "refclk"; 108724ba675SRob Herring status = "disabled"; 109724ba675SRob Herring }; 110724ba675SRob Herring 111724ba675SRob Herring hsspi: spi@1000 { 112724ba675SRob Herring #address-cells = <1>; 113724ba675SRob Herring #size-cells = <0>; 114724ba675SRob Herring compatible = "brcm,bcm6846-hsspi", "brcm,bcmbca-hsspi-v1.0"; 115724ba675SRob Herring reg = <0x1000 0x600>; 116724ba675SRob Herring interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; 117724ba675SRob Herring clocks = <&hsspi_pll &hsspi_pll>; 118724ba675SRob Herring clock-names = "hsspi", "pll"; 119724ba675SRob Herring num-cs = <8>; 120724ba675SRob Herring status = "disabled"; 121724ba675SRob Herring }; 122*d42d8e82SWilliam Zhang 123*d42d8e82SWilliam Zhang nand_controller: nand-controller@1800 { 124*d42d8e82SWilliam Zhang #address-cells = <1>; 125*d42d8e82SWilliam Zhang #size-cells = <0>; 126*d42d8e82SWilliam Zhang compatible = "brcm,nand-bcm63138", "brcm,brcmnand-v7.1", "brcm,brcmnand"; 127*d42d8e82SWilliam Zhang reg = <0x1800 0x600>, <0x2000 0x10>; 128*d42d8e82SWilliam Zhang reg-names = "nand", "nand-int-base"; 129*d42d8e82SWilliam Zhang status = "disabled"; 130*d42d8e82SWilliam Zhang 131*d42d8e82SWilliam Zhang nandcs: nand@0 { 132*d42d8e82SWilliam Zhang compatible = "brcm,nandcs"; 133*d42d8e82SWilliam Zhang reg = <0>; 134*d42d8e82SWilliam Zhang }; 135*d42d8e82SWilliam Zhang }; 136724ba675SRob Herring }; 137724ba675SRob Herring}; 138