xref: /freebsd/sys/contrib/device-tree/src/arm/sigmastar/mstar-infinity.dtsi (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Copyright (c) 2020 thingy.jp.
4*f126890aSEmmanuel Vadot * Author: Daniel Palmer <daniel@thingy.jp>
5*f126890aSEmmanuel Vadot */
6*f126890aSEmmanuel Vadot
7*f126890aSEmmanuel Vadot#include "mstar-v7.dtsi"
8*f126890aSEmmanuel Vadot
9*f126890aSEmmanuel Vadot#include <dt-bindings/gpio/msc313-gpio.h>
10*f126890aSEmmanuel Vadot
11*f126890aSEmmanuel Vadot/ {
12*f126890aSEmmanuel Vadot	cpu0_opp_table: opp_table0 {
13*f126890aSEmmanuel Vadot		compatible = "operating-points-v2";
14*f126890aSEmmanuel Vadot		opp-shared;
15*f126890aSEmmanuel Vadot
16*f126890aSEmmanuel Vadot		opp-240000000 {
17*f126890aSEmmanuel Vadot			opp-hz = /bits/ 64 <240000000>;
18*f126890aSEmmanuel Vadot			opp-microvolt = <1000000>;
19*f126890aSEmmanuel Vadot			clock-latency-ns = <300000>;
20*f126890aSEmmanuel Vadot		};
21*f126890aSEmmanuel Vadot
22*f126890aSEmmanuel Vadot		opp-400000000 {
23*f126890aSEmmanuel Vadot			opp-hz = /bits/ 64 <400000000>;
24*f126890aSEmmanuel Vadot			opp-microvolt = <1000000>;
25*f126890aSEmmanuel Vadot			clock-latency-ns = <300000>;
26*f126890aSEmmanuel Vadot		};
27*f126890aSEmmanuel Vadot		opp-600000000 {
28*f126890aSEmmanuel Vadot			opp-hz = /bits/ 64 <600000000>;
29*f126890aSEmmanuel Vadot			opp-microvolt = <1000000>;
30*f126890aSEmmanuel Vadot			clock-latency-ns = <300000>;
31*f126890aSEmmanuel Vadot		};
32*f126890aSEmmanuel Vadot
33*f126890aSEmmanuel Vadot		opp-800000000 {
34*f126890aSEmmanuel Vadot			opp-hz = /bits/ 64 <800000000>;
35*f126890aSEmmanuel Vadot			opp-microvolt = <1000000>;
36*f126890aSEmmanuel Vadot			clock-latency-ns = <300000>;
37*f126890aSEmmanuel Vadot		};
38*f126890aSEmmanuel Vadot	};
39*f126890aSEmmanuel Vadot};
40*f126890aSEmmanuel Vadot
41*f126890aSEmmanuel Vadot&cpu0 {
42*f126890aSEmmanuel Vadot	operating-points-v2 = <&cpu0_opp_table>;
43*f126890aSEmmanuel Vadot};
44*f126890aSEmmanuel Vadot
45*f126890aSEmmanuel Vadot&imi {
46*f126890aSEmmanuel Vadot	reg = <0xa0000000 0x16000>;
47*f126890aSEmmanuel Vadot};
48*f126890aSEmmanuel Vadot
49*f126890aSEmmanuel Vadot&gpio {
50*f126890aSEmmanuel Vadot	compatible = "mstar,msc313-gpio";
51*f126890aSEmmanuel Vadot	status = "okay";
52*f126890aSEmmanuel Vadot};
53