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

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/sprd/sp9860g-1h10.dts

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ 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.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /*
  2  * Spreadtrum SP9860g board
  3  *
  4  * Copyright (C) 2017, Spreadtrum Communications Inc.
  5  *
  6  * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  7  */
  8 
  9 /dts-v1/;
 10 
 11 #include "sc9860.dtsi"
 12 #include "sc2731.dtsi"
 13 
 14 / {
 15         model = "Spreadtrum SP9860G 3GFHD Board";
 16 
 17         compatible = "sprd,sp9860g-1h10", "sprd,sc9860";
 18 
 19         aliases {
 20                 serial0 = &uart0; /* for Bluetooth */
 21                 serial1 = &uart1; /* UART console */
 22                 serial2 = &uart2; /* Reserved */
 23                 serial3 = &uart3; /* for GPS */
 24                 spi0 = &adi_bus;
 25         };
 26 
 27         memory@80000000 {
 28                 device_type = "memory";
 29                 reg = <0x0 0x80000000 0 0x60000000>,
 30                       <0x1 0x80000000 0 0x60000000>;
 31         };
 32 
 33         chosen {
 34                 stdout-path = "serial1:115200n8";
 35         };
 36 
 37         gpio-keys {
 38                 compatible = "gpio-keys";
 39 
 40                 key-volumedown {
 41                         label = "Volume Down Key";
 42                         linux,code = <KEY_VOLUMEDOWN>;
 43                         gpios = <&eic_debounce 2 GPIO_ACTIVE_LOW>;
 44                         debounce-interval = <2>;
 45                         wakeup-source;
 46                 };
 47 
 48                 key-volumeup {
 49                         label = "Volume Up Key";
 50                         linux,code = <KEY_VOLUMEUP>;
 51                         gpios = <&pmic_eic 10 GPIO_ACTIVE_HIGH>;
 52                         debounce-interval = <2>;
 53                         wakeup-source;
 54                 };
 55 
 56                 key-power {
 57                         label = "Power Key";
 58                         linux,code = <KEY_POWER>;
 59                         gpios = <&pmic_eic 1 GPIO_ACTIVE_HIGH>;
 60                         debounce-interval = <2>;
 61                         wakeup-source;
 62                 };
 63         };
 64 
 65         reserved-memory {
 66                 #address-cells = <2>;
 67                 #size-cells = <2>;
 68                 ranges;
 69         };
 70 
 71         bat: battery {
 72                 compatible = "simple-battery";
 73                 charge-full-design-microamp-hours = <1900000>;
 74                 charge-term-current-microamp = <120000>;
 75                 constant_charge_voltage_max_microvolt = <4350000>;
 76                 internal-resistance-micro-ohms = <250000>;
 77                 ocv-capacity-celsius = <20>;
 78                 ocv-capacity-table-0 = <4185000 100>, <4113000 95>, <4066000 90>,
 79                         <4022000 85>, <3983000 80>, <3949000 75>,
 80                         <3917000 70>, <3889000 65>, <3864000 60>,
 81                         <3835000 55>, <3805000 50>, <3787000 45>,
 82                         <3777000 40>, <3773000 35>, <3770000 30>,
 83                         <3765000 25>, <3752000 20>, <3724000 15>,
 84                         <3680000 10>, <3605000 5>, <3400000 0>;
 85         };
 86 };
 87 
 88 &uart0 {
 89         status = "okay";
 90 };
 91 
 92 &uart1 {
 93         status = "okay";
 94 };
 95 
 96 &uart2 {
 97         status = "okay";
 98 };
 99 
100 &uart3 {
101         status = "okay";
102 };

~ [ 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