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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/qcom/qcom-msm8660-surf.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
  2 #include <dt-bindings/input/input.h>
  3 
  4 #include "qcom-msm8660.dtsi"
  5 #include "pm8058.dtsi"
  6 
  7 / {
  8         model = "Qualcomm MSM8660 SURF";
  9         compatible = "qcom,msm8660-surf", "qcom,msm8660";
 10 
 11         aliases {
 12                 serial0 = &gsbi12_serial;
 13         };
 14 
 15         chosen {
 16                 stdout-path = "serial0:115200n8";
 17         };
 18 
 19         /* Temporary fixed regulator */
 20         vsdcc_fixed: vsdcc-regulator {
 21                 compatible = "regulator-fixed";
 22                 regulator-name = "SDCC Power";
 23                 regulator-min-microvolt = <2700000>;
 24                 regulator-max-microvolt = <2700000>;
 25                 regulator-always-on;
 26         };
 27 };
 28 
 29 &gsbi12 {
 30         qcom,mode = <GSBI_PROT_I2C_UART>;
 31         status = "okay";
 32 };
 33 
 34 &gsbi12_serial {
 35         status = "okay";
 36 };
 37 
 38 &pm8058 {
 39         interrupts-extended = <&tlmm 88 IRQ_TYPE_LEVEL_LOW>;
 40 };
 41 
 42 &pm8058_keypad {
 43         linux,keymap = <
 44                 MATRIX_KEY(0, 0, KEY_FN_F1)
 45                 MATRIX_KEY(0, 1, KEY_UP)
 46                 MATRIX_KEY(0, 2, KEY_LEFT)
 47                 MATRIX_KEY(0, 3, KEY_VOLUMEUP)
 48                 MATRIX_KEY(1, 0, KEY_FN_F2)
 49                 MATRIX_KEY(1, 1, KEY_RIGHT)
 50                 MATRIX_KEY(1, 2, KEY_DOWN)
 51                 MATRIX_KEY(1, 3, KEY_VOLUMEDOWN)
 52                 MATRIX_KEY(2, 3, KEY_ENTER)
 53                 MATRIX_KEY(4, 0, KEY_CAMERA_FOCUS)
 54                 MATRIX_KEY(4, 1, KEY_UP)
 55                 MATRIX_KEY(4, 2, KEY_LEFT)
 56                 MATRIX_KEY(4, 3, KEY_HOME)
 57                 MATRIX_KEY(4, 4, KEY_FN_F3)
 58                 MATRIX_KEY(5, 0, KEY_CAMERA)
 59                 MATRIX_KEY(5, 1, KEY_RIGHT)
 60                 MATRIX_KEY(5, 2, KEY_DOWN)
 61                 MATRIX_KEY(5, 3, KEY_BACK)
 62                 MATRIX_KEY(5, 4, KEY_MENU)
 63                 >;
 64         keypad,num-rows = <6>;
 65         keypad,num-columns = <5>;
 66 };
 67 
 68 &rpm {
 69         regulators-0 {
 70                 compatible = "qcom,rpm-pm8901-regulators";
 71         };
 72 
 73         regulators-1 {
 74                 compatible = "qcom,rpm-pm8058-regulators";
 75         };
 76 };
 77 
 78 /* eMMC */
 79 &sdcc1 {
 80         vmmc-supply = <&vsdcc_fixed>;
 81         status = "okay";
 82 };
 83 
 84 /* External micro SD card */
 85 &sdcc3 {
 86         vmmc-supply = <&vsdcc_fixed>;
 87         status = "okay";
 88 };

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