/* * Copyright (c) 2020 Antmicro * * SPDX-License-Identifier: Apache-2.0 */ #include #include #include / { cpus { #address-cells = <1>; #size-cells = <0>; cpu0: cpu@0 { device_type = "cpu"; compatible = "arm,cortex-m4f"; reg = <0>; #address-cells = <1>; #size-cells = <1>; mpu: mpu@e000ed90 { compatible = "arm,armv7m-mpu"; reg = <0xe000ed90 0x40>; }; }; }; sram0: memory@20000000 { compatible = "mmio-sram"; reg = <0x20000000 DT_SIZE_K(512)>; }; uartclk: uart-clock { compatible = "fixed-clock"; clock-frequency = <5120000>; #clock-cells = <0>; }; soc { uart0: uart@40010000 { compatible = "arm,pl011"; reg = <0x40010000 DT_SIZE_K(4)>; clocks = <&uartclk>; interrupts = <7 3>; interrupt-names = "rx"; }; uart1: uart@40020000 { compatible = "quicklogic,usbserialport-s3b"; reg = <0x40020000 DT_SIZE_K(4)>; status = "disabled"; }; gpio: gpio@40005000 { compatible = "quicklogic,eos-s3-gpio"; reg = <0x40005000 DT_SIZE_K(4)>; status = "disabled"; interrupts = <5 2>; #gpio-cells = <2>; ngpios = <8>; pin-secondary-config = <0x00>; gpio-controller; }; pinctrl: pinctrl@40004c00 { compatible = "quicklogic,eos-s3-pinctrl"; reg = <0x40004c00 0x1b0>; }; }; }; &nvic { arm,num-irq-priority-bits = <3>; };