2018-06-14 06:56:07 +00:00
|
|
|
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
2017-03-07 12:41:06 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2016 Endless Computers, Inc.
|
|
|
|
* Author: Carlo Caione <carlo@endlessm.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "meson-gxl.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
compatible = "amlogic,meson-gxm";
|
|
|
|
|
|
|
|
cpus {
|
|
|
|
cpu-map {
|
|
|
|
cluster0 {
|
|
|
|
core0 {
|
|
|
|
cpu = <&cpu0>;
|
|
|
|
};
|
|
|
|
core1 {
|
|
|
|
cpu = <&cpu1>;
|
|
|
|
};
|
|
|
|
core2 {
|
|
|
|
cpu = <&cpu2>;
|
|
|
|
};
|
|
|
|
core3 {
|
|
|
|
cpu = <&cpu3>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
cluster1 {
|
|
|
|
core0 {
|
|
|
|
cpu = <&cpu4>;
|
|
|
|
};
|
|
|
|
core1 {
|
|
|
|
cpu = <&cpu5>;
|
|
|
|
};
|
|
|
|
core2 {
|
|
|
|
cpu = <&cpu6>;
|
|
|
|
};
|
|
|
|
core3 {
|
|
|
|
cpu = <&cpu7>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
cpu4: cpu@100 {
|
|
|
|
device_type = "cpu";
|
|
|
|
compatible = "arm,cortex-a53", "arm,armv8";
|
|
|
|
reg = <0x0 0x100>;
|
|
|
|
enable-method = "psci";
|
|
|
|
next-level-cache = <&l2>;
|
2017-06-20 02:28:15 +00:00
|
|
|
clocks = <&scpi_dvfs 1>;
|
2017-03-07 12:41:06 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
cpu5: cpu@101 {
|
|
|
|
device_type = "cpu";
|
|
|
|
compatible = "arm,cortex-a53", "arm,armv8";
|
|
|
|
reg = <0x0 0x101>;
|
|
|
|
enable-method = "psci";
|
|
|
|
next-level-cache = <&l2>;
|
2017-06-20 02:28:15 +00:00
|
|
|
clocks = <&scpi_dvfs 1>;
|
2017-03-07 12:41:06 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
cpu6: cpu@102 {
|
|
|
|
device_type = "cpu";
|
|
|
|
compatible = "arm,cortex-a53", "arm,armv8";
|
|
|
|
reg = <0x0 0x102>;
|
|
|
|
enable-method = "psci";
|
|
|
|
next-level-cache = <&l2>;
|
2017-06-20 02:28:15 +00:00
|
|
|
clocks = <&scpi_dvfs 1>;
|
2017-03-07 12:41:06 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
cpu7: cpu@103 {
|
|
|
|
device_type = "cpu";
|
|
|
|
compatible = "arm,cortex-a53", "arm,armv8";
|
|
|
|
reg = <0x0 0x103>;
|
|
|
|
enable-method = "psci";
|
|
|
|
next-level-cache = <&l2>;
|
2017-06-20 02:28:15 +00:00
|
|
|
clocks = <&scpi_dvfs 1>;
|
2017-03-07 12:41:06 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-06-14 06:56:07 +00:00
|
|
|
&apb {
|
|
|
|
usb2_phy2: phy@78040 {
|
|
|
|
compatible = "amlogic,meson-gxl-usb2-phy";
|
|
|
|
#phy-cells = <0>;
|
|
|
|
reg = <0x0 0x78040 0x0 0x20>;
|
|
|
|
clocks = <&clkc CLKID_USB>;
|
|
|
|
clock-names = "phy";
|
|
|
|
resets = <&reset RESET_USB_OTG>;
|
|
|
|
reset-names = "phy";
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2017-11-13 20:15:33 +00:00
|
|
|
&clkc_AO {
|
|
|
|
compatible = "amlogic,meson-gxm-aoclkc", "amlogic,meson-gx-aoclkc";
|
|
|
|
};
|
|
|
|
|
2017-06-20 02:28:15 +00:00
|
|
|
&saradc {
|
|
|
|
compatible = "amlogic,meson-gxm-saradc", "amlogic,meson-saradc";
|
|
|
|
};
|
|
|
|
|
|
|
|
&scpi_dvfs {
|
|
|
|
clock-indices = <0 1>;
|
|
|
|
clock-output-names = "vbig", "vlittle";
|
|
|
|
};
|
|
|
|
|
2017-03-07 12:41:06 +00:00
|
|
|
&vpu {
|
|
|
|
compatible = "amlogic,meson-gxm-vpu", "amlogic,meson-gx-vpu";
|
|
|
|
};
|
2017-06-20 02:28:15 +00:00
|
|
|
|
2017-07-09 13:12:48 +00:00
|
|
|
&hdmi_tx {
|
|
|
|
compatible = "amlogic,meson-gxm-dw-hdmi", "amlogic,meson-gx-dw-hdmi";
|
|
|
|
};
|
2018-06-14 06:56:07 +00:00
|
|
|
|
|
|
|
&dwc3 {
|
|
|
|
phys = <&usb3_phy>, <&usb2_phy0>, <&usb2_phy1>, <&usb2_phy2>;
|
|
|
|
};
|