|
| 1 | +/* |
| 2 | + * Copyright 2025 NXP |
| 3 | + * |
| 4 | + * SPDX-License-Identifier: Apache-2.0 |
| 5 | + */ |
| 6 | + |
| 7 | +#include <mem.h> |
| 8 | +#include <freq.h> |
| 9 | +#include <arm64/armv8-a.dtsi> |
| 10 | +#include <zephyr/dt-bindings/clock/imx_ccm_rev2.h> |
| 11 | +#include <zephyr/dt-bindings/interrupt-controller/arm-gic.h> |
| 12 | + |
| 13 | +/ { |
| 14 | + #address-cells = <1>; |
| 15 | + #size-cells = <1>; |
| 16 | + |
| 17 | + cpus { |
| 18 | + #address-cells = <1>; |
| 19 | + #size-cells = <0>; |
| 20 | + |
| 21 | + cpu@0 { |
| 22 | + device_type = "cpu"; |
| 23 | + compatible = "arm,cortex-a55"; |
| 24 | + reg = <0>; |
| 25 | + }; |
| 26 | + }; |
| 27 | + |
| 28 | + arch_timer: timer { |
| 29 | + compatible = "arm,armv8-timer"; |
| 30 | + interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL |
| 31 | + IRQ_DEFAULT_PRIORITY>, |
| 32 | + <GIC_PPI 14 IRQ_TYPE_LEVEL |
| 33 | + IRQ_DEFAULT_PRIORITY>, |
| 34 | + <GIC_PPI 11 IRQ_TYPE_LEVEL |
| 35 | + IRQ_DEFAULT_PRIORITY>, |
| 36 | + <GIC_PPI 10 IRQ_TYPE_LEVEL |
| 37 | + IRQ_DEFAULT_PRIORITY>; |
| 38 | + interrupt-parent = <&gic>; |
| 39 | + }; |
| 40 | + |
| 41 | + psci: psci { |
| 42 | + compatible = "arm,psci-1.1"; |
| 43 | + method = "smc"; |
| 44 | + }; |
| 45 | + |
| 46 | + gic: interrupt-controller@48000000 { |
| 47 | + compatible = "arm,gic-v3", "arm,gic"; |
| 48 | + reg = <0x48000000 0x10000>, /* GIC Dist */ |
| 49 | + <0x48040000 0xc0000>; /* GICR (RD_base + SGI_base) */ |
| 50 | + interrupt-controller; |
| 51 | + #interrupt-cells = <4>; |
| 52 | + status = "okay"; |
| 53 | + }; |
| 54 | + |
| 55 | + iomuxc: iomuxc@443c0000 { |
| 56 | + compatible = "nxp,imx-iomuxc"; |
| 57 | + reg = <0x443c0000 DT_SIZE_K(64)>; |
| 58 | + status = "okay"; |
| 59 | + pinctrl: pinctrl { |
| 60 | + status = "okay"; |
| 61 | + compatible = "nxp,imx93-pinctrl"; |
| 62 | + }; |
| 63 | + }; |
| 64 | + |
| 65 | + ana_pll: ana_pll@44480000 { |
| 66 | + compatible = "nxp,imx-ana"; |
| 67 | + reg = <0x44480000 DT_SIZE_K(64)>; |
| 68 | + }; |
| 69 | + |
| 70 | + ccm: ccm@44450000 { |
| 71 | + compatible = "nxp,imx-ccm-rev2"; |
| 72 | + reg = <0x44450000 DT_SIZE_K(64)>; |
| 73 | + #clock-cells = <3>; |
| 74 | + }; |
| 75 | + |
| 76 | + lpuart1: serial@44380000 { |
| 77 | + compatible = "nxp,imx-lpuart", "nxp,lpuart"; |
| 78 | + reg = <0x44380000 DT_SIZE_K(64)>; |
| 79 | + interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>; |
| 80 | + interrupt-names = "irq_0"; |
| 81 | + interrupt-parent = <&gic>; |
| 82 | + clocks = <&ccm IMX_CCM_LPUART1_CLK 0x6c 24>; |
| 83 | + status = "disabled"; |
| 84 | + }; |
| 85 | + |
| 86 | + lpuart2: serial@44390000 { |
| 87 | + compatible = "nxp,imx-lpuart", "nxp,lpuart"; |
| 88 | + reg = <0x44390000 DT_SIZE_K(64)>; |
| 89 | + interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>; |
| 90 | + interrupt-names = "irq_0"; |
| 91 | + interrupt-parent = <&gic>; |
| 92 | + clocks = <&ccm IMX_CCM_LPUART2_CLK 0x6c 24>; |
| 93 | + status = "disabled"; |
| 94 | + }; |
| 95 | +}; |
0 commit comments