// SPDX-License-Identifier: (GPL-2.0+ OR MIT) /* * Copyright (c) 2020 Microchip Technology Inc. and its subsidiaries. */ #include #include / { compatible = "microchip,sparx5"; interrupt-parent = <&gic>; #address-cells = <2>; #size-cells = <1>; aliases { serial0 = &uart0; serial1 = &uart1; }; chosen { stdout-path = "serial0:115200n8"; }; cpus { #address-cells = <2>; #size-cells = <0>; cpu-map { cluster0 { core0 { cpu = <&cpu0>; }; core1 { cpu = <&cpu1>; }; }; }; cpu0: cpu@0 { compatible = "arm,cortex-a53"; device_type = "cpu"; reg = <0x0 0x0>; enable-method = "psci"; next-level-cache = <&L2_0>; }; cpu1: cpu@1 { compatible = "arm,cortex-a53"; device_type = "cpu"; reg = <0x0 0x1>; enable-method = "psci"; next-level-cache = <&L2_0>; }; L2_0: l2-cache0 { compatible = "cache"; }; }; arm-pmu { compatible = "arm,cortex-a53-pmu"; interrupts = ; interrupt-affinity = <&cpu0>, <&cpu1>; }; psci { compatible = "arm,psci-0.2"; method = "smc"; }; timer { compatible = "arm,armv8-timer"; interrupts = , , , ; }; clocks: clocks { #address-cells = <2>; #size-cells = <1>; ranges; ahb_clk: ahb-clk { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <250000000>; }; sys_clk: sys-clk { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <625000000>; }; }; axi: axi@600000000 { compatible = "simple-bus"; #address-cells = <2>; #size-cells = <1>; ranges; gic: interrupt-controller@600300000 { compatible = "arm,gic-v3"; #interrupt-cells = <3>; #address-cells = <2>; #size-cells = <2>; interrupt-controller; reg = <0x6 0x00300000 0x10000>, /* GIC Dist */ <0x6 0x00340000 0xc0000>, /* GICR */ <0x6 0x00200000 0x2000>, /* GICC */ <0x6 0x00210000 0x2000>, /* GICV */ <0x6 0x00220000 0x2000>; /* GICH */ interrupts = ; }; uart0: serial@600100000 { compatible = "ns16550a"; reg = <0x6 0x00100000 0x20>; clocks = <&ahb_clk>; reg-io-width = <4>; reg-shift = <2>; interrupts = ; status = "disabled"; }; uart1: serial@600102000 { compatible = "ns16550a"; reg = <0x6 0x00102000 0x20>; clocks = <&ahb_clk>; reg-io-width = <4>; reg-shift = <2>; interrupts = ; status = "disabled"; }; timer1: timer@600105000 { compatible = "snps,dw-apb-timer"; reg = <0x6 0x00105000 0x1000>; clocks = <&ahb_clk>; clock-names = "timer"; interrupts = ; }; }; };