#include #include #include #define GIC_DIST_BASE 0x81001000 #define GIC_CPUI_BASE 0x81002000 #define TIMER_HYP_PPI 10 #define TIMER_VIRT_PPI 11 #define TIMER_PHYS_SECURE_PPI 13 #define TIMER_PHYS_NONSECURE_PPI 14 #define PMU_CORE0_SPI 9 #define PMU_CORE1_SPI 10 /dts-v1/; /memreserve/ 0x00000000 0x00020000; / { model = "Broadcom-v8A"; compatible = "brcm,brcm-v8A"; interrupt-parent = <&gic>; #address-cells = <2>; #size-cells = <2>; cpus { #address-cells = <2>; #size-cells = <0>; B53_0: cpu@0 { device_type = "cpu"; compatible = "arm,cortex-a53"; reg = <0x0 0x0>; next-level-cache = <&L2_0>; }; B53_1: cpu@1 { device_type = "cpu"; compatible = "arm,cortex-a53"; reg = <0x0 0x1>; enable-method = "spin-table"; cpu-release-addr = <0x0 0xfff8>; next-level-cache = <&L2_0>; }; L2_0: l2-cache0 { compatible = "cache"; }; }; gic: interrupt-controller@81000000 { compatible = "arm,cortex-a15-gic", "arm,cortex-a9-gic"; #interrupt-cells = <3>; #address-cells = <0>; interrupt-controller; reg = <0x0 GIC_DIST_BASE 0 0x1000>, <0x0 GIC_CPUI_BASE 0 0x2000>; }; timer { compatible = "arm,armv8-timer"; interrupts = , , , ; }; pmu { compatible = "arm,armv8-pmuv3"; interrupts = , ; interrupt-affinity = <&B53_0>, <&B53_1>; }; brcm-legacy { compatible = "brcm,brcm-legacy"; }; memory@00000000 { device_type = "memory"; reg = <0x00000000 DRAM_BASE 0x0 DRAM_DEF_SIZE>; /* 64MBMB */ }; /* according to inclusion rules of device tree */ reserved-memory { #address-cells = <2>; #size-cells = <2>; ranges; dt_reserved_fpm_pool { reg = <0x00000000 DRAM_OFFSET_RDP_PARAM1 0x0 RDP_PARAM1_DDR_SIZE>; /* 32MB */ no-map; }; dt_reserved_rnr_tbls { reg = <0x00000000 DRAM_OFFSET_RDP_PARAM2 0x0 RDP_PARAM2_DDR_SIZE>; /* 8MB */ no-map; }; }; /* Legacy UBUS base */ ubus@ff800000 { compatible = "simple-bus"; #address-cells = <2>; #size-cells = <2>; ranges = <0x0 0x0 0x0 0xff800000 0x0 0x8000>; nand@ff801800 { #address-cells = <1>; #size-cells = <0>; compatible = "brcm,nand-bcm63xx", "brcm,brcmnand-v7.1"; reg = <0x0 0x1800 0x0 0x600>, <0x0 0x2000 0x0 0x10>; reg-names = "nand", "nand-int-base"; status = "okay"; nandcs@0 { compatible = "brcm,nandcs"; reg = <0>; nand-on-flash-bbt; }; }; watchdog@ff800428 { compatible = "brcm,bcm96xxx-wdt"; reg = <0x0 0x428 0x0 0x10>; timeout-sec = <80>; }; }; /* increase coherent_pool size */ chosen { bootargs = "coherent_pool=1M cpuidle_sysfs_switch"; }; };