mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-04 18:41:03 +00:00
7efe195096
Distinguish more clearly between source files meant for producing .dtb from those meant for producing .dtbo. No functional change, as we currently have rules for producing a foo.dtbo from either foo.dts or foo.dtso. Note that in the linux tree, all device tree overlay sources have been renamed to .dtso, and the .dts->.dtbo rule is gone since v6.5 (commit 81d362732bac). So this is also a step towards staying closer to linux with respect to both Kbuild and device tree sources. Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
53 lines
976 B
Text
53 lines
976 B
Text
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
/*
|
|
* Copyright 2021 Linaro
|
|
*/
|
|
|
|
/dts-v1/;
|
|
/plugin/;
|
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
#include <dt-bindings/interrupt-controller/irq.h>
|
|
|
|
#include "imx8mm-pinfunc.h"
|
|
|
|
&{/} {
|
|
clocks {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
clk40m: clk@1 {
|
|
compatible = "fixed-clock";
|
|
reg = <1>;
|
|
#clock-cells = <0>;
|
|
clock-frequency = <40000000>;
|
|
clock-output-names = "clk40m";
|
|
};
|
|
};
|
|
};
|
|
|
|
&ecspi3 {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
can1: can@0 {
|
|
compatible = "microchip,mcp2518fd";
|
|
reg = <0>;
|
|
microchip,rx-int = <&gpio5 28 IRQ_TYPE_LEVEL_LOW>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_can1>;
|
|
interrupt-parent = <&gpio5>;
|
|
interrupts = <29 IRQ_TYPE_LEVEL_LOW>;
|
|
spi-max-frequency = <20000000>;
|
|
clocks = <&clk40m>;
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
&iomuxc {
|
|
pinctrl_can1: can1grp {
|
|
fsl,pins = <
|
|
MX8MM_IOMUXC_UART4_TXD_GPIO5_IO29 0x00
|
|
MX8MM_IOMUXC_UART4_RXD_GPIO5_IO28 0x00
|
|
>;
|
|
};
|
|
};
|