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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/hisilicon/hi6220-hikey.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 ] ~

Diff markup

Differences between /scripts/dtc/include-prefixes/arm64/hisilicon/hi6220-hikey.dts (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/arm64/hisilicon/hi6220-hikey.dts (Version linux-4.12.14)


  1 // SPDX-License-Identifier: GPL-2.0            << 
  2 /*                                                  1 /*
  3  * dts file for Hisilicon HiKey Development Bo      2  * dts file for Hisilicon HiKey Development Board
  4  *                                                  3  *
  5  * Copyright (C) 2015, HiSilicon Ltd.          !!   4  * Copyright (C) 2015, Hisilicon Ltd.
  6  *                                                  5  *
  7  */                                                 6  */
  8                                                     7 
  9 /dts-v1/;                                           8 /dts-v1/;
 10 #include "hi6220.dtsi"                              9 #include "hi6220.dtsi"
 11 #include "hikey-pinctrl.dtsi"                      10 #include "hikey-pinctrl.dtsi"
 12 #include <dt-bindings/gpio/gpio.h>                 11 #include <dt-bindings/gpio/gpio.h>
 13                                                    12 
 14 / {                                                13 / {
 15         model = "HiKey Development Board";         14         model = "HiKey Development Board";
 16         compatible = "hisilicon,hi6220-hikey",     15         compatible = "hisilicon,hi6220-hikey", "hisilicon,hi6220";
 17                                                    16 
 18         aliases {                                  17         aliases {
 19                 serial0 = &uart0; /* On board      18                 serial0 = &uart0; /* On board UART0 */
 20                 serial1 = &uart1; /* BT UART *     19                 serial1 = &uart1; /* BT UART */
 21                 serial2 = &uart2; /* LS Expans     20                 serial2 = &uart2; /* LS Expansion UART0 */
 22                 serial3 = &uart3; /* LS Expans     21                 serial3 = &uart3; /* LS Expansion UART1 */
 23         };                                         22         };
 24                                                    23 
 25         chosen {                                   24         chosen {
 26                 stdout-path = "serial3:115200n     25                 stdout-path = "serial3:115200n8";
 27         };                                         26         };
 28                                                    27 
 29         /*                                         28         /*
 30          * Reserve below regions from memory n     29          * Reserve below regions from memory node:
 31          *                                         30          *
 32          *  0x05e0,0000 - 0x05ef,ffff: MCU fir     31          *  0x05e0,0000 - 0x05ef,ffff: MCU firmware runtime using
 33          *  0x05f0,1000 - 0x05f0,1fff: Reboot      32          *  0x05f0,1000 - 0x05f0,1fff: Reboot reason
 34          *  0x06df,f000 - 0x06df,ffff: Mailbox     33          *  0x06df,f000 - 0x06df,ffff: Mailbox message data
 35          *  0x0740,f000 - 0x0740,ffff: MCU fir     34          *  0x0740,f000 - 0x0740,ffff: MCU firmware section
 36          *  0x21f0,0000 - 0x21ff,ffff: pstore/     35          *  0x21f0,0000 - 0x21ff,ffff: pstore/ramoops buffer
 37          *  0x3e00,0000 - 0x3fff,ffff: OP-TEE      36          *  0x3e00,0000 - 0x3fff,ffff: OP-TEE
 38          */                                        37          */
 39         memory@0 {                                 38         memory@0 {
 40                 device_type = "memory";            39                 device_type = "memory";
 41                 reg = <0x00000000 0x00000000 0     40                 reg = <0x00000000 0x00000000 0x00000000 0x05e00000>,
 42                       <0x00000000 0x05f00000 0     41                       <0x00000000 0x05f00000 0x00000000 0x00001000>,
 43                       <0x00000000 0x05f02000 0     42                       <0x00000000 0x05f02000 0x00000000 0x00efd000>,
 44                       <0x00000000 0x06e00000 0     43                       <0x00000000 0x06e00000 0x00000000 0x0060f000>,
 45                       <0x00000000 0x07410000 0     44                       <0x00000000 0x07410000 0x00000000 0x1aaf0000>,
 46                       <0x00000000 0x22000000 0     45                       <0x00000000 0x22000000 0x00000000 0x1c000000>;
 47         };                                         46         };
 48                                                    47 
 49         reserved-memory {                          48         reserved-memory {
 50                 #address-cells = <2>;              49                 #address-cells = <2>;
 51                 #size-cells = <2>;                 50                 #size-cells = <2>;
 52                 ranges;                            51                 ranges;
 53                                                    52 
 54                 ramoops@21f00000 {             !!  53                 ramoops@0x21f00000 {
 55                         compatible = "ramoops"     54                         compatible = "ramoops";
 56                         reg = <0x0 0x21f00000      55                         reg = <0x0 0x21f00000 0x0 0x00100000>;
 57                         record-size = <0x00020 !!  56                         record-size     = <0x00020000>;
 58                         console-size = <0x0002 !!  57                         console-size    = <0x00020000>;
 59                         ftrace-size = <0x00020 !!  58                         ftrace-size     = <0x00020000>;
 60                 };                                 59                 };
 61                                                    60 
 62                 /* global autoconfigured regio     61                 /* global autoconfigured region for contiguous allocations */
 63                 linux,cma {                        62                 linux,cma {
 64                         compatible = "shared-d     63                         compatible = "shared-dma-pool";
 65                         reusable;                  64                         reusable;
 66                         size = <0x00000000 0x0     65                         size = <0x00000000 0x08000000>;
 67                         linux,cma-default;         66                         linux,cma-default;
 68                 };                                 67                 };
 69         };                                         68         };
 70                                                    69 
 71         reboot-mode-syscon@5f01000 {               70         reboot-mode-syscon@5f01000 {
 72                 compatible = "syscon", "simple     71                 compatible = "syscon", "simple-mfd";
 73                 reg = <0x0 0x05f01000 0x0 0x00     72                 reg = <0x0 0x05f01000 0x0 0x00001000>;
 74                                                    73 
 75                 reboot-mode {                      74                 reboot-mode {
 76                         compatible = "syscon-r     75                         compatible = "syscon-reboot-mode";
 77                         offset = <0x0>;            76                         offset = <0x0>;
 78                                                    77 
 79                         mode-normal = <0x77665 !!  78                         mode-normal     = <0x77665501>;
 80                         mode-bootloader = <0x7 !!  79                         mode-bootloader = <0x77665500>;
 81                         mode-recovery = <0x776 !!  80                         mode-recovery   = <0x77665502>;
 82                 };                                 81                 };
 83         };                                         82         };
 84                                                    83 
 85         reg_sys_5v: regulator-0 {              !!  84         reg_sys_5v: regulator@0 {
 86                 compatible = "regulator-fixed"     85                 compatible = "regulator-fixed";
 87                 regulator-name = "SYS_5V";         86                 regulator-name = "SYS_5V";
 88                 regulator-min-microvolt = <500     87                 regulator-min-microvolt = <5000000>;
 89                 regulator-max-microvolt = <500     88                 regulator-max-microvolt = <5000000>;
 90                 regulator-boot-on;                 89                 regulator-boot-on;
 91                 regulator-always-on;               90                 regulator-always-on;
 92         };                                         91         };
 93                                                    92 
 94         reg_vdd_3v3: regulator-1 {             !!  93         reg_vdd_3v3: regulator@1 {
 95                 compatible = "regulator-fixed"     94                 compatible = "regulator-fixed";
 96                 regulator-name = "VDD_3V3";        95                 regulator-name = "VDD_3V3";
 97                 regulator-min-microvolt = <330     96                 regulator-min-microvolt = <3300000>;
 98                 regulator-max-microvolt = <330     97                 regulator-max-microvolt = <3300000>;
 99                 regulator-boot-on;                 98                 regulator-boot-on;
100                 regulator-always-on;               99                 regulator-always-on;
101                 vin-supply = <&reg_sys_5v>;       100                 vin-supply = <&reg_sys_5v>;
102         };                                        101         };
103                                                   102 
104         reg_5v_hub: regulator-2 {              !! 103         reg_5v_hub: regulator@2 {
105                 compatible = "regulator-fixed"    104                 compatible = "regulator-fixed";
106                 regulator-name = "5V_HUB";        105                 regulator-name = "5V_HUB";
107                 regulator-min-microvolt = <500    106                 regulator-min-microvolt = <5000000>;
108                 regulator-max-microvolt = <500    107                 regulator-max-microvolt = <5000000>;
109                 regulator-boot-on;                108                 regulator-boot-on;
110                 gpio = <&gpio0 7 0>;              109                 gpio = <&gpio0 7 0>;
111                 regulator-always-on;              110                 regulator-always-on;
112                 vin-supply = <&reg_sys_5v>;       111                 vin-supply = <&reg_sys_5v>;
113         };                                        112         };
114                                                   113 
115         wl1835_pwrseq: wl1835-pwrseq {            114         wl1835_pwrseq: wl1835-pwrseq {
116                 compatible = "mmc-pwrseq-simpl    115                 compatible = "mmc-pwrseq-simple";
117                 /* WLAN_EN GPIO */                116                 /* WLAN_EN GPIO */
118                 reset-gpios = <&gpio0 5 GPIO_A    117                 reset-gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
119                 clocks = <&pmic>;                 118                 clocks = <&pmic>;
120                 clock-names = "ext_clock";        119                 clock-names = "ext_clock";
121                 post-power-on-delay-ms = <10>; << 
122                 power-off-delay-us = <10>;        120                 power-off-delay-us = <10>;
123         };                                        121         };
124                                                   122 
                                                   >> 123         soc {
                                                   >> 124                 spi0: spi@f7106000 {
                                                   >> 125                         status = "ok";
                                                   >> 126                 };
                                                   >> 127 
                                                   >> 128                 i2c0: i2c@f7100000 {
                                                   >> 129                         status = "ok";
                                                   >> 130                 };
                                                   >> 131 
                                                   >> 132                 i2c1: i2c@f7101000 {
                                                   >> 133                         status = "ok";
                                                   >> 134                 };
                                                   >> 135 
                                                   >> 136                 uart1: uart@f7111000 {
                                                   >> 137                         assigned-clocks = <&sys_ctrl HI6220_UART1_SRC>;
                                                   >> 138                         assigned-clock-rates = <150000000>;
                                                   >> 139                         status = "ok";
                                                   >> 140 
                                                   >> 141                         bluetooth {
                                                   >> 142                                 compatible = "ti,wl1835-st";
                                                   >> 143                                 enable-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
                                                   >> 144                         };
                                                   >> 145                 };
                                                   >> 146 
                                                   >> 147                 uart2: uart@f7112000 {
                                                   >> 148                         status = "ok";
                                                   >> 149                 };
                                                   >> 150 
                                                   >> 151                 uart3: uart@f7113000 {
                                                   >> 152                         status = "ok";
                                                   >> 153                 };
                                                   >> 154 
                                                   >> 155                 /*
                                                   >> 156                  * Legend: proper name = the GPIO line is used as GPIO
                                                   >> 157                  *         NC = not connected (not routed from the SoC)
                                                   >> 158                  *         "[PER]" = pin is muxed for peripheral (not GPIO)
                                                   >> 159                  *         "" = no idea, schematic doesn't say, could be
                                                   >> 160                  *              unrouted (not connected to any external pin)
                                                   >> 161                  *         LSEC = Low Speed External Connector
                                                   >> 162                  *         HSEC = High Speed External Connector
                                                   >> 163                  *
                                                   >> 164                  * Pin assignments taken from LeMaker and CircuitCo Schematics
                                                   >> 165                  * Rev A1.
                                                   >> 166                  *
                                                   >> 167                  * For the lines routed to the external connectors the
                                                   >> 168                  * lines are named after the 96Boards CE Specification 1.0,
                                                   >> 169                  * Appendix "Expansion Connector Signal Description".
                                                   >> 170                  *
                                                   >> 171                  * When the 96Board naming of a line and the schematic name of
                                                   >> 172                  * the same line are in conflict, the 96Board specification
                                                   >> 173                  * takes precedence, which means that the external UART on the
                                                   >> 174                  * LSEC is named UART0 while the schematic and SoC names this
                                                   >> 175                  * UART2. This is only for the informational lines i.e. "[FOO]",
                                                   >> 176                  * the GPIO named lines "GPIO-A" thru "GPIO-L" are the only
                                                   >> 177                  * ones actually used for GPIO.
                                                   >> 178                  */
                                                   >> 179                 gpio0: gpio@f8011000 {
                                                   >> 180                         gpio-line-names = "PWR_HOLD", "DSI_SEL",
                                                   >> 181                         "USB_HUB_RESET_N", "USB_SEL", "HDMI_PD", "WL_REG_ON",
                                                   >> 182                         "PWRON_DET", "5V_HUB_EN";
                                                   >> 183                 };
                                                   >> 184 
                                                   >> 185                 gpio1: gpio@f8012000 {
                                                   >> 186                         gpio-line-names = "SD_DET", "HDMI_INT", "PMU_IRQ_N",
                                                   >> 187                         "WL_HOST_WAKE", "NC", "NC", "NC", "BT_REG_ON";
                                                   >> 188                 };
                                                   >> 189 
                                                   >> 190                 gpio2: gpio@f8013000 {
                                                   >> 191                         gpio-line-names =
                                                   >> 192                                 "GPIO-A", /* LSEC Pin 23: GPIO2_0 */
                                                   >> 193                                 "GPIO-B", /* LSEC Pin 24: GPIO2_1 */
                                                   >> 194                                 "GPIO-C", /* LSEC Pin 25: GPIO2_2 */
                                                   >> 195                                 "GPIO-D", /* LSEC Pin 26: GPIO2_3 */
                                                   >> 196                                 "GPIO-E", /* LSEC Pin 27: GPIO2_4 */
                                                   >> 197                                 "USB_ID_DET", "USB_VBUS_DET",
                                                   >> 198                                 "GPIO-H"; /* LSEC Pin 30: GPIO2_7 */
                                                   >> 199                 };
                                                   >> 200 
                                                   >> 201                 gpio3: gpio@f8014000 {
                                                   >> 202                         gpio-line-names = "GPIO3_0", "NC", "NC", "", "NC", "",
                                                   >> 203                         "WLAN_ACTIVE", "NC", "NC";
                                                   >> 204                 };
                                                   >> 205 
                                                   >> 206                 gpio4: gpio@f7020000 {
                                                   >> 207                         gpio-line-names = "USER_LED1", "USER_LED2", "USER_LED3",
                                                   >> 208                         "USER_LED4", "SD_SEL", "NC", "NC", "BT_ACTIVE";
                                                   >> 209                 };
                                                   >> 210 
                                                   >> 211                 gpio5: gpio@f7021000 {
                                                   >> 212                         gpio-line-names = "NC", "NC",
                                                   >> 213                         "[UART1_RxD]", /* LSEC Pin 11: UART3_RX */
                                                   >> 214                         "[UART1_TxD]", /* LSEC Pin 13: UART3_TX */
                                                   >> 215                         "[AUX_SSI1]", "NC",
                                                   >> 216                         "[PCM_CLK]", /* LSEC Pin 18: MODEM_PCM_XCLK */
                                                   >> 217                         "[PCM_FS]"; /* LSEC Pin 16: MODEM_PCM_XFS */
                                                   >> 218                 };
                                                   >> 219 
                                                   >> 220                 gpio6: gpio@f7022000 {
                                                   >> 221                         gpio-line-names =
                                                   >> 222                         "[SPI0_DIN]", /* Pin 10: SPI0_DI */
                                                   >> 223                         "[SPI0_DOUT]", /* Pin 14: SPI0_DO */
                                                   >> 224                         "[SPI0_CS]", /* Pin 12: SPI0_CS_N */
                                                   >> 225                         "[SPI0_SCLK]", /* Pin 8: SPI0_SCLK */
                                                   >> 226                         "NC", "NC", "NC",
                                                   >> 227                         "GPIO-G"; /* Pin 29: GPIO6_7_DSI_TE0 */
                                                   >> 228                 };
                                                   >> 229 
                                                   >> 230                 gpio7: gpio@f7023000 {
                                                   >> 231                         gpio-line-names = "NC", "NC", "NC", "NC",
                                                   >> 232                         "[PCM_DI]", /* Pin 22: MODEM_PCM_DI */
                                                   >> 233                         "[PCM_DO]", /* Pin 20: MODEM_PCM_DO */
                                                   >> 234                         "NC", "NC";
                                                   >> 235                 };
                                                   >> 236 
                                                   >> 237                 gpio8: gpio@f7024000 {
                                                   >> 238                         gpio-line-names = "NC", "[CEC_CLK_19_2MHZ]", "NC",
                                                   >> 239                         "", "", "", "", "", "";
                                                   >> 240                 };
                                                   >> 241 
                                                   >> 242                 gpio9: gpio@f7025000 {
                                                   >> 243                         gpio-line-names = "",
                                                   >> 244                         "GPIO-J", /* LSEC Pin 32: ISP_PWDN0_GPIO9_1 */
                                                   >> 245                         "GPIO-L", /* LSEC Pin 34: ISP_PWDN1_GPIO9_2 */
                                                   >> 246                         "NC", "NC", "NC", "NC", "[ISP_CCLK0]";
                                                   >> 247                 };
                                                   >> 248 
                                                   >> 249                 gpio10: gpio@f7026000 {
                                                   >> 250                         gpio-line-names = "BOOT_SEL",
                                                   >> 251                         "[ISP_CCLK1]",
                                                   >> 252                         "GPIO-I", /* LSEC Pin 31: ISP_RSTB0_GPIO10_2 */
                                                   >> 253                         "GPIO-K", /* LSEC Pin 33: ISP_RSTB1_GPIO10_3 */
                                                   >> 254                         "NC", "NC",
                                                   >> 255                         "[I2C2_SDA]", /* HSEC Pin 34: ISP0_SDA */
                                                   >> 256                         "[I2C2_SCL]"; /* HSEC Pin 32: ISP0_SCL */
                                                   >> 257                 };
                                                   >> 258 
                                                   >> 259                 gpio11: gpio@f7027000 {
                                                   >> 260                         gpio-line-names =
                                                   >> 261                         "[I2C3_SDA]", /* HSEC Pin 38: ISP1_SDA */
                                                   >> 262                         "[I2C3_SCL]", /* HSEC Pin 36: ISP1_SCL */
                                                   >> 263                         "", "NC", "NC", "NC", "", "";
                                                   >> 264                 };
                                                   >> 265 
                                                   >> 266                 gpio12: gpio@f7028000 {
                                                   >> 267                         gpio-line-names = "[BT_PCM_XFS]", "[BT_PCM_DI]",
                                                   >> 268                         "[BT_PCM_DO]",
                                                   >> 269                         "NC", "NC", "NC", "NC",
                                                   >> 270                         "GPIO-F"; /* LSEC Pin 28: BL_PWM_GPIO12_7 */
                                                   >> 271                 };
                                                   >> 272 
                                                   >> 273                 gpio13: gpio@f7029000 {
                                                   >> 274                         gpio-line-names = "[UART0_RX]", "[UART0_TX]",
                                                   >> 275                         "[BT_UART1_CTS]", "[BT_UART1_RTS]",
                                                   >> 276                         "[BT_UART1_RX]", "[BT_UART1_TX]",
                                                   >> 277                         "[UART0_CTS]", /* LSEC Pin 3: UART2_CTS_N */
                                                   >> 278                         "[UART0_RTS]"; /* LSEC Pin 9: UART2_RTS_N */
                                                   >> 279                 };
                                                   >> 280 
                                                   >> 281                 gpio14: gpio@f702a000 {
                                                   >> 282                         gpio-line-names =
                                                   >> 283                         "[UART0_RxD]", /* LSEC Pin 7: UART2_RX */
                                                   >> 284                         "[UART0_TxD]", /* LSEC Pin 5: UART2_TX */
                                                   >> 285                         "[I2C0_SCL]", /* LSEC Pin 15: I2C0_SCL */
                                                   >> 286                         "[I2C0_SDA]", /* LSEC Pin 17: I2C0_SDA */
                                                   >> 287                         "[I2C1_SCL]", /* LSEC Pin 19: I2C1_SCL */
                                                   >> 288                         "[I2C1_SDA]", /* LSEC Pin 21: I2C1_SDA */
                                                   >> 289                         "[I2C2_SCL]", "[I2C2_SDA]";
                                                   >> 290                 };
                                                   >> 291 
                                                   >> 292                 gpio15: gpio@f702b000 {
                                                   >> 293                         gpio-line-names = "", "", "", "", "", "", "NC", "";
                                                   >> 294                 };
                                                   >> 295 
                                                   >> 296                 /* GPIO blocks 16 thru 19 do not appear to be routed to pins */
                                                   >> 297 
                                                   >> 298                 dwmmc_0: dwmmc0@f723d000 {
                                                   >> 299                         cap-mmc-highspeed;
                                                   >> 300                         non-removable;
                                                   >> 301                         bus-width = <0x8>;
                                                   >> 302                         vmmc-supply = <&ldo19>;
                                                   >> 303                 };
                                                   >> 304 
                                                   >> 305                 dwmmc_1: dwmmc1@f723e000 {
                                                   >> 306                         card-detect-delay = <200>;
                                                   >> 307                         cap-sd-highspeed;
                                                   >> 308                         sd-uhs-sdr12;
                                                   >> 309                         sd-uhs-sdr25;
                                                   >> 310                         sd-uhs-sdr50;
                                                   >> 311                         vqmmc-supply = <&ldo7>;
                                                   >> 312                         vmmc-supply = <&ldo10>;
                                                   >> 313                         bus-width = <0x4>;
                                                   >> 314                         disable-wp;
                                                   >> 315                         cd-gpios = <&gpio1 0 1>;
                                                   >> 316                 };
                                                   >> 317 
                                                   >> 318                 dwmmc_2: dwmmc2@f723f000 {
                                                   >> 319                         bus-width = <0x4>;
                                                   >> 320                         non-removable;
                                                   >> 321                         vmmc-supply = <&reg_vdd_3v3>;
                                                   >> 322                         mmc-pwrseq = <&wl1835_pwrseq>;
                                                   >> 323 
                                                   >> 324                         #address-cells = <0x1>;
                                                   >> 325                         #size-cells = <0x0>;
                                                   >> 326                         wlcore: wlcore@2 {
                                                   >> 327                                 compatible = "ti,wl1835";
                                                   >> 328                                 reg = <2>;      /* sdio func num */
                                                   >> 329                                 /* WL_IRQ, WL_HOST_WAKE_GPIO1_3 */
                                                   >> 330                                 interrupt-parent = <&gpio1>;
                                                   >> 331                                 interrupts = <3 IRQ_TYPE_EDGE_RISING>;
                                                   >> 332                         };
                                                   >> 333                 };
                                                   >> 334         };
                                                   >> 335 
125         leds {                                    336         leds {
126                 compatible = "gpio-leds";         337                 compatible = "gpio-leds";
127                                                !! 338                 user_led4 {
128                 led-user-1 {                   !! 339                         label = "user_led4";
129                         label = "green:user1"; << 
130                         gpios = <&gpio4 0 0>;     340                         gpios = <&gpio4 0 0>; /* <&gpio_user_led_1>; */
131                         linux,default-trigger     341                         linux,default-trigger = "heartbeat";
132                 };                                342                 };
133                                                   343 
134                 led-user-2 {                   !! 344                 user_led3 {
135                         label = "green:user2"; !! 345                         label = "user_led3";
136                         gpios = <&gpio4 1 0>;     346                         gpios = <&gpio4 1 0>; /* <&gpio_user_led_2>; */
137                         linux,default-trigger     347                         linux,default-trigger = "mmc0";
138                 };                                348                 };
139                                                   349 
140                 led-user-3 {                   !! 350                 user_led2 {
141                         label = "green:user3"; !! 351                         label = "user_led2";
142                         gpios = <&gpio4 2 0>;     352                         gpios = <&gpio4 2 0>; /* <&gpio_user_led_3>; */
143                         linux,default-trigger     353                         linux,default-trigger = "mmc1";
144                 };                                354                 };
145                                                   355 
146                 led-user-4 {                   !! 356                 user_led1 {
147                         label = "green:user4"; !! 357                         label = "user_led1";
148                         gpios = <&gpio4 3 0>;     358                         gpios = <&gpio4 3 0>; /* <&gpio_user_led_4>; */
149                         panic-indicator;       !! 359                         linux,default-trigger = "cpu0";
150                         linux,default-trigger  << 
151                 };                                360                 };
152                                                   361 
153                 led-wlan {                     !! 362                 wlan_active_led {
154                         label = "yellow:wlan"; !! 363                         label = "wifi_active";
155                         gpios = <&gpio3 5 0>;     364                         gpios = <&gpio3 5 0>; /* <&gpio_wlan_active_led>; */
156                         linux,default-trigger     365                         linux,default-trigger = "phy0tx";
157                         default-state = "off";    366                         default-state = "off";
158                 };                                367                 };
159                                                   368 
160                 led-bt {                       !! 369                 bt_active_led {
161                         label = "blue:bt";     !! 370                         label = "bt_active";
162                         gpios = <&gpio4 7 0>;     371                         gpios = <&gpio4 7 0>; /* <&gpio_bt_active_led>; */
163                         linux,default-trigger  !! 372                         linux,default-trigger = "hci0rx";
164                         default-state = "off";    373                         default-state = "off";
165                 };                                374                 };
166         };                                        375         };
167                                                   376 
168         pmic: pmic@f8000000 {                     377         pmic: pmic@f8000000 {
169                 compatible = "hisilicon,hi655x    378                 compatible = "hisilicon,hi655x-pmic";
170                 reg = <0x0 0xf8000000 0x0 0x10    379                 reg = <0x0 0xf8000000 0x0 0x1000>;
171                 #clock-cells = <0>;               380                 #clock-cells = <0>;
172                 interrupt-controller;             381                 interrupt-controller;
173                 #interrupt-cells = <2>;           382                 #interrupt-cells = <2>;
174                 pmic-gpios = <&gpio1 2 GPIO_AC    383                 pmic-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
175                                                   384 
176                 regulators {                      385                 regulators {
177                         ldo2: LDO2 {              386                         ldo2: LDO2 {
178                                 regulator-name    387                                 regulator-name = "LDO2_2V8";
179                                 regulator-min-    388                                 regulator-min-microvolt = <2500000>;
180                                 regulator-max-    389                                 regulator-max-microvolt = <3200000>;
181                                 regulator-enab    390                                 regulator-enable-ramp-delay = <120>;
182                         };                        391                         };
183                                                   392 
184                         ldo7: LDO7 {              393                         ldo7: LDO7 {
185                                 regulator-name    394                                 regulator-name = "LDO7_SDIO";
186                                 regulator-min-    395                                 regulator-min-microvolt = <1800000>;
187                                 regulator-max-    396                                 regulator-max-microvolt = <3300000>;
188                                 regulator-enab    397                                 regulator-enable-ramp-delay = <120>;
189                         };                        398                         };
190                                                   399 
191                         ldo10: LDO10 {            400                         ldo10: LDO10 {
192                                 regulator-name    401                                 regulator-name = "LDO10_2V85";
193                                 regulator-min-    402                                 regulator-min-microvolt = <1800000>;
194                                 regulator-max-    403                                 regulator-max-microvolt = <3000000>;
195                                 regulator-enab    404                                 regulator-enable-ramp-delay = <360>;
196                         };                        405                         };
197                                                   406 
198                         ldo13: LDO13 {            407                         ldo13: LDO13 {
199                                 regulator-name    408                                 regulator-name = "LDO13_1V8";
200                                 regulator-min-    409                                 regulator-min-microvolt = <1600000>;
201                                 regulator-max-    410                                 regulator-max-microvolt = <1950000>;
202                                 regulator-enab    411                                 regulator-enable-ramp-delay = <120>;
203                         };                        412                         };
204                                                   413 
205                         ldo14: LDO14 {            414                         ldo14: LDO14 {
206                                 regulator-name    415                                 regulator-name = "LDO14_2V8";
207                                 regulator-min-    416                                 regulator-min-microvolt = <2500000>;
208                                 regulator-max-    417                                 regulator-max-microvolt = <3200000>;
209                                 regulator-enab    418                                 regulator-enable-ramp-delay = <120>;
210                         };                        419                         };
211                                                   420 
212                         ldo15: LDO15 {            421                         ldo15: LDO15 {
213                                 regulator-name    422                                 regulator-name = "LDO15_1V8";
214                                 regulator-min-    423                                 regulator-min-microvolt = <1600000>;
215                                 regulator-max-    424                                 regulator-max-microvolt = <1950000>;
216                                 regulator-boot    425                                 regulator-boot-on;
217                                 regulator-alwa    426                                 regulator-always-on;
218                                 regulator-enab    427                                 regulator-enable-ramp-delay = <120>;
219                         };                        428                         };
220                                                   429 
221                         ldo17: LDO17 {            430                         ldo17: LDO17 {
222                                 regulator-name    431                                 regulator-name = "LDO17_2V5";
223                                 regulator-min-    432                                 regulator-min-microvolt = <2500000>;
224                                 regulator-max-    433                                 regulator-max-microvolt = <3200000>;
225                                 regulator-enab    434                                 regulator-enable-ramp-delay = <120>;
226                         };                        435                         };
227                                                   436 
228                         ldo19: LDO19 {            437                         ldo19: LDO19 {
229                                 regulator-name    438                                 regulator-name = "LDO19_3V0";
230                                 regulator-min-    439                                 regulator-min-microvolt = <1800000>;
231                                 regulator-max-    440                                 regulator-max-microvolt = <3000000>;
232                                 regulator-enab    441                                 regulator-enable-ramp-delay = <360>;
233                         };                        442                         };
234                                                   443 
235                         ldo21: LDO21 {            444                         ldo21: LDO21 {
236                                 regulator-name    445                                 regulator-name = "LDO21_1V8";
237                                 regulator-min-    446                                 regulator-min-microvolt = <1650000>;
238                                 regulator-max-    447                                 regulator-max-microvolt = <2000000>;
239                                 regulator-alwa    448                                 regulator-always-on;
240                                 regulator-enab    449                                 regulator-enable-ramp-delay = <120>;
241                         };                        450                         };
242                                                   451 
243                         ldo22: LDO22 {            452                         ldo22: LDO22 {
244                                 regulator-name    453                                 regulator-name = "LDO22_1V2";
245                                 regulator-min-    454                                 regulator-min-microvolt = <900000>;
246                                 regulator-max-    455                                 regulator-max-microvolt = <1200000>;
247                                 regulator-boot    456                                 regulator-boot-on;
248                                 regulator-alwa    457                                 regulator-always-on;
249                                 regulator-enab    458                                 regulator-enable-ramp-delay = <120>;
250                         };                        459                         };
251                 };                                460                 };
252         };                                        461         };
253                                                   462 
254         firmware {                                463         firmware {
255                 optee {                           464                 optee {
256                         compatible = "linaro,o    465                         compatible = "linaro,optee-tz";
257                         method = "smc";           466                         method = "smc";
258                 };                                467                 };
259         };                                        468         };
260                                                << 
261         sound_card {                           << 
262                 compatible = "audio-graph-card << 
263                 dais = <&i2s0_port0>;          << 
264         };                                     << 
265 };                                             << 
266                                                << 
267 &uart1 {                                       << 
268         assigned-clocks = <&sys_ctrl HI6220_UA << 
269         assigned-clock-rates = <150000000>;    << 
270         status = "okay";                       << 
271                                                << 
272         bluetooth {                            << 
273                 compatible = "ti,wl1835-st";   << 
274                 enable-gpios = <&gpio1 7 GPIO_ << 
275                 clocks = <&pmic>;              << 
276                 clock-names = "ext_clock";     << 
277         };                                     << 
278 };                                                469 };
279                                                   470 
280 &uart2 {                                          471 &uart2 {
281         status = "okay";                       << 
282         label = "LS-UART0";                       472         label = "LS-UART0";
283 };                                                473 };
284                                                << 
285 &uart3 {                                          474 &uart3 {
286         status = "okay";                       << 
287         label = "LS-UART1";                       475         label = "LS-UART1";
288 };                                                476 };
289                                                   477 
290 &ade {                                            478 &ade {
291         status = "okay";                       !! 479         status = "ok";
292 };                                                480 };
293                                                   481 
294 &dsi {                                            482 &dsi {
295         status = "okay";                       !! 483         status = "ok";
296                                                   484 
297         ports {                                   485         ports {
298                 /* 1 for output port */           486                 /* 1 for output port */
299                 port@1 {                          487                 port@1 {
300                         reg = <1>;                488                         reg = <1>;
301                                                   489 
302                         dsi_out0: endpoint@0 {    490                         dsi_out0: endpoint@0 {
303                                 remote-endpoin    491                                 remote-endpoint = <&adv7533_in>;
304                         };                        492                         };
305                 };                                493                 };
306         };                                        494         };
307 };                                                495 };
308                                                   496 
309 &dwmmc_0 {                                     << 
310         cap-mmc-highspeed;                     << 
311         non-removable;                         << 
312         bus-width = <0x8>;                     << 
313         vmmc-supply = <&ldo19>;                << 
314 };                                             << 
315                                                << 
316 &dwmmc_1 {                                     << 
317         card-detect-delay = <200>;             << 
318         cap-sd-highspeed;                      << 
319         sd-uhs-sdr12;                          << 
320         sd-uhs-sdr25;                          << 
321         sd-uhs-sdr50;                          << 
322         vqmmc-supply = <&ldo7>;                << 
323         vmmc-supply = <&ldo10>;                << 
324         bus-width = <0x4>;                     << 
325         disable-wp;                            << 
326         cd-gpios = <&gpio1 0 1>;               << 
327 };                                             << 
328                                                << 
329 &dwmmc_2 {                                     << 
330         bus-width = <0x4>;                     << 
331         non-removable;                         << 
332         cap-power-off-card;                    << 
333         vmmc-supply = <&reg_vdd_3v3>;          << 
334         mmc-pwrseq = <&wl1835_pwrseq>;         << 
335                                                << 
336         #address-cells = <0x1>;                << 
337         #size-cells = <0x0>;                   << 
338         wlcore: wlcore@2 {                     << 
339                 compatible = "ti,wl1835";      << 
340                 reg = <2>;      /* sdio func n << 
341                 /* WL_IRQ, WL_HOST_WAKE_GPIO1_ << 
342                 interrupt-parent = <&gpio1>;   << 
343                 interrupts = <3 IRQ_TYPE_EDGE_ << 
344         };                                     << 
345 };                                             << 
346                                                << 
347 /*                                             << 
348  * Legend: proper name = the GPIO line is used << 
349  *         NC = not connected (not routed from << 
350  *         "[PER]" = pin is muxed for peripher << 
351  *         "" = no idea, schematic doesn't say << 
352  *              unrouted (not connected to any << 
353  *         LSEC = Low Speed External Connector << 
354  *         HSEC = High Speed External Connecto << 
355  *                                             << 
356  * Pin assignments taken from LeMaker and Circ << 
357  * Rev A1.                                     << 
358  *                                             << 
359  * For the lines routed to the external connec << 
360  * lines are named after the 96Boards CE Speci << 
361  * Appendix "Expansion Connector Signal Descri << 
362  *                                             << 
363  * When the 96Board naming of a line and the s << 
364  * the same line are in conflict, the 96Board  << 
365  * takes precedence, which means that the exte << 
366  * LSEC is named UART0 while the schematic and << 
367  * UART2. This is only for the informational l << 
368  * the GPIO named lines "GPIO-A" thru "GPIO-L" << 
369  * ones actually used for GPIO.                << 
370  */                                            << 
371 &gpio0 {                                       << 
372         gpio-line-names = "PWR_HOLD", "DSI_SEL << 
373         "USB_HUB_RESET_N", "USB_SEL", "HDMI_PD << 
374         "PWRON_DET", "5V_HUB_EN";              << 
375 };                                             << 
376                                                << 
377 &gpio1 {                                       << 
378         gpio-line-names = "SD_DET", "HDMI_INT" << 
379         "WL_HOST_WAKE", "NC", "NC", "NC", "BT_ << 
380 };                                             << 
381                                                << 
382 &gpio2 {                                       << 
383         gpio-line-names =                      << 
384                 "GPIO-A", /* LSEC Pin 23: GPIO << 
385                 "GPIO-B", /* LSEC Pin 24: GPIO << 
386                 "GPIO-C", /* LSEC Pin 25: GPIO << 
387                 "GPIO-D", /* LSEC Pin 26: GPIO << 
388                 "GPIO-E", /* LSEC Pin 27: GPIO << 
389                 "USB_ID_DET", "USB_VBUS_DET",  << 
390                 "GPIO-H"; /* LSEC Pin 30: GPIO << 
391 };                                             << 
392                                                << 
393 &gpio3 {                                       << 
394         gpio-line-names = "GPIO3_0", "NC", "NC << 
395         "WLAN_ACTIVE", "NC", "NC";             << 
396 };                                             << 
397                                                << 
398 &gpio4 {                                       << 
399         gpio-line-names = "USER_LED1", "USER_L << 
400         "USER_LED4", "SD_SEL", "NC", "NC", "BT << 
401 };                                             << 
402                                                << 
403 &gpio5 {                                       << 
404         gpio-line-names = "NC", "NC",          << 
405         "[UART1_RxD]", /* LSEC Pin 11: UART3_R << 
406         "[UART1_TxD]", /* LSEC Pin 13: UART3_T << 
407         "[AUX_SSI1]", "NC",                    << 
408         "[PCM_CLK]", /* LSEC Pin 18: MODEM_PCM << 
409         "[PCM_FS]"; /* LSEC Pin 16: MODEM_PCM_ << 
410 };                                             << 
411                                                << 
412 &gpio6 {                                       << 
413         gpio-line-names =                      << 
414         "[SPI0_DIN]", /* Pin 10: SPI0_DI */    << 
415         "[SPI0_DOUT]", /* Pin 14: SPI0_DO */   << 
416         "[SPI0_CS]", /* Pin 12: SPI0_CS_N */   << 
417         "[SPI0_SCLK]", /* Pin 8: SPI0_SCLK */  << 
418         "NC", "NC", "NC",                      << 
419         "GPIO-G"; /* Pin 29: GPIO6_7_DSI_TE0 * << 
420 };                                             << 
421                                                << 
422 &gpio7 {                                       << 
423         gpio-line-names = "NC", "NC", "NC", "N << 
424         "[PCM_DI]", /* Pin 22: MODEM_PCM_DI */ << 
425         "[PCM_DO]", /* Pin 20: MODEM_PCM_DO */ << 
426         "NC", "NC";                            << 
427 };                                             << 
428                                                << 
429 &gpio8 {                                       << 
430         gpio-line-names = "NC", "[CEC_CLK_19_2 << 
431         "", "", "", "", "", "";                << 
432 };                                             << 
433                                                << 
434 &gpio9 {                                       << 
435         gpio-line-names = "",                  << 
436         "GPIO-J", /* LSEC Pin 32: ISP_PWDN0_GP << 
437         "GPIO-L", /* LSEC Pin 34: ISP_PWDN1_GP << 
438         "NC", "NC", "NC", "NC", "[ISP_CCLK0]"; << 
439 };                                             << 
440                                                << 
441 &gpio10 {                                      << 
442         gpio-line-names = "BOOT_SEL",          << 
443         "[ISP_CCLK1]",                         << 
444         "GPIO-I", /* LSEC Pin 31: ISP_RSTB0_GP << 
445         "GPIO-K", /* LSEC Pin 33: ISP_RSTB1_GP << 
446         "NC", "NC",                            << 
447         "[I2C2_SDA]", /* HSEC Pin 34: ISP0_SDA << 
448         "[I2C2_SCL]"; /* HSEC Pin 32: ISP0_SCL << 
449 };                                             << 
450                                                << 
451 &gpio11 {                                      << 
452         gpio-line-names =                      << 
453         "[I2C3_SDA]", /* HSEC Pin 38: ISP1_SDA << 
454         "[I2C3_SCL]", /* HSEC Pin 36: ISP1_SCL << 
455         "", "NC", "NC", "NC", "", "";          << 
456 };                                             << 
457                                                << 
458 &gpio12 {                                      << 
459         gpio-line-names = "[BT_PCM_XFS]", "[BT << 
460         "[BT_PCM_DO]",                         << 
461         "NC", "NC", "NC", "NC",                << 
462         "GPIO-F"; /* LSEC Pin 28: BL_PWM_GPIO1 << 
463 };                                             << 
464                                                << 
465 &gpio13 {                                      << 
466         gpio-line-names = "[UART0_RX]", "[UART << 
467         "[BT_UART1_CTS]", "[BT_UART1_RTS]",    << 
468         "[BT_UART1_RX]", "[BT_UART1_TX]",      << 
469         "[UART0_CTS]", /* LSEC Pin 3: UART2_CT << 
470         "[UART0_RTS]"; /* LSEC Pin 9: UART2_RT << 
471 };                                             << 
472                                                << 
473 &gpio14 {                                      << 
474         gpio-line-names =                      << 
475         "[UART0_RxD]", /* LSEC Pin 7: UART2_RX << 
476         "[UART0_TxD]", /* LSEC Pin 5: UART2_TX << 
477         "[I2C0_SCL]", /* LSEC Pin 15: I2C0_SCL << 
478         "[I2C0_SDA]", /* LSEC Pin 17: I2C0_SDA << 
479         "[I2C1_SCL]", /* LSEC Pin 19: I2C1_SCL << 
480         "[I2C1_SDA]", /* LSEC Pin 21: I2C1_SDA << 
481         "[I2C2_SCL]", "[I2C2_SDA]";            << 
482 };                                             << 
483                                                << 
484 &gpio15 {                                      << 
485         gpio-line-names = "", "", "", "", "",  << 
486 };                                             << 
487                                                << 
488 /* GPIO blocks 16 thru 19 do not appear to be  << 
489                                                << 
490                                                << 
491 &i2c0 {                                        << 
492         status = "okay";                       << 
493 };                                             << 
494                                                << 
495 &i2c1 {                                        << 
496         status = "okay";                       << 
497 };                                             << 
498                                                << 
499 &i2c2 {                                           497 &i2c2 {
500         #address-cells = <1>;                     498         #address-cells = <1>;
501         #size-cells = <0>;                        499         #size-cells = <0>;
502         status = "okay";                       !! 500         status = "ok";
503                                                   501 
504         adv7533: adv7533@39 {                     502         adv7533: adv7533@39 {
505                 compatible = "adi,adv7533";       503                 compatible = "adi,adv7533";
506                 reg = <0x39>;                     504                 reg = <0x39>;
507                 interrupt-parent = <&gpio1>;      505                 interrupt-parent = <&gpio1>;
508                 interrupts = <1 2>;               506                 interrupts = <1 2>;
509                 pd-gpios = <&gpio0 4 0>;       !! 507                 pd-gpio = <&gpio0 4 0>;
510                 adi,dsi-lanes = <4>;              508                 adi,dsi-lanes = <4>;
511                 #sound-dai-cells = <0>;        << 
512                                                   509 
513                 ports {                        !! 510                 port {
514                         #address-cells = <1>;  !! 511                         adv7533_in: endpoint {
515                         #size-cells = <0>;     !! 512                                 remote-endpoint = <&dsi_out0>;
516                         port@0 {               << 
517                                 reg = <0>;     << 
518                                 adv7533_in: en << 
519                                         remote << 
520                                 };             << 
521                         };                     << 
522                         port@2 {               << 
523                                 reg = <2>;     << 
524                                 codec_endpoint << 
525                                         remote << 
526                                 };             << 
527                         };                        513                         };
528                 };                                514                 };
529         };                                        515         };
530 };                                             << 
531                                                << 
532 &i2s0 {                                        << 
533                                                << 
534         ports {                                << 
535                 i2s0_port0: port@0 {           << 
536                         i2s0_cpu_endpoint: end << 
537                                 remote-endpoin << 
538                                 dai-format = " << 
539                         };                     << 
540                 };                             << 
541         };                                     << 
542 };                                             << 
543                                                << 
544 &spi0 {                                        << 
545         status = "okay";                       << 
546 };                                                516 };
                                                      

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