diff options
author | ganbold <ganbold@FreeBSD.org> | 2015-04-11 08:25:53 +0000 |
---|---|---|
committer | ganbold <ganbold@FreeBSD.org> | 2015-04-11 08:25:53 +0000 |
commit | 436ddce665411577ebf117743ae8a7fbfed24bed (patch) | |
tree | ce141a3f98beaa06cd9c1ed6d62743afe325e104 /sys/boot/fdt/dts | |
parent | 759dedc69172ba5c8b441d755fe87ba4da6860bb (diff) | |
download | FreeBSD-src-436ddce665411577ebf117743ae8a7fbfed24bed.zip FreeBSD-src-436ddce665411577ebf117743ae8a7fbfed24bed.tar.gz |
The GNU files don't include a DTS for the aml8726-m8b (which has
cortex-a5 cores unlike the aml8726-m8 which has cortex-a9 cores).
Submitted by: John Wehle
Reviewed by: imp
Diffstat (limited to 'sys/boot/fdt/dts')
-rw-r--r-- | sys/boot/fdt/dts/arm/meson8b.dtsi | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/sys/boot/fdt/dts/arm/meson8b.dtsi b/sys/boot/fdt/dts/arm/meson8b.dtsi new file mode 100644 index 0000000..c76a01a --- /dev/null +++ b/sys/boot/fdt/dts/arm/meson8b.dtsi @@ -0,0 +1,79 @@ +/*- + * Copyright (c) 2015 John Wehle <john@feith.com> + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * $FreeBSD$ + */ + +/include/ "meson.dtsi" + +/ { + model = "Amlogic Meson8b SoC"; + compatible = "amlogic,meson8b"; + + interrupt-parent = <&gic>; + + cpus { + #address-cells = <1>; + #size-cells = <0>; + + cpu@200 { + device_type = "cpu"; + compatible = "arm,cortex-a5"; + next-level-cache = <&L2>; + reg = <0x200>; + }; + + cpu@201 { + device_type = "cpu"; + compatible = "arm,cortex-a5"; + next-level-cache = <&L2>; + reg = <0x201>; + }; + + cpu@202 { + device_type = "cpu"; + compatible = "arm,cortex-a5"; + next-level-cache = <&L2>; + reg = <0x202>; + }; + + cpu@203 { + device_type = "cpu"; + compatible = "arm,cortex-a5"; + next-level-cache = <&L2>; + reg = <0x203>; + }; + }; + + clk81: clk@0 { + #clock-cells = <0>; + compatible = "fixed-clock"; + clock-frequency = <0>; + }; +}; + +&L2 { + interrupts = <0 143 1>; +}; |