1e9a12e14SNeil Armstrong// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2e9a12e14SNeil Armstrong/* 3e9a12e14SNeil Armstrong * Copyright (c) 2019 BayLibre, SAS 4e9a12e14SNeil Armstrong * Author: Neil Armstrong <narmstrong@baylibre.com> 5e9a12e14SNeil Armstrong */ 6e9a12e14SNeil Armstrong 7e9a12e14SNeil Armstrong#include "meson-g12-common.dtsi" 8f4f1c8d9SNeil Armstrong#include <dt-bindings/power/meson-sm1-power.h> 9e9a12e14SNeil Armstrong 10e9a12e14SNeil Armstrong/ { 11e9a12e14SNeil Armstrong compatible = "amlogic,sm1"; 12e9a12e14SNeil Armstrong 13e9a12e14SNeil Armstrong cpus { 14e9a12e14SNeil Armstrong #address-cells = <0x2>; 15e9a12e14SNeil Armstrong #size-cells = <0x0>; 16e9a12e14SNeil Armstrong 17e9a12e14SNeil Armstrong cpu0: cpu@0 { 18e9a12e14SNeil Armstrong device_type = "cpu"; 19e9a12e14SNeil Armstrong compatible = "arm,cortex-a55"; 20e9a12e14SNeil Armstrong reg = <0x0 0x0>; 21e9a12e14SNeil Armstrong enable-method = "psci"; 22e9a12e14SNeil Armstrong next-level-cache = <&l2>; 23e9a12e14SNeil Armstrong }; 24e9a12e14SNeil Armstrong 25e9a12e14SNeil Armstrong cpu1: cpu@1 { 26e9a12e14SNeil Armstrong device_type = "cpu"; 27e9a12e14SNeil Armstrong compatible = "arm,cortex-a55"; 28e9a12e14SNeil Armstrong reg = <0x0 0x1>; 29e9a12e14SNeil Armstrong enable-method = "psci"; 30e9a12e14SNeil Armstrong next-level-cache = <&l2>; 31e9a12e14SNeil Armstrong }; 32e9a12e14SNeil Armstrong 33e9a12e14SNeil Armstrong cpu2: cpu@2 { 34e9a12e14SNeil Armstrong device_type = "cpu"; 35e9a12e14SNeil Armstrong compatible = "arm,cortex-a55"; 36e9a12e14SNeil Armstrong reg = <0x0 0x2>; 37e9a12e14SNeil Armstrong enable-method = "psci"; 38e9a12e14SNeil Armstrong next-level-cache = <&l2>; 39e9a12e14SNeil Armstrong }; 40e9a12e14SNeil Armstrong 41e9a12e14SNeil Armstrong cpu3: cpu@3 { 42e9a12e14SNeil Armstrong device_type = "cpu"; 43e9a12e14SNeil Armstrong compatible = "arm,cortex-a55"; 44e9a12e14SNeil Armstrong reg = <0x0 0x3>; 45e9a12e14SNeil Armstrong enable-method = "psci"; 46e9a12e14SNeil Armstrong next-level-cache = <&l2>; 47e9a12e14SNeil Armstrong }; 48e9a12e14SNeil Armstrong 49e9a12e14SNeil Armstrong l2: l2-cache0 { 50e9a12e14SNeil Armstrong compatible = "cache"; 51e9a12e14SNeil Armstrong }; 52e9a12e14SNeil Armstrong }; 533d9e7648SNeil Armstrong 543d9e7648SNeil Armstrong cpu_opp_table: opp-table { 553d9e7648SNeil Armstrong compatible = "operating-points-v2"; 563d9e7648SNeil Armstrong opp-shared; 573d9e7648SNeil Armstrong 583d9e7648SNeil Armstrong opp-100000000 { 593d9e7648SNeil Armstrong opp-hz = /bits/ 64 <100000000>; 603d9e7648SNeil Armstrong opp-microvolt = <730000>; 613d9e7648SNeil Armstrong }; 623d9e7648SNeil Armstrong 633d9e7648SNeil Armstrong opp-250000000 { 643d9e7648SNeil Armstrong opp-hz = /bits/ 64 <250000000>; 653d9e7648SNeil Armstrong opp-microvolt = <730000>; 663d9e7648SNeil Armstrong }; 673d9e7648SNeil Armstrong 683d9e7648SNeil Armstrong opp-500000000 { 693d9e7648SNeil Armstrong opp-hz = /bits/ 64 <500000000>; 703d9e7648SNeil Armstrong opp-microvolt = <730000>; 713d9e7648SNeil Armstrong }; 723d9e7648SNeil Armstrong 733d9e7648SNeil Armstrong opp-667000000 { 743d9e7648SNeil Armstrong opp-hz = /bits/ 64 <666666666>; 753d9e7648SNeil Armstrong opp-microvolt = <750000>; 763d9e7648SNeil Armstrong }; 773d9e7648SNeil Armstrong 783d9e7648SNeil Armstrong opp-1000000000 { 793d9e7648SNeil Armstrong opp-hz = /bits/ 64 <1000000000>; 803d9e7648SNeil Armstrong opp-microvolt = <770000>; 813d9e7648SNeil Armstrong }; 823d9e7648SNeil Armstrong 833d9e7648SNeil Armstrong opp-1200000000 { 843d9e7648SNeil Armstrong opp-hz = /bits/ 64 <1200000000>; 853d9e7648SNeil Armstrong opp-microvolt = <780000>; 863d9e7648SNeil Armstrong }; 873d9e7648SNeil Armstrong 883d9e7648SNeil Armstrong opp-1404000000 { 893d9e7648SNeil Armstrong opp-hz = /bits/ 64 <1404000000>; 903d9e7648SNeil Armstrong opp-microvolt = <790000>; 913d9e7648SNeil Armstrong }; 923d9e7648SNeil Armstrong 933d9e7648SNeil Armstrong opp-1512000000 { 943d9e7648SNeil Armstrong opp-hz = /bits/ 64 <1500000000>; 953d9e7648SNeil Armstrong opp-microvolt = <800000>; 963d9e7648SNeil Armstrong }; 973d9e7648SNeil Armstrong 983d9e7648SNeil Armstrong opp-1608000000 { 993d9e7648SNeil Armstrong opp-hz = /bits/ 64 <1608000000>; 1003d9e7648SNeil Armstrong opp-microvolt = <810000>; 1013d9e7648SNeil Armstrong }; 1023d9e7648SNeil Armstrong 1033d9e7648SNeil Armstrong opp-1704000000 { 1043d9e7648SNeil Armstrong opp-hz = /bits/ 64 <1704000000>; 1053d9e7648SNeil Armstrong opp-microvolt = <850000>; 1063d9e7648SNeil Armstrong }; 1073d9e7648SNeil Armstrong 1083d9e7648SNeil Armstrong opp-1800000000 { 1093d9e7648SNeil Armstrong opp-hz = /bits/ 64 <1800000000>; 1103d9e7648SNeil Armstrong opp-microvolt = <900000>; 1113d9e7648SNeil Armstrong }; 1123d9e7648SNeil Armstrong 1133d9e7648SNeil Armstrong opp-1908000000 { 1143d9e7648SNeil Armstrong opp-hz = /bits/ 64 <1908000000>; 1153d9e7648SNeil Armstrong opp-microvolt = <950000>; 1163d9e7648SNeil Armstrong }; 1173d9e7648SNeil Armstrong }; 118e9a12e14SNeil Armstrong}; 119e9a12e14SNeil Armstrong 120e9a12e14SNeil Armstrong&cecb_AO { 121e9a12e14SNeil Armstrong compatible = "amlogic,meson-sm1-ao-cec"; 122e9a12e14SNeil Armstrong}; 123e9a12e14SNeil Armstrong 124e9a12e14SNeil Armstrong&clk_msr { 125e9a12e14SNeil Armstrong compatible = "amlogic,meson-sm1-clk-measure"; 126e9a12e14SNeil Armstrong}; 127e9a12e14SNeil Armstrong 128f4f1c8d9SNeil Armstrong 1293d9e7648SNeil Armstrong&clkc { 1303d9e7648SNeil Armstrong compatible = "amlogic,sm1-clkc"; 1313d9e7648SNeil Armstrong}; 1323d9e7648SNeil Armstrong 133f4f1c8d9SNeil Armstrongðmac { 134f4f1c8d9SNeil Armstrong power-domains = <&pwrc PWRC_SM1_ETH_ID>; 135f4f1c8d9SNeil Armstrong}; 136f4f1c8d9SNeil Armstrong 137f4f1c8d9SNeil Armstrong&pwrc { 138f4f1c8d9SNeil Armstrong compatible = "amlogic,meson-sm1-pwrc"; 139e9a12e14SNeil Armstrong}; 140e9a12e14SNeil Armstrong 141e9a12e14SNeil Armstrong&vpu { 142f4f1c8d9SNeil Armstrong power-domains = <&pwrc PWRC_SM1_VPU_ID>; 143f4f1c8d9SNeil Armstrong}; 144f4f1c8d9SNeil Armstrong 145f4f1c8d9SNeil Armstrong&usb { 146f4f1c8d9SNeil Armstrong power-domains = <&pwrc PWRC_SM1_USB_ID>; 147e9a12e14SNeil Armstrong}; 148