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