u-boot/arch/m68k/dts/mcf5275.dtsi
Angelo Dureghello 96283b83da m68k: dts: add i2c nodes
Add all the i2c nodes for each family, and add specific i2c
overwrites in the related board-specific dts.

Signed-off-by: Angelo Dureghello <angelo@kernel-space.org>
2023-04-11 06:52:05 +02:00

74 lines
1.4 KiB
Text

// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright (C) 2019 Angelo Dureghello <angelo@sysam.it>
*/
/ {
compatible = "fsl,mcf5275";
aliases {
serial0 = &uart0;
fec0 = &fec0;
fec1 = &fec1;
};
soc {
compatible = "simple-bus";
#address-cells = <1>;
#size-cells = <1>;
ipsbar: ipsbar@4000000 {
compatible = "simple-bus";
#address-cells = <1>;
#size-cells = <1>;
ranges = <0x00000000 0x40000000 0x40000000>;
reg = <0x40000000 0x40000000>;
uart0: uart@200 {
compatible = "fsl,mcf-uart";
reg = <0x200 0x40>;
status = "disabled";
};
uart1: uart@240 {
compatible = "fsl,mcf-uart";
reg = <0x240 0x40>;
status = "disabled";
};
uart2: uart@280 {
compatible = "fsl,mcf-uart";
reg = <0x280 0x40>;
status = "disabled";
};
fec0: ethernet@1000 {
compatible = "fsl,mcf-fec";
reg = <0x1000 0x800>;
max-speed = <100>;
phy-addr = <(-1)>;
timeout-loop = <50000>;
status = "disabled";
};
fec1: ethernet@1800 {
compatible = "fsl,mcf-fec";
reg = <0x1800 0x800>;
mii-base = <0>;
max-speed = <100>;
timeout-loop = <50000>;
status = "disabled";
};
i2c0: i2c@300 {
compatible = "fsl-i2c";
#address-cells=<1>;
#size-cells=<0>;
cell-index = <0>;
reg = <0x300 0x14>;
clock-frequency = <100000>;
status = "disabled";
};
};
};
};