/* * Copyright 2023 honglin leng * * SPDX-License-Identifier: Apache-2.0 */ #include #include #include #include / { cpus { #address-cells = <1>; #size-cells = <0>; cpu@0 { device_type = "cpu"; compatible = "arm,cortex-a72"; reg = <0>; }; }; interrupt-parent = <&gic>; timer { compatible = "arm,armv8-timer"; interrupts = , , , ; }; soc { sram0: memory@200000 { device_type = "memory"; compatible = "mmio-sram"; reg = <0x200000 0x80000>; }; gic: interrupt-controller@ff841000 { compatible = "arm,gic-v2", "arm,gic"; reg = <0xff841000 0x1000>, <0xff842000 0x2000>; interrupt-controller; #interrupt-cells = <4>; status = "okay"; }; gpio: gpio@fe200000 { compatible = "simple-bus"; reg = <0xfe200000 0xf4>; #address-cells = <1>; #size-cells = <0>; /* GPIO 0 ~ 27 */ gpio0: gpio@0 { compatible = "brcm,bcm2711-gpio"; reg = <0>; interrupts = ; gpio-controller; #gpio-cells = <2>; ngpios = <28>; status = "disabled"; }; /* GPIO 28 ~ 45 */ gpio1: gpio@1c { compatible = "brcm,bcm2711-gpio"; reg = <28>; interrupts = ; gpio-controller; #gpio-cells = <2>; ngpios = <18>; status = "disabled"; }; }; uart1: uart@fe215040 { compatible = "brcm,bcm2711-aux-uart"; reg = <0xfe215040 0x40>; clock-frequency = ; interrupts = ; status = "disabled"; }; }; };