~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/riscv/boot/dts/sophgo/sg2042-milkv-pioneer.dts

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0 OR MIT
  2 /*
  3  * Copyright (C) 2022 Sophgo Technology Inc. All rights reserved.
  4  */
  5 
  6 #include "sg2042.dtsi"
  7 
  8 / {
  9         model = "Milk-V Pioneer";
 10         compatible = "milkv,pioneer", "sophgo,sg2042";
 11 
 12         chosen {
 13                 stdout-path = "serial0";
 14         };
 15 };
 16 
 17 &cgi_main {
 18         clock-frequency = <25000000>;
 19 };
 20 
 21 &cgi_dpll0 {
 22         clock-frequency = <25000000>;
 23 };
 24 
 25 &cgi_dpll1 {
 26         clock-frequency = <25000000>;
 27 };
 28 
 29 &emmc {
 30         bus-width = <4>;
 31         no-sdio;
 32         no-sd;
 33         non-removable;
 34         wp-inverted;
 35         status = "okay";
 36 };
 37 
 38 &i2c1 {
 39         status = "okay";
 40 
 41         mcu: syscon@17 {
 42                 compatible = "sophgo,sg2042-hwmon-mcu";
 43                 reg = <0x17>;
 44                 #thermal-sensor-cells = <1>;
 45         };
 46 };
 47 
 48 &sd {
 49         bus-width = <4>;
 50         no-sdio;
 51         no-mmc;
 52         wp-inverted;
 53         status = "okay";
 54 };
 55 
 56 &uart0 {
 57         status = "okay";
 58 };
 59 
 60 / {
 61         thermal-zones {
 62                 soc-thermal {
 63                         polling-delay-passive = <1000>;
 64                         polling-delay = <1000>;
 65                         thermal-sensors = <&mcu 0>;
 66 
 67                         trips {
 68                                 soc_active1: soc-active1 {
 69                                         temperature = <30000>;
 70                                         hysteresis = <8000>;
 71                                         type = "active";
 72                                 };
 73 
 74                                 soc_active2: soc-active2 {
 75                                         temperature = <58000>;
 76                                         hysteresis = <12000>;
 77                                         type = "active";
 78                                 };
 79 
 80                                 soc_active3: soc-active3 {
 81                                         temperature = <70000>;
 82                                         hysteresis = <10000>;
 83                                         type = "active";
 84                                 };
 85 
 86                                 soc_hot: soc-hot {
 87                                         temperature = <80000>;
 88                                         hysteresis = <5000>;
 89                                         type = "hot";
 90                                 };
 91                         };
 92                 };
 93 
 94                 board-thermal {
 95                         polling-delay-passive = <1000>;
 96                         polling-delay = <1000>;
 97                         thermal-sensors = <&mcu 1>;
 98 
 99                         trips {
100                                 board_active: board-active {
101                                         temperature = <75000>;
102                                         hysteresis = <8000>;
103                                         type = "active";
104                                 };
105                         };
106                 };
107         };
108 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php