1/*
2 * Copyright (c) 2020 DENX Software Engineering GmbH
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#include <mem.h>
8#include <nxp/nxp_k6x.dtsi>
9
10&flash0 {
11	reg = <0x00000000 DT_SIZE_M(2)>;
12};
13
14/ {
15	soc {
16		lpuart0: lpuart@400c4000 {
17			compatible = "nxp,kinetis-lpuart";
18			reg = <0x400c4000 0x14>;
19			interrupts = <86 0>;
20			clocks = <&sim KINETIS_SIM_CORESYS_CLK 0x1038 20>;
21			dmas = <&edma0 1 58>, <&edma0 2 59>;
22			dma-names = "rx", "tx";
23			status = "disabled";
24		};
25
26		flexcan1: can@400a4000 {
27			compatible = "nxp,flexcan";
28			reg = <0x400a4000 0x1000>;
29			interrupts = <94 0>, <95 0>, <96 0>, <97 0>, <98 0>, <99 0>;
30			interrupt-names = "mb-0-15", "bus-off", "error", "tx-warning",
31			    "rx-warning", "wake-up";
32			clocks = <&sim KINETIS_SIM_BUS_CLK 0x1030 4>;
33			clk-source = <1>;
34			sample-point = <875>;
35			status = "disabled";
36		  };
37	};
38};
39