Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-or-later
0002 /*
0003  * Copyright (c) 2020 thingy.jp.
0004  * Author: Daniel Palmer <daniel@thingy.jp>
0005  */
0006 
0007 #include "mstar-infinity.dtsi"
0008 
0009 &cpu0_opp_table {
0010                 opp-1000000000 {
0011                         opp-hz = /bits/ 64 <1000000000>;
0012                         opp-microvolt = <1000000>;
0013                         clock-latency-ns = <300000>;
0014                 };
0015 
0016                 opp-1200000000 {
0017                         opp-hz = /bits/ 64 <1200000000>;
0018                         opp-microvolt = <1000000>;
0019                         clock-latency-ns = <300000>;
0020                 };
0021 };
0022 
0023 &cpus {
0024         cpu1: cpu@1 {
0025                 device_type = "cpu";
0026                 compatible = "arm,cortex-a7";
0027                 operating-points-v2 = <&cpu0_opp_table>;
0028                 reg = <0x1>;
0029                 clocks = <&cpupll>;
0030                 clock-names = "cpuclk";
0031         };
0032 };
0033 
0034 &riu {
0035         smpctrl: smpctrl@204000 {
0036                 reg = <0x204000 0x200>;
0037                 status = "disabled";
0038         };
0039 };