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-v7.dtsi"
0008
0009 #include <dt-bindings/gpio/msc313-gpio.h>
0010
0011 / {
0012 cpu0_opp_table: opp_table0 {
0013 compatible = "operating-points-v2";
0014 opp-shared;
0015
0016 opp-240000000 {
0017 opp-hz = /bits/ 64 <240000000>;
0018 opp-microvolt = <1000000>;
0019 clock-latency-ns = <300000>;
0020 };
0021
0022 opp-400000000 {
0023 opp-hz = /bits/ 64 <400000000>;
0024 opp-microvolt = <1000000>;
0025 clock-latency-ns = <300000>;
0026 };
0027 opp-600000000 {
0028 opp-hz = /bits/ 64 <600000000>;
0029 opp-microvolt = <1000000>;
0030 clock-latency-ns = <300000>;
0031 };
0032
0033 opp-800000000 {
0034 opp-hz = /bits/ 64 <800000000>;
0035 opp-microvolt = <1000000>;
0036 clock-latency-ns = <300000>;
0037 };
0038 };
0039 };
0040
0041 &cpu0 {
0042 operating-points-v2 = <&cpu0_opp_table>;
0043 };
0044
0045 &imi {
0046 reg = <0xa0000000 0x16000>;
0047 };
0048
0049 &gpio {
0050 compatible = "mstar,msc313-gpio";
0051 status = "okay";
0052 };