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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/qcom/qcom-ipq8064-v1.0.dtsi

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 "qcom-ipq8064.dtsi"
  3 #include <dt-bindings/input/input.h>
  4 #include <dt-bindings/leds/common.h>
  5 
  6 / {
  7         model = "Qualcomm Technologies, Inc. IPQ8064-v1.0";
  8 
  9         aliases {
 10                 serial0 = &gsbi4_serial;
 11         };
 12 
 13         chosen {
 14                 stdout-path = "serial0:115200n8";
 15         };
 16 
 17         gpio-keys {
 18                 compatible = "gpio-keys";
 19                 pinctrl-0 = <&buttons_pins>;
 20                 pinctrl-names = "default";
 21 
 22                 button-1 {
 23                         label = "reset";
 24                         linux,code = <KEY_RESTART>;
 25                         gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
 26                         linux,input-type = <1>;
 27                         debounce-interval = <60>;
 28                 };
 29                 button-2 {
 30                         label = "wps";
 31                         linux,code = <KEY_WPS_BUTTON>;
 32                         gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
 33                         linux,input-type = <1>;
 34                         debounce-interval = <60>;
 35                 };
 36         };
 37 
 38         leds {
 39                 compatible = "gpio-leds";
 40                 pinctrl-0 = <&leds_pins>;
 41                 pinctrl-names = "default";
 42 
 43                 led-0 {
 44                         label = "led_usb1";
 45                         gpios = <&qcom_pinmux 7 GPIO_ACTIVE_HIGH>;
 46                         linux,default-trigger = "usbdev";
 47                         default-state = "off";
 48                 };
 49 
 50                 led-1 {
 51                         label = "led_usb3";
 52                         gpios = <&qcom_pinmux 8 GPIO_ACTIVE_HIGH>;
 53                         linux,default-trigger = "usbdev";
 54                         default-state = "off";
 55                 };
 56 
 57                 led-2 {
 58                         label = "status_led_fail";
 59                         function = LED_FUNCTION_STATUS;
 60                         gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>;
 61                         default-state = "off";
 62                 };
 63 
 64                 led-3 {
 65                         label = "sata_led";
 66                         gpios = <&qcom_pinmux 26 GPIO_ACTIVE_HIGH>;
 67                         default-state = "off";
 68                 };
 69 
 70                 led-4 {
 71                         label = "status_led_pass";
 72                         function = LED_FUNCTION_STATUS;
 73                         gpios = <&qcom_pinmux 53 GPIO_ACTIVE_HIGH>;
 74                         default-state = "off";
 75                 };
 76         };
 77 
 78         soc {
 79                 gsbi@16300000 {
 80                         qcom,mode = <GSBI_PROT_I2C_UART>;
 81                         status = "okay";
 82 
 83                         serial@16340000 {
 84                                 status = "okay";
 85                         };
 86                 };
 87 
 88                 gsbi5: gsbi@1a200000 {
 89                         qcom,mode = <GSBI_PROT_SPI>;
 90                         status = "okay";
 91 
 92                         spi4: spi@1a280000 {
 93                                 status = "okay";
 94 
 95                                 pinctrl-0 = <&spi_pins>;
 96                                 pinctrl-names = "default";
 97 
 98                                 cs-gpios = <&qcom_pinmux 20 0>;
 99 
100                                 flash: flash@0 {
101                                         compatible = "s25fl256s1";
102                                         #address-cells = <1>;
103                                         #size-cells = <1>;
104                                         spi-max-frequency = <50000000>;
105                                         reg = <0>;
106 
107                                         partition@0 {
108                                                 label = "rootfs";
109                                                 reg = <0x0 0x1000000>;
110                                         };
111 
112                                         partition@1 {
113                                                 label = "scratch";
114                                                 reg = <0x1000000 0x1000000>;
115                                         };
116                                 };
117                         };
118                 };
119 
120                 sata-phy@1b400000 {
121                         status = "okay";
122                 };
123 
124                 sata@29000000 {
125                         ports-implemented = <0x1>;
126                         status = "okay";
127                 };
128         };
129 };

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