/* * Copyright 2024 Myeonghyeon Park * * SPDX-License-Identifier: Apache-2.0 */ #include #include / { cpus { #address-cells = <1>; #size-cells = <0>; cpu@0 { device_type = "cpu"; compatible = "arm,cortex-a76"; reg = <0>; }; }; interrupt-parent = <&gic>; timer { compatible = "arm,armv8-timer"; interrupts = , , , ; }; soc { #address-cells = <2>; #size-cells = <1>; sram0: memory@200000 { device_type = "memory"; compatible = "mmio-sram"; reg = <0x0 0x200000 0x80000>; }; gic: interrupt-controller@107fff9000 { compatible = "arm,gic-v2", "arm,gic"; reg = <0x10 0x7fff9000 0x1000>, <0x10 0x7fffa000 0x2000>; interrupt-controller; #interrupt-cells = <4>; status = "okay"; }; gpio2@107d517c00 { compatible = "simple-bus"; reg = <0x10 0x7d517c00 0x40>; #address-cells = <1>; #size-cells = <0>; gio_aon: gpio@0 { compatible = "brcm,brcmstb-gpio"; reg = <0>; gpio-controller; #gpio-cells = <2>; ngpios = <17>; status = "disabled"; }; }; uart10: serial@107d001000 { compatible = "arm,pl011"; reg = <0x10 0x7d001000 0x200>; interrupts = ; interrupt-names = "irq_121"; clocks = <&clk_uart>; status = "disabled"; }; }; clocks { clk_uart: clk_uart { compatible = "fixed-clock"; clock-frequency = <44236800>; #clock-cells = <0>; }; }; axi { #address-cells = <2>; #size-cells = <1>; pcie2: pcie@1000120000 { compatible = "brcm,brcmstb-pcie"; reg = <0x10 0x120000 0x9310>, <0x0 0x410000 0x4000>, <0x0 0x0 0x400000>, <0x0 0x400000 0x4000>; #address-cells = <3>; #size-cells = <2>; ranges = <0x02000000 0x0 0x0 0x1f 0x0 0x00 0xfffffffc>, <0x43000000 0x4 0x0 0x1c 0x0 0x03 0x00000000>, <0x02000000 0x0 0x0 0x1f 0x0 0x00 0x00400000>; status = "okay"; rp1 { #address-cells = <2>; #size-cells = <1>; gpio0: gpio@1f000d0000 { compatible = "simple-bus"; reg = <0x1f 0xd0000 0x30000>; #address-cells = <1>; #size-cells = <0>; gpio0_0: gpio@0 { compatible = "raspberrypi,rp1-gpio"; reg = <0x0 0x10000 0x20000>; #gpio-cells = <2>; gpio-controller; ngpios = <28>; status = "disabled"; }; gpio0_1: gpio@4000 { compatible = "raspberrypi,rp1-gpio"; reg = <0x4000 0x14000 0x24000>; #gpio-cells = <2>; gpio-controller; ngpios = <6>; status = "disabled"; }; gpio0_2: gpio@8000 { compatible = "raspberrypi,rp1-gpio"; reg = <0x8000 0x18000 0x28000>; #gpio-cells = <2>; gpio-controller; ngpios = <20>; status = "disabled"; }; }; }; }; }; };