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

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/qcom/msm8916-ufi.dtsi

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 // SPDX-License-Identifier: GPL-2.0-only
  2 
  3 #include "msm8916-pm8916.dtsi"
  4 
  5 #include <dt-bindings/gpio/gpio.h>
  6 #include <dt-bindings/leds/common.h>
  7 
  8 / {
  9         chassis-type = "embedded";
 10 
 11         aliases {
 12                 mmc0 = &sdhc_1; /* eMMC */
 13                 serial0 = &blsp_uart2;
 14         };
 15 
 16         chosen {
 17                 stdout-path = "serial0";
 18         };
 19 
 20         gpio-keys {
 21                 compatible = "gpio-keys";
 22 
 23                 pinctrl-0 = <&button_default>;
 24                 pinctrl-names = "default";
 25 
 26                 label = "GPIO Buttons";
 27 
 28                 /* GPIO is board-specific */
 29                 button_restart: button-restart {
 30                         label = "Restart";
 31                         linux,code = <KEY_RESTART>;
 32                 };
 33         };
 34 
 35         leds {
 36                 compatible = "gpio-leds";
 37 
 38                 pinctrl-0 = <&gpio_leds_default>;
 39                 pinctrl-names = "default";
 40 
 41                 /*
 42                  * GPIOs are board-specific.
 43                  * Functions and default-states defined here are fallbacks.
 44                  * Feel free to override them if your board is different.
 45                  */
 46                 led_r: led-r {
 47                         color = <LED_COLOR_ID_RED>;
 48                         default-state = "on";
 49                         function = LED_FUNCTION_POWER;
 50                 };
 51 
 52                 led_g: led-g {
 53                         color = <LED_COLOR_ID_GREEN>;
 54                         default-state = "off";
 55                         function = LED_FUNCTION_WLAN;
 56                 };
 57 
 58                 led_b: led-b {
 59                         color = <LED_COLOR_ID_BLUE>;
 60                         default-state = "off";
 61                         function = LED_FUNCTION_WAN;
 62                 };
 63         };
 64 };
 65 
 66 &bam_dmux {
 67         status = "okay";
 68 };
 69 
 70 &bam_dmux_dma {
 71         status = "okay";
 72 };
 73 
 74 &blsp_uart2 {
 75         status = "okay";
 76 };
 77 
 78 /* Remove &mdss_dsi0_phy from clocks to make sure that gcc probes with display disabled */
 79 &gcc {
 80         clocks = <&xo_board>, <&sleep_clk>, <0>, <0>, <0>, <0>, <0>;
 81 };
 82 
 83 &mba_mem {
 84         status = "okay";
 85 };
 86 
 87 &mpss {
 88         status = "okay";
 89 };
 90 
 91 &mpss_mem {
 92         reg = <0x0 0x86800000 0x0 0x5500000>;
 93         status = "okay";
 94 };
 95 
 96 &pm8916_usbin {
 97         status = "okay";
 98 };
 99 
100 &sdhc_1 {
101         status = "okay";
102 };
103 
104 &usb {
105         extcon = <&pm8916_usbin>;
106         usb-role-switch;
107 
108         status = "okay";
109 };
110 
111 &usb_hs_phy {
112         extcon = <&pm8916_usbin>;
113 };
114 
115 &venus {
116         status = "okay";
117 };
118 
119 &venus_mem {
120         status = "okay";
121 };
122 
123 &wcnss {
124         status = "okay";
125 };
126 
127 &wcnss_iris {
128         compatible = "qcom,wcn3620";
129 };
130 
131 &wcnss_mem {
132         status = "okay";
133 };
134 
135 &tlmm {
136         /* pins are board-specific */
137         button_default: button-default-state {
138                 function = "gpio";
139                 drive-strength = <2>;
140         };
141 
142         gpio_leds_default: gpio-leds-default-state {
143                 function = "gpio";
144                 drive-strength = <2>;
145                 bias-disable;
146         };
147 };

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