diff options
author | Angelo Dureghello <angelo@sysam.it> | 2019-03-13 21:46:41 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-05-23 23:14:38 -0400 |
commit | b5867b1a7a4c45c6a5a6a97f866dd180631ebf2b (patch) | |
tree | 4949699a268aad5c2b143bf296d47084c0354e08 /arch/m68k/dts/mcf5253.dtsi | |
parent | 40920bdecc4e1b7096de6f546d7b5c2185554ba6 (diff) | |
download | u-boot-b5867b1a7a4c45c6a5a6a97f866dd180631ebf2b.zip u-boot-b5867b1a7a4c45c6a5a6a97f866dd180631ebf2b.tar.gz u-boot-b5867b1a7a4c45c6a5a6a97f866dd180631ebf2b.tar.bz2 |
m68k: add basic set of devicetrees
This patch adds a basic group of devicetrees, one for each
cpu family, including actually just uart and dspi devices,
since these are the drivers supporting devicetree (support
added in this patch-set).
Acked-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Angelo Dureghello <angelo@sysam.it>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'arch/m68k/dts/mcf5253.dtsi')
-rw-r--r-- | arch/m68k/dts/mcf5253.dtsi | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/arch/m68k/dts/mcf5253.dtsi b/arch/m68k/dts/mcf5253.dtsi new file mode 100644 index 0000000..3bde2d6 --- /dev/null +++ b/arch/m68k/dts/mcf5253.dtsi @@ -0,0 +1,44 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2018 Angelo Dureghello <angelo@sysam.it> + */ + +/ { + compatible = "fsl,mcf5253"; + + aliases { + serial0 = &uart0; + }; + + soc { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + + mbar: mbar@10000000 { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x00000000 0x10000000 0x10000>; + reg = <0x10000000 0x10000>; + + uart0: uart@1c0 { + compatible = "fsl,mcf-uart"; + reg = <0x1c0 0x40>; + status = "disabled"; + }; + + uart1: uart@200 { + compatible = "fsl,mcf-uart"; + reg = <0x200 0x40>; + status = "disabled"; + }; + + uart3: uart@c00 { + compatible = "fsl,mcf-uart"; + reg = <0xc00 0x40>; + status = "disabled"; + }; + }; + }; +}; |