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

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/qcom/ipq5332-rdp-common.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: BSD-3-Clause
  2 /*
  3  * IPQ5332 RDP board common device tree source
  4  *
  5  * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
  6  */
  7 
  8 /dts-v1/;
  9 
 10 #include <dt-bindings/gpio/gpio.h>
 11 #include <dt-bindings/input/input.h>
 12 #include <dt-bindings/leds/common.h>
 13 #include "ipq5332.dtsi"
 14 
 15 / {
 16         aliases {
 17                 serial0 = &blsp1_uart0;
 18         };
 19 
 20         chosen {
 21                 stdout-path = "serial0";
 22         };
 23 
 24         gpio-keys {
 25                 compatible = "gpio-keys";
 26                 pinctrl-0 = <&gpio_keys_default>;
 27                 pinctrl-names = "default";
 28 
 29                 button-wps {
 30                         label = "wps";
 31                         linux,code = <KEY_WPS_BUTTON>;
 32                         gpios = <&tlmm 35 GPIO_ACTIVE_LOW>;
 33                         debounce-interval = <60>;
 34                 };
 35         };
 36 
 37         leds {
 38                 compatible = "gpio-leds";
 39                 pinctrl-0 = <&gpio_leds_default>;
 40                 pinctrl-names = "default";
 41 
 42                 led-0 {
 43                         color = <LED_COLOR_ID_GREEN>;
 44                         function = LED_FUNCTION_WLAN;
 45                         gpios = <&tlmm 36 GPIO_ACTIVE_HIGH>;
 46                         linux,default-trigger = "phy0tx";
 47                         default-state = "off";
 48                 };
 49         };
 50 };
 51 
 52 &blsp1_uart0 {
 53         pinctrl-0 = <&serial_0_pins>;
 54         pinctrl-names = "default";
 55         status = "okay";
 56 };
 57 
 58 &sleep_clk {
 59         clock-frequency = <32000>;
 60 };
 61 
 62 &xo_board {
 63         clock-frequency = <24000000>;
 64 };
 65 
 66 /* PINCTRL */
 67 &tlmm {
 68         gpio_keys_default: gpio-keys-default-state {
 69                 pins = "gpio35";
 70                 function = "gpio";
 71                 drive-strength = <8>;
 72                 bias-pull-up;
 73         };
 74 
 75         gpio_leds_default: gpio-leds-default-state {
 76                 pins = "gpio36";
 77                 function = "gpio";
 78                 drive-strength = <8>;
 79                 bias-pull-down;
 80         };
 81 };

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