1 // SPDX-License-Identifier: GPL-2.0-or-later 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* 2 /* 3 * Copyright (c) 2020 thingy.jp. 3 * Copyright (c) 2020 thingy.jp. 4 * Author: Daniel Palmer <daniel@thingy.jp> 4 * Author: Daniel Palmer <daniel@thingy.jp> 5 */ 5 */ 6 6 7 #include "mstar-v7.dtsi" 7 #include "mstar-v7.dtsi" 8 8 9 #include <dt-bindings/gpio/msc313-gpio.h> 9 #include <dt-bindings/gpio/msc313-gpio.h> 10 10 11 / { 11 / { 12 cpu0_opp_table: opp_table0 { 12 cpu0_opp_table: opp_table0 { 13 compatible = "operating-points 13 compatible = "operating-points-v2"; 14 opp-shared; 14 opp-shared; 15 15 16 opp-240000000 { 16 opp-240000000 { 17 opp-hz = /bits/ 64 <24 17 opp-hz = /bits/ 64 <240000000>; 18 opp-microvolt = <10000 18 opp-microvolt = <1000000>; 19 clock-latency-ns = <30 19 clock-latency-ns = <300000>; 20 }; 20 }; 21 21 22 opp-400000000 { 22 opp-400000000 { 23 opp-hz = /bits/ 64 <40 23 opp-hz = /bits/ 64 <400000000>; 24 opp-microvolt = <10000 24 opp-microvolt = <1000000>; 25 clock-latency-ns = <30 25 clock-latency-ns = <300000>; 26 }; 26 }; 27 opp-600000000 { 27 opp-600000000 { 28 opp-hz = /bits/ 64 <60 28 opp-hz = /bits/ 64 <600000000>; 29 opp-microvolt = <10000 29 opp-microvolt = <1000000>; 30 clock-latency-ns = <30 30 clock-latency-ns = <300000>; 31 }; 31 }; 32 32 33 opp-800000000 { 33 opp-800000000 { 34 opp-hz = /bits/ 64 <80 34 opp-hz = /bits/ 64 <800000000>; 35 opp-microvolt = <10000 35 opp-microvolt = <1000000>; 36 clock-latency-ns = <30 36 clock-latency-ns = <300000>; 37 }; 37 }; 38 }; 38 }; 39 }; 39 }; 40 40 41 &cpu0 { 41 &cpu0 { 42 operating-points-v2 = <&cpu0_opp_table 42 operating-points-v2 = <&cpu0_opp_table>; 43 }; 43 }; 44 44 45 &imi { 45 &imi { 46 reg = <0xa0000000 0x16000>; 46 reg = <0xa0000000 0x16000>; 47 }; 47 }; 48 48 49 &gpio { 49 &gpio { 50 compatible = "mstar,msc313-gpio"; 50 compatible = "mstar,msc313-gpio"; 51 status = "okay"; 51 status = "okay"; 52 }; 52 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.