Pull ARM SoC DT updates from Arnd Bergmann: "This is a rather large update for the ARM devicetree files, after a few quieter releases, with 775 total commits and 47 branches pulled into this one. There are 5 new SoC types plus some minor variations, and a total of 60 new machines, so I'm limiting the summary to the main noteworthy items: - Apple M1 gain support for PCI and pinctrl, getting a bit closer to a usable system out of the box. - Qualcomm gains support for Snapdragon 690 (aka SM6350) as well as SM7225, 11 new smartphones, and three additional Chromebooks, and improvements all over the place. - Samsung gains support for ExynosAutov9, an automotive version of their smartphone SoC, but otherwise no major changes. - Microchip adds the SAMA5D29 SoC in the SAMA5 family, and a number of improvements for the recently added SAMA7 family. The LAN966 SoC that was added in the platform code does not have dts files yet. Two board files are added for the older at91sam9g20 SoC - Aspeed supports two additional server boards using their AST2600 as BMC, and improves support for qemu models - Rockchip RK3566/RK3688 gets added, along with six new development boards using RK3328/RK3399/RK3566, and one Chromebook tablet. - Two NAS boxes are added using the ARMv4 based Gemini platform - One new board is added to the Intel Arria SoC FPGA family - Marvell adds one network switch based on Armada 381 and the new MOCHAbin 7040 development board - NXP adds support for the S32G2 automotive SoC, two imx6 based ebook readers, and three additional development boards, which is notably less than their usual additions, but they also gain improvements to their many existing boards - STmicroelectronics adds their stm32mp13 SoC family along with a reference board - Renesas adds new versions of their R-Car Gen3 SoCs and many updates for their older generations - Broadcom adds support for a number of Cisco Meraki wireless controllers, along with two new boards and other updates for BCM53xx/BCM47xx networking SoCs and the Raspberry Pi boards - Mediatek improves support for the MT81xx SoCs used in Chromebooks as well as the MT76xx networking SoCs - NVIDIA adds a number of cleanups and additional support for more hardware on the already supported machines - TI K3 adds support for three new boards along with cleanups - Toshiba adds one board for the Visconti family - Xilinx adds five new ZynqMP based machines - Amlogic support is added for the Radxa Zero and two Jethub home automation controllers, along with changes to other machines - Rob Herring continues his work on fixing dtc warnings all over the tree. - Minor updates for TI OMAP, Mstar, Allwinner/sunxi, Hisilicon, Ux500, Unisoc" * tag 'dt-5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (720 commits) arm64: dts: apple: j274: Expose PCI node for the Ethernet MAC address arm64: dts: apple: t8103: Add root port interrupt routing arm64: dts: apple: t8103: Add PCIe DARTs arm64: apple: Add PCIe node arm64: apple: Add pinctrl nodes ARM: dts: arm: Update ICST clock nodes 'reg' and node names ARM: dts: arm: Update register-bit-led nodes 'reg' and node names arm64: dts: exynos: add chipid node for exynosautov9 SoC ARM: dts: qcom: fix typo in IPQ8064 thermal-sensor node Revert "arm64: dts: qcom: msm8916-asus-z00l: Add sensors" arm64: dts: qcom: ipq6018: Remove unused 'iface_clk' property from dma-controller node arm64: dts: qcom: ipq6018: Remove unused 'qcom,config-pipe-trust-reg' property arm64: dts: qcom: sm8350: Add CPU topology and idle-states arm64: dts: qcom: Drop unneeded extra device-specific includes arm64: dts: qcom: msm8916: Drop standalone smem node arm64: dts: qcom: Fix node name of rpm-msg-ram device nodes arm64: dts: qcom: msm8916-asus-z00l: Add sensors arm64: dts: qcom: msm8916-asus-z00l: Add SDCard arm64: dts: qcom: msm8916-asus-z00l: Add touchscreen arm64: dts: qcom: sdm845-oneplus: remove devinfo-size from ramoops node ...
Unified · Split
| @@ -279,6 +279,7 @@ Nicolas Pitre <nico@fluxnic.net> <nicolas.pitre@linaro.org> · 278 unmodified lines | |||
| 279 | Nicolas Pitre <nico@fluxnic.net> <nico@linaro.org> | 279 | Nicolas Pitre <nico@fluxnic.net> <nico@linaro.org> |
| 280 | Nicolas Saenz Julienne <nsaenz@kernel.org> <nsaenzjulienne@suse.de> | 280 | Nicolas Saenz Julienne <nsaenz@kernel.org> <nsaenzjulienne@suse.de> |
| 281 | Nicolas Saenz Julienne <nsaenz@kernel.org> <nsaenzjulienne@suse.com> | 281 | Nicolas Saenz Julienne <nsaenz@kernel.org> <nsaenzjulienne@suse.com> |
| 282 | Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> | ||
| 282 | Oleksij Rempel <linux@rempel-privat.de> <bug-track@fisher-privat.net> | 283 | Oleksij Rempel <linux@rempel-privat.de> <bug-track@fisher-privat.net> |
| 283 | Oleksij Rempel <linux@rempel-privat.de> <external.Oleksij.Rempel@de.bosch.com> | 284 | Oleksij Rempel <linux@rempel-privat.de> <external.Oleksij.Rempel@de.bosch.com> |
| 284 | Oleksij Rempel <linux@rempel-privat.de> <fixed-term.Oleksij.Rempel@de.bosch.com> | 285 | Oleksij Rempel <linux@rempel-privat.de> <fixed-term.Oleksij.Rempel@de.bosch.com> |
| @@ -86,6 +86,7 @@ properties: · 85 unmodified lines | |||
| 86 | - enum: | 86 | - enum: |
| 87 | - amlogic,p281 | 87 | - amlogic,p281 |
| 88 | - oranth,tx3-mini | 88 | - oranth,tx3-mini |
| 89 | - jethome,jethub-j80 | ||
| 89 | - const: amlogic,s905w | 90 | - const: amlogic,s905w |
| 90 | - const: amlogic,meson-gxl | 91 | - const: amlogic,meson-gxl |
| 91 | 92 | ||
| @@ -133,6 +134,7 @@ properties: · 41 unmodified lines | |||
| 133 | items: | 134 | items: |
| 134 | - enum: | 135 | - enum: |
| 135 | - amlogic,s400 | 136 | - amlogic,s400 |
| 137 | - jethome,jethub-j100 | ||
| 136 | - const: amlogic,a113d | 138 | - const: amlogic,a113d |
| 137 | - const: amlogic,meson-axg | 139 | - const: amlogic,meson-axg |
| 138 | 140 | ||
| @@ -141,6 +143,7 @@ properties: · 2 unmodified lines | |||
| 141 | - enum: | 143 | - enum: |
| 142 | - amediatech,x96-max | 144 | - amediatech,x96-max |
| 143 | - amlogic,u200 | 145 | - amlogic,u200 |
| 146 | - radxa,zero | ||
| 144 | - seirobotics,sei510 | 147 | - seirobotics,sei510 |
| 145 | - const: amlogic,g12a | 148 | - const: amlogic,g12a |
| 146 | 149 | ||
| @@ -126,6 +126,18 @@ properties: · 125 unmodified lines | |||
| 126 | - const: atmel,sama5d3 | 126 | - const: atmel,sama5d3 |
| 127 | - const: atmel,sama5 | 127 | - const: atmel,sama5 |
| 128 | 128 | ||
| 129 | - description: CalAmp LMU5000 board | ||
| 130 | items: | ||
| 131 | - const: calamp,lmu5000 | ||
| 132 | - const: atmel,at91sam9g20 | ||
| 133 | - const: atmel,at91sam9 | ||
| 134 | |||
| 135 | - description: Exegin Q5xR5 board | ||
| 136 | items: | ||
| 137 | - const: exegin,q5xr5 | ||
| 138 | - const: atmel,at91sam9g20 | ||
| 139 | - const: atmel,at91sam9 | ||
| 140 | |||
| 129 | - items: | 141 | - items: |
| 130 | - enum: | 142 | - enum: |
| 131 | - atmel,sama5d31 | 143 | - atmel,sama5d31 |
| @@ -19,6 +19,7 @@ properties: · 18 unmodified lines | |||
| 19 | items: | 19 | items: |
| 20 | - enum: | 20 | - enum: |
| 21 | - raspberrypi,400 | 21 | - raspberrypi,400 |
| 22 | - raspberrypi,4-compute-module | ||
| 22 | - raspberrypi,4-model-b | 23 | - raspberrypi,4-model-b |
| 23 | - const: brcm,bcm2711 | 24 | - const: brcm,bcm2711 |
| 24 | 25 | ||
| @@ -22,16 +22,61 @@ properties: · 21 unmodified lines | |||
| 22 | $nodename: | 22 | $nodename: |
| 23 | const: '/' | 23 | const: '/' |
| 24 | compatible: | 24 | compatible: |
| 25 | items: | 25 | oneOf: |
| 26 | - enum: | 26 | - description: BCM58522 based boards |
| 27 | - brcm,bcm58522 | 27 | items: |
| 28 | - brcm,bcm58525 | 28 | - enum: |
| 29 | - brcm,bcm58535 | 29 | - brcm,bcm958522er |
| 30 | - brcm,bcm58622 | 30 | - const: brcm,bcm58522 |
| 31 | - brcm,bcm58623 | 31 | - const: brcm,nsp |
| 32 | - brcm,bcm58625 | 32 | |
| 33 | - brcm,bcm88312 | 33 | - description: BCM58525 based boards |
| 34 | - const: brcm,nsp | 34 | items: |
| 35 | - enum: | ||
| 36 | - brcm,bcm958525er | ||
| 37 | - brcm,bcm958525xmc | ||
| 38 | - const: brcm,bcm58525 | ||
| 39 | - const: brcm,nsp | ||
| 40 | |||
| 41 | - description: BCM58535 based boards | ||
| 42 | items: | ||
| 43 | - const: brcm,bcm58535 | ||
| 44 | - const: brcm,nsp | ||
| 45 | |||
| 46 | - description: BCM58622 based boards | ||
| 47 | items: | ||
| 48 | - enum: | ||
| 49 | - brcm,bcm958622hr | ||
| 50 | - const: brcm,bcm58622 | ||
| 51 | - const: brcm,nsp | ||
| 52 | |||
| 53 | - description: BCM58623 based boards | ||
| 54 | items: | ||
| 55 | - enum: | ||
| 56 | - brcm,bcm958623hr | ||
| 57 | - const: brcm,bcm58623 | ||
| 58 | - const: brcm,nsp | ||
| 59 | |||
| 60 | - description: BCM58625 based boards | ||
| 61 | items: | ||
| 62 | - enum: | ||
| 63 | - brcm,bcm958625hr | ||
| 64 | - brcm,bcm958625k | ||
| 65 | - meraki,mx64 | ||
| 66 | - meraki,mx64-a0 | ||
| 67 | - meraki,mx64w | ||
| 68 | - meraki,mx64w-a0 | ||
| 69 | - meraki,mx65 | ||
| 70 | - meraki,mx65w | ||
| 71 | - const: brcm,bcm58625 | ||
| 72 | - const: brcm,nsp | ||
| 73 | |||
| 74 | - description: BCM88312 based boards | ||
| 75 | items: | ||
| 76 | - enum: | ||
| 77 | - brcm,bcm988312hr | ||
| 78 | - const: brcm,bcm88312 | ||
| 79 | - const: brcm,nsp | ||
| 35 | 80 | ||
| 36 | additionalProperties: true | 81 | additionalProperties: true |
| 37 | 82 | ||
| @@ -171,6 +171,8 @@ properties: · 170 unmodified lines | |||
| 171 | - qcom,kryo385 | 171 | - qcom,kryo385 |
| 172 | - qcom,kryo468 | 172 | - qcom,kryo468 |
| 173 | - qcom,kryo485 | 173 | - qcom,kryo485 |
| 174 | - qcom,kryo560 | ||
| 175 | - qcom,kryo570 | ||
| 174 | - qcom,kryo685 | 176 | - qcom,kryo685 |
| 175 | - qcom,scorpion | 177 | - qcom,scorpion |
| 176 | 178 | ||
| @@ -235,7 +235,7 @@ properties: · 234 unmodified lines | |||
| 235 | - technexion,imx6q-pico-pi # TechNexion i.MX6Q Pico-Pi | 235 | - technexion,imx6q-pico-pi # TechNexion i.MX6Q Pico-Pi |
| 236 | - technologic,imx6q-ts4900 | 236 | - technologic,imx6q-ts4900 |
| 237 | - technologic,imx6q-ts7970 | 237 | - technologic,imx6q-ts7970 |
| 238 | - toradex,apalis_imx6q # Apalis iMX6 Module | 238 | - toradex,apalis_imx6q # Apalis iMX6 Modules |
| 239 | - udoo,imx6q-udoo # Udoo i.MX6 Quad Board | 239 | - udoo,imx6q-udoo # Udoo i.MX6 Quad Board |
| 240 | - uniwest,imx6q-evi # Uniwest Evi | 240 | - uniwest,imx6q-evi # Uniwest Evi |
| 241 | - variscite,dt6customboard | 241 | - variscite,dt6customboard |
| @@ -314,18 +314,12 @@ properties: · 72 unmodified lines | |||
| 314 | - const: phytec,imx6q-pfla02 # PHYTEC phyFLEX-i.MX6 Quad | 314 | - const: phytec,imx6q-pfla02 # PHYTEC phyFLEX-i.MX6 Quad |
| 315 | - const: fsl,imx6q | 315 | - const: fsl,imx6q |
| 316 | 316 | ||
| 317 | - description: i.MX6Q Boards with Toradex Apalis iMX6Q/D Module | 317 | - description: i.MX6Q Boards with Toradex Apalis iMX6Q/D Modules |
| 318 | items: | 318 | items: |
| 319 | - enum: | 319 | - enum: |
| 320 | - toradex,apalis_imx6q-ixora # Apalis iMX6Q/D Module on Ixora Carrier Board | 320 | - toradex,apalis_imx6q-ixora # Apalis iMX6Q/D Module on Ixora Carrier Board |
| 321 | - toradex,apalis_imx6q-eval # Apalis iMX6Q/D Module on Apalis Evaluation Board | 321 | - toradex,apalis_imx6q-ixora-v1.1 # Apalis iMX6Q/D Module on Ixora V1.1 Carrier Board |
| 322 | - const: toradex,apalis_imx6q | 322 | - toradex,apalis_imx6q-eval # Apalis iMX6Q/D Module on Apalis Evaluation Board |
| 323 | - const: fsl,imx6q | ||
| 324 | |||
| 325 | - description: i.MX6Q Toradex Apalis iMX6Q/D Module on Ixora Carrier Board V1.1 | ||
| 326 | items: | ||
| 327 | - const: toradex,apalis_imx6q-ixora-v1.1 | ||
| 328 | - const: toradex,apalis_imx6q-ixora | ||
| 329 | - const: toradex,apalis_imx6q | 323 | - const: toradex,apalis_imx6q |
| 330 | - const: fsl,imx6q | 324 | - const: fsl,imx6q |
| 331 | 325 | ||
| @@ -393,6 +387,8 @@ properties: · 61 unmodified lines | |||
| 393 | - technexion,imx6dl-pico-pi # TechNexion i.MX6DL Pico-Pi | 387 | - technexion,imx6dl-pico-pi # TechNexion i.MX6DL Pico-Pi |
| 394 | - technologic,imx6dl-ts4900 | 388 | - technologic,imx6dl-ts4900 |
| 395 | - technologic,imx6dl-ts7970 | 389 | - technologic,imx6dl-ts7970 |
| 390 | - toradex,colibri_imx6dl # Colibri iMX6 Modules | ||
| 391 | - toradex,colibri_imx6dl-v1_1 # Colibri iMX6 V1.1 Modules | ||
| 396 | - udoo,imx6dl-udoo # Udoo i.MX6 Dual-lite Board | 392 | - udoo,imx6dl-udoo # Udoo i.MX6 Dual-lite Board |
| 397 | - vdl,lanmcu # Van der Laan LANMCU board | 393 | - vdl,lanmcu # Van der Laan LANMCU board |
| 398 | - wand,imx6dl-wandboard # Wandboard i.MX6 Dual Lite Board | 394 | - wand,imx6dl-wandboard # Wandboard i.MX6 Dual Lite Board |
| @@ -466,20 +462,18 @@ properties: · 67 unmodified lines | |||
| 466 | - const: phytec,imx6dl-pfla02 # PHYTEC phyFLEX-i.MX6 Quad | 462 | - const: phytec,imx6dl-pfla02 # PHYTEC phyFLEX-i.MX6 Quad |
| 467 | - const: fsl,imx6dl | 463 | - const: fsl,imx6dl |
| 468 | 464 | ||
| 469 | - description: i.MX6DL Toradex Colibri iMX6 Module on Colibri | 465 | - description: i.MX6DL Boards with Toradex Colibri iMX6DL/S Modules |
| 470 | Evaluation Board V3 | ||
| 471 | items: | 466 | items: |
| 472 | - const: toradex,colibri_imx6dl-eval-v3 | 467 | - enum: |
| 473 | - const: toradex,colibri_imx6dl # Colibri iMX6 Module | 468 | - toradex,colibri_imx6dl-eval-v3 # Colibri iMX6DL/S Module on Colibri Evaluation Board V3 |
| 469 | - const: toradex,colibri_imx6dl # Colibri iMX6DL/S Module | ||
| 474 | - const: fsl,imx6dl | 470 | - const: fsl,imx6dl |
| 475 | 471 | ||
| 476 | - description: i.MX6DL Toradex Colibri iMX6 Module V1.1 on Colibri | 472 | - description: i.MX6DL Boards with Toradex Colibri iMX6DL/S V1.1 Modules |
| 477 | Evaluation Board V3 | ||
| 478 | items: | 473 | items: |
| 479 | - const: toradex,colibri_imx6dl-v1_1-eval-v3 | 474 | - enum: |
| 480 | - const: toradex,colibri_imx6dl-v1_1 # Colibri iMX6 Module V1.1 | 475 | - toradex,colibri_imx6dl-v1_1-eval-v3 # Colibri iMX6DL/S V1.1 M. on Colibri Evaluation Board V3 |
| 481 | - const: toradex,colibri_imx6dl-eval-v3 | 476 | - const: toradex,colibri_imx6dl-v1_1 # Colibri iMX6DL/S V1.1 Module |
| 482 | - const: toradex,colibri_imx6dl # Colibri iMX6 Module | ||
| 483 | - const: fsl,imx6dl | 477 | - const: fsl,imx6dl |
| 484 | 478 | ||
| 485 | - description: i.MX6S DHCOM DRC02 Board | 479 | - description: i.MX6S DHCOM DRC02 Board |
| @@ -494,6 +488,7 @@ properties: · 8 unmodified lines | |||
| 494 | - fsl,imx6sl-evk # i.MX6 SoloLite EVK Board | 488 | - fsl,imx6sl-evk # i.MX6 SoloLite EVK Board |
| 495 | - kobo,tolino-shine2hd | 489 | - kobo,tolino-shine2hd |
| 496 | - kobo,tolino-shine3 | 490 | - kobo,tolino-shine3 |
| 491 | - kobo,tolino-vision5 | ||
| 497 | - revotics,imx6sl-warp # Revotics WaRP Board | 492 | - revotics,imx6sl-warp # Revotics WaRP Board |
| 498 | - const: fsl,imx6sl | 493 | - const: fsl,imx6sl |
| 499 | 494 | ||
| @@ -502,6 +497,7 @@ properties: · 2 unmodified lines | |||
| 502 | - enum: | 497 | - enum: |
| 503 | - fsl,imx6sll-evk | 498 | - fsl,imx6sll-evk |
| 504 | - kobo,clarahd | 499 | - kobo,clarahd |
| 500 | - kobo,librah2o | ||
| 505 | - const: fsl,imx6sll | 501 | - const: fsl,imx6sll |
| 506 | 502 | ||
| 507 | - description: i.MX6SX based Boards | 503 | - description: i.MX6SX based Boards |
| @@ -586,8 +582,9 @@ properties: · 78 unmodified lines | |||
| 586 | - fsl,imx6ull-14x14-evk # i.MX6 UltraLiteLite 14x14 EVK Board | 582 | - fsl,imx6ull-14x14-evk # i.MX6 UltraLiteLite 14x14 EVK Board |
| 587 | - kontron,imx6ull-n6411-som # Kontron N6411 SOM | 583 | - kontron,imx6ull-n6411-som # Kontron N6411 SOM |
| 588 | - myir,imx6ull-mys-6ulx-eval # MYiR Tech iMX6ULL Evaluation Board | 584 | - myir,imx6ull-mys-6ulx-eval # MYiR Tech iMX6ULL Evaluation Board |
| 589 | - toradex,colibri-imx6ull-eval # Colibri iMX6ULL Module on Colibri Eval Board | 585 | - toradex,colibri-imx6ull # Colibri iMX6ULL Modules |
| 590 | - toradex,colibri-imx6ull-wifi-eval # Colibri iMX6ULL Wi-Fi / BT Module on Colibri Eval Board | 586 | - toradex,colibri-imx6ull-emmc # Colibri iMX6ULL 1GB (eMMC) Module |
| 587 | - toradex,colibri-imx6ull-wifi # Colibri iMX6ULL Wi-Fi / BT Modules | ||
| 591 | - const: fsl,imx6ull | 588 | - const: fsl,imx6ull |
| 592 | 589 | ||
| 593 | - description: i.MX6ULL Armadeus Systems OPOS6ULDev Board | 590 | - description: i.MX6ULL Armadeus Systems OPOS6ULDev Board |
| @@ -605,6 +602,27 @@ properties: · 11 unmodified lines | |||
| 605 | - const: phytec,imx6ull-pcl063 # PHYTEC phyCORE-i.MX 6ULL | 602 | - const: phytec,imx6ull-pcl063 # PHYTEC phyCORE-i.MX 6ULL |
| 606 | - const: fsl,imx6ull | 603 | - const: fsl,imx6ull |
| 607 | 604 | ||
| 605 | - description: i.MX6ULL Boards with Toradex Colibri iMX6ULL Modules | ||
| 606 | items: | ||
| 607 | - enum: | ||
| 608 | - toradex,colibri-imx6ull-eval # Colibri iMX6ULL Module on Colibri Evaluation Board | ||
| 609 | - const: toradex,colibri-imx6ull # Colibri iMX6ULL Module | ||
| 610 | - const: fsl,imx6dl | ||
| 611 | |||
| 612 | - description: i.MX6ULL Boards with Toradex Colibri iMX6ULL 1GB (eMMC) Module | ||
| 613 | items: | ||
| 614 | - enum: | ||
| 615 | - toradex,colibri-imx6ull-emmc-eval # Colibri iMX6ULL 1GB (eMMC) M. on Colibri Evaluation Board | ||
| 616 | - const: toradex,colibri-imx6ull-emmc # Colibri iMX6ULL 1GB (eMMC) Module | ||
| 617 | - const: fsl,imx6dl | ||
| 618 | |||
| 619 | - description: i.MX6ULL Boards with Toradex Colibri iMX6ULL Wi-Fi / BT Modules | ||
| 620 | items: | ||
| 621 | - enum: | ||
| 622 | - toradex,colibri-imx6ull-wifi-eval # Colibri iMX6ULL Wi-Fi / BT M. on Colibri Evaluation Board | ||
| 623 | - const: toradex,colibri-imx6ull-wifi # Colibri iMX6ULL Wi-Fi / BT Module | ||
| 624 | - const: fsl,imx6dl | ||
| 625 | |||
| 608 | - description: Kontron N6411 S Board | 626 | - description: Kontron N6411 S Board |
| 609 | items: | 627 | items: |
| 610 | - const: kontron,imx6ull-n6411-s | 628 | - const: kontron,imx6ull-n6411-s |
| @@ -622,6 +640,7 @@ properties: · 11 unmodified lines | |||
| 622 | items: | 640 | items: |
| 623 | - enum: | 641 | - enum: |
| 624 | - element14,imx7s-warp # Element14 Warp i.MX7 Board | 642 | - element14,imx7s-warp # Element14 Warp i.MX7 Board |
| 643 | - toradex,colibri-imx7s # Colibri iMX7S Module | ||
| 625 | - const: fsl,imx7s | 644 | - const: fsl,imx7s |
| 626 | 645 | ||
| 627 | - description: i.MX7S Boards with Toradex Colibri iMX7S Module | 646 | - description: i.MX7S Boards with Toradex Colibri iMX7S Module |
| @@ -653,15 +672,8 @@ properties: · 25 unmodified lines | |||
| 653 | - technexion,imx7d-pico-hobbit # TechNexion i.MX7D Pico-Hobbit | 672 | - technexion,imx7d-pico-hobbit # TechNexion i.MX7D Pico-Hobbit |
| 654 | - technexion,imx7d-pico-nymph # TechNexion i.MX7D Pico-Nymph | 673 | - technexion,imx7d-pico-nymph # TechNexion i.MX7D Pico-Nymph |
| 655 | - technexion,imx7d-pico-pi # TechNexion i.MX7D Pico-Pi | 674 | - technexion,imx7d-pico-pi # TechNexion i.MX7D Pico-Pi |
| 656 | - toradex,colibri-imx7d # Colibri iMX7 Dual Module | 675 | - toradex,colibri-imx7d # Colibri iMX7D Module |
| 657 | - toradex,colibri-imx7d-aster # Colibri iMX7 Dual Module on Aster Carrier Board | 676 | - toradex,colibri-imx7d-emmc # Colibri iMX7D 1GB (eMMC) Module |
| 658 | - toradex,colibri-imx7d-emmc # Colibri iMX7 Dual 1GB (eMMC) Module | ||
| 659 | - toradex,colibri-imx7d-emmc-aster # Colibri iMX7 Dual 1GB (eMMC) Module on | ||
| 660 | # Aster Carrier Board | ||
| 661 | - toradex,colibri-imx7d-emmc-eval-v3 # Colibri iMX7 Dual 1GB (eMMC) Module on | ||
| 662 | # Colibri Evaluation Board V3 | ||
| 663 | - toradex,colibri-imx7d-eval-v3 # Colibri iMX7 Dual Module on | ||
| 664 | # Colibri Evaluation Board V3 | ||
| 665 | - zii,imx7d-rmu2 # ZII RMU2 Board | 677 | - zii,imx7d-rmu2 # ZII RMU2 Board |
| 666 | - zii,imx7d-rpu2 # ZII RPU2 Board | 678 | - zii,imx7d-rpu2 # ZII RPU2 Board |
| 667 | - const: fsl,imx7d | 679 | - const: fsl,imx7d |
| @@ -686,12 +698,12 @@ properties: · 18 unmodified lines | |||
| 686 | - description: i.MX7D Boards with Toradex Colibri i.MX7D Module | 698 | - description: i.MX7D Boards with Toradex Colibri i.MX7D Module |
| 687 | items: | 699 | items: |
| 688 | - enum: | 700 | - enum: |
| 689 | - toradex,colibri-imx7d-aster # Module on Aster Carrier Board | 701 | - toradex,colibri-imx7d-aster # Colibri iMX7D Module on Aster Carrier Board |
| 690 | - toradex,colibri-imx7d-eval-v3 # Module on Colibri Evaluation Board V3 | 702 | - toradex,colibri-imx7d-eval-v3 # Colibri iMX7D Module on Colibri Evaluation Board V3 |
| 691 | - const: toradex,colibri-imx7d | 703 | - const: toradex,colibri-imx7d |
| 692 | - const: fsl,imx7d | 704 | - const: fsl,imx7d |
| 693 | 705 | ||
| 694 | - description: i.MX7D Boards with Toradex Colibri i.MX7D eMMC Module | 706 | - description: i.MX7D Boards with Toradex Colibri i.MX7D 1GB (eMMC) Module |
| 695 | items: | 707 | items: |
| 696 | - enum: | 708 | - enum: |
| 697 | - toradex,colibri-imx7d-emmc-aster # Module on Aster Carrier Board | 709 | - toradex,colibri-imx7d-emmc-aster # Module on Aster Carrier Board |
| @@ -812,10 +824,10 @@ properties: · 114 unmodified lines | |||
| 812 | - enum: | 824 | - enum: |
| 813 | - einfochips,imx8qxp-ai_ml # i.MX8QXP AI_ML Board | 825 | - einfochips,imx8qxp-ai_ml # i.MX8QXP AI_ML Board |
| 814 | - fsl,imx8qxp-mek # i.MX8QXP MEK Board | 826 | - fsl,imx8qxp-mek # i.MX8QXP MEK Board |
| 815 | - toradex,colibri-imx8x # Colibri iMX8X Module | 827 | - toradex,colibri-imx8x # Colibri iMX8X Modules |
| 816 | - const: fsl,imx8qxp | 828 | - const: fsl,imx8qxp |
| 817 | 829 | ||
| 818 | - description: Toradex Colibri i.MX8 Evaluation Board | 830 | - description: i.MX8QXP Boards with Toradex Coilbri iMX8X Modules |
| 819 | items: | 831 | items: |
| 820 | - enum: | 832 | - enum: |
| 821 | - toradex,colibri-imx8x-eval-v3 # Colibri iMX8X Module on Colibri Evaluation Board V3 | 833 | - toradex,colibri-imx8x-eval-v3 # Colibri iMX8X Module on Colibri Evaluation Board V3 |
| @@ -847,9 +859,10 @@ properties: · 25 unmodified lines | |||
| 847 | - description: VF610 based Boards | 859 | - description: VF610 based Boards |
| 848 | items: | 860 | items: |
| 849 | - enum: | 861 | - enum: |
| 862 | - fsl,vf610-twr # VF610 Tower Board | ||
| 850 | - lwn,bk4 # Liebherr BK4 controller | 863 | - lwn,bk4 # Liebherr BK4 controller |
| 851 | - phytec,vf610-cosmic # PHYTEC Cosmic/Cosmic+ Board | 864 | - phytec,vf610-cosmic # PHYTEC Cosmic/Cosmic+ Board |
| 852 | - fsl,vf610-twr # VF610 Tower Board | 865 | - toradex,vf610-colibri_vf61 # Colibri VF61 Modules |
| 853 | - const: fsl,vf610 | 866 | - const: fsl,vf610 |
| 854 | 867 | ||
| 855 | - description: Toradex Colibri VF61 Module on Colibri Evaluation Board | 868 | - description: Toradex Colibri VF61 Module on Colibri Evaluation Board |
| @@ -886,6 +899,7 @@ properties: · 30 unmodified lines | |||
| 886 | - enum: | 899 | - enum: |
| 887 | - fsl,ls1021a-moxa-uc-8410a | 900 | - fsl,ls1021a-moxa-uc-8410a |
| 888 | - fsl,ls1021a-qds | 901 | - fsl,ls1021a-qds |
| 902 | - fsl,ls1021a-tsn | ||
| 889 | - fsl,ls1021a-twr | 903 | - fsl,ls1021a-twr |
| 890 | - const: fsl,ls1021a | 904 | - const: fsl,ls1021a |
| 891 | 905 | ||
| @@ -977,6 +991,8 @@ properties: · 85 unmodified lines | |||
| 977 | - description: LX2160A based Boards | 991 | - description: LX2160A based Boards |
| 978 | items: | 992 | items: |
| 979 | - enum: | 993 | - enum: |
| 994 | - fsl,lx2160a-bluebox3 | ||
| 995 | - fsl,lx2160a-bluebox3-rev-a | ||
| 980 | - fsl,lx2160a-qds | 996 | - fsl,lx2160a-qds |
| 981 | - fsl,lx2160a-rdb | 997 | - fsl,lx2160a-rdb |
| 982 | - fsl,lx2162a-qds | 998 | - fsl,lx2162a-qds |
| @@ -990,6 +1006,13 @@ properties: · 7 unmodified lines | |||
| 990 | - const: solidrun,lx2160a-cex7 | 1006 | - const: solidrun,lx2160a-cex7 |
| 991 | - const: fsl,lx2160a | 1007 | - const: fsl,lx2160a |
| 992 | 1008 | ||
| 1009 | - description: S32G2 based Boards | ||
| 1010 | items: | ||
| 1011 | - enum: | ||
| 1012 | - nxp,s32g274a-evb | ||
| 1013 | - nxp,s32g274a-rdb2 | ||
| 1014 | - const: nxp,s32g2 | ||
| 1015 | |||
| 993 | - description: S32V234 based Boards | 1016 | - description: S32V234 based Boards |
| 994 | items: | 1017 | items: |
| 995 | - enum: | 1018 | - enum: |
| @@ -32,6 +32,7 @@ properties: · 31 unmodified lines | |||
| 32 | - const: mediatek,mt6580 | 32 | - const: mediatek,mt6580 |
| 33 | - items: | 33 | - items: |
| 34 | - enum: | 34 | - enum: |
| 35 | - fairphone,fp1 | ||
| 35 | - mundoreader,bq-aquaris5 | 36 | - mundoreader,bq-aquaris5 |
| 36 | - const: mediatek,mt6589 | 37 | - const: mediatek,mt6589 |
| 37 | - items: | 38 | - items: |
| @@ -43,6 +43,9 @@ properties: · 42 unmodified lines | |||
| 43 | "#clock-cells": | 43 | "#clock-cells": |
| 44 | const: 1 | 44 | const: 1 |
| 45 | 45 | ||
| 46 | '#reset-cells': | ||
| 47 | const: 1 | ||
| 48 | |||
| 46 | required: | 49 | required: |
| 47 | - compatible | 50 | - compatible |
| 48 | - reg | 51 | - reg |
| @@ -56,4 +59,5 @@ examples: · 7 unmodified lines | |||
| 56 | compatible = "mediatek,mt8173-mmsys", "syscon"; | 59 | compatible = "mediatek,mt8173-mmsys", "syscon"; |
| 57 | reg = <0x14000000 0x1000>; | 60 | reg = <0x14000000 0x1000>; |
| 58 | #clock-cells = <1>; | 61 | #clock-cells = <1>; |
| 62 | #reset-cells = <1>; | ||
| 59 | }; | 63 | }; |
| @@ -25,6 +25,7 @@ description: | · 24 unmodified lines | |||
| 25 | The 'SoC' element must be one of the following strings: | 25 | The 'SoC' element must be one of the following strings: |
| 26 | 26 | ||
| 27 | apq8016 | 27 | apq8016 |
| 28 | apq8026 | ||
| 28 | apq8074 | 29 | apq8074 |
| 29 | apq8084 | 30 | apq8084 |
| 30 | apq8096 | 31 | apq8096 |
| @@ -44,6 +45,8 @@ description: | · 13 unmodified lines | |||
| 44 | sdm660 | 45 | sdm660 |
| 45 | sdm845 | 46 | sdm845 |
| 46 | sdx55 | 47 | sdx55 |
| 48 | sdx65 | ||
| 49 | sm7225 | ||
| 47 | sm8150 | 50 | sm8150 |
| 48 | sm8250 | 51 | sm8250 |
| 49 | sm8350 | 52 | sm8350 |
| @@ -94,6 +97,14 @@ properties: · 44 unmodified lines | |||
| 94 | 97 | ||
| 95 | - items: | 98 | - items: |
| 96 | - enum: | 99 | - enum: |
| 100 | - lg,lenok | ||
| 101 | - const: qcom,apq8026 | ||
| 102 | |||
| 103 | - items: | ||
| 104 | - enum: | ||
| 105 | - asus,nexus7-flo | ||
| 106 | - lg,nexus4-mako | ||
| 107 | - sony,xperia-yuga | ||
| 97 | - qcom,apq8064-cm-qs600 | 108 | - qcom,apq8064-cm-qs600 |
| 98 | - qcom,apq8064-ifc6410 | 109 | - qcom,apq8064-ifc6410 |
| 99 | - const: qcom,apq8064 | 110 | - const: qcom,apq8064 |
| @@ -129,6 +140,7 @@ properties: · 29 unmodified lines | |||
| 129 | - enum: | 140 | - enum: |
| 130 | - fairphone,fp2 | 141 | - fairphone,fp2 |
| 131 | - lge,hammerhead | 142 | - lge,hammerhead |
| 143 | - samsung,klte | ||
| 132 | - sony,xperia-amami | 144 | - sony,xperia-amami |
| 133 | - sony,xperia-castor | 145 | - sony,xperia-castor |
| 134 | - sony,xperia-honami | 146 | - sony,xperia-honami |
| @@ -163,6 +175,7 @@ properties: · 28 unmodified lines | |||
| 163 | 175 | ||
| 164 | - items: | 176 | - items: |
| 165 | - enum: | 177 | - enum: |
| 178 | - qcom,ipq4019-ap-dk01.1-c1 | ||
| 166 | - qcom,ipq4019-ap-dk04.1-c3 | 179 | - qcom,ipq4019-ap-dk04.1-c3 |
| 167 | - qcom,ipq4019-ap-dk07.1-c1 | 180 | - qcom,ipq4019-ap-dk07.1-c1 |
| 168 | - qcom,ipq4019-ap-dk07.1-c2 | 181 | - qcom,ipq4019-ap-dk07.1-c2 |
| @@ -206,6 +219,11 @@ properties: · 37 unmodified lines | |||
| 206 | - qcom,sdx55-t55 | 219 | - qcom,sdx55-t55 |
| 207 | - const: qcom,sdx55 | 220 | - const: qcom,sdx55 |
| 208 | 221 | ||
| 222 | - items: | ||
| 223 | - enum: | ||
| 224 | - qcom,sdx65-mtp | ||
| 225 | - const: qcom,sdx65 | ||
| 226 | |||
| 209 | - items: | 227 | - items: |
| 210 | - enum: | 228 | - enum: |
| 211 | - qcom,ipq6018-cp01 | 229 | - qcom,ipq6018-cp01 |
| @@ -217,6 +235,11 @@ properties: · 5 unmodified lines | |||
| 217 | - qcom,sa8155p-adp | 235 | - qcom,sa8155p-adp |
| 218 | - const: qcom,sa8155p | 236 | - const: qcom,sa8155p |
| 219 | 237 | ||
| 238 | - items: | ||
| 239 | - enum: | ||
| 240 | - fairphone,fp4 | ||
| 241 | - const: qcom,sm7225 | ||
| 242 | |||
| 220 | - items: | 243 | - items: |
| 221 | - enum: | 244 | - enum: |
| 222 | - qcom,sm8150-mtp | 245 | - qcom,sm8150-mtp |
| @@ -255,12 +255,19 @@ properties: · 254 unmodified lines | |||
| 255 | - enum: | 255 | - enum: |
| 256 | - renesas,h3ulcb | 256 | - renesas,h3ulcb |
| 257 | - renesas,m3ulcb | 257 | - renesas,m3ulcb |
| 258 | - renesas,m3nulcb | ||
| 258 | - enum: | 259 | - enum: |
| 260 | - renesas,r8a779m0 | ||
| 259 | - renesas,r8a779m1 | 261 | - renesas,r8a779m1 |
| 262 | - renesas,r8a779m2 | ||
| 260 | - renesas,r8a779m3 | 263 | - renesas,r8a779m3 |
| 264 | - renesas,r8a779m4 | ||
| 265 | - renesas,r8a779m5 | ||
| 266 | - renesas,r8a779m8 | ||
| 261 | - enum: | 267 | - enum: |
| 262 | - renesas,r8a7795 | 268 | - renesas,r8a7795 |
| 263 | - renesas,r8a77961 | 269 | - renesas,r8a77961 |
| 270 | - renesas,r8a77965 | ||
| 264 | 271 | ||
| 265 | - description: R-Car M3-N (R8A77965) | 272 | - description: R-Car M3-N (R8A77965) |
| 266 | items: | 273 | items: |
| @@ -308,6 +315,14 @@ properties: · 41 unmodified lines | |||
| 308 | - const: renesas,falcon-cpu | 315 | - const: renesas,falcon-cpu |
| 309 | - const: renesas,r8a779a0 | 316 | - const: renesas,r8a779a0 |
| 310 | 317 | ||
| 318 | - description: R-Car H3e (R8A779M0) | ||
| 319 | items: | ||
| 320 | - enum: | ||
| 321 | - renesas,h3ulcb # H3ULCB (R-Car Starter Kit Premier) | ||
| 322 | - renesas,salvator-xs # Salvator-XS (Salvator-X 2nd version) | ||
| 323 | - const: renesas,r8a779m0 | ||
| 324 | - const: renesas,r8a7795 | ||
| 325 | |||
| 311 | - description: R-Car H3e-2G (R8A779M1) | 326 | - description: R-Car H3e-2G (R8A779M1) |
| 312 | items: | 327 | items: |
| 313 | - enum: | 328 | - enum: |
| @@ -316,6 +331,14 @@ properties: · 2 unmodified lines | |||
| 316 | - const: renesas,r8a779m1 | 331 | - const: renesas,r8a779m1 |
| 317 | - const: renesas,r8a7795 | 332 | - const: renesas,r8a7795 |
| 318 | 333 | ||
| 334 | - description: R-Car M3e (R8A779M2) | ||
| 335 | items: | ||
| 336 | - enum: | ||
| 337 | - renesas,m3ulcb # M3ULCB (R-Car Starter Kit Pro) | ||
| 338 | - renesas,salvator-xs # Salvator-XS (Salvator-X 2nd version) | ||
| 339 | - const: renesas,r8a779m2 | ||
| 340 | - const: renesas,r8a77961 | ||
| 341 | |||
| 319 | - description: R-Car M3e-2G (R8A779M3) | 342 | - description: R-Car M3e-2G (R8A779M3) |
| 320 | items: | 343 | items: |
| 321 | - enum: | 344 | - enum: |
| @@ -324,6 +347,44 @@ properties: · 2 unmodified lines | |||
| 324 | - const: renesas,r8a779m3 | 347 | - const: renesas,r8a779m3 |
| 325 | - const: renesas,r8a77961 | 348 | - const: renesas,r8a77961 |
| 326 | 349 | ||
| 350 | - description: R-Car M3Ne (R8A779M4) | ||
| 351 | items: | ||
| 352 | - enum: | ||
| 353 | - renesas,m3nulcb # M3NULCB (R-Car Starter Kit Pro) | ||
| 354 | - renesas,salvator-xs # Salvator-XS (Salvator-X 2nd version) | ||
| 355 | - const: renesas,r8a779m4 | ||
| 356 | - const: renesas,r8a77965 | ||
| 357 | |||
| 358 | - description: R-Car M3Ne-2G (R8A779M5) | ||
| 359 | items: | ||
| 360 | - enum: | ||
| 361 | - renesas,m3nulcb # M3NULCB (R-Car Starter Kit Pro) | ||
| 362 | - renesas,salvator-xs # Salvator-XS (Salvator-X 2nd version) | ||
| 363 | - const: renesas,r8a779m5 | ||
| 364 | - const: renesas,r8a77965 | ||
| 365 | |||
| 366 | - description: R-Car E3e (R8A779M6) | ||
| 367 | items: | ||
| 368 | - enum: | ||
| 369 | - renesas,ebisu # Ebisu | ||
| 370 | - const: renesas,r8a779m6 | ||
| 371 | - const: renesas,r8a77990 | ||
| 372 | |||
| 373 | - description: R-Car D3e (R8A779M7) | ||
| 374 | items: | ||
| 375 | - enum: | ||
| 376 | - renesas,draak # Draak | ||
| 377 | - const: renesas,r8a779m7 | ||
| 378 | - const: renesas,r8a77995 | ||
| 379 | |||
| 380 | - description: R-Car H3Ne (R8A779M8) | ||
| 381 | items: | ||
| 382 | - enum: | ||
| 383 | - renesas,h3ulcb # H3ULCB (R-Car Starter Kit Premier) | ||
| 384 | - renesas,salvator-xs # Salvator-XS (Salvator-X 2nd version) | ||
| 385 | - const: renesas,r8a779m8 | ||
| 386 | - const: renesas,r8a7795 | ||
| 387 | |||
| 327 | - description: RZ/N1D (R9A06G032) | 388 | - description: RZ/N1D (R9A06G032) |
| 328 | items: | 389 | items: |
| 329 | - enum: | 390 | - enum: |
| @@ -115,6 +115,11 @@ properties: · 114 unmodified lines | |||
| 115 | - const: firefly,roc-rk3328-cc | 115 | - const: firefly,roc-rk3328-cc |
| 116 | - const: rockchip,rk3328 | 116 | - const: rockchip,rk3328 |
| 117 | 117 | ||
| 118 | - description: Firefly ROC-RK3328-PC | ||
| 119 | items: | ||
| 120 | - const: firefly,roc-rk3328-pc | ||
| 121 | - const: rockchip,rk3328 | ||
| 122 | |||
| 118 | - description: Firefly ROC-RK3399-PC | 123 | - description: Firefly ROC-RK3399-PC |
| 119 | items: | 124 | items: |
| 120 | - enum: | 125 | - enum: |
| @@ -122,6 +127,12 @@ properties: · 1 unmodified line | |||
| 122 | - firefly,roc-rk3399-pc-mezzanine | 127 | - firefly,roc-rk3399-pc-mezzanine |
| 123 | - const: rockchip,rk3399 | 128 | - const: rockchip,rk3399 |
| 124 | 129 | ||
| 130 | - description: Firefly ROC-RK3399-PC-PLUS | ||
| 131 | items: | ||
| 132 | - enum: | ||
| 133 | - firefly,roc-rk3399-pc-plus | ||
| 134 | - const: rockchip,rk3399 | ||
| 135 | |||
| 125 | - description: FriendlyElec NanoPi R2S | 136 | - description: FriendlyElec NanoPi R2S |
| 126 | items: | 137 | items: |
| 127 | - const: friendlyarm,nanopi-r2s | 138 | - const: friendlyarm,nanopi-r2s |
| @@ -287,6 +298,34 @@ properties: · 159 unmodified lines | |||
| 287 | - const: google,veyron | 298 | - const: google,veyron |
| 288 | - const: rockchip,rk3288 | 299 | - const: rockchip,rk3288 |
| 289 | 300 | ||
| 301 | - description: Google Scarlet - Dumo (ASUS Chromebook Tablet CT100) | ||
| 302 | items: | ||
| 303 | - const: google,scarlet-rev15-sku0 | ||
| 304 | - const: google,scarlet-rev15 | ||
| 305 | - const: google,scarlet-rev14-sku0 | ||
| 306 | - const: google,scarlet-rev14 | ||
| 307 | - const: google,scarlet-rev13-sku0 | ||
| 308 | - const: google,scarlet-rev13 | ||
| 309 | - const: google,scarlet-rev12-sku0 | ||
| 310 | - const: google,scarlet-rev12 | ||
| 311 | - const: google,scarlet-rev11-sku0 | ||
| 312 | - const: google,scarlet-rev11 | ||
| 313 | - const: google,scarlet-rev10-sku0 | ||
| 314 | - const: google,scarlet-rev10 | ||
| 315 | - const: google,scarlet-rev9-sku0 | ||
| 316 | - const: google,scarlet-rev9 | ||
| 317 | - const: google,scarlet-rev8-sku0 | ||
| 318 | - const: google,scarlet-rev8 | ||
| 319 | - const: google,scarlet-rev7-sku0 | ||
| 320 | - const: google,scarlet-rev7 | ||
| 321 | - const: google,scarlet-rev6-sku0 | ||
| 322 | - const: google,scarlet-rev6 | ||
| 323 | - const: google,scarlet-rev5-sku0 | ||
| 324 | - const: google,scarlet-rev5 | ||
| 325 | - const: google,scarlet | ||
| 326 | - const: google,gru | ||
| 327 | - const: rockchip,rk3399 | ||
| 328 | |||
| 290 | - description: Google Scarlet - Kingdisplay (Acer Chromebook Tab 10) | 329 | - description: Google Scarlet - Kingdisplay (Acer Chromebook Tab 10) |
| 291 | items: | 330 | items: |
| 292 | - const: google,scarlet-rev15-sku7 | 331 | - const: google,scarlet-rev15-sku7 |
| @@ -455,16 +494,23 @@ properties: · 162 unmodified lines | |||
| 455 | - const: pine64,rockpro64 | 494 | - const: pine64,rockpro64 |
| 456 | - const: rockchip,rk3399 | 495 | - const: rockchip,rk3399 |
| 457 | 496 | ||
| 497 | - description: Pine64 Quartz64 Model A | ||
| 498 | items: | ||
| 499 | - const: pine64,quartz64-a | ||
| 500 | - const: rockchip,rk3566 | ||
| 501 | |||
| 458 | - description: Radxa Rock | 502 | - description: Radxa Rock |
| 459 | items: | 503 | items: |
| 460 | - const: radxa,rock | 504 | - const: radxa,rock |
| 461 | - const: rockchip,rk3188 | 505 | - const: rockchip,rk3188 |
| 462 | 506 | ||
| 463 | - description: Radxa ROCK Pi 4A/B/C | 507 | - description: Radxa ROCK Pi 4A/A+/B/B+/C |
| 464 | items: | 508 | items: |
| 465 | - enum: | 509 | - enum: |
| 466 | - radxa,rockpi4a | 510 | - radxa,rockpi4a |
| 511 | - radxa,rockpi4a-plus | ||
| 467 | - radxa,rockpi4b | 512 | - radxa,rockpi4b |
| 513 | - radxa,rockpi4b-plus | ||
| 468 | - radxa,rockpi4c | 514 | - radxa,rockpi4c |
| 469 | - const: radxa,rockpi4 | 515 | - const: radxa,rockpi4 |
| 470 | - const: rockchip,rk3399 | 516 | - const: rockchip,rk3399 |
| @@ -22,7 +22,9 @@ select: · 21 unmodified lines | |||
| 22 | - rockchip,px30-pmu | 22 | - rockchip,px30-pmu |
| 23 | - rockchip,rk3066-pmu | 23 | - rockchip,rk3066-pmu |
| 24 | - rockchip,rk3288-pmu | 24 | - rockchip,rk3288-pmu |
| 25 | - rockchip,rk3368-pmu | ||
| 25 | - rockchip,rk3399-pmu | 26 | - rockchip,rk3399-pmu |
| 27 | - rockchip,rk3568-pmu | ||
| 26 | 28 | ||
| 27 | required: | 29 | required: |
| 28 | - compatible | 30 | - compatible |
| @@ -34,7 +36,9 @@ properties: · 5 unmodified lines | |||
| 34 | - rockchip,px30-pmu | 36 | - rockchip,px30-pmu |
| 35 | - rockchip,rk3066-pmu | 37 | - rockchip,rk3066-pmu |
| 36 | - rockchip,rk3288-pmu | 38 | - rockchip,rk3288-pmu |
| 39 | - rockchip,rk3368-pmu | ||
| 37 | - rockchip,rk3399-pmu | 40 | - rockchip,rk3399-pmu |
| 41 | - rockchip,rk3568-pmu | ||
| 38 | - const: syscon | 42 | - const: syscon |
| 39 | - const: simple-mfd | 43 | - const: simple-mfd |
| 40 | 44 | ||
| @@ -199,6 +199,12 @@ properties: · 198 unmodified lines | |||
| 199 | - samsung,exynos7-espresso # Samsung Exynos7 Espresso | 199 | - samsung,exynos7-espresso # Samsung Exynos7 Espresso |
| 200 | - const: samsung,exynos7 | 200 | - const: samsung,exynos7 |
| 201 | 201 | ||
| 202 | - description: Exynos Auto v9 based boards | ||
| 203 | items: | ||
| 204 | - enum: | ||
| 205 | - samsung,exynosautov9-sadk # Samsung Exynos Auto v9 SADK | ||
| 206 | - const: samsung,exynosautov9 | ||
| 207 | |||
| 202 | required: | 208 | required: |
| 203 | - compatible | 209 | - compatible |
| 204 | 210 | ||
| @@ -30,6 +30,11 @@ properties: · 29 unmodified lines | |||
| 30 | - sprd,sp9863a-1h10 | 30 | - sprd,sp9863a-1h10 |
| 31 | - const: sprd,sc9863a | 31 | - const: sprd,sc9863a |
| 32 | 32 | ||
| 33 | - items: | ||
| 34 | - enum: | ||
| 35 | - sprd,ums512-1h10 | ||
| 36 | - const: sprd,ums512 | ||
| 37 | |||
| 33 | additionalProperties: true | 38 | additionalProperties: true |
| 34 | 39 | ||
| 35 | ... | 40 | ... |
| @@ -55,6 +55,10 @@ properties: · 54 unmodified lines | |||
| 55 | - enum: | 55 | - enum: |
| 56 | - st,stm32h750i-art-pi | 56 | - st,stm32h750i-art-pi |
| 57 | - const: st,stm32h750 | 57 | - const: st,stm32h750 |
| 58 | - items: | ||
| 59 | - enum: | ||
| 60 | - st,stm32mp135f-dk | ||
| 61 | - const: st,stm32mp135 | ||
| 58 | - items: | 62 | - items: |
| 59 | - enum: | 63 | - enum: |
| 60 | - shiratech,stm32mp157a-iot-box # IoT Box | 64 | - shiratech,stm32mp157a-iot-box # IoT Box |
| @@ -30,6 +30,7 @@ properties: · 29 unmodified lines | |||
| 30 | enum: | 30 | enum: |
| 31 | - allwinner,sun5i-a13-mbus | 31 | - allwinner,sun5i-a13-mbus |
| 32 | - allwinner,sun8i-h3-mbus | 32 | - allwinner,sun8i-h3-mbus |
| 33 | - allwinner,sun8i-r40-mbus | ||
| 33 | - allwinner,sun50i-a64-mbus | 34 | - allwinner,sun50i-a64-mbus |
| 34 | 35 | ||
| 35 | reg: | 36 | reg: |
| @@ -0,0 +1,38 @@ | |||
| 1 | # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) | ||
| 2 | %YAML 1.2 | ||
| 3 | --- | ||
| 4 | $id: http://devicetree.org/schemas/arm/sunxi/allwinner,sun6i-a31-cpuconfig.yaml# | ||
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# | ||
| 6 | |||
| 7 | title: Allwinner CPU Configuration Controller Device Tree Bindings | ||
| 8 | |||
| 9 | maintainers: | ||
| 10 | - Chen-Yu Tsai <wens@csie.org> | ||
| 11 | - Maxime Ripard <mripard@kernel.org> | ||
| 12 | |||
| 13 | properties: | ||
| 14 | compatible: | ||
| 15 | enum: | ||
| 16 | - allwinner,sun6i-a31-cpuconfig | ||
| 17 | - allwinner,sun8i-a23-cpuconfig | ||
| 18 | - allwinner,sun8i-a83t-cpucfg | ||
| 19 | - allwinner,sun8i-a83t-r-cpucfg | ||
| 20 | - allwinner,sun9i-a80-cpucfg | ||
| 21 | |||
| 22 | reg: | ||
| 23 | maxItems: 1 | ||
| 24 | |||
| 25 | required: | ||
| 26 | - compatible | ||
| 27 | - reg | ||
| 28 | |||
| 29 | additionalProperties: false | ||
| 30 | |||
| 31 | examples: | ||
| 32 | - | | ||
| 33 | cpucfg@1f01c00 { | ||
| 34 | compatible = "allwinner,sun6i-a31-cpuconfig"; | ||
| 35 | reg = <0x01f01c00 0x300>; | ||
| 36 | }; | ||
| 37 | |||
| 38 | ... | ||
| @@ -0,0 +1,33 @@ | |||
| 1 | # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) | ||
| 2 | %YAML 1.2 | ||
| 3 | --- | ||
| 4 | $id: http://devicetree.org/schemas/arm/sunxi/allwinner,sun9i-a80-prcm.yaml# | ||
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# | ||
| 6 | |||
| 7 | title: Allwinner A80 PRCM Device Tree Bindings | ||
| 8 | |||
| 9 | maintainers: | ||
| 10 | - Chen-Yu Tsai <wens@csie.org> | ||
| 11 | - Maxime Ripard <mripard@kernel.org> | ||
| 12 | |||
| 13 | properties: | ||
| 14 | compatible: | ||
| 15 | const: allwinner,sun9i-a80-prcm | ||
| 16 | |||
| 17 | reg: | ||
| 18 | maxItems: 1 | ||
| 19 | |||
| 20 | required: | ||
| 21 | - compatible | ||
| 22 | - reg | ||
| 23 | |||
| 24 | additionalProperties: false | ||
| 25 | |||
| 26 | examples: | ||
| 27 | - | | ||
| 28 | prcm@8001400 { | ||
| 29 | compatible = "allwinner,sun9i-a80-prcm"; | ||
| 30 | reg = <0x08001400 0x200>; | ||
| 31 | }; | ||
| 32 | |||
| 33 | ... | ||
| @@ -24,16 +24,27 @@ properties: · 23 unmodified lines | |||
| 24 | - enum: | 24 | - enum: |
| 25 | - ti,am654-evm | 25 | - ti,am654-evm |
| 26 | - siemens,iot2050-basic | 26 | - siemens,iot2050-basic |
| 27 | - siemens,iot2050-basic-pg2 | ||
| 27 | - siemens,iot2050-advanced | 28 | - siemens,iot2050-advanced |
| 29 | - siemens,iot2050-advanced-pg2 | ||
| 28 | - const: ti,am654 | 30 | - const: ti,am654 |
| 29 | 31 | ||
| 30 | - description: K3 J721E SoC | 32 | - description: K3 J721E SoC |
| 31 | items: | 33 | oneOf: |
| 32 | - const: ti,j721e | 34 | - const: ti,j721e |
| 35 | - items: | ||
| 36 | - enum: | ||
| 37 | - ti,j721e-evm | ||
| 38 | - ti,j721e-sk | ||
| 39 | - const: ti,j721e | ||
| 33 | 40 | ||
| 34 | - description: K3 J7200 SoC | 41 | - description: K3 J7200 SoC |
| 35 | items: | 42 | oneOf: |
| 36 | - const: ti,j7200 | 43 | - const: ti,j7200 |
| 44 | - items: | ||
| 45 | - enum: | ||
| 46 | - ti,j7200-evm | ||
| 47 | - const: ti,j7200 | ||
| 37 | 48 | ||
| 38 | - description: K3 AM642 SoC | 49 | - description: K3 AM642 SoC |
| 39 | items: | 50 | items: |
| @@ -18,6 +18,7 @@ properties: · 17 unmodified lines | |||
| 18 | items: | 18 | items: |
| 19 | - enum: | 19 | - enum: |
| 20 | - toshiba,tmpv7708-rm-mbrc # TMPV7708 RM main board | 20 | - toshiba,tmpv7708-rm-mbrc # TMPV7708 RM main board |
| 21 | - toshiba,tmpv7708-visrobo-vrb # TMPV7708 VisROBO VRB board | ||
| 21 | - const: toshiba,tmpv7708 | 22 | - const: toshiba,tmpv7708 |
| 22 | 23 | ||
| 23 | additionalProperties: true | 24 | additionalProperties: true |
| @@ -87,6 +87,7 @@ properties: · 86 unmodified lines | |||
| 87 | - xlnx,zynqmp-zcu102-revA | 87 | - xlnx,zynqmp-zcu102-revA |
| 88 | - xlnx,zynqmp-zcu102-revB | 88 | - xlnx,zynqmp-zcu102-revB |
| 89 | - xlnx,zynqmp-zcu102-rev1.0 | 89 | - xlnx,zynqmp-zcu102-rev1.0 |
| 90 | - xlnx,zynqmp-zcu102-rev1.1 | ||
| 90 | - const: xlnx,zynqmp-zcu102 | 91 | - const: xlnx,zynqmp-zcu102 |
| 91 | - const: xlnx,zynqmp | 92 | - const: xlnx,zynqmp |
| 92 | 93 | ||
| @@ -115,6 +116,22 @@ properties: · 22 unmodified lines | |||
| 115 | - const: xlnx,zynqmp-zcu111 | 116 | - const: xlnx,zynqmp-zcu111 |
| 116 | - const: xlnx,zynqmp | 117 | - const: xlnx,zynqmp |
| 117 | 118 | ||
| 119 | - description: Xilinx Kria SOMs | ||
| 120 | items: | ||
| 121 | - const: xlnx,zynqmp-sm-k26-rev1 | ||
| 122 | - const: xlnx,zynqmp-sm-k26-revB | ||
| 123 | - const: xlnx,zynqmp-sm-k26-revA | ||
| 124 | - const: xlnx,zynqmp-sm-k26 | ||
| 125 | - const: xlnx,zynqmp | ||
| 126 | |||
| 127 | - description: Xilinx Kria SOMs (starter) | ||
| 128 | items: | ||
| 129 | - const: xlnx,zynqmp-smk-k26-rev1 | ||
| 130 | - const: xlnx,zynqmp-smk-k26-revB | ||
| 131 | - const: xlnx,zynqmp-smk-k26-revA | ||
| 132 | - const: xlnx,zynqmp-smk-k26 | ||
| 133 | - const: xlnx,zynqmp | ||
| 134 | |||
| 118 | additionalProperties: true | 135 | additionalProperties: true |
| 119 | 136 | ||
| 120 | ... | 137 | ... |
| @@ -47,6 +47,9 @@ properties: · 46 unmodified lines | |||
| 47 | interrupts: | 47 | interrupts: |
| 48 | maxItems: 1 | 48 | maxItems: 1 |
| 49 | 49 | ||
| 50 | power-domains: | ||
| 51 | maxItems: 1 | ||
| 52 | |||
| 50 | required: | 53 | required: |
| 51 | - "#clock-cells" | 54 | - "#clock-cells" |
| 52 | - compatible | 55 | - compatible |
| @@ -51,6 +51,9 @@ properties: · 50 unmodified lines | |||
| 51 | dma-names: | 51 | dma-names: |
| 52 | const: audio-rx | 52 | const: audio-rx |
| 53 | 53 | ||
| 54 | power-domains: | ||
| 55 | maxItems: 1 | ||
| 56 | |||
| 54 | required: | 57 | required: |
| 55 | - compatible | 58 | - compatible |
| 56 | - reg | 59 | - reg |
| @@ -24,6 +24,9 @@ properties: · 23 unmodified lines | |||
| 24 | interrupts: | 24 | interrupts: |
| 25 | maxItems: 1 | 25 | maxItems: 1 |
| 26 | 26 | ||
| 27 | power-domains: | ||
| 28 | maxItems: 1 | ||
| 29 | |||
| 27 | required: | 30 | required: |
| 28 | - compatible | 31 | - compatible |
| 29 | - reg | 32 | - reg |
| @@ -24,6 +24,9 @@ properties: · 23 unmodified lines | |||
| 24 | interrupts: | 24 | interrupts: |
| 25 | maxItems: 1 | 25 | maxItems: 1 |
| 26 | 26 | ||
| 27 | power-domains: | ||
| 28 | maxItems: 1 | ||
| 29 | |||
| 27 | required: | 30 | required: |
| 28 | - compatible | 31 | - compatible |
| 29 | - reg | 32 | - reg |
| @@ -19,6 +19,11 @@ Required properties: · 18 unmodified lines | |||
| 19 | Documentation/devicetree/bindings/graph.txt. This port should be connected | 19 | Documentation/devicetree/bindings/graph.txt. This port should be connected |
| 20 | to the input port of an attached DSI panel or DSI-to-eDP encoder chip. | 20 | to the input port of an attached DSI panel or DSI-to-eDP encoder chip. |
| 21 | 21 | ||
| 22 | Optional properties: | ||
| 23 | - resets: list of phandle + reset specifier pair, as described in [1]. | ||
| 24 | |||
| 25 | [1] Documentation/devicetree/bindings/reset/reset.txt | ||
| 26 | |||
| 22 | MIPI TX Configuration Module | 27 | MIPI TX Configuration Module |
| 23 | ============================ | 28 | ============================ |
| 24 | 29 | ||
| @@ -45,6 +50,7 @@ dsi0: dsi@1401b000 { · 20 unmodified lines | |||
| 45 | clocks = <&mmsys MM_DSI0_ENGINE>, <&mmsys MM_DSI0_DIGITAL>, | 50 | clocks = <&mmsys MM_DSI0_ENGINE>, <&mmsys MM_DSI0_DIGITAL>, |
| 46 | <&mipi_tx0>; | 51 | <&mipi_tx0>; |
| 47 | clock-names = "engine", "digital", "hs"; | 52 | clock-names = "engine", "digital", "hs"; |
| 53 | resets = <&mmsys MT8173_MMSYS_SW0_RST_B_DISP_DSI0>; | ||
| 48 | phys = <&mipi_tx0>; | 54 | phys = <&mipi_tx0>; |
| 49 | phy-names = "dphy"; | 55 | phy-names = "dphy"; |
| 50 | 56 | ||
| @@ -0,0 +1,106 @@ | |||
| 1 | # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) | ||
| 2 | %YAML 1.2 | ||
| 3 | --- | ||
| 4 | $id: "http://devicetree.org/schemas/gpu/host1x/nvidia,tegra210-nvdec.yaml#" | ||
| 5 | $schema: "http://devicetree.org/meta-schemas/core.yaml#" | ||
| 6 | |||
| 7 | title: Device tree binding for NVIDIA Tegra NVDEC | ||
| 8 | |||
| 9 | description: | | ||
| 10 | NVDEC is the hardware video decoder present on NVIDIA Tegra210 | ||
| 11 | and newer chips. It is located on the Host1x bus and typically | ||
| 12 | programmed through Host1x channels. | ||
| 13 | |||
| 14 | maintainers: | ||
| 15 | - Thierry Reding <treding@gmail.com> | ||
| 16 | - Mikko Perttunen <mperttunen@nvidia.com> | ||
| 17 | |||
| 18 | properties: | ||
| 19 | $nodename: | ||
| 20 | pattern: "^nvdec@[0-9a-f]*$" | ||
| 21 | |||
| 22 | compatible: | ||
| 23 | enum: | ||
| 24 | - nvidia,tegra210-nvdec | ||
| 25 | - nvidia,tegra186-nvdec | ||
| 26 | - nvidia,tegra194-nvdec | ||
| 27 | |||
| 28 | reg: | ||
| 29 | maxItems: 1 | ||
| 30 | |||
| 31 | clocks: | ||
| 32 | maxItems: 1 | ||
| 33 | |||
| 34 | clock-names: | ||
| 35 | items: | ||
| 36 | - const: nvdec | ||
| 37 | |||
| 38 | resets: | ||
| 39 | maxItems: 1 | ||
| 40 | |||
| 41 | reset-names: | ||
| 42 | items: | ||
| 43 | - const: nvdec | ||
| 44 | |||
| 45 | power-domains: | ||
| 46 | maxItems: 1 | ||
| 47 | |||
| 48 | iommus: | ||
| 49 | maxItems: 1 | ||
| 50 | |||
| 51 | dma-coherent: true | ||
| 52 | |||
| 53 | interconnects: | ||
| 54 | items: | ||
| 55 | - description: DMA read memory client | ||
| 56 | - description: DMA read 2 memory client | ||
| 57 | - description: DMA write memory client | ||
| 58 | |||
| 59 | interconnect-names: | ||
| 60 | items: | ||
| 61 | - const: dma-mem | ||
| 62 | - const: read-1 | ||
| 63 | - const: write | ||
| 64 | |||
| 65 | nvidia,host1x-class: | ||
| 66 | description: | | ||
| 67 | Host1x class of the engine, used to specify the targeted engine | ||
| 68 | when programming the engine through Host1x channels or when | ||
| 69 | configuring engine-specific behavior in Host1x. | ||
| 70 | default: 0xf0 | ||
| 71 | $ref: /schemas/types.yaml#/definitions/uint32 | ||
| 72 | |||
| 73 | required: | ||
| 74 | - compatible | ||
| 75 | - reg | ||
| 76 | - clocks | ||
| 77 | - clock-names | ||
| 78 | - resets | ||
| 79 | - reset-names | ||
| 80 | - power-domains | ||
| 81 | |||
| 82 | additionalProperties: false | ||
| 83 | |||
| 84 | examples: | ||
| 85 | - | | ||
| 86 | #include <dt-bindings/clock/tegra186-clock.h> | ||
| 87 | #include <dt-bindings/interrupt-controller/arm-gic.h> | ||
| 88 | #include <dt-bindings/memory/tegra186-mc.h> | ||
| 89 | #include <dt-bindings/power/tegra186-powergate.h> | ||
| 90 | #include <dt-bindings/reset/tegra186-reset.h> | ||
| 91 | |||
| 92 | nvdec@15480000 { | ||
| 93 | compatible = "nvidia,tegra186-nvdec"; | ||
| 94 | reg = <0x15480000 0x40000>; | ||
| 95 | clocks = <&bpmp TEGRA186_CLK_NVDEC>; | ||
| 96 | clock-names = "nvdec"; | ||
| 97 | resets = <&bpmp TEGRA186_RESET_NVDEC>; | ||
| 98 | reset-names = "nvdec"; | ||
| 99 | |||
| 100 | power-domains = <&bpmp TEGRA186_POWER_DOMAIN_NVDEC>; | ||
| 101 | interconnects = <&mc TEGRA186_MEMORY_CLIENT_NVDECSRD &emc>, | ||
| 102 | <&mc TEGRA186_MEMORY_CLIENT_NVDECSRD1 &emc>, | ||
| 103 | <&mc TEGRA186_MEMORY_CLIENT_NVDECSWR &emc>; | ||
| 104 | interconnect-names = "dma-mem", "read-1", "write"; | ||
| 105 | iommus = <&smmu TEGRA186_SID_NVDEC>; | ||
| 106 | }; | ||
| @@ -1,157 +0,0 @@ | |||
| 1 | Device tree bindings for OMAP general purpose memory controllers (GPMC) | ||
| 2 | |||
| 3 | The actual devices are instantiated from the child nodes of a GPMC node. | ||
| 4 | |||
| 5 | Required properties: | ||
| 6 | |||
| 7 | - compatible: Should be set to one of the following: | ||
| 8 | |||
| 9 | ti,omap2420-gpmc (omap2420) | ||
| 10 | ti,omap2430-gpmc (omap2430) | ||
| 11 | ti,omap3430-gpmc (omap3430 & omap3630) | ||
| 12 | ti,omap4430-gpmc (omap4430 & omap4460 & omap543x) | ||
| 13 | ti,am3352-gpmc (am335x devices) | ||
| 14 | |||
| 15 | - reg: A resource specifier for the register space | ||
| 16 | (see the example below) | ||
| 17 | - ti,hwmods: Should be set to "ti,gpmc" until the DT transition is | ||
| 18 | completed. | ||
| 19 | - #address-cells: Must be set to 2 to allow memory address translation | ||
| 20 | - #size-cells: Must be set to 1 to allow CS address passing | ||
| 21 | - gpmc,num-cs: The maximum number of chip-select lines that controller | ||
| 22 | can support. | ||
| 23 | - gpmc,num-waitpins: The maximum number of wait pins that controller can | ||
| 24 | support. | ||
| 25 | - ranges: Must be set up to reflect the memory layout with four | ||
| 26 | integer values for each chip-select line in use: | ||
| 27 | |||
| 28 | <cs-number> 0 <physical address of mapping> <size> | ||
| 29 | |||
| 30 | Currently, calculated values derived from the contents | ||
| 31 | of the per-CS register GPMC_CONFIG7 (as set up by the | ||
| 32 | bootloader) are used for the physical address decoding. | ||
| 33 | As this will change in the future, filling correct | ||
| 34 | values here is a requirement. | ||
| 35 | - interrupt-controller: The GPMC driver implements and interrupt controller for | ||
| 36 | the NAND events "fifoevent" and "termcount" plus the | ||
| 37 | rising/falling edges on the GPMC_WAIT pins. | ||
| 38 | The interrupt number mapping is as follows | ||
| 39 | 0 - NAND_fifoevent | ||
| 40 | 1 - NAND_termcount | ||
| 41 | 2 - GPMC_WAIT0 pin edge | ||
| 42 | 3 - GPMC_WAIT1 pin edge, and so on. | ||
| 43 | - interrupt-cells: Must be set to 2 | ||
| 44 | - gpio-controller: The GPMC driver implements a GPIO controller for the | ||
| 45 | GPMC WAIT pins that can be used as general purpose inputs. | ||
| 46 | 0 maps to GPMC_WAIT0 pin. | ||
| 47 | - gpio-cells: Must be set to 2 | ||
| 48 | |||
| 49 | Required properties when using NAND prefetch dma: | ||
| 50 | - dmas GPMC NAND prefetch dma channel | ||
| 51 | - dma-names Must be set to "rxtx" | ||
| 52 | |||
| 53 | Timing properties for child nodes. All are optional and default to 0. | ||
| 54 | |||
| 55 | - gpmc,sync-clk-ps: Minimum clock period for synchronous mode, in picoseconds | ||
| 56 | |||
| 57 | Chip-select signal timings (in nanoseconds) corresponding to GPMC_CONFIG2: | ||
| 58 | - gpmc,cs-on-ns: Assertion time | ||
| 59 | - gpmc,cs-rd-off-ns: Read deassertion time | ||
| 60 | - gpmc,cs-wr-off-ns: Write deassertion time | ||
| 61 | |||
| 62 | ADV signal timings (in nanoseconds) corresponding to GPMC_CONFIG3: | ||
| 63 | - gpmc,adv-on-ns: Assertion time | ||
| 64 | - gpmc,adv-rd-off-ns: Read deassertion time | ||
| 65 | - gpmc,adv-wr-off-ns: Write deassertion time | ||
| 66 | - gpmc,adv-aad-mux-on-ns: Assertion time for AAD | ||
| 67 | - gpmc,adv-aad-mux-rd-off-ns: Read deassertion time for AAD | ||
| 68 | - gpmc,adv-aad-mux-wr-off-ns: Write deassertion time for AAD | ||
| 69 | |||
| 70 | WE signals timings (in nanoseconds) corresponding to GPMC_CONFIG4: | ||
| 71 | - gpmc,we-on-ns Assertion time | ||
| 72 | - gpmc,we-off-ns: Deassertion time | ||
| 73 | |||
| 74 | OE signals timings (in nanoseconds) corresponding to GPMC_CONFIG4: | ||
| 75 | - gpmc,oe-on-ns: Assertion time | ||
| 76 | - gpmc,oe-off-ns: Deassertion time | ||
| 77 | - gpmc,oe-aad-mux-on-ns: Assertion time for AAD | ||
| 78 | - gpmc,oe-aad-mux-off-ns: Deassertion time for AAD | ||
| 79 | |||
| 80 | Access time and cycle time timings (in nanoseconds) corresponding to | ||
| 81 | GPMC_CONFIG5: | ||
| 82 | - gpmc,page-burst-access-ns: Multiple access word delay | ||
| 83 | - gpmc,access-ns: Start-cycle to first data valid delay | ||
| 84 | - gpmc,rd-cycle-ns: Total read cycle time | ||
| 85 | - gpmc,wr-cycle-ns: Total write cycle time | ||
| 86 | - gpmc,bus-turnaround-ns: Turn-around time between successive accesses | ||
| 87 | - gpmc,cycle2cycle-delay-ns: Delay between chip-select pulses | ||
| 88 | - gpmc,clk-activation-ns: GPMC clock activation time | ||
| 89 | - gpmc,wait-monitoring-ns: Start of wait monitoring with regard to valid | ||
| 90 | data | ||
| 91 | |||
| 92 | Boolean timing parameters. If property is present parameter enabled and | ||
| 93 | disabled if omitted: | ||
| 94 | - gpmc,adv-extra-delay: ADV signal is delayed by half GPMC clock | ||
| 95 | - gpmc,cs-extra-delay: CS signal is delayed by half GPMC clock | ||
| 96 | - gpmc,cycle2cycle-diffcsen: Add "cycle2cycle-delay" between successive | ||
| 97 | accesses to a different CS | ||
| 98 | - gpmc,cycle2cycle-samecsen: Add "cycle2cycle-delay" between successive | ||
| 99 | accesses to the same CS | ||
| 100 | - gpmc,oe-extra-delay: OE signal is delayed by half GPMC clock | ||
| 101 | - gpmc,we-extra-delay: WE signal is delayed by half GPMC clock | ||
| 102 | - gpmc,time-para-granularity: Multiply all access times by 2 | ||
| 103 | |||
| 104 | The following are only applicable to OMAP3+ and AM335x: | ||
| 105 | - gpmc,wr-access-ns: In synchronous write mode, for single or | ||
| 106 | burst accesses, defines the number of | ||
| 107 | GPMC_FCLK cycles from start access time | ||
| 108 | to the GPMC_CLK rising edge used by the | ||
| 109 | memory device for the first data capture. | ||
| 110 | - gpmc,wr-data-mux-bus-ns: In address-data multiplex mode, specifies | ||
| 111 | the time when the first data is driven on | ||
| 112 | the address-data bus. | ||
| 113 | |||
| 114 | GPMC chip-select settings properties for child nodes. All are optional. | ||
| 115 | |||
| 116 | - gpmc,burst-length Page/burst length. Must be 4, 8 or 16. | ||
| 117 | - gpmc,burst-wrap Enables wrap bursting | ||
| 118 | - gpmc,burst-read Enables read page/burst mode | ||
| 119 | - gpmc,burst-write Enables write page/burst mode | ||
| 120 | - gpmc,device-width Total width of device(s) connected to a GPMC | ||
| 121 | chip-select in bytes. The GPMC supports 8-bit | ||
| 122 | and 16-bit devices and so this property must be | ||
| 123 | 1 or 2. | ||
| 124 | - gpmc,mux-add-data Address and data multiplexing configuration. | ||
| 125 | Valid values are 1 for address-address-data | ||
| 126 | multiplexing mode and 2 for address-data | ||
| 127 | multiplexing mode. | ||
| 128 | - gpmc,sync-read Enables synchronous read. Defaults to asynchronous | ||
| 129 | is this is not set. | ||
| 130 | - gpmc,sync-write Enables synchronous writes. Defaults to asynchronous | ||
| 131 | is this is not set. | ||
| 132 | - gpmc,wait-pin Wait-pin used by client. Must be less than | ||
| 133 | "gpmc,num-waitpins". | ||
| 134 | - gpmc,wait-on-read Enables wait monitoring on reads. | ||
| 135 | - gpmc,wait-on-write Enables wait monitoring on writes. | ||
| 136 | |||
| 137 | Example for an AM33xx board: | ||
| 138 | |||
| 139 | gpmc: gpmc@50000000 { | ||
| 140 | compatible = "ti,am3352-gpmc"; | ||
| 141 | ti,hwmods = "gpmc"; | ||
| 142 | reg = <0x50000000 0x2000>; | ||
| 143 | interrupts = <100>; | ||
| 144 | dmas = <&edma 52 0>; | ||
| 145 | dma-names = "rxtx"; | ||
| 146 | gpmc,num-cs = <8>; | ||
| 147 | gpmc,num-waitpins = <2>; | ||
| 148 | #address-cells = <2>; | ||
| 149 | #size-cells = <1>; | ||
| 150 | ranges = <0 0 0x08000000 0x10000000>; /* CS0 @addr 0x8000000, size 0x10000000 */ | ||
| 151 | interrupt-controller; | ||
| 152 | #interrupt-cells = <2>; | ||
| 153 | gpio-controller; | ||
| 154 | #gpio-cells = <2>; | ||
| 155 | |||
| 156 | /* child nodes go here */ | ||
| 157 | }; | ||
| @@ -0,0 +1,245 @@ | |||
| 1 | # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
| 2 | %YAML 1.2 | ||
| 3 | --- | ||
| 4 | $id: http://devicetree.org/schemas/memory-controllers/ti,gpmc-child.yaml# | ||
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# | ||
| 6 | |||
| 7 | title: device tree bindings for children of the Texas Instruments GPMC | ||
| 8 | |||
| 9 | maintainers: | ||
| 10 | - Tony Lindgren <tony@atomide.com> | ||
| 11 | - Roger Quadros <rogerq@kernel.org> | ||
| 12 | |||
| 13 | description: | ||
| 14 | This binding is meant for the child nodes of the GPMC node. The node | ||
| 15 | represents any device connected to the GPMC bus. It may be a Flash chip, | ||
| 16 | RAM chip or Ethernet controller, etc. These properties are meant for | ||
| 17 | configuring the GPMC settings/timings and will accompany the bindings | ||
| 18 | supported by the respective device. | ||
| 19 | |||
| 20 | properties: | ||
| 21 | reg: true | ||
| 22 | |||
| 23 | # GPMC Timing properties for child nodes. All are optional and default to 0. | ||
| 24 | gpmc,sync-clk-ps: | ||
| 25 | description: Minimum clock period for synchronous mode | ||
| 26 | default: 0 | ||
| 27 | |||
| 28 | # Chip-select signal timings corresponding to GPMC_CONFIG2: | ||
| 29 | gpmc,cs-on-ns: | ||
| 30 | description: Assertion time | ||
| 31 | default: 0 | ||
| 32 | |||
| 33 | gpmc,cs-rd-off-ns: | ||
| 34 | description: Read deassertion time | ||
| 35 | default: 0 | ||
| 36 | |||
| 37 | gpmc,cs-wr-off-ns: | ||
| 38 | description: Write deassertion time | ||
| 39 | default: 0 | ||
| 40 | |||
| 41 | # ADV signal timings corresponding to GPMC_CONFIG3: | ||
| 42 | gpmc,adv-on-ns: | ||
| 43 | description: Assertion time | ||
| 44 | default: 0 | ||
| 45 | |||
| 46 | gpmc,adv-rd-off-ns: | ||
| 47 | description: Read deassertion time | ||
| 48 | default: 0 | ||
| 49 | |||
| 50 | gpmc,adv-wr-off-ns: | ||
| 51 | description: Write deassertion time | ||
| 52 | default: 0 | ||
| 53 | |||
| 54 | gpmc,adv-aad-mux-on-ns: | ||
| 55 | description: Assertion time for AAD | ||
| 56 | default: 0 | ||
| 57 | |||
| 58 | gpmc,adv-aad-mux-rd-off-ns: | ||
| 59 | description: Read deassertion time for AAD | ||
| 60 | default: 0 | ||
| 61 | |||
| 62 | gpmc,adv-aad-mux-wr-off-ns: | ||
| 63 | description: Write deassertion time for AAD | ||
| 64 | default: 0 | ||
| 65 | |||
| 66 | # WE signals timings corresponding to GPMC_CONFIG4: | ||
| 67 | gpmc,we-on-ns: | ||
| 68 | description: Assertion time | ||
| 69 | default: 0 | ||
| 70 | |||
| 71 | gpmc,we-off-ns: | ||
| 72 | description: Deassertion time | ||
| 73 | default: 0 | ||
| 74 | |||
| 75 | # OE signals timings corresponding to GPMC_CONFIG4: | ||
| 76 | gpmc,oe-on-ns: | ||
| 77 | description: Assertion time | ||
| 78 | default: 0 | ||
| 79 | |||
| 80 | gpmc,oe-off-ns: | ||
| 81 | description: Deassertion time | ||
| 82 | default: 0 | ||
| 83 | |||
| 84 | gpmc,oe-aad-mux-on-ns: | ||
| 85 | description: Assertion time for AAD | ||
| 86 | default: 0 | ||
| 87 | |||
| 88 | gpmc,oe-aad-mux-off-ns: | ||
| 89 | description: Deassertion time for AAD | ||
| 90 | default: 0 | ||
| 91 | |||
| 92 | # Access time and cycle time timings (in nanoseconds) corresponding to | ||
| 93 | # GPMC_CONFIG5: | ||
| 94 | gpmc,page-burst-access-ns: | ||
| 95 | description: Multiple access word delay | ||
| 96 | default: 0 | ||
| 97 | |||
| 98 | gpmc,access-ns: | ||
| 99 | description: Start-cycle to first data valid delay | ||
| 100 | default: 0 | ||
| 101 | |||
| 102 | gpmc,rd-cycle-ns: | ||
| 103 | description: Total read cycle time | ||
| 104 | default: 0 | ||
| 105 | |||
| 106 | gpmc,wr-cycle-ns: | ||
| 107 | description: Total write cycle time | ||
| 108 | default: 0 | ||
| 109 | |||
| 110 | gpmc,bus-turnaround-ns: | ||
| 111 | description: Turn-around time between successive accesses | ||
| 112 | default: 0 | ||
| 113 | |||
| 114 | gpmc,cycle2cycle-delay-ns: | ||
| 115 | description: Delay between chip-select pulses | ||
| 116 | default: 0 | ||
| 117 | |||
| 118 | gpmc,clk-activation-ns: | ||
| 119 | description: GPMC clock activation time | ||
| 120 | default: 0 | ||
| 121 | |||
| 122 | gpmc,wait-monitoring-ns: | ||
| 123 | description: Start of wait monitoring with regard to valid data | ||
| 124 | default: 0 | ||
| 125 | |||
| 126 | # Boolean timing parameters. If property is present, parameter is enabled | ||
| 127 | # otherwise disabled. | ||
| 128 | gpmc,adv-extra-delay: | ||
| 129 | description: ADV signal is delayed by half GPMC clock | ||
| 130 | type: boolean | ||
| 131 | |||
| 132 | gpmc,cs-extra-delay: | ||
| 133 | description: CS signal is delayed by half GPMC clock | ||
| 134 | type: boolean | ||
| 135 | |||
| 136 | gpmc,cycle2cycle-diffcsen: | ||
| 137 | description: | | ||
| 138 | Add "cycle2cycle-delay" between successive accesses | ||
| 139 | to a different CS | ||
| 140 | type: boolean | ||
| 141 | |||
| 142 | gpmc,cycle2cycle-samecsen: | ||
| 143 | description: | | ||
| 144 | Add "cycle2cycle-delay" between successive accesses | ||
| 145 | to the same CS | ||
| 146 | type: boolean | ||
| 147 | |||
| 148 | gpmc,oe-extra-delay: | ||
| 149 | description: OE signal is delayed by half GPMC clock | ||
| 150 | type: boolean | ||
| 151 | |||
| 152 | gpmc,we-extra-delay: | ||
| 153 | description: WE signal is delayed by half GPMC clock | ||
| 154 | type: boolean | ||
| 155 | |||
| 156 | gpmc,time-para-granularity: | ||
| 157 | description: Multiply all access times by 2 | ||
| 158 | type: boolean | ||
| 159 | |||
| 160 | # The following two properties are applicable only to OMAP3+ and AM335x: | ||
| 161 | gpmc,wr-access-ns: | ||
| 162 | description: | | ||
| 163 | In synchronous write mode, for single or | ||
| 164 | burst accesses, defines the number of | ||
| 165 | GPMC_FCLK cycles from start access time | ||
| 166 | to the GPMC_CLK rising edge used by the | ||
| 167 | memory device for the first data capture. | ||
| 168 | default: 0 | ||
| 169 | |||
| 170 | gpmc,wr-data-mux-bus-ns: | ||
| 171 | description: | | ||
| 172 | In address-data multiplex mode, specifies | ||
| 173 | the time when the first data is driven on | ||
| 174 | the address-data bus. | ||
| 175 | default: 0 | ||
| 176 | |||
| 177 | # GPMC chip-select settings properties for child nodes. All are optional. | ||
| 178 | gpmc,burst-length: | ||
| 179 | description: Page/burst length. | ||
| 180 | $ref: /schemas/types.yaml#/definitions/uint32 | ||
| 181 | enum: [0, 4, 8, 16] | ||
| 182 | default: 0 | ||
| 183 | |||
| 184 | gpmc,burst-wrap: | ||
| 185 | description: Enables wrap bursting | ||
| 186 | type: boolean | ||
| 187 | |||
| 188 | gpmc,burst-read: | ||
| 189 | description: Enables read page/burst mode | ||
| 190 | type: boolean | ||
| 191 | |||
| 192 | gpmc,burst-write: | ||
| 193 | description: Enables write page/burst mode | ||
| 194 | type: boolean | ||
| 195 | |||
| 196 | gpmc,device-width: | ||
| 197 | description: | | ||
| 198 | Total width of device(s) connected to a GPMC | ||
| 199 | chip-select in bytes. The GPMC supports 8-bit | ||
| 200 | and 16-bit devices and so this property must be | ||
| 201 | 1 or 2. | ||
| 202 | $ref: /schemas/types.yaml#/definitions/uint32 | ||
| 203 | enum: [1, 2] | ||
| 204 | default: 1 | ||
| 205 | |||
| 206 | gpmc,mux-add-data: | ||
| 207 | description: | | ||
| 208 | Address and data multiplexing configuration. | ||
| 209 | Valid values are | ||
| 210 | 0 for Non multiplexed mode | ||
| 211 | 1 for address-address-data multiplexing mode and | ||
| 212 | 2 for address-data multiplexing mode. | ||
| 213 | $ref: /schemas/types.yaml#/definitions/uint32 | ||
| 214 | enum: [0, 1, 2] | ||
| 215 | |||
| 216 | gpmc,sync-read: | ||
| 217 | description: | | ||
| 218 | Enables synchronous read. Defaults to asynchronous | ||
| 219 | is this is not set. | ||
| 220 | type: boolean | ||
| 221 | |||
| 222 | gpmc,sync-write: | ||
| 223 | description: | | ||
| 224 | Enables synchronous writes. Defaults to asynchronous | ||
| 225 | is this is not set. | ||
| 226 | type: boolean | ||
| 227 | |||
| 228 | gpmc,wait-pin: | ||
| 229 | description: | | ||
| 230 | Wait-pin used by client. Must be less than "gpmc,num-waitpins". | ||
| 231 | $ref: /schemas/types.yaml#/definitions/uint32 | ||
| 232 | |||
| 233 | gpmc,wait-on-read: | ||
| 234 | description: Enables wait monitoring on reads. | ||
| 235 | type: boolean | ||
| 236 | |||
| 237 | gpmc,wait-on-write: | ||
| 238 | description: Enables wait monitoring on writes. | ||
| 239 | type: boolean | ||
| 240 | |||
| 241 | required: | ||
| 242 | - reg | ||
| 243 | |||
| 244 | # the GPMC child will have its own native properties | ||
| 245 | additionalProperties: true | ||
| @@ -0,0 +1,172 @@ | |||
| 1 | # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
| 2 | %YAML 1.2 | ||
| 3 | --- | ||
| 4 | $id: http://devicetree.org/schemas/memory-controllers/ti,gpmc.yaml# | ||
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# | ||
| 6 | |||
| 7 | title: Texas Instruments GPMC Memory Controller device-tree bindings | ||
| 8 | |||
| 9 | maintainers: | ||
| 10 | - Tony Lindgren <tony@atomide.com> | ||
| 11 | - Roger Quadros <rogerq@kernel.org> | ||
| 12 | |||
| 13 | description: | ||
| 14 | The GPMC is a unified memory controller dedicated for interfacing | ||
| 15 | with external memory devices like | ||
| 16 | - Asynchronous SRAM-like memories and ASICs | ||
| 17 | - Asynchronous, synchronous, and page mode burst NOR flash | ||
| 18 | - NAND flash | ||
| 19 | - Pseudo-SRAM devices | ||
| 20 | |||
| 21 | properties: | ||
| 22 | compatible: | ||
| 23 | items: | ||
| 24 | - enum: | ||
| 25 | - ti,am3352-gpmc | ||
| 26 | - ti,omap2420-gpmc | ||
| 27 | - ti,omap2430-gpmc | ||
| 28 | - ti,omap3430-gpmc | ||
| 29 | - ti,omap4430-gpmc | ||
| 30 | |||
| 31 | reg: | ||
| 32 | maxItems: 1 | ||
| 33 | |||
| 34 | interrupts: | ||
| 35 | maxItems: 1 | ||
| 36 | |||
| 37 | clocks: | ||
| 38 | maxItems: 1 | ||
| 39 | description: | | ||
| 40 | Functional clock. Used for bus timing calculations and | ||
| 41 | GPMC configuration. | ||
| 42 | |||
| 43 | clock-names: | ||
| 44 | items: | ||
| 45 | - const: fck | ||
| 46 | |||
| 47 | dmas: | ||
| 48 | items: | ||
| 49 | - description: DMA channel for GPMC NAND prefetch | ||
| 50 | |||
| 51 | dma-names: | ||
| 52 | items: | ||
| 53 | - const: rxtx | ||
| 54 | |||
| 55 | "#address-cells": true | ||
| 56 | |||
| 57 | "#size-cells": true | ||
| 58 | |||
| 59 | gpmc,num-cs: | ||
| 60 | description: maximum number of supported chip-select lines. | ||
| 61 | $ref: /schemas/types.yaml#/definitions/uint32 | ||
| 62 | |||
| 63 | gpmc,num-waitpins: | ||
| 64 | description: maximum number of supported wait pins. | ||
| 65 | $ref: /schemas/types.yaml#/definitions/uint32 | ||
| 66 | |||
| 67 | ranges: | ||
| 68 | minItems: 1 | ||
| 69 | description: | | ||
| 70 | Must be set up to reflect the memory layout with four | ||
| 71 | integer values for each chip-select line in use, | ||
| 72 | <cs-number> 0 <physical address of mapping> <size> | ||
| 73 | items: | ||
| 74 | - description: NAND bank 0 | ||
| 75 | - description: NOR/SRAM bank 0 | ||
| 76 | - description: NOR/SRAM bank 1 | ||
| 77 | |||
| 78 | '#interrupt-cells': | ||
| 79 | const: 2 | ||
| 80 | |||
| 81 | interrupt-controller: | ||
| 82 | description: | | ||
| 83 | The GPMC driver implements and interrupt controller for | ||
| 84 | the NAND events "fifoevent" and "termcount" plus the | ||
| 85 | rising/falling edges on the GPMC_WAIT pins. | ||
| 86 | The interrupt number mapping is as follows | ||
| 87 | 0 - NAND_fifoevent | ||
| 88 | 1 - NAND_termcount | ||
| 89 | 2 - GPMC_WAIT0 pin edge | ||
| 90 | 3 - GPMC_WAIT1 pin edge, and so on. | ||
| 91 | |||
| 92 | '#gpio-cells': | ||
| 93 | const: 2 | ||
| 94 | |||
| 95 | gpio-controller: | ||
| 96 | description: | | ||
| 97 | The GPMC driver implements a GPIO controller for the | ||
| 98 | GPMC WAIT pins that can be used as general purpose inputs. | ||
| 99 | 0 maps to GPMC_WAIT0 pin. | ||
| 100 | |||
| 101 | ti,hwmods: | ||
| 102 | description: | ||
| 103 | Name of the HWMOD associated with GPMC. This is for legacy | ||
| 104 | omap2/3 platforms only. | ||
| 105 | $ref: /schemas/types.yaml#/definitions/string | ||
| 106 | deprecated: true | ||
| 107 | |||
| 108 | ti,no-idle-on-init: | ||
| 109 | description: | ||
| 110 | Prevent idling the module at init. This is for legacy omap2/3 | ||
| 111 | platforms only. | ||
| 112 | type: boolean | ||
| 113 | deprecated: true | ||
| 114 | |||
| 115 | patternProperties: | ||
| 116 | "@[0-7],[a-f0-9]+$": | ||
| 117 | type: object | ||
| 118 | description: | | ||
| 119 | The child device node represents the device connected to the GPMC | ||
| 120 | bus. The device can be a NAND chip, SRAM device, NOR device | ||
| 121 | or an ASIC. | ||
| 122 | |||
| 123 | allOf: | ||
| 124 | - $ref: "ti,gpmc-child.yaml" | ||
| 125 | |||
| 126 | unevaluatedProperties: false | ||
| 127 | |||
| 128 | required: | ||
| 129 | - compatible | ||
| 130 | - reg | ||
| 131 | - gpmc,num-cs | ||
| 132 | - gpmc,num-waitpins | ||
| 133 | - "#address-cells" | ||
| 134 | - "#size-cells" | ||
| 135 | |||
| 136 | additionalProperties: false | ||
| 137 | |||
| 138 | examples: | ||
| 139 | - | | ||
| 140 | #include <dt-bindings/interrupt-controller/arm-gic.h> | ||
| 141 | #include <dt-bindings/gpio/gpio.h> | ||
| 142 | |||
| 143 | gpmc: memory-controller@50000000 { | ||
| 144 | compatible = "ti,am3352-gpmc"; | ||
| 145 | reg = <0x50000000 0x2000>; | ||
| 146 | interrupts = <100>; | ||
| 147 | clocks = <&l3s_clkctrl>; | ||
| 148 | clock-names = "fck"; | ||
| 149 | dmas = <&edma 52 0>; | ||
| 150 | dma-names = "rxtx"; | ||
| 151 | gpmc,num-cs = <8>; | ||
| 152 | gpmc,num-waitpins = <2>; | ||
| 153 | #address-cells = <2>; | ||
| 154 | #size-cells = <1>; | ||
| 155 | ranges = <0 0 0x08000000 0x10000000>; /* CS0 @addr 0x8000000, size 0x10000000 */ | ||
| 156 | interrupt-controller; | ||
| 157 | #interrupt-cells = <2>; | ||
| 158 | gpio-controller; | ||
| 159 | #gpio-cells = <2>; | ||
| 160 | |||
| 161 | nand@0,0 { | ||
| 162 | compatible = "ti,omap2-nand"; | ||
| 163 | reg = <0 0 4>; | ||
| 164 | interrupt-parent = <&gpmc>; | ||
| 165 | interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */ | ||
| 166 | <1 IRQ_TYPE_NONE>; /* termcount */ | ||
| 167 | ti,nand-xfer-type = "prefetch-dma"; | ||
| 168 | ti,nand-ecc-opt = "bch16"; | ||
| 169 | ti,elm-id = <&elm>; | ||
| 170 | rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 pin */ | ||
| 171 | }; | ||
| 172 | }; | ||
| @@ -1,147 +0,0 @@ | |||
| 1 | Device tree bindings for GPMC connected NANDs | ||
| 2 | |||
| 3 | GPMC connected NAND (found on OMAP boards) are represented as child nodes of | ||
| 4 | the GPMC controller with a name of "nand". | ||
| 5 | |||
| 6 | All timing relevant properties as well as generic gpmc child properties are | ||
| 7 | explained in a separate documents - please refer to | ||
| 8 | Documentation/devicetree/bindings/memory-controllers/omap-gpmc.txt | ||
| 9 | |||
| 10 | For NAND specific properties such as ECC modes or bus width, please refer to | ||
| 11 | Documentation/devicetree/bindings/mtd/nand-controller.yaml | ||
| 12 | |||
| 13 | |||
| 14 | Required properties: | ||
| 15 | |||
| 16 | - compatible: "ti,omap2-nand" | ||
| 17 | - reg: range id (CS number), base offset and length of the | ||
| 18 | NAND I/O space | ||
| 19 | - interrupts: Two interrupt specifiers, one for fifoevent, one for termcount. | ||
| 20 | |||
| 21 | Optional properties: | ||
| 22 | |||
| 23 | - nand-bus-width: Set this numeric value to 16 if the hardware | ||
| 24 | is wired that way. If not specified, a bus | ||
| 25 | width of 8 is assumed. | ||
| 26 | |||
| 27 | - ti,nand-ecc-opt: A string setting the ECC layout to use. One of: | ||
| 28 | "sw" 1-bit Hamming ecc code via software | ||
| 29 | "hw" <deprecated> use "ham1" instead | ||
| 30 | "hw-romcode" <deprecated> use "ham1" instead | ||
| 31 | "ham1" 1-bit Hamming ecc code | ||
| 32 | "bch4" 4-bit BCH ecc code | ||
| 33 | "bch8" 8-bit BCH ecc code | ||
| 34 | "bch16" 16-bit BCH ECC code | ||
| 35 | Refer below "How to select correct ECC scheme for your device ?" | ||
| 36 | |||
| 37 | - ti,nand-xfer-type: A string setting the data transfer type. One of: | ||
| 38 | |||
| 39 | "prefetch-polled" Prefetch polled mode (default) | ||
| 40 | "polled" Polled mode, without prefetch | ||
| 41 | "prefetch-dma" Prefetch enabled DMA mode | ||
| 42 | "prefetch-irq" Prefetch enabled irq mode | ||
| 43 | |||
| 44 | - elm_id: <deprecated> use "ti,elm-id" instead | ||
| 45 | - ti,elm-id: Specifies phandle of the ELM devicetree node. | ||
| 46 | ELM is an on-chip hardware engine on TI SoC which is used for | ||
| 47 | locating ECC errors for BCHx algorithms. SoC devices which have | ||
| 48 | ELM hardware engines should specify this device node in .dtsi | ||
| 49 | Using ELM for ECC error correction frees some CPU cycles. | ||
| 50 | - rb-gpios: GPIO specifier for the ready/busy# pin. | ||
| 51 | |||
| 52 | For inline partition table parsing (optional): | ||
| 53 | |||
| 54 | - #address-cells: should be set to 1 | ||
| 55 | - #size-cells: should be set to 1 | ||
| 56 | |||
| 57 | Example for an AM33xx board: | ||
| 58 | |||
| 59 | gpmc: gpmc@50000000 { | ||
| 60 | compatible = "ti,am3352-gpmc"; | ||
| 61 | ti,hwmods = "gpmc"; | ||
| 62 | reg = <0x50000000 0x36c>; | ||
| 63 | interrupts = <100>; | ||
| 64 | gpmc,num-cs = <8>; | ||
| 65 | gpmc,num-waitpins = <2>; | ||
| 66 | #address-cells = <2>; | ||
| 67 | #size-cells = <1>; | ||
| 68 | ranges = <0 0 0x08000000 0x1000000>; /* CS0 space, 16MB */ | ||
| 69 | elm_id = <&elm>; | ||
| 70 | interrupt-controller; | ||
| 71 | #interrupt-cells = <2>; | ||
| 72 | |||
| 73 | nand@0,0 { | ||
| 74 | compatible = "ti,omap2-nand"; | ||
| 75 | reg = <0 0 4>; /* CS0, offset 0, NAND I/O window 4 */ | ||
| 76 | interrupt-parent = <&gpmc>; | ||
| 77 | interrupts = <0 IRQ_TYPE_NONE>, <1 IRQ_TYPE NONE>; | ||
| 78 | nand-bus-width = <16>; | ||
| 79 | ti,nand-ecc-opt = "bch8"; | ||
| 80 | ti,nand-xfer-type = "polled"; | ||
| 81 | rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */ | ||
| 82 | |||
| 83 | gpmc,sync-clk-ps = <0>; | ||
| 84 | gpmc,cs-on-ns = <0>; | ||
| 85 | gpmc,cs-rd-off-ns = <44>; | ||
| 86 | gpmc,cs-wr-off-ns = <44>; | ||
| 87 | gpmc,adv-on-ns = <6>; | ||
| 88 | gpmc,adv-rd-off-ns = <34>; | ||
| 89 | gpmc,adv-wr-off-ns = <44>; | ||
| 90 | gpmc,we-off-ns = <40>; | ||
| 91 | gpmc,oe-off-ns = <54>; | ||
| 92 | gpmc,access-ns = <64>; | ||
| 93 | gpmc,rd-cycle-ns = <82>; | ||
| 94 | gpmc,wr-cycle-ns = <82>; | ||
| 95 | gpmc,wr-access-ns = <40>; | ||
| 96 | gpmc,wr-data-mux-bus-ns = <0>; | ||
| 97 | |||
| 98 | #address-cells = <1>; | ||
| 99 | #size-cells = <1>; | ||
| 100 | |||
| 101 | /* partitions go here */ | ||
| 102 | }; | ||
| 103 | }; | ||
| 104 | |||
| 105 | How to select correct ECC scheme for your device ? | ||
| 106 | -------------------------------------------------- | ||
| 107 | Higher ECC scheme usually means better protection against bit-flips and | ||
| 108 | increased system lifetime. However, selection of ECC scheme is dependent | ||
| 109 | on various other factors also like; | ||
| 110 | |||
| 111 | (1) support of built in hardware engines. | ||
| 112 | Some legacy OMAP SoC do not have ELM harware engine, so those SoC cannot | ||
| 113 | support ecc-schemes with hardware error-correction (BCHx_HW). However | ||
| 114 | such SoC can use ecc-schemes with software library for error-correction | ||
| 115 | (BCHx_HW_DETECTION_SW). The error correction capability with software | ||
| 116 | library remains equivalent to their hardware counter-part, but there is | ||
| 117 | slight CPU penalty when too many bit-flips are detected during reads. | ||
| 118 | |||
| 119 | (2) Device parameters like OOBSIZE. | ||
| 120 | Other factor which governs the selection of ecc-scheme is oob-size. | ||
| 121 | Higher ECC schemes require more OOB/Spare area to store ECC syndrome, | ||
| 122 | so the device should have enough free bytes available its OOB/Spare | ||
| 123 | area to accommodate ECC for entire page. In general following expression | ||
| 124 | helps in determining if given device can accommodate ECC syndrome: | ||
| 125 | "2 + (PAGESIZE / 512) * ECC_BYTES" <= OOBSIZE" | ||
| 126 | where | ||
| 127 | OOBSIZE number of bytes in OOB/spare area | ||
| 128 | PAGESIZE number of bytes in main-area of device page | ||
| 129 | ECC_BYTES number of ECC bytes generated to protect | ||
| 130 | 512 bytes of data, which is: | ||
| 131 | '3' for HAM1_xx ecc schemes | ||
| 132 | '7' for BCH4_xx ecc schemes | ||
| 133 | '14' for BCH8_xx ecc schemes | ||
| 134 | '26' for BCH16_xx ecc schemes | ||
| 135 | |||
| 136 | Example(a): For a device with PAGESIZE = 2048 and OOBSIZE = 64 and | ||
| 137 | trying to use BCH16 (ECC_BYTES=26) ecc-scheme. | ||
| 138 | Number of ECC bytes per page = (2 + (2048 / 512) * 26) = 106 B | ||
| 139 | which is greater than capacity of NAND device (OOBSIZE=64) | ||
| 140 | Hence, BCH16 cannot be supported on given device. But it can | ||
| 141 | probably use lower ecc-schemes like BCH8. | ||
| 142 | |||
| 143 | Example(b): For a device with PAGESIZE = 2048 and OOBSIZE = 128 and | ||
| 144 | trying to use BCH16 (ECC_BYTES=26) ecc-scheme. | ||
| 145 | Number of ECC bytes per page = (2 + (2048 / 512) * 26) = 106 B | ||
| 146 | which can be accommodated in the OOB/Spare area of this device | ||
| 147 | (OOBSIZE=128). So this device can use BCH16 ecc-scheme. | ||
| @@ -1,98 +0,0 @@ | |||
| 1 | Device tree bindings for NOR flash connect to TI GPMC | ||
| 2 | |||
| 3 | NOR flash connected to the TI GPMC (found on OMAP boards) are represented as | ||
| 4 | child nodes of the GPMC controller with a name of "nor". | ||
| 5 | |||
| 6 | All timing relevant properties as well as generic GPMC child properties are | ||
| 7 | explained in a separate documents. Please refer to | ||
| 8 | Documentation/devicetree/bindings/memory-controllers/omap-gpmc.txt | ||
| 9 | |||
| 10 | Required properties: | ||
| 11 | - bank-width: Width of NOR flash in bytes. GPMC supports 8-bit and | ||
| 12 | 16-bit devices and so must be either 1 or 2 bytes. | ||
| 13 | - compatible: Documentation/devicetree/bindings/mtd/mtd-physmap.yaml | ||
| 14 | - gpmc,cs-on-ns: Chip-select assertion time | ||
| 15 | - gpmc,cs-rd-off-ns: Chip-select de-assertion time for reads | ||
| 16 | - gpmc,cs-wr-off-ns: Chip-select de-assertion time for writes | ||
| 17 | - gpmc,oe-on-ns: Output-enable assertion time | ||
| 18 | - gpmc,oe-off-ns: Output-enable de-assertion time | ||
| 19 | - gpmc,we-on-ns Write-enable assertion time | ||
| 20 | - gpmc,we-off-ns: Write-enable de-assertion time | ||
| 21 | - gpmc,access-ns: Start cycle to first data capture (read access) | ||
| 22 | - gpmc,rd-cycle-ns: Total read cycle time | ||
| 23 | - gpmc,wr-cycle-ns: Total write cycle time | ||
| 24 | - linux,mtd-name: Documentation/devicetree/bindings/mtd/mtd-physmap.yaml | ||
| 25 | - reg: Chip-select, base address (relative to chip-select) | ||
| 26 | and size of NOR flash. Note that base address will be | ||
| 27 | typically 0 as this is the start of the chip-select. | ||
| 28 | |||
| 29 | Optional properties: | ||
| 30 | - gpmc,XXX Additional GPMC timings and settings parameters. See | ||
| 31 | Documentation/devicetree/bindings/memory-controllers/omap-gpmc.txt | ||
| 32 | |||
| 33 | Optional properties for partition table parsing: | ||
| 34 | - #address-cells: should be set to 1 | ||
| 35 | - #size-cells: should be set to 1 | ||
| 36 | |||
| 37 | Example: | ||
| 38 | |||
| 39 | gpmc: gpmc@6e000000 { | ||
| 40 | compatible = "ti,omap3430-gpmc", "simple-bus"; | ||
| 41 | ti,hwmods = "gpmc"; | ||
| 42 | reg = <0x6e000000 0x1000>; | ||
| 43 | interrupts = <20>; | ||
| 44 | gpmc,num-cs = <8>; | ||
| 45 | gpmc,num-waitpins = <4>; | ||
| 46 | #address-cells = <2>; | ||
| 47 | #size-cells = <1>; | ||
| 48 | |||
| 49 | ranges = <0 0 0x10000000 0x08000000>; | ||
| 50 | |||
| 51 | nor@0,0 { | ||
| 52 | compatible = "cfi-flash"; | ||
| 53 | linux,mtd-name= "intel,pf48f6000m0y1be"; | ||
| 54 | #address-cells = <1>; | ||
| 55 | #size-cells = <1>; | ||
| 56 | reg = <0 0 0x08000000>; | ||
| 57 | bank-width = <2>; | ||
| 58 | |||
| 59 | gpmc,mux-add-data; | ||
| 60 | gpmc,cs-on-ns = <0>; | ||
| 61 | gpmc,cs-rd-off-ns = <186>; | ||
| 62 | gpmc,cs-wr-off-ns = <186>; | ||
| 63 | gpmc,adv-on-ns = <12>; | ||
| 64 | gpmc,adv-rd-off-ns = <48>; | ||
| 65 | gpmc,adv-wr-off-ns = <48>; | ||
| 66 | gpmc,oe-on-ns = <54>; | ||
| 67 | gpmc,oe-off-ns = <168>; | ||
| 68 | gpmc,we-on-ns = <54>; | ||
| 69 | gpmc,we-off-ns = <168>; | ||
| 70 | gpmc,rd-cycle-ns = <186>; | ||
| 71 | gpmc,wr-cycle-ns = <186>; | ||
| 72 | gpmc,access-ns = <114>; | ||
| 73 | gpmc,page-burst-access-ns = <6>; | ||
| 74 | gpmc,bus-turnaround-ns = <12>; | ||
| 75 | gpmc,cycle2cycle-delay-ns = <18>; | ||
| 76 | gpmc,wr-data-mux-bus-ns = <90>; | ||
| 77 | gpmc,wr-access-ns = <186>; | ||
| 78 | gpmc,cycle2cycle-samecsen; | ||
| 79 | gpmc,cycle2cycle-diffcsen; | ||
| 80 | |||
| 81 | partition@0 { | ||
| 82 | label = "bootloader-nor"; | ||
| 83 | reg = <0 0x40000>; | ||
| 84 | }; | ||
| 85 | partition@40000 { | ||
| 86 | label = "params-nor"; | ||
| 87 | reg = <0x40000 0x40000>; | ||
| 88 | }; | ||
| 89 | partition@80000 { | ||
| 90 | label = "kernel-nor"; | ||
| 91 | reg = <0x80000 0x200000>; | ||
| 92 | }; | ||
| 93 | partition@280000 { | ||
| 94 | label = "filesystem-nor"; | ||
| 95 | reg = <0x240000 0x7d80000>; | ||
| 96 | }; | ||
| 97 | }; | ||
| 98 | }; | ||
| @@ -1,48 +0,0 @@ | |||
| 1 | Device tree bindings for GPMC connected OneNANDs | ||
| 2 | |||
| 3 | GPMC connected OneNAND (found on OMAP boards) are represented as child nodes of | ||
| 4 | the GPMC controller with a name of "onenand". | ||
| 5 | |||
| 6 | All timing relevant properties as well as generic gpmc child properties are | ||
| 7 | explained in a separate documents - please refer to | ||
| 8 | Documentation/devicetree/bindings/memory-controllers/omap-gpmc.txt | ||
| 9 | |||
| 10 | Required properties: | ||
| 11 | |||
| 12 | - compatible: "ti,omap2-onenand" | ||
| 13 | - reg: The CS line the peripheral is connected to | ||
| 14 | - gpmc,device-width: Width of the ONENAND device connected to the GPMC | ||
| 15 | in bytes. Must be 1 or 2. | ||
| 16 | |||
| 17 | Optional properties: | ||
| 18 | |||
| 19 | - int-gpios: GPIO specifier for the INT pin. | ||
| 20 | |||
| 21 | For inline partition table parsing (optional): | ||
| 22 | |||
| 23 | - #address-cells: should be set to 1 | ||
| 24 | - #size-cells: should be set to 1 | ||
| 25 | |||
| 26 | Example for an OMAP3430 board: | ||
| 27 | |||
| 28 | gpmc: gpmc@6e000000 { | ||
| 29 | compatible = "ti,omap3430-gpmc"; | ||
| 30 | ti,hwmods = "gpmc"; | ||
| 31 | reg = <0x6e000000 0x1000000>; | ||
| 32 | interrupts = <20>; | ||
| 33 | gpmc,num-cs = <8>; | ||
| 34 | gpmc,num-waitpins = <4>; | ||
| 35 | #address-cells = <2>; | ||
| 36 | #size-cells = <1>; | ||
| 37 | |||
| 38 | onenand@0 { | ||
| 39 | compatible = "ti,omap2-onenand"; | ||
| 40 | reg = <0 0 0>; /* CS0, offset 0 */ | ||
| 41 | gpmc,device-width = <2>; | ||
| 42 | |||
| 43 | #address-cells = <1>; | ||
| 44 | #size-cells = <1>; | ||
| 45 | |||
| 46 | /* partitions go here */ | ||
| 47 | }; | ||
| 48 | }; | ||
| @@ -0,0 +1,121 @@ | |||
| 1 | # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
| 2 | %YAML 1.2 | ||
| 3 | --- | ||
| 4 | $id: http://devicetree.org/schemas/mtd/ti,gpmc-nand.yaml# | ||
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# | ||
| 6 | |||
| 7 | title: Texas Instruments GPMC NAND Flash controller. | ||
| 8 | |||
| 9 | maintainers: | ||
| 10 | - Tony Lindgren <tony@atomide.com> | ||
| 11 | - Roger Quadros <rogerq@kernel.org> | ||
| 12 | |||
| 13 | description: | ||
| 14 | GPMC NAND controller/Flash is represented as a child of the | ||
| 15 | GPMC controller node. | ||
| 16 | |||
| 17 | properties: | ||
| 18 | compatible: | ||
| 19 | const: ti,omap2-nand | ||
| 20 | |||
| 21 | reg: | ||
| 22 | maxItems: 1 | ||
| 23 | |||
| 24 | interrupts: | ||
| 25 | items: | ||
| 26 | - description: Interrupt for fifoevent | ||
| 27 | - description: Interrupt for termcount | ||
| 28 | |||
| 29 | "#address-cells": true | ||
| 30 | |||
| 31 | "#size-cells": true | ||
| 32 | |||
| 33 | ti,nand-ecc-opt: | ||
| 34 | description: Desired ECC algorithm | ||
| 35 | $ref: /schemas/types.yaml#/definitions/string | ||
| 36 | enum: [sw, ham1, bch4, bch8, bch16] | ||
| 37 | |||
| 38 | ti,nand-xfer-type: | ||
| 39 | description: Data transfer method between controller and chip. | ||
| 40 | $ref: /schemas/types.yaml#/definitions/string | ||
| 41 | enum: [prefetch-polled, polled, prefetch-dma, prefetch-irq] | ||
| 42 | default: prefetch-polled | ||
| 43 | |||
| 44 | ti,elm-id: | ||
| 45 | description: | ||
| 46 | phandle to the ELM (Error Location Module). | ||
| 47 | $ref: /schemas/types.yaml#/definitions/phandle | ||
| 48 | |||
| 49 | nand-bus-width: | ||
| 50 | description: | ||
| 51 | Bus width to the NAND chip | ||
| 52 | $ref: /schemas/types.yaml#/definitions/uint32 | ||
| 53 | enum: [8, 16] | ||
| 54 | default: 8 | ||
| 55 | |||
| 56 | patternProperties: | ||
| 57 | "@[0-9a-f]+$": | ||
| 58 | $ref: "/schemas/mtd/partitions/partition.yaml" | ||
| 59 | |||
| 60 | allOf: | ||
| 61 | - $ref: "/schemas/memory-controllers/ti,gpmc-child.yaml" | ||
| 62 | |||
| 63 | required: | ||
| 64 | - compatible | ||
| 65 | - reg | ||
| 66 | - ti,nand-ecc-opt | ||
| 67 | |||
| 68 | unevaluatedProperties: false | ||
| 69 | |||
| 70 | examples: | ||
| 71 | - | | ||
| 72 | #include <dt-bindings/interrupt-controller/arm-gic.h> | ||
| 73 | #include <dt-bindings/gpio/gpio.h> | ||
| 74 | |||
| 75 | gpmc: memory-controller@50000000 { | ||
| 76 | compatible = "ti,am3352-gpmc"; | ||
| 77 | dmas = <&edma 52 0>; | ||
| 78 | dma-names = "rxtx"; | ||
| 79 | clocks = <&l3s_gclk>; | ||
| 80 | clock-names = "fck"; | ||
| 81 | reg = <0x50000000 0x2000>; | ||
| 82 | interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>; | ||
| 83 | gpmc,num-cs = <7>; | ||
| 84 | gpmc,num-waitpins = <2>; | ||
| 85 | #address-cells = <2>; | ||
| 86 | #size-cells = <1>; | ||
| 87 | interrupt-controller; | ||
| 88 | #interrupt-cells = <2>; | ||
| 89 | gpio-controller; | ||
| 90 | #gpio-cells = <2>; | ||
| 91 | |||
| 92 | ranges = <0 0 0x08000000 0x01000000>; /* CS0 space. Min partition = 16MB */ | ||
| 93 | nand@0,0 { | ||
| 94 | compatible = "ti,omap2-nand"; | ||
| 95 | reg = <0 0 4>; /* device IO registers */ | ||
| 96 | interrupt-parent = <&gpmc>; | ||
| 97 | interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */ | ||
| 98 | <1 IRQ_TYPE_NONE>; /* termcount */ | ||
| 99 | ti,nand-xfer-type = "prefetch-dma"; | ||
| 100 | ti,nand-ecc-opt = "bch16"; | ||
| 101 | ti,elm-id = <&elm>; | ||
| 102 | #address-cells = <1>; | ||
| 103 | #size-cells = <1>; | ||
| 104 | |||
| 105 | /* NAND generic properties */ | ||
| 106 | nand-bus-width = <8>; | ||
| 107 | rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */ | ||
| 108 | |||
| 109 | /* GPMC properties*/ | ||
| 110 | gpmc,device-width = <1>; | ||
| 111 | |||
| 112 | partition@0 { | ||
| 113 | label = "NAND.SPL"; | ||
| 114 | reg = <0x00000000 0x00040000>; | ||
| 115 | }; | ||
| 116 | partition@1 { | ||
| 117 | label = "NAND.SPL.backup1"; | ||
| 118 | reg = <0x00040000 0x00040000>; | ||
| 119 | }; | ||
| 120 | }; | ||
| 121 | }; | ||
| @@ -0,0 +1,81 @@ | |||
| 1 | # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
| 2 | %YAML 1.2 | ||
| 3 | --- | ||
| 4 | $id: http://devicetree.org/schemas/mtd/ti,gpmc-onenand.yaml# | ||
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# | ||
| 6 | |||
| 7 | title: OneNAND over Texas Instruments GPMC bus. | ||
| 8 | |||
| 9 | maintainers: | ||
| 10 | - Tony Lindgren <tony@atomide.com> | ||
| 11 | - Roger Quadros <rogerq@kernel.org> | ||
| 12 | |||
| 13 | description: | ||
| 14 | GPMC connected OneNAND (found on OMAP boards) are represented | ||
| 15 | as child nodes of the GPMC controller. | ||
| 16 | |||
| 17 | properties: | ||
| 18 | compatible: | ||
| 19 | const: ti,omap2-onenand | ||
| 20 | |||
| 21 | reg: | ||
| 22 | items: | ||
| 23 | - description: | | ||
| 24 | Chip Select number, register offset and size of | ||
| 25 | OneNAND register window. | ||
| 26 | |||
| 27 | "#address-cells": true | ||
| 28 | |||
| 29 | "#size-cells": true | ||
| 30 | |||
| 31 | int-gpios: | ||
| 32 | description: GPIO specifier for the INT pin. | ||
| 33 | |||
| 34 | patternProperties: | ||
| 35 | "@[0-9a-f]+$": | ||
| 36 | $ref: "/schemas/mtd/partitions/partition.yaml" | ||
| 37 | |||
| 38 | allOf: | ||
| 39 | - $ref: "/schemas/memory-controllers/ti,gpmc-child.yaml" | ||
| 40 | |||
| 41 | required: | ||
| 42 | - compatible | ||
| 43 | - reg | ||
| 44 | - "#address-cells" | ||
| 45 | - "#size-cells" | ||
| 46 | |||
| 47 | unevaluatedProperties: false | ||
| 48 | |||
| 49 | examples: | ||
| 50 | - | | ||
| 51 | gpmc: memory-controller@6e000000 { | ||
| 52 | compatible = "ti,omap3430-gpmc"; | ||
| 53 | reg = <0x6e000000 0x02d0>; | ||
| 54 | interrupts = <20>; | ||
| 55 | gpmc,num-cs = <8>; | ||
| 56 | gpmc,num-waitpins = <4>; | ||
| 57 | clocks = <&l3s_clkctrl>; | ||
| 58 | clock-names = "fck"; | ||
| 59 | #address-cells = <2>; | ||
| 60 | #size-cells = <1>; | ||
| 61 | |||
| 62 | ranges = <0 0 0x01000000 0x01000000>, /* 16 MB for OneNAND */ | ||
| 63 | <1 0 0x02000000 0x01000000>; /* 16 MB for smc91c96 */ | ||
| 64 | |||
| 65 | onenand@0,0 { | ||
| 66 | compatible = "ti,omap2-onenand"; | ||
| 67 | reg = <0 0 0x20000>; /* CS0, offset 0, IO size 128K */ | ||
| 68 | #address-cells = <1>; | ||
| 69 | #size-cells = <1>; | ||
| 70 | |||
| 71 | partition@0 { | ||
| 72 | label = "bootloader"; | ||
| 73 | reg = <0x00000000 0x00100000>; | ||
| 74 | }; | ||
| 75 | |||
| 76 | partition@100000 { | ||
| 77 | label = "config"; | ||
| 78 | reg = <0x00100000 0x002c0000>; | ||
| 79 | }; | ||
| 80 | }; | ||
| 81 | }; | ||
| @@ -1,97 +0,0 @@ | |||
| 1 | Device tree bindings for Ethernet chip connected to TI GPMC | ||
| 2 | |||
| 3 | Besides being used to interface with external memory devices, the | ||
| 4 | General-Purpose Memory Controller can be used to connect Pseudo-SRAM devices | ||
| 5 | such as ethernet controllers to processors using the TI GPMC as a data bus. | ||
| 6 | |||
| 7 | Ethernet controllers connected to TI GPMC are represented as child nodes of | ||
| 8 | the GPMC controller with an "ethernet" name. | ||
| 9 | |||
| 10 | All timing relevant properties as well as generic GPMC child properties are | ||
| 11 | explained in a separate documents. Please refer to | ||
| 12 | Documentation/devicetree/bindings/memory-controllers/omap-gpmc.txt | ||
| 13 | |||
| 14 | For the properties relevant to the ethernet controller connected to the GPMC | ||
| 15 | refer to the binding documentation of the device. For example, the documentation | ||
| 16 | for the SMSC 911x is Documentation/devicetree/bindings/net/smsc,lan9115.yaml | ||
| 17 | |||
| 18 | Child nodes need to specify the GPMC bus address width using the "bank-width" | ||
| 19 | property but is possible that an ethernet controller also has a property to | ||
| 20 | specify the I/O registers address width. Even when the GPMC has a maximum 16-bit | ||
| 21 | address width, it supports devices with 32-bit word registers. | ||
| 22 | For example with an SMSC LAN911x/912x controller connected to the TI GPMC on an | ||
| 23 | OMAP2+ board, "bank-width = <2>;" and "reg-io-width = <4>;". | ||
| 24 | |||
| 25 | Required properties: | ||
| 26 | - bank-width: Address width of the device in bytes. GPMC supports 8-bit | ||
| 27 | and 16-bit devices and so must be either 1 or 2 bytes. | ||
| 28 | - compatible: Compatible string property for the ethernet child device. | ||
| 29 | - gpmc,cs-on-ns: Chip-select assertion time | ||
| 30 | - gpmc,cs-rd-off-ns: Chip-select de-assertion time for reads | ||
| 31 | - gpmc,cs-wr-off-ns: Chip-select de-assertion time for writes | ||
| 32 | - gpmc,oe-on-ns: Output-enable assertion time | ||
| 33 | - gpmc,oe-off-ns: Output-enable de-assertion time | ||
| 34 | - gpmc,we-on-ns: Write-enable assertion time | ||
| 35 | - gpmc,we-off-ns: Write-enable de-assertion time | ||
| 36 | - gpmc,access-ns: Start cycle to first data capture (read access) | ||
| 37 | - gpmc,rd-cycle-ns: Total read cycle time | ||
| 38 | - gpmc,wr-cycle-ns: Total write cycle time | ||
| 39 | - reg: Chip-select, base address (relative to chip-select) | ||
| 40 | and size of the memory mapped for the device. | ||
| 41 | Note that base address will be typically 0 as this | ||
| 42 | is the start of the chip-select. | ||
| 43 | |||
| 44 | Optional properties: | ||
| 45 | - gpmc,XXX Additional GPMC timings and settings parameters. See | ||
| 46 | Documentation/devicetree/bindings/memory-controllers/omap-gpmc.txt | ||
| 47 | |||
| 48 | Example: | ||
| 49 | |||
| 50 | gpmc: gpmc@6e000000 { | ||
| 51 | compatible = "ti,omap3430-gpmc"; | ||
| 52 | ti,hwmods = "gpmc"; | ||
| 53 | reg = <0x6e000000 0x1000>; | ||
| 54 | interrupts = <20>; | ||
| 55 | gpmc,num-cs = <8>; | ||
| 56 | gpmc,num-waitpins = <4>; | ||
| 57 | #address-cells = <2>; | ||
| 58 | #size-cells = <1>; | ||
| 59 | |||
| 60 | ranges = <5 0 0x2c000000 0x1000000>; | ||
| 61 | |||
| 62 | ethernet@5,0 { | ||
| 63 | compatible = "smsc,lan9221", "smsc,lan9115"; | ||
| 64 | reg = <5 0 0xff>; | ||
| 65 | bank-width = <2>; | ||
| 66 | |||
| 67 | gpmc,mux-add-data; | ||
| 68 | gpmc,cs-on-ns = <0>; | ||
| 69 | gpmc,cs-rd-off-ns = <186>; | ||
| 70 | gpmc,cs-wr-off-ns = <186>; | ||
| 71 | gpmc,adv-on-ns = <12>; | ||
| 72 | gpmc,adv-rd-off-ns = <48>; | ||
| 73 | gpmc,adv-wr-off-ns = <48>; | ||
| 74 | gpmc,oe-on-ns = <54>; | ||
| 75 | gpmc,oe-off-ns = <168>; | ||
| 76 | gpmc,we-on-ns = <54>; | ||
| 77 | gpmc,we-off-ns = <168>; | ||
| 78 | gpmc,rd-cycle-ns = <186>; | ||
| 79 | gpmc,wr-cycle-ns = <186>; | ||
| 80 | gpmc,access-ns = <114>; | ||
| 81 | gpmc,page-burst-access-ns = <6>; | ||
| 82 | gpmc,bus-turnaround-ns = <12>; | ||
| 83 | gpmc,cycle2cycle-delay-ns = <18>; | ||
| 84 | gpmc,wr-data-mux-bus-ns = <90>; | ||
| 85 | gpmc,wr-access-ns = <186>; | ||
| 86 | gpmc,cycle2cycle-samecsen; | ||
| 87 | gpmc,cycle2cycle-diffcsen; | ||
| 88 | |||
| 89 | interrupt-parent = <&gpio6>; | ||
| 90 | interrupts = <16>; | ||
| 91 | vmmc-supply = <&vddvario>; | ||
| 92 | vmmc_aux-supply = <&vdd33a>; | ||
| 93 | reg-io-width = <4>; | ||
| 94 | |||
| 95 | smsc,save-mac-address; | ||
| 96 | }; | ||
| 97 | }; | ||
| @@ -197,7 +197,7 @@ Tegra194 RC mode: · 196 unmodified lines | |||
| 197 | Tegra194 EP mode: | 197 | Tegra194 EP mode: |
| 198 | ----------------- | 198 | ----------------- |
| 199 | 199 | ||
| 200 | pcie_ep@141a0000 { | 200 | pcie-ep@141a0000 { |
| 201 | compatible = "nvidia,tegra194-pcie-ep", "snps,dw-pcie-ep"; | 201 | compatible = "nvidia,tegra194-pcie-ep", "snps,dw-pcie-ep"; |
| 202 | power-domains = <&bpmp TEGRA194_POWER_DOMAIN_PCIEX8A>; | 202 | power-domains = <&bpmp TEGRA194_POWER_DOMAIN_PCIEX8A>; |
| 203 | reg = <0x00 0x141a0000 0x0 0x00020000 /* appl registers (128K) */ | 203 | reg = <0x00 0x141a0000 0x0 0x00020000 /* appl registers (128K) */ |
| @@ -1,22 +0,0 @@ | |||
| 1 | * Freescale LINFlexD UART | ||
| 2 | |||
| 3 | The LINFlexD controller implements several LIN protocol versions, as well as | ||
| 4 | support for full-duplex UART communication through 8-bit and 9-bit frames. | ||
| 5 | |||
| 6 | See chapter 47 ("LINFlexD") in the reference manual[1]. | ||
| 7 | |||
| 8 | Required properties: | ||
| 9 | - compatible : | ||
| 10 | - "fsl,s32v234-linflexuart" for LINFlexD configured in UART mode, which | ||
| 11 | is compatible with the one integrated on S32V234 SoC | ||
| 12 | - reg : Address and length of the register set for the device | ||
| 13 | - interrupts : Should contain uart interrupt | ||
| 14 | |||
| 15 | Example: | ||
| 16 | uart0: serial@40053000 { | ||
| 17 | compatible = "fsl,s32v234-linflexuart"; | ||
| 18 | reg = <0x0 0x40053000 0x0 0x1000>; | ||
| 19 | interrupts = <0 59 4>; | ||
| 20 | }; | ||
| 21 | |||
| 22 | [1] https://www.nxp.com/webapp/Download?colCode=S32V234RM | ||
| @@ -0,0 +1,48 @@ | |||
| 1 | # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
| 2 | %YAML 1.2 | ||
| 3 | --- | ||
| 4 | $id: http://devicetree.org/schemas/serial/fsl,s32-linflexuart.yaml# | ||
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# | ||
| 6 | |||
| 7 | title: Freescale LINFlexD UART | ||
| 8 | |||
| 9 | description: | | ||
| 10 | The LINFlexD controller implements several LIN protocol versions, as well | ||
| 11 | as support for full-duplex UART communication through 8-bit and 9-bit | ||
| 12 | frames. See chapter 47 ("LINFlexD") in the reference manual | ||
| 13 | https://www.nxp.com/webapp/Download?colCode=S32V234RM. | ||
| 14 | |||
| 15 | maintainers: | ||
| 16 | - Chester Lin <clin@suse.com> | ||
| 17 | |||
| 18 | allOf: | ||
| 19 | - $ref: "serial.yaml" | ||
| 20 | |||
| 21 | properties: | ||
| 22 | compatible: | ||
| 23 | oneOf: | ||
| 24 | - const: fsl,s32v234-linflexuart | ||
| 25 | - items: | ||
| 26 | - const: nxp,s32g2-linflexuart | ||
| 27 | - const: fsl,s32v234-linflexuart | ||
| 28 | |||
| 29 | reg: | ||
| 30 | maxItems: 1 | ||
| 31 | |||
| 32 | interrupts: | ||
| 33 | maxItems: 1 | ||
| 34 | |||
| 35 | required: | ||
| 36 | - compatible | ||
| 37 | - reg | ||
| 38 | - interrupts | ||
| 39 | |||
| 40 | unevaluatedProperties: false | ||
| 41 | |||
| 42 | examples: | ||
| 43 | - | | ||
| 44 | serial@40053000 { | ||
| 45 | compatible = "fsl,s32v234-linflexuart"; | ||
| 46 | reg = <0x40053000 0x1000>; | ||
| 47 | interrupts = <0 59 4>; | ||
| 48 | }; | ||
| @@ -0,0 +1,94 @@ | |||
| 1 | # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
| 2 | %YAML 1.2 | ||
| 3 | --- | ||
| 4 | $id: http://devicetree.org/schemas/soc/imx/fsl,imx8mm-disp-blk-ctrl.yaml# | ||
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# | ||
| 6 | |||
| 7 | title: NXP i.MX8MM DISP blk-ctrl | ||
| 8 | |||
| 9 | maintainers: | ||
| 10 | - Lucas Stach <l.stach@pengutronix.de> | ||
| 11 | |||
| 12 | description: | ||
| 13 | The i.MX8MM DISP blk-ctrl is a top-level peripheral providing access to | ||
| 14 | the NoC and ensuring proper power sequencing of the display and MIPI CSI | ||
| 15 | peripherals located in the DISP domain of the SoC. | ||
| 16 | |||
| 17 | properties: | ||
| 18 | compatible: | ||
| 19 | items: | ||
| 20 | - const: fsl,imx8mm-disp-blk-ctrl | ||
| 21 | - const: syscon | ||
| 22 | |||
| 23 | reg: | ||
| 24 | maxItems: 1 | ||
| 25 | |||
| 26 | '#power-domain-cells': | ||
| 27 | const: 1 | ||
| 28 | |||
| 29 | power-domains: | ||
| 30 | minItems: 5 | ||
| 31 | maxItems: 5 | ||
| 32 | |||
| 33 | power-domain-names: | ||
| 34 | items: | ||
| 35 | - const: bus | ||
| 36 | - const: csi-bridge | ||
| 37 | - const: lcdif | ||
| 38 | - const: mipi-dsi | ||
| 39 | - const: mipi-csi | ||
| 40 | |||
| 41 | clocks: | ||
| 42 | minItems: 10 | ||
| 43 | maxItems: 10 | ||
| 44 | |||
| 45 | clock-names: | ||
| 46 | items: | ||
| 47 | - const: csi-bridge-axi | ||
| 48 | - const: csi-bridge-apb | ||
| 49 | - const: csi-bridge-core | ||
| 50 | - const: lcdif-axi | ||
| 51 | - const: lcdif-apb | ||
| 52 | - const: lcdif-pix | ||
| 53 | - const: dsi-pclk | ||
| 54 | - const: dsi-ref | ||
| 55 | - const: csi-aclk | ||
| 56 | - const: csi-pclk | ||
| 57 | |||
| 58 | required: | ||
| 59 | - compatible | ||
| 60 | - reg | ||
| 61 | - power-domains | ||
| 62 | - power-domain-names | ||
| 63 | - clocks | ||
| 64 | - clock-names | ||
| 65 | |||
| 66 | additionalProperties: false | ||
| 67 | |||
| 68 | examples: | ||
| 69 | - | | ||
| 70 | #include <dt-bindings/clock/imx8mm-clock.h> | ||
| 71 | #include <dt-bindings/power/imx8mm-power.h> | ||
| 72 | |||
| 73 | disp_blk_ctl: blk_ctrl@32e28000 { | ||
| 74 | compatible = "fsl,imx8mm-disp-blk-ctrl", "syscon"; | ||
| 75 | reg = <0x32e28000 0x100>; | ||
| 76 | power-domains = <&pgc_dispmix>, <&pgc_dispmix>, <&pgc_dispmix>, | ||
| 77 | <&pgc_mipi>, <&pgc_mipi>; | ||
| 78 | power-domain-names = "bus", "csi-bridge", "lcdif", | ||
| 79 | "mipi-dsi", "mipi-csi"; | ||
| 80 | clocks = <&clk IMX8MM_CLK_DISP_AXI_ROOT>, | ||
| 81 | <&clk IMX8MM_CLK_DISP_APB_ROOT>, | ||
| 82 | <&clk IMX8MM_CLK_CSI1_ROOT>, | ||
| 83 | <&clk IMX8MM_CLK_DISP_AXI_ROOT>, | ||
| 84 | <&clk IMX8MM_CLK_DISP_APB_ROOT>, | ||
| 85 | <&clk IMX8MM_CLK_DISP_ROOT>, | ||
| 86 | <&clk IMX8MM_CLK_DSI_CORE>, | ||
| 87 | <&clk IMX8MM_CLK_DSI_PHY_REF>, | ||
| 88 | <&clk IMX8MM_CLK_CSI1_CORE>, | ||
| 89 | <&clk IMX8MM_CLK_CSI1_PHY_REF>; | ||
| 90 | clock-names = "csi-bridge-axi", "csi-bridge-apb", "csi-bridge-core", | ||
| 91 | "lcdif-axi", "lcdif-apb", "lcdif-pix", "dsi-pclk", | ||
| 92 | "dsi-ref", "csi-aclk", "csi-pclk"; | ||
| 93 | #power-domain-cells = <1>; | ||
| 94 | }; | ||
| @@ -0,0 +1,76 @@ | |||
| 1 | # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
| 2 | %YAML 1.2 | ||
| 3 | --- | ||
| 4 | $id: http://devicetree.org/schemas/soc/imx/fsl,imx8mm-vpu-blk-ctrl.yaml# | ||
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# | ||
| 6 | |||
| 7 | title: NXP i.MX8MM VPU blk-ctrl | ||
| 8 | |||
| 9 | maintainers: | ||
| 10 | - Lucas Stach <l.stach@pengutronix.de> | ||
| 11 | |||
| 12 | description: | ||
| 13 | The i.MX8MM VPU blk-ctrl is a top-level peripheral providing access to | ||
| 14 | the NoC and ensuring proper power sequencing of the VPU peripherals | ||
| 15 | located in the VPU domain of the SoC. | ||
| 16 | |||
| 17 | properties: | ||
| 18 | compatible: | ||
| 19 | items: | ||
| 20 | - const: fsl,imx8mm-vpu-blk-ctrl | ||
| 21 | - const: syscon | ||
| 22 | |||
| 23 | reg: | ||
| 24 | maxItems: 1 | ||
| 25 | |||
| 26 | '#power-domain-cells': | ||
| 27 | const: 1 | ||
| 28 | |||
| 29 | power-domains: | ||
| 30 | minItems: 4 | ||
| 31 | maxItems: 4 | ||
| 32 | |||
| 33 | power-domain-names: | ||
| 34 | items: | ||
| 35 | - const: bus | ||
| 36 | - const: g1 | ||
| 37 | - const: g2 | ||
| 38 | - const: h1 | ||
| 39 | |||
| 40 | clocks: | ||
| 41 | minItems: 3 | ||
| 42 | maxItems: 3 | ||
| 43 | |||
| 44 | clock-names: | ||
| 45 | items: | ||
| 46 | - const: g1 | ||
| 47 | - const: g2 | ||
| 48 | - const: h1 | ||
| 49 | |||
| 50 | required: | ||
| 51 | - compatible | ||
| 52 | - reg | ||
| 53 | - power-domains | ||
| 54 | - power-domain-names | ||
| 55 | - clocks | ||
| 56 | - clock-names | ||
| 57 | |||
| 58 | additionalProperties: false | ||
| 59 | |||
| 60 | examples: | ||
| 61 | - | | ||
| 62 | #include <dt-bindings/clock/imx8mm-clock.h> | ||
| 63 | #include <dt-bindings/power/imx8mm-power.h> | ||
| 64 | |||
| 65 | vpu_blk_ctrl: blk-ctrl@38330000 { | ||
| 66 | compatible = "fsl,imx8mm-vpu-blk-ctrl", "syscon"; | ||
| 67 | reg = <0x38330000 0x100>; | ||
| 68 | power-domains = <&pgc_vpumix>, <&pgc_vpu_g1>, | ||
| 69 | <&pgc_vpu_g2>, <&pgc_vpu_h1>; | ||
| 70 | power-domain-names = "bus", "g1", "g2", "h1"; | ||
| 71 | clocks = <&clk IMX8MM_CLK_VPU_G1_ROOT>, | ||
| 72 | <&clk IMX8MM_CLK_VPU_G2_ROOT>, | ||
| 73 | <&clk IMX8MM_CLK_VPU_H1_ROOT>; | ||
| 74 | clock-names = "g1", "g2", "h1"; | ||
| 75 | #power-domain-cells = <1>; | ||
| 76 | }; | ||
| @@ -20,6 +20,9 @@ properties: · 19 unmodified lines | |||
| 20 | - const: allwinner,sun6i-a31-i2s | 20 | - const: allwinner,sun6i-a31-i2s |
| 21 | - const: allwinner,sun8i-a83t-i2s | 21 | - const: allwinner,sun8i-a83t-i2s |
| 22 | - const: allwinner,sun8i-h3-i2s | 22 | - const: allwinner,sun8i-h3-i2s |
| 23 | - items: | ||
| 24 | - const: allwinner,sun8i-r40-i2s | ||
| 25 | - const: allwinner,sun8i-h3-i2s | ||
| 23 | - items: | 26 | - items: |
| 24 | - const: allwinner,sun8i-v3-i2s | 27 | - const: allwinner,sun8i-v3-i2s |
| 25 | - const: allwinner,sun8i-h3-i2s | 28 | - const: allwinner,sun8i-h3-i2s |
| @@ -193,6 +193,8 @@ patternProperties: · 192 unmodified lines | |||
| 193 | description: B&R Industrial Automation GmbH | 193 | description: B&R Industrial Automation GmbH |
| 194 | "^bticino,.*": | 194 | "^bticino,.*": |
| 195 | description: Bticino International | 195 | description: Bticino International |
| 196 | "^calamp,.*": | ||
| 197 | description: CalAmp Corp. | ||
| 196 | "^calaosystems,.*": | 198 | "^calaosystems,.*": |
| 197 | description: CALAO Systems SAS | 199 | description: CALAO Systems SAS |
| 198 | "^calxeda,.*": | 200 | "^calxeda,.*": |
| @@ -337,6 +339,8 @@ patternProperties: · 138 unmodified lines | |||
| 337 | description: EBV Elektronik | 339 | description: EBV Elektronik |
| 338 | "^eckelmann,.*": | 340 | "^eckelmann,.*": |
| 339 | description: Eckelmann AG | 341 | description: Eckelmann AG |
| 342 | "^edimax,.*": | ||
| 343 | description: EDIMAX Technology Co., Ltd | ||
| 340 | "^edt,.*": | 344 | "^edt,.*": |
| 341 | description: Emerging Display Technologies | 345 | description: Emerging Display Technologies |
| 342 | "^eeti,.*": | 346 | "^eeti,.*": |
| @@ -397,6 +401,8 @@ patternProperties: · 54 unmodified lines | |||
| 397 | description: Exar Corporation | 401 | description: Exar Corporation |
| 398 | "^excito,.*": | 402 | "^excito,.*": |
| 399 | description: Excito | 403 | description: Excito |
| 404 | "^exegin,.*": | ||
| 405 | description: Exegin Technologies Limited | ||
| 400 | "^ezchip,.*": | 406 | "^ezchip,.*": |
| 401 | description: EZchip Semiconductor | 407 | description: EZchip Semiconductor |
| 402 | "^facebook,.*": | 408 | "^facebook,.*": |
| @@ -581,6 +587,8 @@ patternProperties: · 178 unmodified lines | |||
| 581 | description: JEDEC Solid State Technology Association | 587 | description: JEDEC Solid State Technology Association |
| 582 | "^jesurun,.*": | 588 | "^jesurun,.*": |
| 583 | description: Shenzhen Jesurun Electronics Business Dept. | 589 | description: Shenzhen Jesurun Electronics Business Dept. |
| 590 | "^jethome,.*": | ||
| 591 | description: JetHome (IP Sokolov P.A.) | ||
| 584 | "^jianda,.*": | 592 | "^jianda,.*": |
| 585 | description: Jiandangjing Technology Co., Ltd. | 593 | description: Jiandangjing Technology Co., Ltd. |
| 586 | "^kam,.*": | 594 | "^kam,.*": |
| @@ -1108,6 +1116,8 @@ patternProperties: · 521 unmodified lines | |||
| 1108 | description: SpinalHDL | 1116 | description: SpinalHDL |
| 1109 | "^sprd,.*": | 1117 | "^sprd,.*": |
| 1110 | description: Spreadtrum Communications Inc. | 1118 | description: Spreadtrum Communications Inc. |
| 1119 | "^ssi,.*": | ||
| 1120 | description: SSI Computer Corp | ||
| 1111 | "^sst,.*": | 1121 | "^sst,.*": |
| 1112 | description: Silicon Storage Technology, Inc. | 1122 | description: Silicon Storage Technology, Inc. |
| 1113 | "^sstar,.*": | 1123 | "^sstar,.*": |
| @@ -6352,6 +6352,7 @@ L: linux-tegra@vger.kernel.org · 6351 unmodified lines | |||
| 6352 | S: Supported | 6352 | S: Supported |
| 6353 | T: git git://anongit.freedesktop.org/tegra/linux.git | 6353 | T: git git://anongit.freedesktop.org/tegra/linux.git |
| 6354 | F: Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-host1x.txt | 6354 | F: Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-host1x.txt |
| 6355 | F: Documentation/devicetree/bindings/gpu/host1x/ | ||
| 6355 | F: drivers/gpu/drm/tegra/ | 6356 | F: drivers/gpu/drm/tegra/ |
| 6356 | F: drivers/gpu/host1x/ | 6357 | F: drivers/gpu/host1x/ |
| 6357 | F: include/linux/host1x.h | 6358 | F: include/linux/host1x.h |
| @@ -25,6 +25,7 @@ dtb-$(CONFIG_SOC_AT91SAM9) += \ · 24 unmodified lines | |||
| 25 | usb_a9263.dtb \ | 25 | usb_a9263.dtb \ |
| 26 | at91-foxg20.dtb \ | 26 | at91-foxg20.dtb \ |
| 27 | at91-kizbox.dtb \ | 27 | at91-kizbox.dtb \ |
| 28 | at91-lmu5000.dtb \ | ||
| 28 | at91sam9g20ek.dtb \ | 29 | at91sam9g20ek.dtb \ |
| 29 | at91sam9g20ek_2mmc.dtb \ | 30 | at91sam9g20ek_2mmc.dtb \ |
| 30 | tny_a9g20.dtb \ | 31 | tny_a9g20.dtb \ |
| @@ -40,6 +41,7 @@ dtb-$(CONFIG_SOC_AT91SAM9) += \ · 9 unmodified lines | |||
| 40 | at91-kizboxmini-base.dtb \ | 41 | at91-kizboxmini-base.dtb \ |
| 41 | at91-kizboxmini-mb.dtb \ | 42 | at91-kizboxmini-mb.dtb \ |
| 42 | at91-kizboxmini-rd.dtb \ | 43 | at91-kizboxmini-rd.dtb \ |
| 44 | at91-q5xr5.dtb \ | ||
| 43 | at91-smartkiz.dtb \ | 45 | at91-smartkiz.dtb \ |
| 44 | at91-wb45n.dtb \ | 46 | at91-wb45n.dtb \ |
| 45 | at91sam9g15ek.dtb \ | 47 | at91sam9g15ek.dtb \ |
| @@ -92,6 +94,7 @@ dtb-$(CONFIG_ARCH_BCM2835) += \ · 46 unmodified lines | |||
| 92 | bcm2837-rpi-cm3-io3.dtb \ | 94 | bcm2837-rpi-cm3-io3.dtb \ |
| 93 | bcm2711-rpi-400.dtb \ | 95 | bcm2711-rpi-400.dtb \ |
| 94 | bcm2711-rpi-4-b.dtb \ | 96 | bcm2711-rpi-4-b.dtb \ |
| 97 | bcm2711-rpi-cm4-io.dtb \ | ||
| 95 | bcm2835-rpi-zero.dtb \ | 98 | bcm2835-rpi-zero.dtb \ |
| 96 | bcm2835-rpi-zero-w.dtb | 99 | bcm2835-rpi-zero-w.dtb |
| 97 | dtb-$(CONFIG_ARCH_BCM_5301X) += \ | 100 | dtb-$(CONFIG_ARCH_BCM_5301X) += \ |
| @@ -117,6 +120,7 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \ · 19 unmodified lines | |||
| 117 | bcm4709-netgear-r7000.dtb \ | 120 | bcm4709-netgear-r7000.dtb \ |
| 118 | bcm4709-netgear-r8000.dtb \ | 121 | bcm4709-netgear-r8000.dtb \ |
| 119 | bcm4709-tplink-archer-c9-v1.dtb \ | 122 | bcm4709-tplink-archer-c9-v1.dtb \ |
| 123 | bcm47094-asus-rt-ac88u.dtb \ | ||
| 120 | bcm47094-dlink-dir-885l.dtb \ | 124 | bcm47094-dlink-dir-885l.dtb \ |
| 121 | bcm47094-linksys-panamera.dtb \ | 125 | bcm47094-linksys-panamera.dtb \ |
| 122 | bcm47094-luxul-abr-4500.dtb \ | 126 | bcm47094-luxul-abr-4500.dtb \ |
| @@ -157,6 +161,12 @@ dtb-$(CONFIG_ARCH_BCM_NSP) += \ · 34 unmodified lines | |||
| 157 | bcm958525xmc.dtb \ | 161 | bcm958525xmc.dtb \ |
| 158 | bcm958622hr.dtb \ | 162 | bcm958622hr.dtb \ |
| 159 | bcm958623hr.dtb \ | 163 | bcm958623hr.dtb \ |
| 164 | bcm958625-meraki-mx64.dtb \ | ||
| 165 | bcm958625-meraki-mx64-a0.dtb \ | ||
| 166 | bcm958625-meraki-mx64w.dtb \ | ||
| 167 | bcm958625-meraki-mx64w-a0.dtb \ | ||
| 168 | bcm958625-meraki-mx65.dtb \ | ||
| 169 | bcm958625-meraki-mx65w.dtb \ | ||
| 160 | bcm958625hr.dtb \ | 170 | bcm958625hr.dtb \ |
| 161 | bcm988312hr.dtb \ | 171 | bcm988312hr.dtb \ |
| 162 | bcm958625k.dtb | 172 | bcm958625k.dtb |
| @@ -219,9 +229,11 @@ dtb-$(CONFIG_ARCH_GEMINI) += \ · 56 unmodified lines | |||
| 219 | gemini-dlink-dir-685.dtb \ | 229 | gemini-dlink-dir-685.dtb \ |
| 220 | gemini-dlink-dns-313.dtb \ | 230 | gemini-dlink-dns-313.dtb \ |
| 221 | gemini-nas4220b.dtb \ | 231 | gemini-nas4220b.dtb \ |
| 232 | gemini-ns2502.dtb \ | ||
| 222 | gemini-rut1xx.dtb \ | 233 | gemini-rut1xx.dtb \ |
| 223 | gemini-sl93512r.dtb \ | 234 | gemini-sl93512r.dtb \ |
| 224 | gemini-sq201.dtb \ | 235 | gemini-sq201.dtb \ |
| 236 | gemini-ssi1328.dtb \ | ||
| 225 | gemini-wbd111.dtb \ | 237 | gemini-wbd111.dtb \ |
| 226 | gemini-wbd222.dtb | 238 | gemini-wbd222.dtb |
| 227 | dtb-$(CONFIG_ARCH_HI3xxx) += \ | 239 | dtb-$(CONFIG_ARCH_HI3xxx) += \ |
| @@ -635,10 +647,12 @@ dtb-$(CONFIG_SOC_IMX6SL) += \ · 407 unmodified lines | |||
| 635 | imx6sl-evk.dtb \ | 647 | imx6sl-evk.dtb \ |
| 636 | imx6sl-tolino-shine2hd.dtb \ | 648 | imx6sl-tolino-shine2hd.dtb \ |
| 637 | imx6sl-tolino-shine3.dtb \ | 649 | imx6sl-tolino-shine3.dtb \ |
| 650 | imx6sl-tolino-vision5.dtb \ | ||
| 638 | imx6sl-warp.dtb | 651 | imx6sl-warp.dtb |
| 639 | dtb-$(CONFIG_SOC_IMX6SLL) += \ | 652 | dtb-$(CONFIG_SOC_IMX6SLL) += \ |
| 640 | imx6sll-evk.dtb \ | 653 | imx6sll-evk.dtb \ |
| 641 | imx6sll-kobo-clarahd.dtb | 654 | imx6sll-kobo-clarahd.dtb \ |
| 655 | imx6sll-kobo-librah2o.dtb | ||
| 642 | dtb-$(CONFIG_SOC_IMX6SX) += \ | 656 | dtb-$(CONFIG_SOC_IMX6SX) += \ |
| 643 | imx6sx-nitrogen6sx.dtb \ | 657 | imx6sx-nitrogen6sx.dtb \ |
| 644 | imx6sx-sabreauto.dtb \ | 658 | imx6sx-sabreauto.dtb \ |
| @@ -671,6 +685,7 @@ dtb-$(CONFIG_SOC_IMX6UL) += \ · 26 unmodified lines | |||
| 671 | imx6ul-tx6ul-0011.dtb \ | 685 | imx6ul-tx6ul-0011.dtb \ |
| 672 | imx6ul-tx6ul-mainboard.dtb \ | 686 | imx6ul-tx6ul-mainboard.dtb \ |
| 673 | imx6ull-14x14-evk.dtb \ | 687 | imx6ull-14x14-evk.dtb \ |
| 688 | imx6ull-colibri-emmc-eval-v3.dtb \ | ||
| 674 | imx6ull-colibri-eval-v3.dtb \ | 689 | imx6ull-colibri-eval-v3.dtb \ |
| 675 | imx6ull-colibri-wifi-eval-v3.dtb \ | 690 | imx6ull-colibri-wifi-eval-v3.dtb \ |
| 676 | imx6ull-myir-mys-6ulx-eval.dtb \ | 691 | imx6ull-myir-mys-6ulx-eval.dtb \ |
| @@ -939,6 +954,7 @@ dtb-$(CONFIG_ARCH_OXNAS) += \ · 262 unmodified lines | |||
| 939 | ox810se-wd-mbwe.dtb \ | 954 | ox810se-wd-mbwe.dtb \ |
| 940 | ox820-cloudengines-pogoplug-series-3.dtb | 955 | ox820-cloudengines-pogoplug-series-3.dtb |
| 941 | dtb-$(CONFIG_ARCH_QCOM) += \ | 956 | dtb-$(CONFIG_ARCH_QCOM) += \ |
| 957 | qcom-apq8026-lg-lenok.dtb \ | ||
| 942 | qcom-apq8060-dragonboard.dtb \ | 958 | qcom-apq8060-dragonboard.dtb \ |
| 943 | qcom-apq8064-cm-qs600.dtb \ | 959 | qcom-apq8064-cm-qs600.dtb \ |
| 944 | qcom-apq8064-ifc6410.dtb \ | 960 | qcom-apq8064-ifc6410.dtb \ |
| @@ -959,6 +975,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \ · 14 unmodified lines | |||
| 959 | qcom-ipq8064-rb3011.dtb \ | 975 | qcom-ipq8064-rb3011.dtb \ |
| 960 | qcom-msm8226-samsung-s3ve3g.dtb \ | 976 | qcom-msm8226-samsung-s3ve3g.dtb \ |
| 961 | qcom-msm8660-surf.dtb \ | 977 | qcom-msm8660-surf.dtb \ |
| 978 | qcom-msm8916-samsung-serranove.dtb \ | ||
| 962 | qcom-msm8960-cdp.dtb \ | 979 | qcom-msm8960-cdp.dtb \ |
| 963 | qcom-msm8974-fairphone-fp2.dtb \ | 980 | qcom-msm8974-fairphone-fp2.dtb \ |
| 964 | qcom-msm8974-lge-nexus5-hammerhead.dtb \ | 981 | qcom-msm8974-lge-nexus5-hammerhead.dtb \ |
| @@ -1075,6 +1092,7 @@ dtb-$(CONFIG_ARCH_S5PV210) += \ · 110 unmodified lines | |||
| 1075 | s5pv210-torbreck.dtb | 1092 | s5pv210-torbreck.dtb |
| 1076 | dtb-$(CONFIG_ARCH_INTEL_SOCFPGA) += \ | 1093 | dtb-$(CONFIG_ARCH_INTEL_SOCFPGA) += \ |
| 1077 | socfpga_arria5_socdk.dtb \ | 1094 | socfpga_arria5_socdk.dtb \ |
| 1095 | socfpga_arria10_mercury_aa1.dtb \ | ||
| 1078 | socfpga_arria10_socdk_nand.dtb \ | 1096 | socfpga_arria10_socdk_nand.dtb \ |
| 1079 | socfpga_arria10_socdk_qspi.dtb \ | 1097 | socfpga_arria10_socdk_qspi.dtb \ |
| 1080 | socfpga_arria10_socdk_sdmmc.dtb \ | 1098 | socfpga_arria10_socdk_sdmmc.dtb \ |
| @@ -1113,6 +1131,7 @@ dtb-$(CONFIG_ARCH_STM32) += \ · 32 unmodified lines | |||
| 1113 | stm32h743i-eval.dtb \ | 1131 | stm32h743i-eval.dtb \ |
| 1114 | stm32h743i-disco.dtb \ | 1132 | stm32h743i-disco.dtb \ |
| 1115 | stm32h750i-art-pi.dtb \ | 1133 | stm32h750i-art-pi.dtb \ |
| 1134 | stm32mp135f-dk.dtb \ | ||
| 1116 | stm32mp153c-dhcom-drc02.dtb \ | 1135 | stm32mp153c-dhcom-drc02.dtb \ |
| 1117 | stm32mp157a-avenger96.dtb \ | 1136 | stm32mp157a-avenger96.dtb \ |
| 1118 | stm32mp157a-dhcor-avenger96.dtb \ | 1137 | stm32mp157a-dhcor-avenger96.dtb \ |
| @@ -1387,6 +1406,7 @@ dtb-$(CONFIG_MACH_ARMADA_370) += \ · 268 unmodified lines | |||
| 1387 | dtb-$(CONFIG_MACH_ARMADA_375) += \ | 1406 | dtb-$(CONFIG_MACH_ARMADA_375) += \ |
| 1388 | armada-375-db.dtb | 1407 | armada-375-db.dtb |
| 1389 | dtb-$(CONFIG_MACH_ARMADA_38X) += \ | 1408 | dtb-$(CONFIG_MACH_ARMADA_38X) += \ |
| 1409 | armada-381-netgear-gs110emx.dtb \ | ||
| 1390 | armada-382-rd-ac3x-48g4x2xl.dtb \ | 1410 | armada-382-rd-ac3x-48g4x2xl.dtb \ |
| 1391 | armada-385-atl-x530.dtb\ | 1411 | armada-385-atl-x530.dtb\ |
| 1392 | armada-385-clearfog-gtr-s4.dtb \ | 1412 | armada-385-clearfog-gtr-s4.dtb \ |
| @@ -1497,4 +1517,6 @@ dtb-$(CONFIG_ARCH_ASPEED) += \ · 104 unmodified lines | |||
| 1497 | aspeed-bmc-opp-zaius.dtb \ | 1517 | aspeed-bmc-opp-zaius.dtb \ |
| 1498 | aspeed-bmc-portwell-neptune.dtb \ | 1518 | aspeed-bmc-portwell-neptune.dtb \ |
| 1499 | aspeed-bmc-quanta-q71l.dtb \ | 1519 | aspeed-bmc-quanta-q71l.dtb \ |
| 1500 | aspeed-bmc-supermicro-x11spi.dtb | 1520 | aspeed-bmc-supermicro-x11spi.dtb \ |
| 1521 | aspeed-bmc-inventec-transformers.dtb \ | ||
| 1522 | aspeed-bmc-tyan-s7106.dtb | ||
| @@ -205,6 +205,7 @@ · 204 unmodified lines | |||
| 205 | 205 | ||
| 206 | &am33xx_pinmux { | 206 | &am33xx_pinmux { |
| 207 | 207 | ||
| 208 | compatible = "pinconf-single"; | ||
| 208 | pinctrl-names = "default"; | 209 | pinctrl-names = "default"; |
| 209 | 210 | ||
| 210 | pinctrl-0 = < &P2_03_gpio &P1_34_gpio &P2_19_gpio &P2_24_gpio | 211 | pinctrl-0 = < &P2_03_gpio &P1_34_gpio &P2_19_gpio &P2_24_gpio |
| @@ -198,96 +198,112 @@ · 197 unmodified lines | |||
| 198 | syscon: syscon@10000000 { | 198 | syscon: syscon@10000000 { |
| 199 | compatible = "arm,realview-eb-syscon", "syscon", "simple-mfd"; | 199 | compatible = "arm,realview-eb-syscon", "syscon", "simple-mfd"; |
| 200 | reg = <0x10000000 0x1000>; | 200 | reg = <0x10000000 0x1000>; |
| 201 | ranges = <0x0 0x10000000 0x1000>; | ||
| 202 | #address-cells = <1>; | ||
| 203 | #size-cells = <1>; | ||
| 201 | 204 | ||
| 202 | led@08.0 { | 205 | led@8,0 { |
| 203 | compatible = "register-bit-led"; | 206 | compatible = "register-bit-led"; |
| 207 | reg = <0x08 0x04>; | ||
| 204 | offset = <0x08>; | 208 | offset = <0x08>; |
| 205 | mask = <0x01>; | 209 | mask = <0x01>; |
| 206 | label = "versatile:0"; | 210 | label = "versatile:0"; |
| 207 | linux,default-trigger = "heartbeat"; | 211 | linux,default-trigger = "heartbeat"; |
| 208 | default-state = "on"; | 212 | default-state = "on"; |
| 209 | }; | 213 | }; |
| 210 | led@08.1 { | 214 | led@8,1 { |
| 211 | compatible = "register-bit-led"; | 215 | compatible = "register-bit-led"; |
| 216 | reg = <0x08 0x04>; | ||
| 212 | offset = <0x08>; | 217 | offset = <0x08>; |
| 213 | mask = <0x02>; | 218 | mask = <0x02>; |
| 214 | label = "versatile:1"; | 219 | label = "versatile:1"; |
| 215 | linux,default-trigger = "mmc0"; | 220 | linux,default-trigger = "mmc0"; |
| 216 | default-state = "off"; | 221 | default-state = "off"; |
| 217 | }; | 222 | }; |
| 218 | led@08.2 { | 223 | led@8,2 { |
| 219 | compatible = "register-bit-led"; | 224 | compatible = "register-bit-led"; |
| 225 | reg = <0x08 0x04>; | ||
| 220 | offset = <0x08>; | 226 | offset = <0x08>; |
| 221 | mask = <0x04>; | 227 | mask = <0x04>; |
| 222 | label = "versatile:2"; | 228 | label = "versatile:2"; |
| 223 | linux,default-trigger = "cpu0"; | 229 | linux,default-trigger = "cpu0"; |
| 224 | default-state = "off"; | 230 | default-state = "off"; |
| 225 | }; | 231 | }; |
| 226 | led@08.3 { | 232 | led@8,3 { |
| 227 | compatible = "register-bit-led"; | 233 | compatible = "register-bit-led"; |
| 234 | reg = <0x08 0x04>; | ||
| 228 | offset = <0x08>; | 235 | offset = <0x08>; |
| 229 | mask = <0x08>; | 236 | mask = <0x08>; |
| 230 | label = "versatile:3"; | 237 | label = "versatile:3"; |
| 231 | default-state = "off"; | 238 | default-state = "off"; |
| 232 | }; | 239 | }; |
| 233 | led@08.4 { | 240 | led@8,4 { |
| 234 | compatible = "register-bit-led"; | 241 | compatible = "register-bit-led"; |
| 242 | reg = <0x08 0x04>; | ||
| 235 | offset = <0x08>; | 243 | offset = <0x08>; |
| 236 | mask = <0x10>; | 244 | mask = <0x10>; |
| 237 | label = "versatile:4"; | 245 | label = "versatile:4"; |
| 238 | default-state = "off"; | 246 | default-state = "off"; |
| 239 | }; | 247 | }; |
| 240 | led@08.5 { | 248 | led@8,5 { |
| 241 | compatible = "register-bit-led"; | 249 | compatible = "register-bit-led"; |
| 250 | reg = <0x08 0x04>; | ||
| 242 | offset = <0x08>; | 251 | offset = <0x08>; |
| 243 | mask = <0x20>; | 252 | mask = <0x20>; |
| 244 | label = "versatile:5"; | 253 | label = "versatile:5"; |
| 245 | default-state = "off"; | 254 | default-state = "off"; |
| 246 | }; | 255 | }; |
| 247 | led@08.6 { | 256 | led@8,6 { |
| 248 | compatible = "register-bit-led"; | 257 | compatible = "register-bit-led"; |
| 258 | reg = <0x08 0x04>; | ||
| 249 | offset = <0x08>; | 259 | offset = <0x08>; |
| 250 | mask = <0x40>; | 260 | mask = <0x40>; |
| 251 | label = "versatile:6"; | 261 | label = "versatile:6"; |
| 252 | default-state = "off"; | 262 | default-state = "off"; |
| 253 | }; | 263 | }; |
| 254 | led@08.7 { | 264 | led@8,7 { |
| 255 | compatible = "register-bit-led"; | 265 | compatible = "register-bit-led"; |
| 266 | reg = <0x08 0x04>; | ||
| 256 | offset = <0x08>; | 267 | offset = <0x08>; |
| 257 | mask = <0x80>; | 268 | mask = <0x80>; |
| 258 | label = "versatile:7"; | 269 | label = "versatile:7"; |
| 259 | default-state = "off"; | 270 | default-state = "off"; |
| 260 | }; | 271 | }; |
| 261 | oscclk0: osc0@0c { | 272 | oscclk0: clock-controller@c { |
| 262 | compatible = "arm,syscon-icst307"; | 273 | compatible = "arm,syscon-icst307"; |
| 274 | reg = <0x0c 0x04>; | ||
| 263 | #clock-cells = <0>; | 275 | #clock-cells = <0>; |
| 264 | lock-offset = <0x20>; | 276 | lock-offset = <0x20>; |
| 265 | vco-offset = <0x0C>; | 277 | vco-offset = <0x0C>; |
| 266 | clocks = <&xtal24mhz>; | 278 | clocks = <&xtal24mhz>; |
| 267 | }; | 279 | }; |
| 268 | oscclk1: osc1@10 { | 280 | oscclk1: clock-controller@10 { |
| 269 | compatible = "arm,syscon-icst307"; | 281 | compatible = "arm,syscon-icst307"; |
| 282 | reg = <0x10 0x04>; | ||
| 270 | #clock-cells = <0>; | 283 | #clock-cells = <0>; |
| 271 | lock-offset = <0x20>; | 284 | lock-offset = <0x20>; |
| 272 | vco-offset = <0x10>; | 285 | vco-offset = <0x10>; |
| 273 | clocks = <&xtal24mhz>; | 286 | clocks = <&xtal24mhz>; |
| 274 | }; | 287 | }; |
| 275 | oscclk2: osc2@14 { | 288 | oscclk2: clock-controller@14 { |
| 276 | compatible = "arm,syscon-icst307"; | 289 | compatible = "arm,syscon-icst307"; |
| 290 | reg = <0x14 0x04>; | ||
| 277 | #clock-cells = <0>; | 291 | #clock-cells = <0>; |
| 278 | lock-offset = <0x20>; | 292 | lock-offset = <0x20>; |
| 279 | vco-offset = <0x14>; | 293 | vco-offset = <0x14>; |
| 280 | clocks = <&xtal24mhz>; | 294 | clocks = <&xtal24mhz>; |
| 281 | }; | 295 | }; |
| 282 | oscclk3: osc3@18 { | 296 | oscclk3: clock-controller@18 { |
| 283 | compatible = "arm,syscon-icst307"; | 297 | compatible = "arm,syscon-icst307"; |
| 298 | reg = <0x18 0x04>; | ||
| 284 | #clock-cells = <0>; | 299 | #clock-cells = <0>; |
| 285 | lock-offset = <0x20>; | 300 | lock-offset = <0x20>; |
| 286 | vco-offset = <0x18>; | 301 | vco-offset = <0x18>; |
| 287 | clocks = <&xtal24mhz>; | 302 | clocks = <&xtal24mhz>; |
| 288 | }; | 303 | }; |
| 289 | oscclk4: osc4@1c { | 304 | oscclk4: clock-controller@1c { |
| 290 | compatible = "arm,syscon-icst307"; | 305 | compatible = "arm,syscon-icst307"; |
| 306 | reg = <0x1c 0x04>; | ||
| 291 | #clock-cells = <0>; | 307 | #clock-cells = <0>; |
| 292 | lock-offset = <0x20>; | 308 | lock-offset = <0x20>; |
| 293 | vco-offset = <0x1c>; | 309 | vco-offset = <0x1c>; |
| @@ -216,96 +216,112 @@ · 215 unmodified lines | |||
| 216 | syscon: syscon@10000000 { | 216 | syscon: syscon@10000000 { |
| 217 | compatible = "arm,realview-pb1176-syscon", "syscon", "simple-mfd"; | 217 | compatible = "arm,realview-pb1176-syscon", "syscon", "simple-mfd"; |
| 218 | reg = <0x10000000 0x1000>; | 218 | reg = <0x10000000 0x1000>; |
| 219 | ranges = <0x0 0x10000000 0x1000>; | ||
| 220 | #address-cells = <1>; | ||
| 221 | #size-cells = <1>; | ||
| 219 | 222 | ||
| 220 | led@08.0 { | 223 | led@8,0 { |
| 221 | compatible = "register-bit-led"; | 224 | compatible = "register-bit-led"; |
| 225 | reg = <0x08 0x04>; | ||
| 222 | offset = <0x08>; | 226 | offset = <0x08>; |
| 223 | mask = <0x01>; | 227 | mask = <0x01>; |
| 224 | label = "versatile:0"; | 228 | label = "versatile:0"; |
| 225 | linux,default-trigger = "heartbeat"; | 229 | linux,default-trigger = "heartbeat"; |
| 226 | default-state = "on"; | 230 | default-state = "on"; |
| 227 | }; | 231 | }; |
| 228 | led@08.1 { | 232 | led@8,1 { |
| 229 | compatible = "register-bit-led"; | 233 | compatible = "register-bit-led"; |
| 234 | reg = <0x08 0x04>; | ||
| 230 | offset = <0x08>; | 235 | offset = <0x08>; |
| 231 | mask = <0x02>; | 236 | mask = <0x02>; |
| 232 | label = "versatile:1"; | 237 | label = "versatile:1"; |
| 233 | linux,default-trigger = "mmc0"; | 238 | linux,default-trigger = "mmc0"; |
| 234 | default-state = "off"; | 239 | default-state = "off"; |
| 235 | }; | 240 | }; |
| 236 | led@08.2 { | 241 | led@8,2 { |
| 237 | compatible = "register-bit-led"; | 242 | compatible = "register-bit-led"; |
| 243 | reg = <0x08 0x04>; | ||
| 238 | offset = <0x08>; | 244 | offset = <0x08>; |
| 239 | mask = <0x04>; | 245 | mask = <0x04>; |
| 240 | label = "versatile:2"; | 246 | label = "versatile:2"; |
| 241 | linux,default-trigger = "cpu0"; | 247 | linux,default-trigger = "cpu0"; |
| 242 | default-state = "off"; | 248 | default-state = "off"; |
| 243 | }; | 249 | }; |
| 244 | led@08.3 { | 250 | led@8,3 { |
| 245 | compatible = "register-bit-led"; | 251 | compatible = "register-bit-led"; |
| 252 | reg = <0x08 0x04>; | ||
| 246 | offset = <0x08>; | 253 | offset = <0x08>; |
| 247 | mask = <0x08>; | 254 | mask = <0x08>; |
| 248 | label = "versatile:3"; | 255 | label = "versatile:3"; |
| 249 | default-state = "off"; | 256 | default-state = "off"; |
| 250 | }; | 257 | }; |
| 251 | led@08.4 { | 258 | led@8,4 { |
| 252 | compatible = "register-bit-led"; | 259 | compatible = "register-bit-led"; |
| 260 | reg = <0x08 0x04>; | ||
| 253 | offset = <0x08>; | 261 | offset = <0x08>; |
| 254 | mask = <0x10>; | 262 | mask = <0x10>; |
| 255 | label = "versatile:4"; | 263 | label = "versatile:4"; |
| 256 | default-state = "off"; | 264 | default-state = "off"; |
| 257 | }; | 265 | }; |
| 258 | led@08.5 { | 266 | led@8,5 { |
| 259 | compatible = "register-bit-led"; | 267 | compatible = "register-bit-led"; |
| 268 | reg = <0x08 0x04>; | ||
| 260 | offset = <0x08>; | 269 | offset = <0x08>; |
| 261 | mask = <0x20>; | 270 | mask = <0x20>; |
| 262 | label = "versatile:5"; | 271 | label = "versatile:5"; |
| 263 | default-state = "off"; | 272 | default-state = "off"; |
| 264 | }; | 273 | }; |
| 265 | led@08.6 { | 274 | led@8,6 { |
| 266 | compatible = "register-bit-led"; | 275 | compatible = "register-bit-led"; |
| 276 | reg = <0x08 0x04>; | ||
| 267 | offset = <0x08>; | 277 | offset = <0x08>; |
| 268 | mask = <0x40>; | 278 | mask = <0x40>; |
| 269 | label = "versatile:6"; | 279 | label = "versatile:6"; |
| 270 | default-state = "off"; | 280 | default-state = "off"; |
| 271 | }; | 281 | }; |
| 272 | led@08.7 { | 282 | led@8,7 { |
| 273 | compatible = "register-bit-led"; | 283 | compatible = "register-bit-led"; |
| 284 | reg = <0x08 0x04>; | ||
| 274 | offset = <0x08>; | 285 | offset = <0x08>; |
| 275 | mask = <0x80>; | 286 | mask = <0x80>; |
| 276 | label = "versatile:7"; | 287 | label = "versatile:7"; |
| 277 | default-state = "off"; | 288 | default-state = "off"; |
| 278 | }; | 289 | }; |
| 279 | oscclk0: osc0@0c { | 290 | oscclk0: clock-controller@c { |
| 280 | compatible = "arm,syscon-icst307"; | 291 | compatible = "arm,syscon-icst307"; |
| 292 | reg = <0x0c 0x04>; | ||
| 281 | #clock-cells = <0>; | 293 | #clock-cells = <0>; |
| 282 | lock-offset = <0x20>; | 294 | lock-offset = <0x20>; |
| 283 | vco-offset = <0x0C>; | 295 | vco-offset = <0x0C>; |
| 284 | clocks = <&xtal24mhz>; | 296 | clocks = <&xtal24mhz>; |
| 285 | }; | 297 | }; |
| 286 | oscclk1: osc1@10 { | 298 | oscclk1: clock-controller@10 { |
| 287 | compatible = "arm,syscon-icst307"; | 299 | compatible = "arm,syscon-icst307"; |
| 300 | reg = <0x10 0x04>; | ||
| 288 | #clock-cells = <0>; | 301 | #clock-cells = <0>; |
| 289 | lock-offset = <0x20>; | 302 | lock-offset = <0x20>; |
| 290 | vco-offset = <0x10>; | 303 | vco-offset = <0x10>; |
| 291 | clocks = <&xtal24mhz>; | 304 | clocks = <&xtal24mhz>; |
| 292 | }; | 305 | }; |
| 293 | oscclk2: osc2@14 { | 306 | oscclk2: clock-controller@14 { |
| 294 | compatible = "arm,syscon-icst307"; | 307 | compatible = "arm,syscon-icst307"; |
| 308 | reg = <0x14 0x04>; | ||
| 295 | #clock-cells = <0>; | 309 | #clock-cells = <0>; |
| 296 | lock-offset = <0x20>; | 310 | lock-offset = <0x20>; |
| 297 | vco-offset = <0x14>; | 311 | vco-offset = <0x14>; |
| 298 | clocks = <&xtal24mhz>; | 312 | clocks = <&xtal24mhz>; |
| 299 | }; | 313 | }; |
| 300 | oscclk3: osc3@18 { | 314 | oscclk3: clock-controller@18 { |
| 301 | compatible = "arm,syscon-icst307"; | 315 | compatible = "arm,syscon-icst307"; |
| 316 | reg = <0x18 0x04>; | ||
| 302 | #clock-cells = <0>; | 317 | #clock-cells = <0>; |
| 303 | lock-offset = <0x20>; | 318 | lock-offset = <0x20>; |
| 304 | vco-offset = <0x18>; | 319 | vco-offset = <0x18>; |
| 305 | clocks = <&xtal24mhz>; | 320 | clocks = <&xtal24mhz>; |
| 306 | }; | 321 | }; |
| 307 | oscclk4: osc4@1c { | 322 | oscclk4: clock-controller@1c { |
| 308 | compatible = "arm,syscon-icst307"; | 323 | compatible = "arm,syscon-icst307"; |
| 324 | reg = <0x1c 0x04>; | ||
| 309 | #clock-cells = <0>; | 325 | #clock-cells = <0>; |
| 310 | lock-offset = <0x20>; | 326 | lock-offset = <0x20>; |
| 311 | vco-offset = <0x1c>; | 327 | vco-offset = <0x1c>; |
| @@ -303,114 +303,132 @@ · 302 unmodified lines | |||
| 303 | pb11mp_syscon: syscon@10000000 { | 303 | pb11mp_syscon: syscon@10000000 { |
| 304 | compatible = "arm,realview-pb11mp-syscon", "syscon", "simple-mfd"; | 304 | compatible = "arm,realview-pb11mp-syscon", "syscon", "simple-mfd"; |
| 305 | reg = <0x10000000 0x1000>; | 305 | reg = <0x10000000 0x1000>; |
| 306 | ranges = <0x0 0x10000000 0x1000>; | ||
| 307 | #address-cells = <1>; | ||
| 308 | #size-cells = <1>; | ||
| 306 | 309 | ||
| 307 | led@08.0 { | 310 | led@8,0 { |
| 308 | compatible = "register-bit-led"; | 311 | compatible = "register-bit-led"; |
| 312 | reg = <0x08 0x04>; | ||
| 309 | offset = <0x08>; | 313 | offset = <0x08>; |
| 310 | mask = <0x01>; | 314 | mask = <0x01>; |
| 311 | label = "versatile:0"; | 315 | label = "versatile:0"; |
| 312 | linux,default-trigger = "heartbeat"; | 316 | linux,default-trigger = "heartbeat"; |
| 313 | default-state = "on"; | 317 | default-state = "on"; |
| 314 | }; | 318 | }; |
| 315 | led@08.1 { | 319 | led@8,1 { |
| 316 | compatible = "register-bit-led"; | 320 | compatible = "register-bit-led"; |
| 321 | reg = <0x08 0x04>; | ||
| 317 | offset = <0x08>; | 322 | offset = <0x08>; |
| 318 | mask = <0x02>; | 323 | mask = <0x02>; |
| 319 | label = "versatile:1"; | 324 | label = "versatile:1"; |
| 320 | linux,default-trigger = "mmc0"; | 325 | linux,default-trigger = "mmc0"; |
| 321 | default-state = "off"; | 326 | default-state = "off"; |
| 322 | }; | 327 | }; |
| 323 | led@08.2 { | 328 | led@8,2 { |
| 324 | compatible = "register-bit-led"; | 329 | compatible = "register-bit-led"; |
| 330 | reg = <0x08 0x04>; | ||
| 325 | offset = <0x08>; | 331 | offset = <0x08>; |
| 326 | mask = <0x04>; | 332 | mask = <0x04>; |
| 327 | label = "versatile:2"; | 333 | label = "versatile:2"; |
| 328 | linux,default-trigger = "cpu0"; | 334 | linux,default-trigger = "cpu0"; |
| 329 | default-state = "off"; | 335 | default-state = "off"; |
| 330 | }; | 336 | }; |
| 331 | led@08.3 { | 337 | led@8,3 { |
| 332 | compatible = "register-bit-led"; | 338 | compatible = "register-bit-led"; |
| 339 | reg = <0x08 0x04>; | ||
| 333 | offset = <0x08>; | 340 | offset = <0x08>; |
| 334 | mask = <0x08>; | 341 | mask = <0x08>; |
| 335 | label = "versatile:3"; | 342 | label = "versatile:3"; |
| 336 | linux,default-trigger = "cpu1"; | 343 | linux,default-trigger = "cpu1"; |
| 337 | default-state = "off"; | 344 | default-state = "off"; |
| 338 | }; | 345 | }; |
| 339 | led@08.4 { | 346 | led@8,4 { |
| 340 | compatible = "register-bit-led"; | 347 | compatible = "register-bit-led"; |
| 348 | reg = <0x08 0x04>; | ||
| 341 | offset = <0x08>; | 349 | offset = <0x08>; |
| 342 | mask = <0x10>; | 350 | mask = <0x10>; |
| 343 | label = "versatile:4"; | 351 | label = "versatile:4"; |
| 344 | linux,default-trigger = "cpu2"; | 352 | linux,default-trigger = "cpu2"; |
| 345 | default-state = "off"; | 353 | default-state = "off"; |
| 346 | }; | 354 | }; |
| 347 | led@08.5 { | 355 | led@8,5 { |
| 348 | compatible = "register-bit-led"; | 356 | compatible = "register-bit-led"; |
| 357 | reg = <0x08 0x04>; | ||
| 349 | offset = <0x08>; | 358 | offset = <0x08>; |
| 350 | mask = <0x20>; | 359 | mask = <0x20>; |
| 351 | label = "versatile:5"; | 360 | label = "versatile:5"; |
| 352 | linux,default-trigger = "cpu3"; | 361 | linux,default-trigger = "cpu3"; |
| 353 | default-state = "off"; | 362 | default-state = "off"; |
| 354 | }; | 363 | }; |
| 355 | led@08.6 { | 364 | led@8,6 { |
| 356 | compatible = "register-bit-led"; | 365 | compatible = "register-bit-led"; |
| 366 | reg = <0x08 0x04>; | ||
| 357 | offset = <0x08>; | 367 | offset = <0x08>; |
| 358 | mask = <0x40>; | 368 | mask = <0x40>; |
| 359 | label = "versatile:6"; | 369 | label = "versatile:6"; |
| 360 | default-state = "off"; | 370 | default-state = "off"; |
| 361 | }; | 371 | }; |
| 362 | led@08.7 { | 372 | led@8,7 { |
| 363 | compatible = "register-bit-led"; | 373 | compatible = "register-bit-led"; |
| 374 | reg = <0x08 0x04>; | ||
| 364 | offset = <0x08>; | 375 | offset = <0x08>; |
| 365 | mask = <0x80>; | 376 | mask = <0x80>; |
| 366 | label = "versatile:7"; | 377 | label = "versatile:7"; |
| 367 | default-state = "off"; | 378 | default-state = "off"; |
| 368 | }; | 379 | }; |
| 369 | 380 | ||
| 370 | oscclk0: osc0@0c { | 381 | oscclk0: clock-controller@c { |
| 371 | compatible = "arm,syscon-icst307"; | 382 | compatible = "arm,syscon-icst307"; |
| 383 | reg = <0x0c 0x04>; | ||
| 372 | #clock-cells = <0>; | 384 | #clock-cells = <0>; |
| 373 | lock-offset = <0x20>; | 385 | lock-offset = <0x20>; |
| 374 | vco-offset = <0x0C>; | 386 | vco-offset = <0x0C>; |
| 375 | clocks = <&xtal24mhz>; | 387 | clocks = <&xtal24mhz>; |
| 376 | }; | 388 | }; |
| 377 | oscclk1: osc1@10 { | 389 | oscclk1: clock-controller@10 { |
| 378 | compatible = "arm,syscon-icst307"; | 390 | compatible = "arm,syscon-icst307"; |
| 391 | reg = <0x10 0x04>; | ||
| 379 | #clock-cells = <0>; | 392 | #clock-cells = <0>; |
| 380 | lock-offset = <0x20>; | 393 | lock-offset = <0x20>; |
| 381 | vco-offset = <0x10>; | 394 | vco-offset = <0x10>; |
| 382 | clocks = <&xtal24mhz>; | 395 | clocks = <&xtal24mhz>; |
| 383 | }; | 396 | }; |
| 384 | oscclk2: osc2@14 { | 397 | oscclk2: clock-controller@14 { |
| 385 | compatible = "arm,syscon-icst307"; | 398 | compatible = "arm,syscon-icst307"; |
| 399 | reg = <0x14 0x04>; | ||
| 386 | #clock-cells = <0>; | 400 | #clock-cells = <0>; |
| 387 | lock-offset = <0x20>; | 401 | lock-offset = <0x20>; |
| 388 | vco-offset = <0x14>; | 402 | vco-offset = <0x14>; |
| 389 | clocks = <&xtal24mhz>; | 403 | clocks = <&xtal24mhz>; |
| 390 | }; | 404 | }; |
| 391 | oscclk3: osc3@18 { | 405 | oscclk3: clock-controller@18 { |
| 392 | compatible = "arm,syscon-icst307"; | 406 | compatible = "arm,syscon-icst307"; |
| 407 | reg = <0x18 0x04>; | ||
| 393 | #clock-cells = <0>; | 408 | #clock-cells = <0>; |
| 394 | lock-offset = <0x20>; | 409 | lock-offset = <0x20>; |
| 395 | vco-offset = <0x18>; | 410 | vco-offset = <0x18>; |
| 396 | clocks = <&xtal24mhz>; | 411 | clocks = <&xtal24mhz>; |
| 397 | }; | 412 | }; |
| 398 | oscclk4: osc4@1c { | 413 | oscclk4: clock-controller@1c { |
| 399 | compatible = "arm,syscon-icst307"; | 414 | compatible = "arm,syscon-icst307"; |
| 415 | reg = <0x1c 0x04>; | ||
| 400 | #clock-cells = <0>; | 416 | #clock-cells = <0>; |
| 401 | lock-offset = <0x20>; | 417 | lock-offset = <0x20>; |
| 402 | vco-offset = <0x1c>; | 418 | vco-offset = <0x1c>; |
| 403 | clocks = <&xtal24mhz>; | 419 | clocks = <&xtal24mhz>; |
| 404 | }; | 420 | }; |
| 405 | oscclk5: osc5@d4 { | 421 | oscclk5: clock-controller@d4 { |
| 406 | compatible = "arm,syscon-icst307"; | 422 | compatible = "arm,syscon-icst307"; |
| 423 | reg = <0xd4 0x04>; | ||
| 407 | #clock-cells = <0>; | 424 | #clock-cells = <0>; |
| 408 | lock-offset = <0x20>; | 425 | lock-offset = <0x20>; |
| 409 | vco-offset = <0xd4>; | 426 | vco-offset = <0xd4>; |
| 410 | clocks = <&xtal24mhz>; | 427 | clocks = <&xtal24mhz>; |
| 411 | }; | 428 | }; |
| 412 | oscclk6: osc6@d8 { | 429 | oscclk6: clock-controller@d8 { |
| 413 | compatible = "arm,syscon-icst307"; | 430 | compatible = "arm,syscon-icst307"; |
| 431 | reg = <0xd8 0x04>; | ||
| 414 | #clock-cells = <0>; | 432 | #clock-cells = <0>; |
| 415 | lock-offset = <0x20>; | 433 | lock-offset = <0x20>; |
| 416 | vco-offset = <0xd8>; | 434 | vco-offset = <0xd8>; |
| @@ -220,96 +220,112 @@ · 219 unmodified lines | |||
| 220 | syscon: syscon@10000000 { | 220 | syscon: syscon@10000000 { |
| 221 | compatible = "arm,realview-pbx-syscon", "syscon", "simple-mfd"; | 221 | compatible = "arm,realview-pbx-syscon", "syscon", "simple-mfd"; |
| 222 | reg = <0x10000000 0x1000>; | 222 | reg = <0x10000000 0x1000>; |
| 223 | ranges = <0x0 0x10000000 0x1000>; | ||
| 224 | #address-cells = <1>; | ||
| 225 | #size-cells = <1>; | ||
| 223 | 226 | ||
| 224 | led@08.0 { | 227 | led@8,0 { |
| 225 | compatible = "register-bit-led"; | 228 | compatible = "register-bit-led"; |
| 229 | reg = <0x08 0x04>; | ||
| 226 | offset = <0x08>; | 230 | offset = <0x08>; |
| 227 | mask = <0x01>; | 231 | mask = <0x01>; |
| 228 | label = "versatile:0"; | 232 | label = "versatile:0"; |
| 229 | linux,default-trigger = "heartbeat"; | 233 | linux,default-trigger = "heartbeat"; |
| 230 | default-state = "on"; | 234 | default-state = "on"; |
| 231 | }; | 235 | }; |
| 232 | led@08.1 { | 236 | led@8,1 { |
| 233 | compatible = "register-bit-led"; | 237 | compatible = "register-bit-led"; |
| 238 | reg = <0x08 0x04>; | ||
| 234 | offset = <0x08>; | 239 | offset = <0x08>; |
| 235 | mask = <0x02>; | 240 | mask = <0x02>; |
| 236 | label = "versatile:1"; | 241 | label = "versatile:1"; |
| 237 | linux,default-trigger = "mmc0"; | 242 | linux,default-trigger = "mmc0"; |
| 238 | default-state = "off"; | 243 | default-state = "off"; |
| 239 | }; | 244 | }; |
| 240 | led@08.2 { | 245 | led@8,2 { |
| 241 | compatible = "register-bit-led"; | 246 | compatible = "register-bit-led"; |
| 247 | reg = <0x08 0x04>; | ||
| 242 | offset = <0x08>; | 248 | offset = <0x08>; |
| 243 | mask = <0x04>; | 249 | mask = <0x04>; |
| 244 | label = "versatile:2"; | 250 | label = "versatile:2"; |
| 245 | linux,default-trigger = "cpu0"; | 251 | linux,default-trigger = "cpu0"; |
| 246 | default-state = "off"; | 252 | default-state = "off"; |
| 247 | }; | 253 | }; |
| 248 | led@08.3 { | 254 | led@8,3 { |
| 249 | compatible = "register-bit-led"; | 255 | compatible = "register-bit-led"; |
| 256 | reg = <0x08 0x04>; | ||
| 250 | offset = <0x08>; | 257 | offset = <0x08>; |
| 251 | mask = <0x08>; | 258 | mask = <0x08>; |
| 252 | label = "versatile:3"; | 259 | label = "versatile:3"; |
| 253 | default-state = "off"; | 260 | default-state = "off"; |
| 254 | }; | 261 | }; |
| 255 | led@08.4 { | 262 | led@8,4 { |
| 256 | compatible = "register-bit-led"; | 263 | compatible = "register-bit-led"; |
| 264 | reg = <0x08 0x04>; | ||
| 257 | offset = <0x08>; | 265 | offset = <0x08>; |
| 258 | mask = <0x10>; | 266 | mask = <0x10>; |
| 259 | label = "versatile:4"; | 267 | label = "versatile:4"; |
| 260 | default-state = "off"; | 268 | default-state = "off"; |
| 261 | }; | 269 | }; |
| 262 | led@08.5 { | 270 | led@8,5 { |
| 263 | compatible = "register-bit-led"; | 271 | compatible = "register-bit-led"; |
| 272 | reg = <0x08 0x04>; | ||
| 264 | offset = <0x08>; | 273 | offset = <0x08>; |
| 265 | mask = <0x20>; | 274 | mask = <0x20>; |
| 266 | label = "versatile:5"; | 275 | label = "versatile:5"; |
| 267 | default-state = "off"; | 276 | default-state = "off"; |
| 268 | }; | 277 | }; |
| 269 | led@08.6 { | 278 | led@8,6 { |
| 270 | compatible = "register-bit-led"; | 279 | compatible = "register-bit-led"; |
| 280 | reg = <0x08 0x04>; | ||
| 271 | offset = <0x08>; | 281 | offset = <0x08>; |
| 272 | mask = <0x40>; | 282 | mask = <0x40>; |
| 273 | label = "versatile:6"; | 283 | label = "versatile:6"; |
| 274 | default-state = "off"; | 284 | default-state = "off"; |
| 275 | }; | 285 | }; |
| 276 | led@08.7 { | 286 | led@8,7 { |
| 277 | compatible = "register-bit-led"; | 287 | compatible = "register-bit-led"; |
| 288 | reg = <0x08 0x04>; | ||
| 278 | offset = <0x08>; | 289 | offset = <0x08>; |
| 279 | mask = <0x80>; | 290 | mask = <0x80>; |
| 280 | label = "versatile:7"; | 291 | label = "versatile:7"; |
| 281 | default-state = "off"; | 292 | default-state = "off"; |
| 282 | }; | 293 | }; |
| 283 | oscclk0: osc0@0c { | 294 | oscclk0: clock-controller@c { |
| 284 | compatible = "arm,syscon-icst307"; | 295 | compatible = "arm,syscon-icst307"; |
| 296 | reg = <0x0c 0x04>; | ||
| 285 | #clock-cells = <0>; | 297 | #clock-cells = <0>; |
| 286 | lock-offset = <0x20>; | 298 | lock-offset = <0x20>; |
| 287 | vco-offset = <0x0C>; | 299 | vco-offset = <0x0C>; |
| 288 | clocks = <&xtal24mhz>; | 300 | clocks = <&xtal24mhz>; |
| 289 | }; | 301 | }; |
| 290 | oscclk1: osc1@10 { | 302 | oscclk1: clock-controller@10 { |
| 291 | compatible = "arm,syscon-icst307"; | 303 | compatible = "arm,syscon-icst307"; |
| 304 | reg = <0x10 0x04>; | ||
| 292 | #clock-cells = <0>; | 305 | #clock-cells = <0>; |
| 293 | lock-offset = <0x20>; | 306 | lock-offset = <0x20>; |
| 294 | vco-offset = <0x10>; | 307 | vco-offset = <0x10>; |
| 295 | clocks = <&xtal24mhz>; | 308 | clocks = <&xtal24mhz>; |
| 296 | }; | 309 | }; |
| 297 | oscclk2: osc2@14 { | 310 | oscclk2: clock-controller@14 { |
| 298 | compatible = "arm,syscon-icst307"; | 311 | compatible = "arm,syscon-icst307"; |
| 312 | reg = <0x14 0x04>; | ||
| 299 | #clock-cells = <0>; | 313 | #clock-cells = <0>; |
| 300 | lock-offset = <0x20>; | 314 | lock-offset = <0x20>; |
| 301 | vco-offset = <0x14>; | 315 | vco-offset = <0x14>; |
| 302 | clocks = <&xtal24mhz>; | 316 | clocks = <&xtal24mhz>; |
| 303 | }; | 317 | }; |
| 304 | oscclk3: osc3@18 { | 318 | oscclk3: clock-controller@18 { |
| 305 | compatible = "arm,syscon-icst307"; | 319 | compatible = "arm,syscon-icst307"; |
| 320 | reg = <0x18 0x04>; | ||
| 306 | #clock-cells = <0>; | 321 | #clock-cells = <0>; |
| 307 | lock-offset = <0x20>; | 322 | lock-offset = <0x20>; |
| 308 | vco-offset = <0x18>; | 323 | vco-offset = <0x18>; |
| 309 | clocks = <&xtal24mhz>; | 324 | clocks = <&xtal24mhz>; |
| 310 | }; | 325 | }; |
| 311 | oscclk4: osc4@1c { | 326 | oscclk4: clock-controller@1c { |
| 312 | compatible = "arm,syscon-icst307"; | 327 | compatible = "arm,syscon-icst307"; |
| 328 | reg = <0x1c 0x04>; | ||
| 313 | #clock-cells = <0>; | 329 | #clock-cells = <0>; |
| 314 | lock-offset = <0x20>; | 330 | lock-offset = <0x20>; |
| 315 | vco-offset = <0x1c>; | 331 | vco-offset = <0x1c>; |
| @@ -0,0 +1,295 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later OR MIT | ||
| 2 | /* Copyright (c) 2021, Marcel Ziswiler <marcel@ziswiler.com> */ | ||
| 3 | |||
| 4 | /dts-v1/; | ||
| 5 | #include "armada-385.dtsi" | ||
| 6 | #include <dt-bindings/gpio/gpio.h> | ||
| 7 | #include <dt-bindings/input/input.h> | ||
| 8 | |||
| 9 | / { | ||
| 10 | model = "Netgear GS110EMX"; | ||
| 11 | compatible = "netgear,gs110emx", "marvell,armada380"; | ||
| 12 | |||
| 13 | aliases { | ||
| 14 | /* So that mvebu u-boot can update the MAC addresses */ | ||
| 15 | ethernet1 = ð0; | ||
| 16 | }; | ||
| 17 | |||
| 18 | chosen { | ||
| 19 | stdout-path = "serial0:115200n8"; | ||
| 20 | }; | ||
| 21 | |||
| 22 | gpio-keys { | ||
| 23 | compatible = "gpio-keys"; | ||
| 24 | pinctrl-0 = <&front_button_pins>; | ||
| 25 | pinctrl-names = "default"; | ||
| 26 | |||
| 27 | factory_default { | ||
| 28 | label = "Factory Default"; | ||
| 29 | gpios = <&gpio1 6 GPIO_ACTIVE_LOW>; | ||
| 30 | linux,code = <KEY_RESTART>; | ||
| 31 | }; | ||
| 32 | }; | ||
| 33 | |||
| 34 | memory { | ||
| 35 | device_type = "memory"; | ||
| 36 | reg = <0x00000000 0x08000000>; /* 128 MB */ | ||
| 37 | }; | ||
| 38 | |||
| 39 | soc { | ||
| 40 | ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000 | ||
| 41 | MBUS_ID(0x01, 0x1d) 0 0xfff00000 0x100000 | ||
| 42 | MBUS_ID(0x09, 0x19) 0 0xf1100000 0x10000 | ||
| 43 | MBUS_ID(0x09, 0x15) 0 0xf1110000 0x10000 | ||
| 44 | MBUS_ID(0x0c, 0x04) 0 0xf1200000 0x100000>; | ||
| 45 | |||
| 46 | internal-regs { | ||
| 47 | rtc@a3800 { | ||
| 48 | /* | ||
| 49 | * If the rtc doesn't work, run "date reset" | ||
| 50 | * twice in u-boot. | ||
| 51 | */ | ||
| 52 | status = "okay"; | ||
| 53 | }; | ||
| 54 | }; | ||
| 55 | }; | ||
| 56 | }; | ||
| 57 | |||
| 58 | ð0 { | ||
| 59 | /* ethernet@70000 */ | ||
| 60 | bm,pool-long = <0>; | ||
| 61 | bm,pool-short = <1>; | ||
| 62 | buffer-manager = <&bm>; | ||
| 63 | phy-mode = "rgmii-id"; | ||
| 64 | pinctrl-0 = <&ge0_rgmii_pins>; | ||
| 65 | pinctrl-names = "default"; | ||
| 66 | status = "okay"; | ||
| 67 | |||
| 68 | fixed-link { | ||
| 69 | full-duplex; | ||
| 70 | pause; | ||
| 71 | speed = <1000>; | ||
| 72 | }; | ||
| 73 | }; | ||
| 74 | |||
| 75 | &mdio { | ||
| 76 | pinctrl-names = "default"; | ||
| 77 | pinctrl-0 = <&mdio_pins>; | ||
| 78 | status = "okay"; | ||
| 79 | |||
| 80 | switch@0 { | ||
| 81 | compatible = "marvell,mv88e6190"; | ||
| 82 | #address-cells = <1>; | ||
| 83 | #interrupt-cells = <2>; | ||
| 84 | interrupt-controller; | ||
| 85 | interrupt-parent = <&gpio1>; | ||
| 86 | interrupts = <7 IRQ_TYPE_LEVEL_LOW>; | ||
| 87 | pinctrl-0 = <&switch_interrupt_pins>; | ||
| 88 | pinctrl-names = "default"; | ||
| 89 | #size-cells = <0>; | ||
| 90 | reg = <0>; | ||
| 91 | |||
| 92 | mdio { | ||
| 93 | #address-cells = <1>; | ||
| 94 | #size-cells = <0>; | ||
| 95 | |||
| 96 | switch0phy1: switch0phy1@1 { | ||
| 97 | reg = <0x1>; | ||
| 98 | }; | ||
| 99 | |||
| 100 | switch0phy2: switch0phy2@2 { | ||
| 101 | reg = <0x2>; | ||
| 102 | }; | ||
| 103 | |||
| 104 | switch0phy3: switch0phy3@3 { | ||
| 105 | reg = <0x3>; | ||
| 106 | }; | ||
| 107 | |||
| 108 | switch0phy4: switch0phy4@4 { | ||
| 109 | reg = <0x4>; | ||
| 110 | }; | ||
| 111 | |||
| 112 | switch0phy5: switch0phy5@5 { | ||
| 113 | reg = <0x5>; | ||
| 114 | }; | ||
| 115 | |||
| 116 | switch0phy6: switch0phy6@6 { | ||
| 117 | reg = <0x6>; | ||
| 118 | }; | ||
| 119 | |||
| 120 | switch0phy7: switch0phy7@7 { | ||
| 121 | reg = <0x7>; | ||
| 122 | }; | ||
| 123 | |||
| 124 | switch0phy8: switch0phy8@8 { | ||
| 125 | reg = <0x8>; | ||
| 126 | }; | ||
| 127 | }; | ||
| 128 | |||
| 129 | mdio-external { | ||
| 130 | compatible = "marvell,mv88e6xxx-mdio-external"; | ||
| 131 | #address-cells = <1>; | ||
| 132 | #size-cells = <0>; | ||
| 133 | |||
| 134 | phy1: ethernet-phy@b { | ||
| 135 | reg = <0xb>; | ||
| 136 | compatible = "ethernet-phy-ieee802.3-c45"; | ||
| 137 | }; | ||
| 138 | |||
| 139 | phy2: ethernet-phy@c { | ||
| 140 | reg = <0xc>; | ||
| 141 | compatible = "ethernet-phy-ieee802.3-c45"; | ||
| 142 | }; | ||
| 143 | }; | ||
| 144 | |||
| 145 | ports { | ||
| 146 | #address-cells = <1>; | ||
| 147 | #size-cells = <0>; | ||
| 148 | |||
| 149 | port@0 { | ||
| 150 | ethernet = <ð0>; | ||
| 151 | label = "cpu"; | ||
| 152 | reg = <0>; | ||
| 153 | |||
| 154 | fixed-link { | ||
| 155 | full-duplex; | ||
| 156 | pause; | ||
| 157 | speed = <1000>; | ||
| 158 | }; | ||
| 159 | }; | ||
| 160 | |||
| 161 | port@1 { | ||
| 162 | label = "lan1"; | ||
| 163 | phy-handle = <&switch0phy1>; | ||
| 164 | reg = <1>; | ||
| 165 | }; | ||
| 166 | |||
| 167 | port@2 { | ||
| 168 | label = "lan2"; | ||
| 169 | phy-handle = <&switch0phy2>; | ||
| 170 | reg = <2>; | ||
| 171 | }; | ||
| 172 | |||
| 173 | port@3 { | ||
| 174 | label = "lan3"; | ||
| 175 | phy-handle = <&switch0phy3>; | ||
| 176 | reg = <3>; | ||
| 177 | }; | ||
| 178 | |||
| 179 | port@4 { | ||
| 180 | label = "lan4"; | ||
| 181 | phy-handle = <&switch0phy4>; | ||
| 182 | reg = <4>; | ||
| 183 | }; | ||
| 184 | |||
| 185 | port@5 { | ||
| 186 | label = "lan5"; | ||
| 187 | phy-handle = <&switch0phy5>; | ||
| 188 | reg = <5>; | ||
| 189 | }; | ||
| 190 | |||
| 191 | port@6 { | ||
| 192 | label = "lan6"; | ||
| 193 | phy-handle = <&switch0phy6>; | ||
| 194 | reg = <6>; | ||
| 195 | }; | ||
| 196 | |||
| 197 | port@7 { | ||
| 198 | label = "lan7"; | ||
| 199 | phy-handle = <&switch0phy7>; | ||
| 200 | reg = <7>; | ||
| 201 | }; | ||
| 202 | |||
| 203 | port@8 { | ||
| 204 | label = "lan8"; | ||
| 205 | phy-handle = <&switch0phy8>; | ||
| 206 | reg = <8>; | ||
| 207 | }; | ||
| 208 | |||
| 209 | port@9 { | ||
| 210 | /* 88X3310P external phy */ | ||
| 211 | label = "lan9"; | ||
| 212 | phy-handle = <&phy1>; | ||
| 213 | phy-mode = "xaui"; | ||
| 214 | reg = <9>; | ||
| 215 | }; | ||
| 216 | |||
| 217 | port@a { | ||
| 218 | /* 88X3310P external phy */ | ||
| 219 | label = "lan10"; | ||
| 220 | phy-handle = <&phy2>; | ||
| 221 | phy-mode = "xaui"; | ||
| 222 | reg = <0xa>; | ||
| 223 | }; | ||
| 224 | }; | ||
| 225 | }; | ||
| 226 | }; | ||
| 227 | |||
| 228 | &pinctrl { | ||
| 229 | front_button_pins: front-button-pins { | ||
| 230 | marvell,pins = "mpp38"; | ||
| 231 | marvell,function = "gpio"; | ||
| 232 | }; | ||
| 233 | |||
| 234 | switch_interrupt_pins: switch-interrupt-pins { | ||
| 235 | marvell,pins = "mpp39"; | ||
| 236 | marvell,function = "gpio"; | ||
| 237 | }; | ||
| 238 | }; | ||
| 239 | |||
| 240 | &spi0 { | ||
| 241 | pinctrl-0 = <&spi0_pins>; | ||
| 242 | pinctrl-names = "default"; | ||
| 243 | status = "okay"; | ||
| 244 | |||
| 245 | spi-flash@0 { | ||
| 246 | #address-cells = <1>; | ||
| 247 | #size-cells = <1>; | ||
| 248 | compatible = "jedec,spi-nor"; | ||
| 249 | reg = <0>; /* Chip select 0 */ | ||
| 250 | spi-max-frequency = <3000000>; | ||
| 251 | |||
| 252 | partitions { | ||
| 253 | compatible = "fixed-partitions"; | ||
| 254 | #address-cells = <1>; | ||
| 255 | #size-cells = <1>; | ||
| 256 | |||
| 257 | partition@0 { | ||
| 258 | label = "boot"; | ||
| 259 | read-only; | ||
| 260 | reg = <0x00000000 0x00100000>; | ||
| 261 | }; | ||
| 262 | |||
| 263 | partition@100000 { | ||
| 264 | label = "env"; | ||
| 265 | reg = <0x00100000 0x00010000>; | ||
| 266 | }; | ||
| 267 | |||
| 268 | partition@200000 { | ||
| 269 | label = "rsv"; | ||
| 270 | reg = <0x00110000 0x00010000>; | ||
| 271 | }; | ||
| 272 | |||
| 273 | partition@300000 { | ||
| 274 | label = "image0"; | ||
| 275 | reg = <0x00120000 0x00900000>; | ||
| 276 | }; | ||
| 277 | |||
| 278 | partition@400000 { | ||
| 279 | label = "config"; | ||
| 280 | reg = <0x00a20000 0x00300000>; | ||
| 281 | }; | ||
| 282 | |||
| 283 | partition@480000 { | ||
| 284 | label = "debug"; | ||
| 285 | reg = <0x00d20000 0x002e0000>; | ||
| 286 | }; | ||
| 287 | }; | ||
| 288 | }; | ||
| 289 | }; | ||
| 290 | |||
| 291 | &uart0 { | ||
| 292 | pinctrl-0 = <&uart0_pins>; | ||
| 293 | pinctrl-names = "default"; | ||
| 294 | status = "okay"; | ||
| 295 | }; | ||
| @@ -159,6 +159,11 @@ · 158 unmodified lines | |||
| 159 | //24LC128 EEPROM | 159 | //24LC128 EEPROM |
| 160 | &i2c3 { | 160 | &i2c3 { |
| 161 | status = "okay"; | 161 | status = "okay"; |
| 162 | eeprom@50 { | ||
| 163 | compatible = "atmel,24c256"; | ||
| 164 | reg = <0x50>; | ||
| 165 | pagesize = <64>; | ||
| 166 | }; | ||
| 162 | }; | 167 | }; |
| 163 | 168 | ||
| 164 | //P0 Power regulators | 169 | //P0 Power regulators |
| @@ -86,6 +86,18 @@ · 85 unmodified lines | |||
| 86 | linux,code = <ASPEED_GPIO(J, 1)>; | 86 | linux,code = <ASPEED_GPIO(J, 1)>; |
| 87 | }; | 87 | }; |
| 88 | 88 | ||
| 89 | S0_scp_auth_fail { | ||
| 90 | label = "S0_SCP_AUTH_FAIL"; | ||
| 91 | gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>; | ||
| 92 | linux,code = <ASPEED_GPIO(J, 2)>; | ||
| 93 | }; | ||
| 94 | |||
| 95 | S1_scp_auth_fail { | ||
| 96 | label = "S1_SCP_AUTH_FAIL"; | ||
| 97 | gpios = <&gpio ASPEED_GPIO(Z, 5) GPIO_ACTIVE_LOW>; | ||
| 98 | linux,code = <ASPEED_GPIO(Z, 5)>; | ||
| 99 | }; | ||
| 100 | |||
| 89 | S1_overtemp { | 101 | S1_overtemp { |
| 90 | label = "S1_OVERTEMP"; | 102 | label = "S1_OVERTEMP"; |
| 91 | gpios = <&gpio ASPEED_GPIO(Z, 6) GPIO_ACTIVE_LOW>; | 103 | gpios = <&gpio ASPEED_GPIO(Z, 6) GPIO_ACTIVE_LOW>; |
| @@ -590,7 +602,7 @@ · 498 unmodified lines | |||
| 590 | /*Q0-Q7*/ "","","","","","UID_BUTTON","","", | 602 | /*Q0-Q7*/ "","","","","","UID_BUTTON","","", |
| 591 | /*R0-R7*/ "","","BMC_EXT_HIGHTEMP_L","OCP_AUX_PWREN", | 603 | /*R0-R7*/ "","","BMC_EXT_HIGHTEMP_L","OCP_AUX_PWREN", |
| 592 | "OCP_MAIN_PWREN","RESET_BUTTON","","", | 604 | "OCP_MAIN_PWREN","RESET_BUTTON","","", |
| 593 | /*S0-S7*/ "","","","","","","","", | 605 | /*S0-S7*/ "","","","","RTC_BAT_SEN_EN","","","", |
| 594 | /*T0-T7*/ "","","","","","","","", | 606 | /*T0-T7*/ "","","","","","","","", |
| 595 | /*U0-U7*/ "","","","","","","","", | 607 | /*U0-U7*/ "","","","","","","","", |
| 596 | /*V0-V7*/ "","","","","","","","", | 608 | /*V0-V7*/ "","","","","","","","", |
| @@ -604,4 +616,11 @@ · 7 unmodified lines | |||
| 604 | "S1_BMC_DDR_ADR","","","","", | 616 | "S1_BMC_DDR_ADR","","","","", |
| 605 | /*AC0-AC7*/ "SYS_PWR_GD","","","","","BMC_READY","SLAVE_PRESENT_L", | 617 | /*AC0-AC7*/ "SYS_PWR_GD","","","","","BMC_READY","SLAVE_PRESENT_L", |
| 606 | "BMC_OCP_PG"; | 618 | "BMC_OCP_PG"; |
| 619 | |||
| 620 | i2c4_o_en { | ||
| 621 | gpio-hog; | ||
| 622 | gpios = <ASPEED_GPIO(Y, 2) GPIO_ACTIVE_HIGH>; | ||
| 623 | output-high; | ||
| 624 | line-name = "BMC_I2C4_O_EN"; | ||
| 625 | }; | ||
| 607 | }; | 626 | }; |
| @@ -96,6 +96,20 @@ · 95 unmodified lines | |||
| 96 | i2c32 = &i2c14mux1chn1; | 96 | i2c32 = &i2c14mux1chn1; |
| 97 | i2c33 = &i2c14mux1chn2; | 97 | i2c33 = &i2c14mux1chn2; |
| 98 | i2c34 = &i2c14mux1chn3; | 98 | i2c34 = &i2c14mux1chn3; |
| 99 | i2c35 = &i2c15mux0chn0; | ||
| 100 | i2c36 = &i2c15mux0chn1; | ||
| 101 | i2c37 = &i2c15mux0chn2; | ||
| 102 | i2c38 = &i2c15mux0chn3; | ||
| 103 | i2c39 = &i2c15mux1chn0; | ||
| 104 | i2c40 = &i2c15mux1chn1; | ||
| 105 | i2c41 = &i2c15mux1chn2; | ||
| 106 | i2c42 = &i2c15mux1chn3; | ||
| 107 | i2c43 = &i2c15mux2chn0; | ||
| 108 | i2c44 = &i2c15mux2chn1; | ||
| 109 | i2c45 = &i2c15mux2chn2; | ||
| 110 | i2c46 = &i2c15mux2chn3; | ||
| 111 | i2c47 = &i2c8mux0chn0; | ||
| 112 | i2c48 = &i2c8mux0chn1; | ||
| 99 | 113 | ||
| 100 | serial4 = &uart5; | 114 | serial4 = &uart5; |
| 101 | 115 | ||
| @@ -231,20 +245,36 @@ · 129 unmodified lines | |||
| 231 | gpios = <&gpio0 ASPEED_GPIO(P, 4) GPIO_ACTIVE_LOW>; | 245 | gpios = <&gpio0 ASPEED_GPIO(P, 4) GPIO_ACTIVE_LOW>; |
| 232 | }; | 246 | }; |
| 233 | }; | 247 | }; |
| 248 | |||
| 249 | iio-hwmon-battery { | ||
| 250 | compatible = "iio-hwmon"; | ||
| 251 | io-channels = <&adc1 7>; | ||
| 252 | }; | ||
| 253 | }; | ||
| 254 | |||
| 255 | &adc1 { | ||
| 256 | status = "okay"; | ||
| 257 | aspeed,int-vref-microvolt = <2500000>; | ||
| 258 | pinctrl-names = "default"; | ||
| 259 | pinctrl-0 = <&pinctrl_adc8_default &pinctrl_adc9_default | ||
| 260 | &pinctrl_adc10_default &pinctrl_adc11_default | ||
| 261 | &pinctrl_adc12_default &pinctrl_adc13_default | ||
| 262 | &pinctrl_adc14_default &pinctrl_adc15_default>; | ||
| 234 | }; | 263 | }; |
| 235 | 264 | ||
| 236 | &gpio0 { | 265 | &gpio0 { |
| 237 | gpio-line-names = | 266 | gpio-line-names = |
| 238 | /*A0-A7*/ "","","","","","","","", | 267 | /*A0-A7*/ "","","","","","","","", |
| 239 | /*B0-B7*/ "USERSPACE_RSTIND_BUFF","","","","","","","", | 268 | /*B0-B7*/ "USERSPACE_RSTIND_BUFF","","","","","","checkstop","", |
| 240 | /*C0-C7*/ "","","","","","","","", | 269 | /*C0-C7*/ "","","","","","","","", |
| 241 | /*D0-D7*/ "","","","","","","","", | 270 | /*D0-D7*/ "","","","","","","","", |
| 242 | /*E0-E7*/ "","","","","","","","", | 271 | /*E0-E7*/ "","","","","","","","", |
| 243 | /*F0-F7*/ "PIN_HOLE_RESET_IN_N","","", | 272 | /*F0-F7*/ "PIN_HOLE_RESET_IN_N","","", |
| 244 | "PIN_HOLE_RESET_OUT_N","","","","", | 273 | "PIN_HOLE_RESET_OUT_N","","", |
| 274 | "factory-reset-toggle","", | ||
| 245 | /*G0-G7*/ "","","","","","","","", | 275 | /*G0-G7*/ "","","","","","","","", |
| 246 | /*H0-H7*/ "led-rtc-battery","led-bmc","led-rear-enc-id0","led-rear-enc-fault0","","","","", | 276 | /*H0-H7*/ "led-rtc-battery","led-bmc","led-rear-enc-id0","led-rear-enc-fault0","","","","", |
| 247 | /*I0-I7*/ "","","","","","","","", | 277 | /*I0-I7*/ "","","","","","","bmc-secure-boot","", |
| 248 | /*J0-J7*/ "","","","","","","","", | 278 | /*J0-J7*/ "","","","","","","","", |
| 249 | /*K0-K7*/ "","","","","","","","", | 279 | /*K0-K7*/ "","","","","","","","", |
| 250 | /*L0-L7*/ "","","","","","","","", | 280 | /*L0-L7*/ "","","","","","","","", |
| @@ -252,7 +282,7 @@ · 1 unmodified line | |||
| 252 | /*N0-N7*/ "","","","","","","","", | 282 | /*N0-N7*/ "","","","","","","","", |
| 253 | /*O0-O7*/ "","","","","","","","", | 283 | /*O0-O7*/ "","","","","","","","", |
| 254 | /*P0-P7*/ "","","","","led-pcieslot-power","","","", | 284 | /*P0-P7*/ "","","","","led-pcieslot-power","","","", |
| 255 | /*Q0-Q7*/ "","","","","","","","", | 285 | /*Q0-Q7*/ "","","regulator-standby-faulted","","","","","", |
| 256 | /*R0-R7*/ "bmc-tpm-reset","power-chassis-control","power-chassis-good","","","I2C_FLASH_MICRO_N","","", | 286 | /*R0-R7*/ "bmc-tpm-reset","power-chassis-control","power-chassis-good","","","I2C_FLASH_MICRO_N","","", |
| 257 | /*S0-S7*/ "","","","","","","","", | 287 | /*S0-S7*/ "","","","","","","","", |
| 258 | /*T0-T7*/ "","","","","","","","", | 288 | /*T0-T7*/ "","","","","","","","", |
| @@ -297,86 +327,6 @@ · 38 unmodified lines | |||
| 297 | "presence-lcd-op", | 327 | "presence-lcd-op", |
| 298 | "presence-base-op", | 328 | "presence-base-op", |
| 299 | ""; | 329 | ""; |
| 300 | |||
| 301 | gpio@0 { | ||
| 302 | reg = <0>; | ||
| 303 | type = <PCA955X_TYPE_GPIO>; | ||
| 304 | }; | ||
| 305 | |||
| 306 | gpio@1 { | ||
| 307 | reg = <1>; | ||
| 308 | type = <PCA955X_TYPE_GPIO>; | ||
| 309 | }; | ||
| 310 | |||
| 311 | gpio@2 { | ||
| 312 | reg = <2>; | ||
| 313 | type = <PCA955X_TYPE_GPIO>; | ||
| 314 | }; | ||
| 315 | |||
| 316 | gpio@3 { | ||
| 317 | reg = <3>; | ||
| 318 | type = <PCA955X_TYPE_GPIO>; | ||
| 319 | }; | ||
| 320 | |||
| 321 | gpio@4 { | ||
| 322 | reg = <4>; | ||
| 323 | type = <PCA955X_TYPE_GPIO>; | ||
| 324 | }; | ||
| 325 | |||
| 326 | gpio@5 { | ||
| 327 | reg = <5>; | ||
| 328 | type = <PCA955X_TYPE_GPIO>; | ||
| 329 | }; | ||
| 330 | |||
| 331 | gpio@6 { | ||
| 332 | reg = <6>; | ||
| 333 | type = <PCA955X_TYPE_GPIO>; | ||
| 334 | }; | ||
| 335 | |||
| 336 | gpio@7 { | ||
| 337 | reg = <7>; | ||
| 338 | type = <PCA955X_TYPE_GPIO>; | ||
| 339 | }; | ||
| 340 | |||
| 341 | gpio@8 { | ||
| 342 | reg = <8>; | ||
| 343 | type = <PCA955X_TYPE_GPIO>; | ||
| 344 | }; | ||
| 345 | |||
| 346 | gpio@9 { | ||
| 347 | reg = <9>; | ||
| 348 | type = <PCA955X_TYPE_GPIO>; | ||
| 349 | }; | ||
| 350 | |||
| 351 | gpio@10 { | ||
| 352 | reg = <10>; | ||
| 353 | type = <PCA955X_TYPE_GPIO>; | ||
| 354 | }; | ||
| 355 | |||
| 356 | gpio@11 { | ||
| 357 | reg = <11>; | ||
| 358 | type = <PCA955X_TYPE_GPIO>; | ||
| 359 | }; | ||
| 360 | |||
| 361 | gpio@12 { | ||
| 362 | reg = <12>; | ||
| 363 | type = <PCA955X_TYPE_GPIO>; | ||
| 364 | }; | ||
| 365 | |||
| 366 | gpio@13 { | ||
| 367 | reg = <13>; | ||
| 368 | type = <PCA955X_TYPE_GPIO>; | ||
| 369 | }; | ||
| 370 | |||
| 371 | gpio@14 { | ||
| 372 | reg = <14>; | ||
| 373 | type = <PCA955X_TYPE_GPIO>; | ||
| 374 | }; | ||
| 375 | |||
| 376 | gpio@15 { | ||
| 377 | reg = <15>; | ||
| 378 | type = <PCA955X_TYPE_GPIO>; | ||
| 379 | }; | ||
| 380 | }; | 330 | }; |
| 381 | }; | 331 | }; |
| 382 | 332 | ||
| @@ -440,56 +390,6 @@ · 57 unmodified lines | |||
| 440 | "expander-cable-card3", | 390 | "expander-cable-card3", |
| 441 | "expander-cable-card4", | 391 | "expander-cable-card4", |
| 442 | "expander-cable-card5"; | 392 | "expander-cable-card5"; |
| 443 | |||
| 444 | gpio@0 { | ||
| 445 | reg = <0>; | ||
| 446 | type = <PCA955X_TYPE_GPIO>; | ||
| 447 | }; | ||
| 448 | |||
| 449 | gpio@1 { | ||
| 450 | reg = <1>; | ||
| 451 | type = <PCA955X_TYPE_GPIO>; | ||
| 452 | }; | ||
| 453 | |||
| 454 | gpio@2 { | ||
| 455 | reg = <2>; | ||
| 456 | type = <PCA955X_TYPE_GPIO>; | ||
| 457 | }; | ||
| 458 | |||
| 459 | gpio@3 { | ||
| 460 | reg = <3>; | ||
| 461 | type = <PCA955X_TYPE_GPIO>; | ||
| 462 | }; | ||
| 463 | |||
| 464 | gpio@4 { | ||
| 465 | reg = <4>; | ||
| 466 | type = <PCA955X_TYPE_GPIO>; | ||
| 467 | }; | ||
| 468 | |||
| 469 | gpio@5 { | ||
| 470 | reg = <5>; | ||
| 471 | type = <PCA955X_TYPE_GPIO>; | ||
| 472 | }; | ||
| 473 | |||
| 474 | gpio@6 { | ||
| 475 | reg = <6>; | ||
| 476 | type = <PCA955X_TYPE_GPIO>; | ||
| 477 | }; | ||
| 478 | |||
| 479 | gpio@7 { | ||
| 480 | reg = <7>; | ||
| 481 | type = <PCA955X_TYPE_GPIO>; | ||
| 482 | }; | ||
| 483 | |||
| 484 | gpio@8 { | ||
| 485 | reg = <8>; | ||
| 486 | type = <PCA955X_TYPE_GPIO>; | ||
| 487 | }; | ||
| 488 | |||
| 489 | gpio@9 { | ||
| 490 | reg = <9>; | ||
| 491 | type = <PCA955X_TYPE_GPIO>; | ||
| 492 | }; | ||
| 493 | }; | 393 | }; |
| 494 | 394 | ||
| 495 | i2c-switch@70 { | 395 | i2c-switch@70 { |
| @@ -533,36 +433,6 @@ · 37 unmodified lines | |||
| 533 | default-state = "keep"; | 433 | default-state = "keep"; |
| 534 | type = <PCA955X_TYPE_LED>; | 434 | type = <PCA955X_TYPE_LED>; |
| 535 | }; | 435 | }; |
| 536 | |||
| 537 | gpio@2 { | ||
| 538 | reg = <2>; | ||
| 539 | type = <PCA955X_TYPE_GPIO>; | ||
| 540 | }; | ||
| 541 | |||
| 542 | gpio@3 { | ||
| 543 | reg = <3>; | ||
| 544 | type = <PCA955X_TYPE_GPIO>; | ||
| 545 | }; | ||
| 546 | |||
| 547 | gpio@4 { | ||
| 548 | reg = <4>; | ||
| 549 | type = <PCA955X_TYPE_GPIO>; | ||
| 550 | }; | ||
| 551 | |||
| 552 | gpio@5 { | ||
| 553 | reg = <5>; | ||
| 554 | type = <PCA955X_TYPE_GPIO>; | ||
| 555 | }; | ||
| 556 | |||
| 557 | gpio@6 { | ||
| 558 | reg = <6>; | ||
| 559 | type = <PCA955X_TYPE_GPIO>; | ||
| 560 | }; | ||
| 561 | |||
| 562 | gpio@7 { | ||
| 563 | reg = <7>; | ||
| 564 | type = <PCA955X_TYPE_GPIO>; | ||
| 565 | }; | ||
| 566 | }; | 436 | }; |
| 567 | }; | 437 | }; |
| 568 | 438 | ||
| @@ -599,36 +469,6 @@ · 30 unmodified lines | |||
| 599 | default-state = "keep"; | 469 | default-state = "keep"; |
| 600 | type = <PCA955X_TYPE_LED>; | 470 | type = <PCA955X_TYPE_LED>; |
| 601 | }; | 471 | }; |
| 602 | |||
| 603 | gpio@2 { | ||
| 604 | reg = <2>; | ||
| 605 | type = <PCA955X_TYPE_GPIO>; | ||
| 606 | }; | ||
| 607 | |||
| 608 | gpio@3 { | ||
| 609 | reg = <3>; | ||
| 610 | type = <PCA955X_TYPE_GPIO>; | ||
| 611 | }; | ||
| 612 | |||
| 613 | gpio@4 { | ||
| 614 | reg = <4>; | ||
| 615 | type = <PCA955X_TYPE_GPIO>; | ||
| 616 | }; | ||
| 617 | |||
| 618 | gpio@5 { | ||
| 619 | reg = <5>; | ||
| 620 | type = <PCA955X_TYPE_GPIO>; | ||
| 621 | }; | ||
| 622 | |||
| 623 | gpio@6 { | ||
| 624 | reg = <6>; | ||
| 625 | type = <PCA955X_TYPE_GPIO>; | ||
| 626 | }; | ||
| 627 | |||
| 628 | gpio@7 { | ||
| 629 | reg = <7>; | ||
| 630 | type = <PCA955X_TYPE_GPIO>; | ||
| 631 | }; | ||
| 632 | }; | 472 | }; |
| 633 | }; | 473 | }; |
| 634 | 474 | ||
| @@ -665,36 +505,6 @@ · 30 unmodified lines | |||
| 665 | default-state = "keep"; | 505 | default-state = "keep"; |
| 666 | type = <PCA955X_TYPE_LED>; | 506 | type = <PCA955X_TYPE_LED>; |
| 667 | }; | 507 | }; |
| 668 | |||
| 669 | gpio@2 { | ||
| 670 | reg = <2>; | ||
| 671 | type = <PCA955X_TYPE_GPIO>; | ||
| 672 | }; | ||
| 673 | |||
| 674 | gpio@3 { | ||
| 675 | reg = <3>; | ||
| 676 | type = <PCA955X_TYPE_GPIO>; | ||
| 677 | }; | ||
| 678 | |||
| 679 | gpio@4 { | ||
| 680 | reg = <4>; | ||
| 681 | type = <PCA955X_TYPE_GPIO>; | ||
| 682 | }; | ||
| 683 | |||
| 684 | gpio@5 { | ||
| 685 | reg = <5>; | ||
| 686 | type = <PCA955X_TYPE_GPIO>; | ||
| 687 | }; | ||
| 688 | |||
| 689 | gpio@6 { | ||
| 690 | reg = <6>; | ||
| 691 | type = <PCA955X_TYPE_GPIO>; | ||
| 692 | }; | ||
| 693 | |||
| 694 | gpio@7 { | ||
| 695 | reg = <7>; | ||
| 696 | type = <PCA955X_TYPE_GPIO>; | ||
| 697 | }; | ||
| 698 | }; | 508 | }; |
| 699 | }; | 509 | }; |
| 700 | }; | 510 | }; |
| @@ -725,67 +535,6 @@ · 24 unmodified lines | |||
| 725 | "expander-cable-card9", | 535 | "expander-cable-card9", |
| 726 | "expander-cable-card10", | 536 | "expander-cable-card10", |
| 727 | "expander-cable-card11"; | 537 | "expander-cable-card11"; |
| 728 | |||
| 729 | gpio@0 { | ||
| 730 | reg = <0>; | ||
| 731 | type = <PCA955X_TYPE_GPIO>; | ||
| 732 | }; | ||
| 733 | |||
| 734 | gpio@1 { | ||
| 735 | reg = <1>; | ||
| 736 | type = <PCA955X_TYPE_GPIO>; | ||
| 737 | }; | ||
| 738 | |||
| 739 | gpio@2 { | ||
| 740 | reg = <2>; | ||
| 741 | type = <PCA955X_TYPE_GPIO>; | ||
| 742 | }; | ||
| 743 | |||
| 744 | gpio@3 { | ||
| 745 | reg = <3>; | ||
| 746 | type = <PCA955X_TYPE_GPIO>; | ||
| 747 | }; | ||
| 748 | |||
| 749 | gpio@4 { | ||
| 750 | reg = <4>; | ||
| 751 | type = <PCA955X_TYPE_GPIO>; | ||
| 752 | }; | ||
| 753 | |||
| 754 | gpio@5 { | ||
| 755 | reg = <5>; | ||
| 756 | type = <PCA955X_TYPE_GPIO>; | ||
| 757 | }; | ||
| 758 | |||
| 759 | gpio@6 { | ||
| 760 | reg = <6>; | ||
| 761 | type = <PCA955X_TYPE_GPIO>; | ||
| 762 | }; | ||
| 763 | |||
| 764 | gpio@7 { | ||
| 765 | reg = <7>; | ||
| 766 | type = <PCA955X_TYPE_GPIO>; | ||
| 767 | }; | ||
| 768 | |||
| 769 | gpio@8 { | ||
| 770 | reg = <8>; | ||
| 771 | type = <PCA955X_TYPE_GPIO>; | ||
| 772 | }; | ||
| 773 | |||
| 774 | gpio@9 { | ||
| 775 | reg = <9>; | ||
| 776 | type = <PCA955X_TYPE_GPIO>; | ||
| 777 | }; | ||
| 778 | |||
| 779 | gpio@10 { | ||
| 780 | reg = <10>; | ||
| 781 | type = <PCA955X_TYPE_GPIO>; | ||
| 782 | }; | ||
| 783 | |||
| 784 | gpio@11 { | ||
| 785 | reg = <11>; | ||
| 786 | type = <PCA955X_TYPE_GPIO>; | ||
| 787 | }; | ||
| 788 | |||
| 789 | }; | 538 | }; |
| 790 | 539 | ||
| 791 | i2c-switch@70 { | 540 | i2c-switch@70 { |
| @@ -829,36 +578,6 @@ · 37 unmodified lines | |||
| 829 | default-state = "keep"; | 578 | default-state = "keep"; |
| 830 | type = <PCA955X_TYPE_LED>; | 579 | type = <PCA955X_TYPE_LED>; |
| 831 | }; | 580 | }; |
| 832 | |||
| 833 | gpio@2 { | ||
| 834 | reg = <2>; | ||
| 835 | type = <PCA955X_TYPE_GPIO>; | ||
| 836 | }; | ||
| 837 | |||
| 838 | gpio@3 { | ||
| 839 | reg = <3>; | ||
| 840 | type = <PCA955X_TYPE_GPIO>; | ||
| 841 | }; | ||
| 842 | |||
| 843 | gpio@4 { | ||
| 844 | reg = <4>; | ||
| 845 | type = <PCA955X_TYPE_GPIO>; | ||
| 846 | }; | ||
| 847 | |||
| 848 | gpio@5 { | ||
| 849 | reg = <5>; | ||
| 850 | type = <PCA955X_TYPE_GPIO>; | ||
| 851 | }; | ||
| 852 | |||
| 853 | gpio@6 { | ||
| 854 | reg = <6>; | ||
| 855 | type = <PCA955X_TYPE_GPIO>; | ||
| 856 | }; | ||
| 857 | |||
| 858 | gpio@7 { | ||
| 859 | reg = <7>; | ||
| 860 | type = <PCA955X_TYPE_GPIO>; | ||
| 861 | }; | ||
| 862 | }; | 581 | }; |
| 863 | }; | 582 | }; |
| 864 | 583 | ||
| @@ -895,36 +614,6 @@ · 30 unmodified lines | |||
| 895 | default-state = "keep"; | 614 | default-state = "keep"; |
| 896 | type = <PCA955X_TYPE_LED>; | 615 | type = <PCA955X_TYPE_LED>; |
| 897 | }; | 616 | }; |
| 898 | |||
| 899 | gpio@2 { | ||
| 900 | reg = <2>; | ||
| 901 | type = <PCA955X_TYPE_GPIO>; | ||
| 902 | }; | ||
| 903 | |||
| 904 | gpio@3 { | ||
| 905 | reg = <3>; | ||
| 906 | type = <PCA955X_TYPE_GPIO>; | ||
| 907 | }; | ||
| 908 | |||
| 909 | gpio@4 { | ||
| 910 | reg = <4>; | ||
| 911 | type = <PCA955X_TYPE_GPIO>; | ||
| 912 | }; | ||
| 913 | |||
| 914 | gpio@5 { | ||
| 915 | reg = <5>; | ||
| 916 | type = <PCA955X_TYPE_GPIO>; | ||
| 917 | }; | ||
| 918 | |||
| 919 | gpio@6 { | ||
| 920 | reg = <6>; | ||
| 921 | type = <PCA955X_TYPE_GPIO>; | ||
| 922 | }; | ||
| 923 | |||
| 924 | gpio@7 { | ||
| 925 | reg = <7>; | ||
| 926 | type = <PCA955X_TYPE_GPIO>; | ||
| 927 | }; | ||
| 928 | }; | 617 | }; |
| 929 | }; | 618 | }; |
| 930 | 619 | ||
| @@ -961,36 +650,6 @@ · 30 unmodified lines | |||
| 961 | default-state = "keep"; | 650 | default-state = "keep"; |
| 962 | type = <PCA955X_TYPE_LED>; | 651 | type = <PCA955X_TYPE_LED>; |
| 963 | }; | 652 | }; |
| 964 | |||
| 965 | gpio@2 { | ||
| 966 | reg = <2>; | ||
| 967 | type = <PCA955X_TYPE_GPIO>; | ||
| 968 | }; | ||
| 969 | |||
| 970 | gpio@3 { | ||
| 971 | reg = <3>; | ||
| 972 | type = <PCA955X_TYPE_GPIO>; | ||
| 973 | }; | ||
| 974 | |||
| 975 | gpio@4 { | ||
| 976 | reg = <4>; | ||
| 977 | type = <PCA955X_TYPE_GPIO>; | ||
| 978 | }; | ||
| 979 | |||
| 980 | gpio@5 { | ||
| 981 | reg = <5>; | ||
| 982 | type = <PCA955X_TYPE_GPIO>; | ||
| 983 | }; | ||
| 984 | |||
| 985 | gpio@6 { | ||
| 986 | reg = <6>; | ||
| 987 | type = <PCA955X_TYPE_GPIO>; | ||
| 988 | }; | ||
| 989 | |||
| 990 | gpio@7 { | ||
| 991 | reg = <7>; | ||
| 992 | type = <PCA955X_TYPE_GPIO>; | ||
| 993 | }; | ||
| 994 | }; | 653 | }; |
| 995 | }; | 654 | }; |
| 996 | 655 | ||
| @@ -1027,36 +686,6 @@ · 30 unmodified lines | |||
| 1027 | default-state = "keep"; | 686 | default-state = "keep"; |
| 1028 | type = <PCA955X_TYPE_LED>; | 687 | type = <PCA955X_TYPE_LED>; |
| 1029 | }; | 688 | }; |
| 1030 | |||
| 1031 | gpio@2 { | ||
| 1032 | reg = <2>; | ||
| 1033 | type = <PCA955X_TYPE_GPIO>; | ||
| 1034 | }; | ||
| 1035 | |||
| 1036 | gpio@3 { | ||
| 1037 | reg = <3>; | ||
| 1038 | type = <PCA955X_TYPE_GPIO>; | ||
| 1039 | }; | ||
| 1040 | |||
| 1041 | gpio@4 { | ||
| 1042 | reg = <4>; | ||
| 1043 | type = <PCA955X_TYPE_GPIO>; | ||
| 1044 | }; | ||
| 1045 | |||
| 1046 | gpio@5 { | ||
| 1047 | reg = <5>; | ||
| 1048 | type = <PCA955X_TYPE_GPIO>; | ||
| 1049 | }; | ||
| 1050 | |||
| 1051 | gpio@6 { | ||
| 1052 | reg = <6>; | ||
| 1053 | type = <PCA955X_TYPE_GPIO>; | ||
| 1054 | }; | ||
| 1055 | |||
| 1056 | gpio@7 { | ||
| 1057 | reg = <7>; | ||
| 1058 | type = <PCA955X_TYPE_GPIO>; | ||
| 1059 | }; | ||
| 1060 | }; | 689 | }; |
| 1061 | }; | 690 | }; |
| 1062 | }; | 691 | }; |
| @@ -1106,36 +735,6 @@ · 43 unmodified lines | |||
| 1106 | default-state = "keep"; | 735 | default-state = "keep"; |
| 1107 | type = <PCA955X_TYPE_LED>; | 736 | type = <PCA955X_TYPE_LED>; |
| 1108 | }; | 737 | }; |
| 1109 | |||
| 1110 | gpio@2 { | ||
| 1111 | reg = <2>; | ||
| 1112 | type = <PCA955X_TYPE_GPIO>; | ||
| 1113 | }; | ||
| 1114 | |||
| 1115 | gpio@3 { | ||
| 1116 | reg = <3>; | ||
| 1117 | type = <PCA955X_TYPE_GPIO>; | ||
| 1118 | }; | ||
| 1119 | |||
| 1120 | gpio@4 { | ||
| 1121 | reg = <4>; | ||
| 1122 | type = <PCA955X_TYPE_GPIO>; | ||
| 1123 | }; | ||
| 1124 | |||
| 1125 | gpio@5 { | ||
| 1126 | reg = <5>; | ||
| 1127 | type = <PCA955X_TYPE_GPIO>; | ||
| 1128 | }; | ||
| 1129 | |||
| 1130 | gpio@6 { | ||
| 1131 | reg = <6>; | ||
| 1132 | type = <PCA955X_TYPE_GPIO>; | ||
| 1133 | }; | ||
| 1134 | |||
| 1135 | gpio@7 { | ||
| 1136 | reg = <7>; | ||
| 1137 | type = <PCA955X_TYPE_GPIO>; | ||
| 1138 | }; | ||
| 1139 | }; | 738 | }; |
| 1140 | }; | 739 | }; |
| 1141 | 740 | ||
| @@ -1172,36 +771,6 @@ · 30 unmodified lines | |||
| 1172 | default-state = "keep"; | 771 | default-state = "keep"; |
| 1173 | type = <PCA955X_TYPE_LED>; | 772 | type = <PCA955X_TYPE_LED>; |
| 1174 | }; | 773 | }; |
| 1175 | |||
| 1176 | gpio@2 { | ||
| 1177 | reg = <2>; | ||
| 1178 | type = <PCA955X_TYPE_GPIO>; | ||
| 1179 | }; | ||
| 1180 | |||
| 1181 | gpio@3 { | ||
| 1182 | reg = <3>; | ||
| 1183 | type = <PCA955X_TYPE_GPIO>; | ||
| 1184 | }; | ||
| 1185 | |||
| 1186 | gpio@4 { | ||
| 1187 | reg = <4>; | ||
| 1188 | type = <PCA955X_TYPE_GPIO>; | ||
| 1189 | }; | ||
| 1190 | |||
| 1191 | gpio@5 { | ||
| 1192 | reg = <5>; | ||
| 1193 | type = <PCA955X_TYPE_GPIO>; | ||
| 1194 | }; | ||
| 1195 | |||
| 1196 | gpio@6 { | ||
| 1197 | reg = <6>; | ||
| 1198 | type = <PCA955X_TYPE_GPIO>; | ||
| 1199 | }; | ||
| 1200 | |||
| 1201 | gpio@7 { | ||
| 1202 | reg = <7>; | ||
| 1203 | type = <PCA955X_TYPE_GPIO>; | ||
| 1204 | }; | ||
| 1205 | }; | 774 | }; |
| 1206 | }; | 775 | }; |
| 1207 | 776 | ||
| @@ -1233,40 +802,10 @@ · 25 unmodified lines | |||
| 1233 | 802 | ||
| 1234 | led@1 { | 803 | led@1 { |
| 1235 | label = "cablecard-c10-cxp-bot"; | 804 | label = "cablecard-c10-cxp-bot"; |
| 1236 | reg = <1>; | 805 | reg = <1>; |
| 1237 | retain-state-shutdown; | 806 | retain-state-shutdown; |
| 1238 | default-state = "keep"; | 807 | default-state = "keep"; |
| 1239 | type = <PCA955X_TYPE_LED>; | 808 | type = <PCA955X_TYPE_LED>; |
| 1240 | }; | ||
| 1241 | |||
| 1242 | gpio@2 { | ||
| 1243 | reg = <2>; | ||
| 1244 | type = <PCA955X_TYPE_GPIO>; | ||
| 1245 | }; | ||
| 1246 | |||
| 1247 | gpio@3 { | ||
| 1248 | reg = <3>; | ||
| 1249 | type = <PCA955X_TYPE_GPIO>; | ||
| 1250 | }; | ||
| 1251 | |||
| 1252 | gpio@4 { | ||
| 1253 | reg = <4>; | ||
| 1254 | type = <PCA955X_TYPE_GPIO>; | ||
| 1255 | }; | ||
| 1256 | |||
| 1257 | gpio@5 { | ||
| 1258 | reg = <5>; | ||
| 1259 | type = <PCA955X_TYPE_GPIO>; | ||
| 1260 | }; | ||
| 1261 | |||
| 1262 | gpio@6 { | ||
| 1263 | reg = <6>; | ||
| 1264 | type = <PCA955X_TYPE_GPIO>; | ||
| 1265 | }; | ||
| 1266 | |||
| 1267 | gpio@7 { | ||
| 1268 | reg = <7>; | ||
| 1269 | type = <PCA955X_TYPE_GPIO>; | ||
| 1270 | }; | 809 | }; |
| 1271 | }; | 810 | }; |
| 1272 | }; | 811 | }; |
| @@ -1304,36 +843,6 @@ · 31 unmodified lines | |||
| 1304 | default-state = "keep"; | 843 | default-state = "keep"; |
| 1305 | type = <PCA955X_TYPE_LED>; | 844 | type = <PCA955X_TYPE_LED>; |
| 1306 | }; | 845 | }; |
| 1307 | |||
| 1308 | gpio@2 { | ||
| 1309 | reg = <2>; | ||
| 1310 | type = <PCA955X_TYPE_GPIO>; | ||
| 1311 | }; | ||
| 1312 | |||
| 1313 | gpio@3 { | ||
| 1314 | reg = <3>; | ||
| 1315 | type = <PCA955X_TYPE_GPIO>; | ||
| 1316 | }; | ||
| 1317 | |||
| 1318 | gpio@4 { | ||
| 1319 | reg = <4>; | ||
| 1320 | type = <PCA955X_TYPE_GPIO>; | ||
| 1321 | }; | ||
| 1322 | |||
| 1323 | gpio@5 { | ||
| 1324 | reg = <5>; | ||
| 1325 | type = <PCA955X_TYPE_GPIO>; | ||
| 1326 | }; | ||
| 1327 | |||
| 1328 | gpio@6 { | ||
| 1329 | reg = <6>; | ||
| 1330 | type = <PCA955X_TYPE_GPIO>; | ||
| 1331 | }; | ||
| 1332 | |||
| 1333 | gpio@7 { | ||
| 1334 | reg = <7>; | ||
| 1335 | type = <PCA955X_TYPE_GPIO>; | ||
| 1336 | }; | ||
| 1337 | }; | 846 | }; |
| 1338 | }; | 847 | }; |
| 1339 | }; | 848 | }; |
| @@ -1347,11 +856,6 @@ · 7 unmodified lines | |||
| 1347 | gpio-controller; | 856 | gpio-controller; |
| 1348 | #gpio-cells = <2>; | 857 | #gpio-cells = <2>; |
| 1349 | 858 | ||
| 1350 | gpio@0 { | ||
| 1351 | reg = <0>; | ||
| 1352 | type = <PCA955X_TYPE_GPIO>; | ||
| 1353 | }; | ||
| 1354 | |||
| 1355 | led@1 { | 859 | led@1 { |
| 1356 | label = "pcieslot-c01"; | 860 | label = "pcieslot-c01"; |
| 1357 | reg = <1>; | 861 | reg = <1>; |
| @@ -1439,26 +943,6 @@ · 81 unmodified lines | |||
| 1439 | default-state = "keep"; | 943 | default-state = "keep"; |
| 1440 | type = <PCA955X_TYPE_LED>; | 944 | type = <PCA955X_TYPE_LED>; |
| 1441 | }; | 945 | }; |
| 1442 | |||
| 1443 | gpio@12 { | ||
| 1444 | reg = <12>; | ||
| 1445 | type = <PCA955X_TYPE_GPIO>; | ||
| 1446 | }; | ||
| 1447 | |||
| 1448 | gpio@13 { | ||
| 1449 | reg = <13>; | ||
| 1450 | type = <PCA955X_TYPE_GPIO>; | ||
| 1451 | }; | ||
| 1452 | |||
| 1453 | gpio@14 { | ||
| 1454 | reg = <14>; | ||
| 1455 | type = <PCA955X_TYPE_GPIO>; | ||
| 1456 | }; | ||
| 1457 | |||
| 1458 | gpio@15 { | ||
| 1459 | reg = <15>; | ||
| 1460 | type = <PCA955X_TYPE_GPIO>; | ||
| 1461 | }; | ||
| 1462 | }; | 946 | }; |
| 1463 | }; | 947 | }; |
| 1464 | 948 | ||
| @@ -2082,11 +1566,6 @@ · 617 unmodified lines | |||
| 2082 | type = <PCA955X_TYPE_LED>; | 1566 | type = <PCA955X_TYPE_LED>; |
| 2083 | }; | 1567 | }; |
| 2084 | 1568 | ||
| 2085 | gpio@7 { | ||
| 2086 | reg = <7>; | ||
| 2087 | type = <PCA955X_TYPE_GPIO>; | ||
| 2088 | }; | ||
| 2089 | |||
| 2090 | led@8 { | 1569 | led@8 { |
| 2091 | label = "vrm4"; | 1570 | label = "vrm4"; |
| 2092 | reg = <8>; | 1571 | reg = <8>; |
| @@ -2217,11 +1696,6 @@ · 124 unmodified lines | |||
| 2217 | type = <PCA955X_TYPE_LED>; | 1696 | type = <PCA955X_TYPE_LED>; |
| 2218 | }; | 1697 | }; |
| 2219 | 1698 | ||
| 2220 | gpio@7 { | ||
| 2221 | reg = <7>; | ||
| 2222 | type = <PCA955X_TYPE_GPIO>; | ||
| 2223 | }; | ||
| 2224 | |||
| 2225 | led@8 { | 1699 | led@8 { |
| 2226 | label = "vrm0"; | 1700 | label = "vrm0"; |
| 2227 | reg = <8>; | 1701 | reg = <8>; |
| @@ -2310,6 +1784,27 @@ · 82 unmodified lines | |||
| 2310 | compatible = "atmel,24c128"; | 1784 | compatible = "atmel,24c128"; |
| 2311 | reg = <0x50>; | 1785 | reg = <0x50>; |
| 2312 | }; | 1786 | }; |
| 1787 | |||
| 1788 | i2c-switch@70 { | ||
| 1789 | compatible = "nxp,pca9546"; | ||
| 1790 | reg = <0x70>; | ||
| 1791 | #address-cells = <1>; | ||
| 1792 | #size-cells = <0>; | ||
| 1793 | status = "okay"; | ||
| 1794 | i2c-mux-idle-disconnect; | ||
| 1795 | |||
| 1796 | i2c8mux0chn0: i2c@0 { | ||
| 1797 | #address-cells = <1>; | ||
| 1798 | #size-cells = <0>; | ||
| 1799 | reg = <0>; | ||
| 1800 | }; | ||
| 1801 | |||
| 1802 | i2c8mux0chn1: i2c@1 { | ||
| 1803 | #address-cells = <1>; | ||
| 1804 | #size-cells = <0>; | ||
| 1805 | reg = <1>; | ||
| 1806 | }; | ||
| 1807 | }; | ||
| 2313 | }; | 1808 | }; |
| 2314 | 1809 | ||
| 2315 | &i2c9 { | 1810 | &i2c9 { |
| @@ -2413,15 +1908,21 @@ · 97 unmodified lines | |||
| 2413 | }; | 1908 | }; |
| 2414 | 1909 | ||
| 2415 | &i2c14 { | 1910 | &i2c14 { |
| 1911 | multi-master; | ||
| 2416 | status = "okay"; | 1912 | status = "okay"; |
| 2417 | 1913 | ||
| 1914 | ibm-panel@62 { | ||
| 1915 | compatible = "ibm,op-panel"; | ||
| 1916 | reg = <(0x62 | I2C_OWN_SLAVE_ADDRESS)>; | ||
| 1917 | }; | ||
| 1918 | |||
| 2418 | i2c-switch@70 { | 1919 | i2c-switch@70 { |
| 2419 | compatible = "nxp,pca9546"; | 1920 | compatible = "nxp,pca9546"; |
| 2420 | reg = <0x70>; | 1921 | reg = <0x70>; |
| 2421 | #address-cells = <1>; | 1922 | #address-cells = <1>; |
| 2422 | #size-cells = <0>; | 1923 | #size-cells = <0>; |
| 2423 | status = "okay"; | 1924 | status = "okay"; |
| 2424 | i2c-mux-idle-disconnect; | 1925 | idle-state = <1>; |
| 2425 | 1926 | ||
| 2426 | i2c14mux0chn0: i2c@0 { | 1927 | i2c14mux0chn0: i2c@0 { |
| 2427 | #address-cells = <1>; | 1928 | #address-cells = <1>; |
| @@ -2651,16 +2152,6 @@ · 223 unmodified lines | |||
| 2651 | default-state = "keep"; | 2152 | default-state = "keep"; |
| 2652 | type = <PCA955X_TYPE_LED>; | 2153 | type = <PCA955X_TYPE_LED>; |
| 2653 | }; | 2154 | }; |
| 2654 | |||
| 2655 | gpio@14 { | ||
| 2656 | reg = <14>; | ||
| 2657 | type = <PCA955X_TYPE_GPIO>; | ||
| 2658 | }; | ||
| 2659 | |||
| 2660 | gpio@15 { | ||
| 2661 | reg = <15>; | ||
| 2662 | type = <PCA955X_TYPE_GPIO>; | ||
| 2663 | }; | ||
| 2664 | }; | 2155 | }; |
| 2665 | 2156 | ||
| 2666 | pca0: pca9552@61 { | 2157 | pca0: pca9552@61 { |
| @@ -2680,86 +2171,6 @@ · 13 unmodified lines | |||
| 2680 | "presence-fan2", | 2171 | "presence-fan2", |
| 2681 | "presence-fan1", | 2172 | "presence-fan1", |
| 2682 | "presence-fan0"; | 2173 | "presence-fan0"; |
| 2683 | |||
| 2684 | gpio@0 { | ||
| 2685 | reg = <0>; | ||
| 2686 | type = <PCA955X_TYPE_GPIO>; | ||
| 2687 | }; | ||
| 2688 | |||
| 2689 | gpio@1 { | ||
| 2690 | reg = <1>; | ||
| 2691 | type = <PCA955X_TYPE_GPIO>; | ||
| 2692 | }; | ||
| 2693 | |||
| 2694 | gpio@2 { | ||
| 2695 | reg = <2>; | ||
| 2696 | type = <PCA955X_TYPE_GPIO>; | ||
| 2697 | }; | ||
| 2698 | |||
| 2699 | gpio@3 { | ||
| 2700 | reg = <3>; | ||
| 2701 | type = <PCA955X_TYPE_GPIO>; | ||
| 2702 | }; | ||
| 2703 | |||
| 2704 | gpio@4 { | ||
| 2705 | reg = <4>; | ||
| 2706 | type = <PCA955X_TYPE_GPIO>; | ||
| 2707 | }; | ||
| 2708 | |||
| 2709 | gpio@5 { | ||
| 2710 | reg = <5>; | ||
| 2711 | type = <PCA955X_TYPE_GPIO>; | ||
| 2712 | }; | ||
| 2713 | |||
| 2714 | gpio@6 { | ||
| 2715 | reg = <6>; | ||
| 2716 | type = <PCA955X_TYPE_GPIO>; | ||
| 2717 | }; | ||
| 2718 | |||
| 2719 | gpio@7 { | ||
| 2720 | reg = <7>; | ||
| 2721 | type = <PCA955X_TYPE_GPIO>; | ||
| 2722 | }; | ||
| 2723 | |||
| 2724 | gpio@8 { | ||
| 2725 | reg = <8>; | ||
| 2726 | type = <PCA955X_TYPE_GPIO>; | ||
| 2727 | }; | ||
| 2728 | |||
| 2729 | gpio@9 { | ||
| 2730 | reg = <9>; | ||
| 2731 | type = <PCA955X_TYPE_GPIO>; | ||
| 2732 | }; | ||
| 2733 | |||
| 2734 | gpio@10 { | ||
| 2735 | reg = <10>; | ||
| 2736 | type = <PCA955X_TYPE_GPIO>; | ||
| 2737 | }; | ||
| 2738 | |||
| 2739 | gpio@11 { | ||
| 2740 | reg = <11>; | ||
| 2741 | type = <PCA955X_TYPE_GPIO>; | ||
| 2742 | }; | ||
| 2743 | |||
| 2744 | gpio@12 { | ||
| 2745 | reg = <12>; | ||
| 2746 | type = <PCA955X_TYPE_GPIO>; | ||
| 2747 | }; | ||
| 2748 | |||
| 2749 | gpio@13 { | ||
| 2750 | reg = <13>; | ||
| 2751 | type = <PCA955X_TYPE_GPIO>; | ||
| 2752 | }; | ||
| 2753 | |||
| 2754 | gpio@14 { | ||
| 2755 | reg = <14>; | ||
| 2756 | type = <PCA955X_TYPE_GPIO>; | ||
| 2757 | }; | ||
| 2758 | |||
| 2759 | gpio@15 { | ||
| 2760 | reg = <15>; | ||
| 2761 | type = <PCA955X_TYPE_GPIO>; | ||
| 2762 | }; | ||
| 2763 | }; | 2174 | }; |
| 2764 | }; | 2175 | }; |
| 2765 | }; | 2176 | }; |
| @@ -2816,6 +2227,152 @@ · 50 unmodified lines | |||
| 2816 | 2227 | ||
| 2817 | &i2c15 { | 2228 | &i2c15 { |
| 2818 | status = "okay"; | 2229 | status = "okay"; |
| 2230 | |||
| 2231 | i2c-switch@70 { | ||
| 2232 | compatible = "nxp,pca9546"; | ||
| 2233 | reg = <0x70>; | ||
| 2234 | #address-cells = <1>; | ||
| 2235 | #size-cells = <0>; | ||
| 2236 | i2c-mux-idle-disconnect; | ||
| 2237 | |||
| 2238 | i2c15mux0chn0: i2c@0 { | ||
| 2239 | #address-cells = <1>; | ||
| 2240 | #size-cells = <0>; | ||
| 2241 | reg = <0>; | ||
| 2242 | |||
| 2243 | eeprom@53 { | ||
| 2244 | compatible = "atmel,24c64"; | ||
| 2245 | reg = <0x53>; | ||
| 2246 | }; | ||
| 2247 | }; | ||
| 2248 | |||
| 2249 | i2c15mux0chn1: i2c@1 { | ||
| 2250 | #address-cells = <1>; | ||
| 2251 | #size-cells = <0>; | ||
| 2252 | reg = <1>; | ||
| 2253 | |||
| 2254 | eeprom@53 { | ||
| 2255 | compatible = "atmel,24c64"; | ||
| 2256 | reg = <0x53>; | ||
| 2257 | }; | ||
| 2258 | }; | ||
| 2259 | |||
| 2260 | i2c15mux0chn2: i2c@2 { | ||
| 2261 | #address-cells = <1>; | ||
| 2262 | #size-cells = <0>; | ||
| 2263 | reg = <2>; | ||
| 2264 | |||
| 2265 | eeprom@53 { | ||
| 2266 | compatible = "atmel,24c64"; | ||
| 2267 | reg = <0x53>; | ||
| 2268 | }; | ||
| 2269 | }; | ||
| 2270 | |||
| 2271 | i2c15mux0chn3: i2c@3 { | ||
| 2272 | #address-cells = <1>; | ||
| 2273 | #size-cells = <0>; | ||
| 2274 | reg = <3>; | ||
| 2275 | |||
| 2276 | eeprom@53 { | ||
| 2277 | compatible = "atmel,24c64"; | ||
| 2278 | reg = <0x53>; | ||
| 2279 | }; | ||
| 2280 | }; | ||
| 2281 | }; | ||
| 2282 | |||
| 2283 | i2c-switch@71 { | ||
| 2284 | compatible = "nxp,pca9546"; | ||
| 2285 | reg = <0x71>; | ||
| 2286 | #address-cells = <1>; | ||
| 2287 | #size-cells = <0>; | ||
| 2288 | i2c-mux-idle-disconnect; | ||
| 2289 | |||
| 2290 | i2c15mux1chn0: i2c@0 { | ||
| 2291 | #address-cells = <1>; | ||
| 2292 | #size-cells = <0>; | ||
| 2293 | reg = <0>; | ||
| 2294 | |||
| 2295 | eeprom@53 { | ||
| 2296 | compatible = "atmel,24c64"; | ||
| 2297 | reg = <0x53>; | ||
| 2298 | }; | ||
| 2299 | }; | ||
| 2300 | |||
| 2301 | i2c15mux1chn1: i2c@1 { | ||
| 2302 | #address-cells = <1>; | ||
| 2303 | #size-cells = <0>; | ||
| 2304 | reg = <1>; | ||
| 2305 | |||
| 2306 | eeprom@53 { | ||
| 2307 | compatible = "atmel,24c64"; | ||
| 2308 | reg = <0x53>; | ||
| 2309 | }; | ||
| 2310 | }; | ||
| 2311 | |||
| 2312 | i2c15mux1chn2: i2c@2 { | ||
| 2313 | #address-cells = <1>; | ||
| 2314 | #size-cells = <0>; | ||
| 2315 | reg = <2>; | ||
| 2316 | |||
| 2317 | eeprom@53 { | ||
| 2318 | compatible = "atmel,24c64"; | ||
| 2319 | reg = <0x53>; | ||
| 2320 | }; | ||
| 2321 | }; | ||
| 2322 | |||
| 2323 | i2c15mux1chn3: i2c@3 { | ||
| 2324 | #address-cells = <1>; | ||
| 2325 | #size-cells = <0>; | ||
| 2326 | reg = <3>; | ||
| 2327 | |||
| 2328 | eeprom@53 { | ||
| 2329 | compatible = "atmel,24c64"; | ||
| 2330 | reg = <0x53>; | ||
| 2331 | }; | ||
| 2332 | }; | ||
| 2333 | }; | ||
| 2334 | |||
| 2335 | i2c-switch@72 { | ||
| 2336 | compatible = "nxp,pca9546"; | ||
| 2337 | reg = <0x72>; | ||
| 2338 | #address-cells = <1>; | ||
| 2339 | #size-cells = <0>; | ||
| 2340 | i2c-mux-idle-disconnect; | ||
| 2341 | |||
| 2342 | i2c15mux2chn0: i2c@0 { | ||
| 2343 | #address-cells = <1>; | ||
| 2344 | #size-cells = <0>; | ||
| 2345 | reg = <0>; | ||
| 2346 | |||
| 2347 | eeprom@53 { | ||
| 2348 | compatible = "atmel,24c64"; | ||
| 2349 | reg = <0x53>; | ||
| 2350 | }; | ||
| 2351 | }; | ||
| 2352 | |||
| 2353 | i2c15mux2chn1: i2c@1 { | ||
| 2354 | #address-cells = <1>; | ||
| 2355 | #size-cells = <0>; | ||
| 2356 | reg = <1>; | ||
| 2357 | |||
| 2358 | eeprom@53 { | ||
| 2359 | compatible = "atmel,24c64"; | ||
| 2360 | reg = <0x53>; | ||
| 2361 | }; | ||
| 2362 | }; | ||
| 2363 | |||
| 2364 | i2c15mux2chn2: i2c@2 { | ||
| 2365 | #address-cells = <1>; | ||
| 2366 | #size-cells = <0>; | ||
| 2367 | reg = <2>; | ||
| 2368 | }; | ||
| 2369 | |||
| 2370 | i2c15mux2chn3: i2c@3 { | ||
| 2371 | #address-cells = <1>; | ||
| 2372 | #size-cells = <0>; | ||
| 2373 | reg = <3>; | ||
| 2374 | }; | ||
| 2375 | }; | ||
| 2819 | }; | 2376 | }; |
| 2820 | 2377 | ||
| 2821 | &ehci1 { | 2378 | &ehci1 { |
| @@ -4050,11 +3607,6 @@ · 1228 unmodified lines | |||
| 4050 | memory-region = <&flash_memory>; | 3607 | memory-region = <&flash_memory>; |
| 4051 | }; | 3608 | }; |
| 4052 | 3609 | ||
| 4053 | &kcs4 { | ||
| 4054 | compatible = "openbmc,mctp-lpc"; | ||
| 4055 | status = "okay"; | ||
| 4056 | }; | ||
| 4057 | |||
| 4058 | &mac2 { | 3610 | &mac2 { |
| 4059 | status = "okay"; | 3611 | status = "okay"; |
| 4060 | pinctrl-names = "default"; | 3612 | pinctrl-names = "default"; |
| @@ -4093,3 +3645,14 @@ · 32 unmodified lines | |||
| 4093 | status = "okay"; | 3645 | status = "okay"; |
| 4094 | memory-region = <&vga_memory>; | 3646 | memory-region = <&vga_memory>; |
| 4095 | }; | 3647 | }; |
| 3648 | |||
| 3649 | &kcs2 { | ||
| 3650 | status = "okay"; | ||
| 3651 | aspeed,lpc-io-reg = <0xca8 0xcac>; | ||
| 3652 | }; | ||
| 3653 | |||
| 3654 | &kcs3 { | ||
| 3655 | status = "okay"; | ||
| 3656 | aspeed,lpc-io-reg = <0xca2>; | ||
| 3657 | aspeed,lpc-interrupts = <11 IRQ_TYPE_LEVEL_LOW>; | ||
| 3658 | }; | ||
| @@ -82,7 +82,7 @@ · 81 unmodified lines | |||
| 82 | 82 | ||
| 83 | chosen { | 83 | chosen { |
| 84 | stdout-path = &uart5; | 84 | stdout-path = &uart5; |
| 85 | bootargs = "console=ttyS4,115200n8"; | 85 | bootargs = "console=ttyS4,115200n8 earlycon"; |
| 86 | }; | 86 | }; |
| 87 | 87 | ||
| 88 | memory@80000000 { | 88 | memory@80000000 { |
| @@ -116,34 +116,6 @@ · 27 unmodified lines | |||
| 116 | }; | 116 | }; |
| 117 | }; | 117 | }; |
| 118 | 118 | ||
| 119 | gpio-keys { | ||
| 120 | compatible = "gpio-keys"; | ||
| 121 | |||
| 122 | ps0-presence { | ||
| 123 | label = "ps0-presence"; | ||
| 124 | gpios = <&gpio0 ASPEED_GPIO(S, 0) GPIO_ACTIVE_LOW>; | ||
| 125 | linux,code = <ASPEED_GPIO(S, 0)>; | ||
| 126 | }; | ||
| 127 | |||
| 128 | ps1-presence { | ||
| 129 | label = "ps1-presence"; | ||
| 130 | gpios = <&gpio0 ASPEED_GPIO(S, 1) GPIO_ACTIVE_LOW>; | ||
| 131 | linux,code = <ASPEED_GPIO(S, 1)>; | ||
| 132 | }; | ||
| 133 | |||
| 134 | ps2-presence { | ||
| 135 | label = "ps2-presence"; | ||
| 136 | gpios = <&gpio0 ASPEED_GPIO(S, 2) GPIO_ACTIVE_LOW>; | ||
| 137 | linux,code = <ASPEED_GPIO(S, 2)>; | ||
| 138 | }; | ||
| 139 | |||
| 140 | ps3-presence { | ||
| 141 | label = "ps3-presence"; | ||
| 142 | gpios = <&gpio0 ASPEED_GPIO(S, 3) GPIO_ACTIVE_LOW>; | ||
| 143 | linux,code = <ASPEED_GPIO(S, 3)>; | ||
| 144 | }; | ||
| 145 | }; | ||
| 146 | |||
| 147 | i2c2mux: i2cmux { | 119 | i2c2mux: i2cmux { |
| 148 | compatible = "i2c-mux-gpio"; | 120 | compatible = "i2c-mux-gpio"; |
| 149 | #address-cells = <1>; | 121 | #address-cells = <1>; |
| @@ -246,6 +218,21 @@ · 96 unmodified lines | |||
| 246 | linux,code = <11>; | 218 | linux,code = <11>; |
| 247 | }; | 219 | }; |
| 248 | }; | 220 | }; |
| 221 | |||
| 222 | iio-hwmon-battery { | ||
| 223 | compatible = "iio-hwmon"; | ||
| 224 | io-channels = <&adc1 7>; | ||
| 225 | }; | ||
| 226 | }; | ||
| 227 | |||
| 228 | &adc1 { | ||
| 229 | status = "okay"; | ||
| 230 | aspeed,int-vref-microvolt = <2500000>; | ||
| 231 | pinctrl-names = "default"; | ||
| 232 | pinctrl-0 = <&pinctrl_adc8_default &pinctrl_adc9_default | ||
| 233 | &pinctrl_adc10_default &pinctrl_adc11_default | ||
| 234 | &pinctrl_adc12_default &pinctrl_adc13_default | ||
| 235 | &pinctrl_adc14_default &pinctrl_adc15_default>; | ||
| 249 | }; | 236 | }; |
| 250 | 237 | ||
| 251 | &ehci1 { | 238 | &ehci1 { |
| @@ -259,10 +246,10 @@ · 7 unmodified lines | |||
| 259 | /*C0-C7*/ "","","","","","","","", | 246 | /*C0-C7*/ "","","","","","","","", |
| 260 | /*D0-D7*/ "","","","","","","","", | 247 | /*D0-D7*/ "","","","","","","","", |
| 261 | /*E0-E7*/ "","","","","","","","", | 248 | /*E0-E7*/ "","","","","","","","", |
| 262 | /*F0-F7*/ "","","","","","","","", | 249 | /*F0-F7*/ "","","","","","","factory-reset-toggle","", |
| 263 | /*G0-G7*/ "","","","","","","","", | 250 | /*G0-G7*/ "","","","","","","","", |
| 264 | /*H0-H7*/ "","bmc-ingraham0","rear-enc-id0","rear-enc-fault0","","","","", | 251 | /*H0-H7*/ "","bmc-ingraham0","rear-enc-id0","rear-enc-fault0","","","","", |
| 265 | /*I0-I7*/ "","","","","","","","", | 252 | /*I0-I7*/ "","","","","","","bmc-secure-boot","", |
| 266 | /*J0-J7*/ "","","","","","","","", | 253 | /*J0-J7*/ "","","","","","","","", |
| 267 | /*K0-K7*/ "","","","","","","","", | 254 | /*K0-K7*/ "","","","","","","","", |
| 268 | /*L0-L7*/ "","","","","","","","", | 255 | /*L0-L7*/ "","","","","","","","", |
| @@ -270,7 +257,7 @@ · 1 unmodified line | |||
| 270 | /*N0-N7*/ "","","","","","","","", | 257 | /*N0-N7*/ "","","","","","","","", |
| 271 | /*O0-O7*/ "","","","usb-power","","","","", | 258 | /*O0-O7*/ "","","","usb-power","","","","", |
| 272 | /*P0-P7*/ "","","","","pcieslot-power","","","", | 259 | /*P0-P7*/ "","","","","pcieslot-power","","","", |
| 273 | /*Q0-Q7*/ "cfam-reset","","","","","","","", | 260 | /*Q0-Q7*/ "cfam-reset","","regulator-standby-faulted","","","","","", |
| 274 | /*R0-R7*/ "bmc-tpm-reset","power-chassis-control","power-chassis-good","","","","","", | 261 | /*R0-R7*/ "bmc-tpm-reset","power-chassis-control","power-chassis-good","","","","","", |
| 275 | /*S0-S7*/ "presence-ps0","presence-ps1","presence-ps2","presence-ps3", | 262 | /*S0-S7*/ "presence-ps0","presence-ps1","presence-ps2","presence-ps3", |
| 276 | "","","","", | 263 | "","","","", |
| @@ -282,13 +269,6 @@ · 5 unmodified lines | |||
| 282 | /*Y0-Y7*/ "","","","","","","","", | 269 | /*Y0-Y7*/ "","","","","","","","", |
| 283 | /*Z0-Z7*/ "","","","","","","",""; | 270 | /*Z0-Z7*/ "","","","","","","",""; |
| 284 | 271 | ||
| 285 | pin_mclr_vpp { | ||
| 286 | gpio-hog; | ||
| 287 | gpios = <ASPEED_GPIO(P, 7) GPIO_OPEN_DRAIN>; | ||
| 288 | output-high; | ||
| 289 | line-name = "mclr_vpp"; | ||
| 290 | }; | ||
| 291 | |||
| 292 | i2c3_mux_oe_n { | 272 | i2c3_mux_oe_n { |
| 293 | gpio-hog; | 273 | gpio-hog; |
| 294 | gpios = <ASPEED_GPIO(G, 6) GPIO_ACTIVE_LOW>; | 274 | gpios = <ASPEED_GPIO(G, 6) GPIO_ACTIVE_LOW>; |
| @@ -945,46 +925,6 @@ · 650 unmodified lines | |||
| 945 | "DASD_BP2_PRESENT_N", | 925 | "DASD_BP2_PRESENT_N", |
| 946 | "DASD_BP1_PRESENT_N", | 926 | "DASD_BP1_PRESENT_N", |
| 947 | "DASD_BP0_PRESENT_N"; | 927 | "DASD_BP0_PRESENT_N"; |
| 948 | |||
| 949 | gpio@0 { | ||
| 950 | reg = <0>; | ||
| 951 | type = <PCA955X_TYPE_GPIO>; | ||
| 952 | }; | ||
| 953 | |||
| 954 | gpio@1 { | ||
| 955 | reg = <1>; | ||
| 956 | type = <PCA955X_TYPE_GPIO>; | ||
| 957 | }; | ||
| 958 | |||
| 959 | gpio@2 { | ||
| 960 | reg = <2>; | ||
| 961 | type = <PCA955X_TYPE_GPIO>; | ||
| 962 | }; | ||
| 963 | |||
| 964 | gpio@3 { | ||
| 965 | reg = <3>; | ||
| 966 | type = <PCA955X_TYPE_GPIO>; | ||
| 967 | }; | ||
| 968 | |||
| 969 | gpio@4 { | ||
| 970 | reg = <4>; | ||
| 971 | type = <PCA955X_TYPE_GPIO>; | ||
| 972 | }; | ||
| 973 | |||
| 974 | gpio@5 { | ||
| 975 | reg = <5>; | ||
| 976 | type = <PCA955X_TYPE_GPIO>; | ||
| 977 | }; | ||
| 978 | |||
| 979 | gpio@6 { | ||
| 980 | reg = <6>; | ||
| 981 | type = <PCA955X_TYPE_GPIO>; | ||
| 982 | }; | ||
| 983 | |||
| 984 | gpio@7 { | ||
| 985 | reg = <7>; | ||
| 986 | type = <PCA955X_TYPE_GPIO>; | ||
| 987 | }; | ||
| 988 | }; | 928 | }; |
| 989 | }; | 929 | }; |
| 990 | 930 | ||
| @@ -1025,86 +965,6 @@ · 34 unmodified lines | |||
| 1025 | "SLOT1_EXPANDER_PRSNT_N", "SLOT2_EXPANDER_PRSNT_N", | 965 | "SLOT1_EXPANDER_PRSNT_N", "SLOT2_EXPANDER_PRSNT_N", |
| 1026 | "SLOT3_EXPANDER_PRSNT_N", "SLOT4_EXPANDER_PRSNT_N", | 966 | "SLOT3_EXPANDER_PRSNT_N", "SLOT4_EXPANDER_PRSNT_N", |
| 1027 | "", "", "", "", "", ""; | 967 | "", "", "", "", "", ""; |
| 1028 | |||
| 1029 | gpio@0 { | ||
| 1030 | reg = <0>; | ||
| 1031 | type = <PCA955X_TYPE_GPIO>; | ||
| 1032 | }; | ||
| 1033 | |||
| 1034 | gpio@1 { | ||
| 1035 | reg = <1>; | ||
| 1036 | type = <PCA955X_TYPE_GPIO>; | ||
| 1037 | }; | ||
| 1038 | |||
| 1039 | gpio@2 { | ||
| 1040 | reg = <2>; | ||
| 1041 | type = <PCA955X_TYPE_GPIO>; | ||
| 1042 | }; | ||
| 1043 | |||
| 1044 | gpio@3 { | ||
| 1045 | reg = <3>; | ||
| 1046 | type = <PCA955X_TYPE_GPIO>; | ||
| 1047 | }; | ||
| 1048 | |||
| 1049 | gpio@4 { | ||
| 1050 | reg = <4>; | ||
| 1051 | type = <PCA955X_TYPE_GPIO>; | ||
| 1052 | }; | ||
| 1053 | |||
| 1054 | gpio@5 { | ||
| 1055 | reg = <5>; | ||
| 1056 | type = <PCA955X_TYPE_GPIO>; | ||
| 1057 | }; | ||
| 1058 | |||
| 1059 | gpio@6 { | ||
| 1060 | reg = <6>; | ||
| 1061 | type = <PCA955X_TYPE_GPIO>; | ||
| 1062 | }; | ||
| 1063 | |||
| 1064 | gpio@7 { | ||
| 1065 | reg = <7>; | ||
| 1066 | type = <PCA955X_TYPE_GPIO>; | ||
| 1067 | }; | ||
| 1068 | |||
| 1069 | gpio@8 { | ||
| 1070 | reg = <8>; | ||
| 1071 | type = <PCA955X_TYPE_GPIO>; | ||
| 1072 | }; | ||
| 1073 | |||
| 1074 | gpio@9 { | ||
| 1075 | reg = <9>; | ||
| 1076 | type = <PCA955X_TYPE_GPIO>; | ||
| 1077 | }; | ||
| 1078 | |||
| 1079 | gpio@10 { | ||
| 1080 | reg = <10>; | ||
| 1081 | type = <PCA955X_TYPE_GPIO>; | ||
| 1082 | }; | ||
| 1083 | |||
| 1084 | gpio@11 { | ||
| 1085 | reg = <11>; | ||
| 1086 | type = <PCA955X_TYPE_GPIO>; | ||
| 1087 | }; | ||
| 1088 | |||
| 1089 | gpio@12 { | ||
| 1090 | reg = <12>; | ||
| 1091 | type = <PCA955X_TYPE_GPIO>; | ||
| 1092 | }; | ||
| 1093 | |||
| 1094 | gpio@13 { | ||
| 1095 | reg = <13>; | ||
| 1096 | type = <PCA955X_TYPE_GPIO>; | ||
| 1097 | }; | ||
| 1098 | |||
| 1099 | gpio@14 { | ||
| 1100 | reg = <14>; | ||
| 1101 | type = <PCA955X_TYPE_GPIO>; | ||
| 1102 | }; | ||
| 1103 | |||
| 1104 | gpio@15 { | ||
| 1105 | reg = <15>; | ||
| 1106 | type = <PCA955X_TYPE_GPIO>; | ||
| 1107 | }; | ||
| 1108 | }; | 968 | }; |
| 1109 | }; | 969 | }; |
| 1110 | 970 | ||
| @@ -1126,6 +986,32 @@ · 15 unmodified lines | |||
| 1126 | reg = <0x4a>; | 986 | reg = <0x4a>; |
| 1127 | }; | 987 | }; |
| 1128 | 988 | ||
| 989 | pca9551@60 { | ||
| 990 | compatible = "nxp,pca9551"; | ||
| 991 | reg = <0x60>; | ||
| 992 | #address-cells = <1>; | ||
| 993 | #size-cells = <0>; | ||
| 994 | |||
| 995 | gpio-controller; | ||
| 996 | #gpio-cells = <2>; | ||
| 997 | |||
| 998 | led@0 { | ||
| 999 | label = "cablecard0-cxp-top"; | ||
| 1000 | reg = <0>; | ||
| 1001 | retain-state-shutdown; | ||
| 1002 | default-state = "keep"; | ||
| 1003 | type = <PCA955X_TYPE_LED>; | ||
| 1004 | }; | ||
| 1005 | |||
| 1006 | led@1 { | ||
| 1007 | label = "cablecard0-cxp-bot"; | ||
| 1008 | reg = <1>; | ||
| 1009 | retain-state-shutdown; | ||
| 1010 | default-state = "keep"; | ||
| 1011 | type = <PCA955X_TYPE_LED>; | ||
| 1012 | }; | ||
| 1013 | }; | ||
| 1014 | |||
| 1129 | pca9546@70 { | 1015 | pca9546@70 { |
| 1130 | compatible = "nxp,pca9546"; | 1016 | compatible = "nxp,pca9546"; |
| 1131 | reg = <0x70>; | 1017 | reg = <0x70>; |
| @@ -1182,6 +1068,58 @@ · 50 unmodified lines | |||
| 1182 | reg = <0x49>; | 1068 | reg = <0x49>; |
| 1183 | }; | 1069 | }; |
| 1184 | 1070 | ||
| 1071 | pca9551@60 { | ||
| 1072 | compatible = "nxp,pca9551"; | ||
| 1073 | reg = <0x60>; | ||
| 1074 | #address-cells = <1>; | ||
| 1075 | #size-cells = <0>; | ||
| 1076 | |||
| 1077 | gpio-controller; | ||
| 1078 | #gpio-cells = <2>; | ||
| 1079 | |||
| 1080 | led@0 { | ||
| 1081 | label = "cablecard3-cxp-top"; | ||
| 1082 | reg = <0>; | ||
| 1083 | retain-state-shutdown; | ||
| 1084 | default-state = "keep"; | ||
| 1085 | type = <PCA955X_TYPE_LED>; | ||
| 1086 | }; | ||
| 1087 | |||
| 1088 | led@1 { | ||
| 1089 | label = "cablecard3-cxp-bot"; | ||
| 1090 | reg = <1>; | ||
| 1091 | retain-state-shutdown; | ||
| 1092 | default-state = "keep"; | ||
| 1093 | type = <PCA955X_TYPE_LED>; | ||
| 1094 | }; | ||
| 1095 | }; | ||
| 1096 | |||
| 1097 | pca9551@61 { | ||
| 1098 | compatible = "nxp,pca9551"; | ||
| 1099 | reg = <0x61>; | ||
| 1100 | #address-cells = <1>; | ||
| 1101 | #size-cells = <0>; | ||
| 1102 | |||
| 1103 | gpio-controller; | ||
| 1104 | #gpio-cells = <2>; | ||
| 1105 | |||
| 1106 | led@0 { | ||
| 1107 | label = "cablecard4-cxp-top"; | ||
| 1108 | reg = <0>; | ||
| 1109 | retain-state-shutdown; | ||
| 1110 | default-state = "keep"; | ||
| 1111 | type = <PCA955X_TYPE_LED>; | ||
| 1112 | }; | ||
| 1113 | |||
| 1114 | led@1 { | ||
| 1115 | label = "cablecard4-cxp-bot"; | ||
| 1116 | reg = <1>; | ||
| 1117 | retain-state-shutdown; | ||
| 1118 | default-state = "keep"; | ||
| 1119 | type = <PCA955X_TYPE_LED>; | ||
| 1120 | }; | ||
| 1121 | }; | ||
| 1122 | |||
| 1185 | pca9546@70 { | 1123 | pca9546@70 { |
| 1186 | compatible = "nxp,pca9546"; | 1124 | compatible = "nxp,pca9546"; |
| 1187 | reg = <0x70>; | 1125 | reg = <0x70>; |
| @@ -1290,313 +1228,736 @@ · 102 unmodified lines | |||
| 1290 | multi-master; | 1228 | multi-master; |
| 1291 | status = "okay"; | 1229 | status = "okay"; |
| 1292 | 1230 | ||
| 1293 | si7021-a20@40 { | 1231 | pca9552@30 { |
| 1294 | compatible = "silabs,si7020"; | 1232 | compatible = "ibm,pca9552"; |
| 1295 | reg = <0x40>; | 1233 | reg = <0x30>; |
| 1296 | }; | ||
| 1297 | |||
| 1298 | tmp275@48 { | ||
| 1299 | compatible = "ti,tmp275"; | ||
| 1300 | reg = <0x48>; | ||
| 1301 | }; | ||
| 1302 | |||
| 1303 | max: max31785@52 { | ||
| 1304 | compatible = "maxim,max31785a"; | ||
| 1305 | reg = <0x52>; | ||
| 1306 | #address-cells = <1>; | 1234 | #address-cells = <1>; |
| 1307 | #size-cells = <0>; | 1235 | #size-cells = <0>; |
| 1308 | 1236 | ||
| 1309 | fan0: fan@0 { | 1237 | gpio-controller; |
| 1310 | compatible = "pmbus-fan"; | 1238 | #gpio-cells = <2>; |
| 1239 | |||
| 1240 | led@0 { | ||
| 1241 | label = "pcieslot0"; | ||
| 1311 | reg = <0>; | 1242 | reg = <0>; |
| 1312 | tach-pulses = <2>; | 1243 | retain-state-shutdown; |
| 1244 | default-state = "keep"; | ||
| 1245 | type = <PCA955X_TYPE_LED>; | ||
| 1313 | }; | 1246 | }; |
| 1314 | 1247 | ||
| 1315 | fan1: fan@1 { | 1248 | led@1 { |
| 1316 | compatible = "pmbus-fan"; | 1249 | label = "pcieslot1"; |
| 1317 | reg = <1>; | 1250 | reg = <1>; |
| 1318 | tach-pulses = <2>; | 1251 | retain-state-shutdown; |
| 1252 | default-state = "keep"; | ||
| 1253 | type = <PCA955X_TYPE_LED>; | ||
| 1319 | }; | 1254 | }; |
| 1320 | 1255 | ||
| 1321 | fan2: fan@2 { | 1256 | led@2 { |
| 1322 | compatible = "pmbus-fan"; | 1257 | label = "pcieslot2"; |
| 1323 | reg = <2>; | 1258 | reg = <2>; |
| 1324 | tach-pulses = <2>; | 1259 | retain-state-shutdown; |
| 1260 | default-state = "keep"; | ||
| 1261 | type = <PCA955X_TYPE_LED>; | ||
| 1325 | }; | 1262 | }; |
| 1326 | 1263 | ||
| 1327 | fan3: fan@3 { | 1264 | led@3 { |
| 1328 | compatible = "pmbus-fan"; | 1265 | label = "pcieslot3"; |
| 1329 | reg = <3>; | 1266 | reg = <3>; |
| 1330 | tach-pulses = <2>; | 1267 | retain-state-shutdown; |
| 1268 | default-state = "keep"; | ||
| 1269 | type = <PCA955X_TYPE_LED>; | ||
| 1331 | }; | 1270 | }; |
| 1332 | 1271 | ||
| 1333 | fan4: fan@4 { | 1272 | led@4 { |
| 1334 | compatible = "pmbus-fan"; | 1273 | label = "pcieslot4"; |
| 1335 | reg = <4>; | 1274 | reg = <4>; |
| 1336 | tach-pulses = <2>; | 1275 | retain-state-shutdown; |
| 1276 | default-state = "keep"; | ||
| 1277 | type = <PCA955X_TYPE_LED>; | ||
| 1337 | }; | 1278 | }; |
| 1338 | 1279 | ||
| 1339 | fan5: fan@5 { | 1280 | led@5 { |
| 1340 | compatible = "pmbus-fan"; | 1281 | label = "cpu1"; |
| 1341 | reg = <5>; | 1282 | reg = <5>; |
| 1342 | tach-pulses = <2>; | 1283 | retain-state-shutdown; |
| 1284 | default-state = "keep"; | ||
| 1285 | type = <PCA955X_TYPE_LED>; | ||
| 1286 | }; | ||
| 1287 | |||
| 1288 | led@6 { | ||
| 1289 | label = "cpu-vrm1"; | ||
| 1290 | reg = <6>; | ||
| 1291 | retain-state-shutdown; | ||
| 1292 | default-state = "keep"; | ||
| 1293 | type = <PCA955X_TYPE_LED>; | ||
| 1294 | }; | ||
| 1295 | |||
| 1296 | led@8 { | ||
| 1297 | label = "lcd-russel"; | ||
| 1298 | reg = <8>; | ||
| 1299 | retain-state-shutdown; | ||
| 1300 | default-state = "keep"; | ||
| 1301 | type = <PCA955X_TYPE_LED>; | ||
| 1343 | }; | 1302 | }; |
| 1344 | }; | 1303 | }; |
| 1345 | 1304 | ||
| 1346 | pca0: pca9552@61 { | 1305 | pca9552@31 { |
| 1347 | compatible = "nxp,pca9552"; | 1306 | compatible = "ibm,pca9552"; |
| 1348 | reg = <0x61>; | 1307 | reg = <0x31>; |
| 1349 | #address-cells = <1>; | 1308 | #address-cells = <1>; |
| 1350 | #size-cells = <0>; | 1309 | #size-cells = <0>; |
| 1351 | 1310 | ||
| 1352 | gpio-controller; | 1311 | gpio-controller; |
| 1353 | #gpio-cells = <2>; | 1312 | #gpio-cells = <2>; |
| 1354 | 1313 | ||
| 1355 | gpio@0 { | 1314 | led@0 { |
| 1315 | label = "ddimm0"; | ||
| 1356 | reg = <0>; | 1316 | reg = <0>; |
| 1357 | type = <PCA955X_TYPE_GPIO>; | 1317 | retain-state-shutdown; |
| 1318 | default-state = "keep"; | ||
| 1319 | type = <PCA955X_TYPE_LED>; | ||
| 1358 | }; | 1320 | }; |
| 1359 | 1321 | ||
| 1360 | gpio@1 { | 1322 | led@1 { |
| 1323 | label = "ddimm1"; | ||
| 1361 | reg = <1>; | 1324 | reg = <1>; |
| 1362 | type = <PCA955X_TYPE_GPIO>; | 1325 | retain-state-shutdown; |
| 1326 | default-state = "keep"; | ||
| 1327 | type = <PCA955X_TYPE_LED>; | ||
| 1363 | }; | 1328 | }; |
| 1364 | 1329 | ||
| 1365 | gpio@2 { | 1330 | led@2 { |
| 1331 | label = "ddimm2"; | ||
| 1366 | reg = <2>; | 1332 | reg = <2>; |
| 1367 | type = <PCA955X_TYPE_GPIO>; | 1333 | retain-state-shutdown; |
| 1334 | default-state = "keep"; | ||
| 1335 | type = <PCA955X_TYPE_LED>; | ||
| 1368 | }; | 1336 | }; |
| 1369 | 1337 | ||
| 1370 | gpio@3 { | 1338 | led@3 { |
| 1339 | label = "ddimm3"; | ||
| 1371 | reg = <3>; | 1340 | reg = <3>; |
| 1372 | type = <PCA955X_TYPE_GPIO>; | 1341 | retain-state-shutdown; |
| 1342 | default-state = "keep"; | ||
| 1343 | type = <PCA955X_TYPE_LED>; | ||
| 1373 | }; | 1344 | }; |
| 1374 | 1345 | ||
| 1375 | gpio@4 { | 1346 | led@4 { |
| 1347 | label = "ddimm4"; | ||
| 1376 | reg = <4>; | 1348 | reg = <4>; |
| 1377 | type = <PCA955X_TYPE_GPIO>; | 1349 | retain-state-shutdown; |
| 1350 | default-state = "keep"; | ||
| 1351 | type = <PCA955X_TYPE_LED>; | ||
| 1378 | }; | 1352 | }; |
| 1379 | 1353 | ||
| 1380 | gpio@5 { | 1354 | led@5 { |
| 1355 | label = "ddimm5"; | ||
| 1381 | reg = <5>; | 1356 | reg = <5>; |
| 1382 | type = <PCA955X_TYPE_GPIO>; | 1357 | retain-state-shutdown; |
| 1358 | default-state = "keep"; | ||
| 1359 | type = <PCA955X_TYPE_LED>; | ||
| 1383 | }; | 1360 | }; |
| 1384 | 1361 | ||
| 1385 | gpio@6 { | 1362 | led@6 { |
| 1363 | label = "ddimm6"; | ||
| 1386 | reg = <6>; | 1364 | reg = <6>; |
| 1387 | type = <PCA955X_TYPE_GPIO>; | 1365 | retain-state-shutdown; |
| 1366 | default-state = "keep"; | ||
| 1367 | type = <PCA955X_TYPE_LED>; | ||
| 1388 | }; | 1368 | }; |
| 1389 | 1369 | ||
| 1390 | gpio@7 { | 1370 | led@7 { |
| 1371 | label = "ddimm7"; | ||
| 1391 | reg = <7>; | 1372 | reg = <7>; |
| 1392 | type = <PCA955X_TYPE_GPIO>; | 1373 | retain-state-shutdown; |
| 1374 | default-state = "keep"; | ||
| 1375 | type = <PCA955X_TYPE_LED>; | ||
| 1393 | }; | 1376 | }; |
| 1394 | 1377 | ||
| 1395 | gpio@8 { | 1378 | led@8 { |
| 1379 | label = "ddimm8"; | ||
| 1396 | reg = <8>; | 1380 | reg = <8>; |
| 1397 | type = <PCA955X_TYPE_GPIO>; | 1381 | retain-state-shutdown; |
| 1382 | default-state = "keep"; | ||
| 1383 | type = <PCA955X_TYPE_LED>; | ||
| 1398 | }; | 1384 | }; |
| 1399 | 1385 | ||
| 1400 | gpio@9 { | 1386 | led@9 { |
| 1387 | label = "ddimm9"; | ||
| 1401 | reg = <9>; | 1388 | reg = <9>; |
| 1402 | type = <PCA955X_TYPE_GPIO>; | 1389 | retain-state-shutdown; |
| 1390 | default-state = "keep"; | ||
| 1391 | type = <PCA955X_TYPE_LED>; | ||
| 1403 | }; | 1392 | }; |
| 1404 | 1393 | ||
| 1405 | gpio@10 { | 1394 | led@10 { |
| 1395 | label = "ddimm10"; | ||
| 1406 | reg = <10>; | 1396 | reg = <10>; |
| 1407 | type = <PCA955X_TYPE_GPIO>; | 1397 | retain-state-shutdown; |
| 1398 | default-state = "keep"; | ||
| 1399 | type = <PCA955X_TYPE_LED>; | ||
| 1408 | }; | 1400 | }; |
| 1409 | 1401 | ||
| 1410 | gpio@11 { | 1402 | led@11 { |
| 1403 | label = "ddimm11"; | ||
| 1411 | reg = <11>; | 1404 | reg = <11>; |
| 1412 | type = <PCA955X_TYPE_GPIO>; | 1405 | retain-state-shutdown; |
| 1406 | default-state = "keep"; | ||
| 1407 | type = <PCA955X_TYPE_LED>; | ||
| 1413 | }; | 1408 | }; |
| 1414 | 1409 | ||
| 1415 | gpio@12 { | 1410 | led@12 { |
| 1411 | label = "ddimm12"; | ||
| 1416 | reg = <12>; | 1412 | reg = <12>; |
| 1417 | type = <PCA955X_TYPE_GPIO>; | 1413 | retain-state-shutdown; |
| 1414 | default-state = "keep"; | ||
| 1415 | type = <PCA955X_TYPE_LED>; | ||
| 1418 | }; | 1416 | }; |
| 1419 | 1417 | ||
| 1420 | gpio@13 { | 1418 | led@13 { |
| 1419 | label = "ddimm13"; | ||
| 1421 | reg = <13>; | 1420 | reg = <13>; |
| 1422 | type = <PCA955X_TYPE_GPIO>; | 1421 | retain-state-shutdown; |
| 1422 | default-state = "keep"; | ||
| 1423 | type = <PCA955X_TYPE_LED>; | ||
| 1423 | }; | 1424 | }; |
| 1424 | 1425 | ||
| 1425 | gpio@14 { | 1426 | led@14 { |
| 1427 | label = "ddimm14"; | ||
| 1426 | reg = <14>; | 1428 | reg = <14>; |
| 1427 | type = <PCA955X_TYPE_GPIO>; | 1429 | retain-state-shutdown; |
| 1430 | default-state = "keep"; | ||
| 1431 | type = <PCA955X_TYPE_LED>; | ||
| 1428 | }; | 1432 | }; |
| 1429 | 1433 | ||
| 1430 | gpio@15 { | 1434 | led@15 { |
| 1435 | label = "ddimm15"; | ||
| 1431 | reg = <15>; | 1436 | reg = <15>; |
| 1432 | type = <PCA955X_TYPE_GPIO>; | 1437 | retain-state-shutdown; |
| 1438 | default-state = "keep"; | ||
| 1439 | type = <PCA955X_TYPE_LED>; | ||
| 1433 | }; | 1440 | }; |
| 1434 | }; | 1441 | }; |
| 1435 | 1442 | ||
| 1436 | ibm-panel@62 { | 1443 | pca9552@32 { |
| 1437 | compatible = "ibm,op-panel"; | 1444 | compatible = "ibm,pca9552"; |
| 1438 | reg = <(0x62 | I2C_OWN_SLAVE_ADDRESS)>; | ||
| 1439 | }; | ||
| 1440 | |||
| 1441 | dps: dps310@76 { | ||
| 1442 | compatible = "infineon,dps310"; | ||
| 1443 | reg = <0x76>; | ||
| 1444 | #io-channel-cells = <0>; | ||
| 1445 | }; | ||
| 1446 | |||
| 1447 | eeprom@50 { | ||
| 1448 | compatible = "atmel,24c64"; | ||
| 1449 | reg = <0x50>; | ||
| 1450 | }; | ||
| 1451 | |||
| 1452 | eeprom@51 { | ||
| 1453 | compatible = "atmel,24c64"; | ||
| 1454 | reg = <0x51>; | ||
| 1455 | }; | ||
| 1456 | }; | ||
| 1457 | |||
| 1458 | &i2c8 { | ||
| 1459 | status = "okay"; | ||
| 1460 | |||
| 1461 | ucd90320@11 { | ||
| 1462 | compatible = "ti,ucd90320"; | ||
| 1463 | reg = <0x11>; | ||
| 1464 | }; | ||
| 1465 | |||
| 1466 | rtc@32 { | ||
| 1467 | compatible = "epson,rx8900"; | ||
| 1468 | reg = <0x32>; | 1445 | reg = <0x32>; |
| 1469 | }; | ||
| 1470 | |||
| 1471 | tmp275@48 { | ||
| 1472 | compatible = "ti,tmp275"; | ||
| 1473 | reg = <0x48>; | ||
| 1474 | }; | ||
| 1475 | |||
| 1476 | tmp275@4a { | ||
| 1477 | compatible = "ti,tmp275"; | ||
| 1478 | reg = <0x4a>; | ||
| 1479 | }; | ||
| 1480 | |||
| 1481 | eeprom@50 { | ||
| 1482 | compatible = "atmel,24c64"; | ||
| 1483 | reg = <0x50>; | ||
| 1484 | }; | ||
| 1485 | |||
| 1486 | eeprom@51 { | ||
| 1487 | compatible = "atmel,24c64"; | ||
| 1488 | reg = <0x51>; | ||
| 1489 | }; | ||
| 1490 | |||
| 1491 | pca_pres2: pca9552@61 { | ||
| 1492 | compatible = "nxp,pca9552"; | ||
| 1493 | reg = <0x61>; | ||
| 1494 | #address-cells = <1>; | 1446 | #address-cells = <1>; |
| 1495 | #size-cells = <0>; | 1447 | #size-cells = <0>; |
| 1448 | |||
| 1496 | gpio-controller; | 1449 | gpio-controller; |
| 1497 | #gpio-cells = <2>; | 1450 | #gpio-cells = <2>; |
| 1498 | 1451 | ||
| 1499 | gpio-line-names = | 1452 | led@0 { |
| 1500 | "SLOT6_PRSNT_EN_RSVD", "SLOT7_PRSNT_EN_RSVD", | 1453 | label = "ddimm16"; |
| 1501 | "SLOT8_PRSNT_EN_RSVD", "SLOT9_PRSNT_EN_RSVD", | ||
| 1502 | "SLOT10_PRSNT_EN_RSVD", "SLOT11_PRSNT_EN_RSVD", | ||
| 1503 | "SLOT6_EXPANDER_PRSNT_N", "SLOT7_EXPANDER_PRSNT_N", | ||
| 1504 | "SLOT8_EXPANDER_PRSNT_N", "SLOT9_EXPANDER_PRSNT_N", | ||
| 1505 | "SLOT10_EXPANDER_PRSNT_N", "SLOT11_EXPANDER_PRSNT_N", | ||
| 1506 | "", "", "", ""; | ||
| 1507 | |||
| 1508 | gpio@0 { | ||
| 1509 | reg = <0>; | 1454 | reg = <0>; |
| 1510 | type = <PCA955X_TYPE_GPIO>; | 1455 | retain-state-shutdown; |
| 1456 | default-state = "keep"; | ||
| 1457 | type = <PCA955X_TYPE_LED>; | ||
| 1511 | }; | 1458 | }; |
| 1512 | 1459 | ||
| 1513 | gpio@1 { | 1460 | led@1 { |
| 1461 | label = "ddimm17"; | ||
| 1514 | reg = <1>; | 1462 | reg = <1>; |
| 1515 | type = <PCA955X_TYPE_GPIO>; | 1463 | retain-state-shutdown; |
| 1464 | default-state = "keep"; | ||
| 1465 | type = <PCA955X_TYPE_LED>; | ||
| 1516 | }; | 1466 | }; |
| 1517 | 1467 | ||
| 1518 | gpio@2 { | 1468 | led@2 { |
| 1469 | label = "ddimm18"; | ||
| 1519 | reg = <2>; | 1470 | reg = <2>; |
| 1520 | type = <PCA955X_TYPE_GPIO>; | 1471 | retain-state-shutdown; |
| 1472 | default-state = "keep"; | ||
| 1473 | type = <PCA955X_TYPE_LED>; | ||
| 1521 | }; | 1474 | }; |
| 1522 | 1475 | ||
| 1523 | gpio@3 { | 1476 | led@3 { |
| 1477 | label = "ddimm19"; | ||
| 1524 | reg = <3>; | 1478 | reg = <3>; |
| 1525 | type = <PCA955X_TYPE_GPIO>; | 1479 | retain-state-shutdown; |
| 1480 | default-state = "keep"; | ||
| 1481 | type = <PCA955X_TYPE_LED>; | ||
| 1526 | }; | 1482 | }; |
| 1527 | 1483 | ||
| 1528 | gpio@4 { | 1484 | led@4 { |
| 1485 | label = "ddimm20"; | ||
| 1529 | reg = <4>; | 1486 | reg = <4>; |
| 1530 | type = <PCA955X_TYPE_GPIO>; | 1487 | retain-state-shutdown; |
| 1488 | default-state = "keep"; | ||
| 1489 | type = <PCA955X_TYPE_LED>; | ||
| 1531 | }; | 1490 | }; |
| 1532 | 1491 | ||
| 1533 | gpio@5 { | 1492 | led@5 { |
| 1493 | label = "ddimm21"; | ||
| 1534 | reg = <5>; | 1494 | reg = <5>; |
| 1535 | type = <PCA955X_TYPE_GPIO>; | 1495 | retain-state-shutdown; |
| 1496 | default-state = "keep"; | ||
| 1497 | type = <PCA955X_TYPE_LED>; | ||
| 1536 | }; | 1498 | }; |
| 1537 | 1499 | ||
| 1538 | gpio@6 { | 1500 | led@6 { |
| 1501 | label = "ddimm22"; | ||
| 1539 | reg = <6>; | 1502 | reg = <6>; |
| 1540 | type = <PCA955X_TYPE_GPIO>; | 1503 | retain-state-shutdown; |
| 1504 | default-state = "keep"; | ||
| 1505 | type = <PCA955X_TYPE_LED>; | ||
| 1541 | }; | 1506 | }; |
| 1542 | 1507 | ||
| 1543 | gpio@7 { | 1508 | led@7 { |
| 1509 | label = "ddimm23"; | ||
| 1544 | reg = <7>; | 1510 | reg = <7>; |
| 1545 | type = <PCA955X_TYPE_GPIO>; | 1511 | retain-state-shutdown; |
| 1512 | default-state = "keep"; | ||
| 1513 | type = <PCA955X_TYPE_LED>; | ||
| 1546 | }; | 1514 | }; |
| 1547 | 1515 | ||
| 1548 | gpio@8 { | 1516 | led@8 { |
| 1517 | label = "ddimm24"; | ||
| 1549 | reg = <8>; | 1518 | reg = <8>; |
| 1550 | type = <PCA955X_TYPE_GPIO>; | 1519 | retain-state-shutdown; |
| 1520 | default-state = "keep"; | ||
| 1521 | type = <PCA955X_TYPE_LED>; | ||
| 1551 | }; | 1522 | }; |
| 1552 | 1523 | ||
| 1553 | gpio@9 { | 1524 | led@9 { |
| 1525 | label = "ddimm25"; | ||
| 1554 | reg = <9>; | 1526 | reg = <9>; |
| 1555 | type = <PCA955X_TYPE_GPIO>; | 1527 | retain-state-shutdown; |
| 1528 | default-state = "keep"; | ||
| 1529 | type = <PCA955X_TYPE_LED>; | ||
| 1556 | }; | 1530 | }; |
| 1557 | 1531 | ||
| 1558 | gpio@10 { | 1532 | led@10 { |
| 1533 | label = "ddimm26"; | ||
| 1559 | reg = <10>; | 1534 | reg = <10>; |
| 1560 | type = <PCA955X_TYPE_GPIO>; | 1535 | retain-state-shutdown; |
| 1536 | default-state = "keep"; | ||
| 1537 | type = <PCA955X_TYPE_LED>; | ||
| 1561 | }; | 1538 | }; |
| 1562 | 1539 | ||
| 1563 | gpio@11 { | 1540 | led@11 { |
| 1541 | label = "ddimm27"; | ||
| 1564 | reg = <11>; | 1542 | reg = <11>; |
| 1565 | type = <PCA955X_TYPE_GPIO>; | 1543 | retain-state-shutdown; |
| 1544 | default-state = "keep"; | ||
| 1545 | type = <PCA955X_TYPE_LED>; | ||
| 1566 | }; | 1546 | }; |
| 1567 | 1547 | ||
| 1568 | gpio@12 { | 1548 | led@12 { |
| 1549 | label = "ddimm28"; | ||
| 1569 | reg = <12>; | 1550 | reg = <12>; |
| 1570 | type = <PCA955X_TYPE_GPIO>; | 1551 | retain-state-shutdown; |
| 1552 | default-state = "keep"; | ||
| 1553 | type = <PCA955X_TYPE_LED>; | ||
| 1571 | }; | 1554 | }; |
| 1572 | 1555 | ||
| 1573 | gpio@13 { | 1556 | led@13 { |
| 1557 | label = "ddimm29"; | ||
| 1574 | reg = <13>; | 1558 | reg = <13>; |
| 1575 | type = <PCA955X_TYPE_GPIO>; | 1559 | retain-state-shutdown; |
| 1560 | default-state = "keep"; | ||
| 1561 | type = <PCA955X_TYPE_LED>; | ||
| 1576 | }; | 1562 | }; |
| 1577 | 1563 | ||
| 1578 | gpio@14 { | 1564 | led@14 { |
| 1565 | label = "ddimm30"; | ||
| 1579 | reg = <14>; | 1566 | reg = <14>; |
| 1580 | type = <PCA955X_TYPE_GPIO>; | 1567 | retain-state-shutdown; |
| 1568 | default-state = "keep"; | ||
| 1569 | type = <PCA955X_TYPE_LED>; | ||
| 1581 | }; | 1570 | }; |
| 1582 | 1571 | ||
| 1583 | gpio@15 { | 1572 | led@15 { |
| 1573 | label = "ddimm31"; | ||
| 1584 | reg = <15>; | 1574 | reg = <15>; |
| 1585 | type = <PCA955X_TYPE_GPIO>; | 1575 | retain-state-shutdown; |
| 1576 | default-state = "keep"; | ||
| 1577 | type = <PCA955X_TYPE_LED>; | ||
| 1586 | }; | 1578 | }; |
| 1587 | }; | 1579 | }; |
| 1588 | 1580 | ||
| 1589 | }; | 1581 | pca9552@33 { |
| 1582 | compatible = "ibm,pca9552"; | ||
| 1583 | reg = <0x33>; | ||
| 1584 | #address-cells = <1>; | ||
| 1585 | #size-cells = <0>; | ||
| 1590 | 1586 | ||
| 1591 | &i2c9 { | 1587 | gpio-controller; |
| 1592 | status = "okay"; | 1588 | #gpio-cells = <2>; |
| 1593 | 1589 | ||
| 1594 | tmp423a@4c { | 1590 | led@0 { |
| 1595 | compatible = "ti,tmp423"; | 1591 | label = "planar"; |
| 1596 | reg = <0x4c>; | 1592 | reg = <0>; |
| 1597 | }; | 1593 | retain-state-shutdown; |
| 1594 | default-state = "keep"; | ||
| 1595 | type = <PCA955X_TYPE_LED>; | ||
| 1596 | }; | ||
| 1598 | 1597 | ||
| 1599 | tmp423b@4d { | 1598 | led@1 { |
| 1599 | label = "cpu0"; | ||
| 1600 | reg = <1>; | ||
| 1601 | retain-state-shutdown; | ||
| 1602 | default-state = "keep"; | ||
| 1603 | type = <PCA955X_TYPE_LED>; | ||
| 1604 | }; | ||
| 1605 | |||
| 1606 | led@3 { | ||
| 1607 | label = "dasd-pyramid0"; | ||
| 1608 | reg = <3>; | ||
| 1609 | retain-state-shutdown; | ||
| 1610 | default-state = "keep"; | ||
| 1611 | type = <PCA955X_TYPE_LED>; | ||
| 1612 | }; | ||
| 1613 | |||
| 1614 | led@4 { | ||
| 1615 | label = "dasd-pyramid1"; | ||
| 1616 | reg = <4>; | ||
| 1617 | retain-state-shutdown; | ||
| 1618 | default-state = "keep"; | ||
| 1619 | type = <PCA955X_TYPE_LED>; | ||
| 1620 | }; | ||
| 1621 | |||
| 1622 | led@5 { | ||
| 1623 | label = "dasd-pyramid2"; | ||
| 1624 | reg = <5>; | ||
| 1625 | retain-state-shutdown; | ||
| 1626 | default-state = "keep"; | ||
| 1627 | type = <PCA955X_TYPE_LED>; | ||
| 1628 | }; | ||
| 1629 | |||
| 1630 | led@6 { | ||
| 1631 | label = "cpu0-vrm0"; | ||
| 1632 | reg = <6>; | ||
| 1633 | retain-state-shutdown; | ||
| 1634 | default-state = "keep"; | ||
| 1635 | type = <PCA955X_TYPE_LED>; | ||
| 1636 | }; | ||
| 1637 | |||
| 1638 | led@7 { | ||
| 1639 | label = "rtc-battery"; | ||
| 1640 | reg = <7>; | ||
| 1641 | retain-state-shutdown; | ||
| 1642 | default-state = "keep"; | ||
| 1643 | type = <PCA955X_TYPE_LED>; | ||
| 1644 | }; | ||
| 1645 | |||
| 1646 | led@8 { | ||
| 1647 | label = "base-blyth"; | ||
| 1648 | reg = <8>; | ||
| 1649 | retain-state-shutdown; | ||
| 1650 | default-state = "keep"; | ||
| 1651 | type = <PCA955X_TYPE_LED>; | ||
| 1652 | }; | ||
| 1653 | |||
| 1654 | led@9 { | ||
| 1655 | label = "pcieslot6"; | ||
| 1656 | reg = <9>; | ||
| 1657 | retain-state-shutdown; | ||
| 1658 | default-state = "keep"; | ||
| 1659 | type = <PCA955X_TYPE_LED>; | ||
| 1660 | }; | ||
| 1661 | |||
| 1662 | led@10 { | ||
| 1663 | label = "pcieslot7"; | ||
| 1664 | reg = <10>; | ||
| 1665 | retain-state-shutdown; | ||
| 1666 | default-state = "keep"; | ||
| 1667 | type = <PCA955X_TYPE_LED>; | ||
| 1668 | }; | ||
| 1669 | |||
| 1670 | led@11 { | ||
| 1671 | label = "pcieslot8"; | ||
| 1672 | reg = <11>; | ||
| 1673 | retain-state-shutdown; | ||
| 1674 | default-state = "keep"; | ||
| 1675 | type = <PCA955X_TYPE_LED>; | ||
| 1676 | }; | ||
| 1677 | |||
| 1678 | led@12 { | ||
| 1679 | label = "pcieslot9"; | ||
| 1680 | reg = <12>; | ||
| 1681 | retain-state-shutdown; | ||
| 1682 | default-state = "keep"; | ||
| 1683 | type = <PCA955X_TYPE_LED>; | ||
| 1684 | }; | ||
| 1685 | |||
| 1686 | led@13 { | ||
| 1687 | label = "pcieslot10"; | ||
| 1688 | reg = <13>; | ||
| 1689 | retain-state-shutdown; | ||
| 1690 | default-state = "keep"; | ||
| 1691 | type = <PCA955X_TYPE_LED>; | ||
| 1692 | }; | ||
| 1693 | |||
| 1694 | led@14 { | ||
| 1695 | label = "pcieslot11"; | ||
| 1696 | reg = <14>; | ||
| 1697 | retain-state-shutdown; | ||
| 1698 | default-state = "keep"; | ||
| 1699 | type = <PCA955X_TYPE_LED>; | ||
| 1700 | }; | ||
| 1701 | |||
| 1702 | led@15 { | ||
| 1703 | label = "tpm-wilson"; | ||
| 1704 | reg = <15>; | ||
| 1705 | retain-state-shutdown; | ||
| 1706 | default-state = "keep"; | ||
| 1707 | type = <PCA955X_TYPE_LED>; | ||
| 1708 | }; | ||
| 1709 | }; | ||
| 1710 | |||
| 1711 | si7021-a20@40 { | ||
| 1712 | compatible = "silabs,si7020"; | ||
| 1713 | reg = <0x40>; | ||
| 1714 | }; | ||
| 1715 | |||
| 1716 | tmp275@48 { | ||
| 1717 | compatible = "ti,tmp275"; | ||
| 1718 | reg = <0x48>; | ||
| 1719 | }; | ||
| 1720 | |||
| 1721 | max: max31785@52 { | ||
| 1722 | compatible = "maxim,max31785a"; | ||
| 1723 | reg = <0x52>; | ||
| 1724 | #address-cells = <1>; | ||
| 1725 | #size-cells = <0>; | ||
| 1726 | |||
| 1727 | fan0: fan@0 { | ||
| 1728 | compatible = "pmbus-fan"; | ||
| 1729 | reg = <0>; | ||
| 1730 | tach-pulses = <2>; | ||
| 1731 | }; | ||
| 1732 | |||
| 1733 | fan1: fan@1 { | ||
| 1734 | compatible = "pmbus-fan"; | ||
| 1735 | reg = <1>; | ||
| 1736 | tach-pulses = <2>; | ||
| 1737 | }; | ||
| 1738 | |||
| 1739 | fan2: fan@2 { | ||
| 1740 | compatible = "pmbus-fan"; | ||
| 1741 | reg = <2>; | ||
| 1742 | tach-pulses = <2>; | ||
| 1743 | }; | ||
| 1744 | |||
| 1745 | fan3: fan@3 { | ||
| 1746 | compatible = "pmbus-fan"; | ||
| 1747 | reg = <3>; | ||
| 1748 | tach-pulses = <2>; | ||
| 1749 | }; | ||
| 1750 | |||
| 1751 | fan4: fan@4 { | ||
| 1752 | compatible = "pmbus-fan"; | ||
| 1753 | reg = <4>; | ||
| 1754 | tach-pulses = <2>; | ||
| 1755 | }; | ||
| 1756 | |||
| 1757 | fan5: fan@5 { | ||
| 1758 | compatible = "pmbus-fan"; | ||
| 1759 | reg = <5>; | ||
| 1760 | tach-pulses = <2>; | ||
| 1761 | }; | ||
| 1762 | }; | ||
| 1763 | |||
| 1764 | pca9551@60 { | ||
| 1765 | compatible = "nxp,pca9551"; | ||
| 1766 | reg = <0x60>; | ||
| 1767 | #address-cells = <1>; | ||
| 1768 | #size-cells = <0>; | ||
| 1769 | |||
| 1770 | gpio-controller; | ||
| 1771 | #gpio-cells = <2>; | ||
| 1772 | |||
| 1773 | led@0 { | ||
| 1774 | label = "front-sys-id0"; | ||
| 1775 | reg = <0>; | ||
| 1776 | retain-state-shutdown; | ||
| 1777 | default-state = "keep"; | ||
| 1778 | type = <PCA955X_TYPE_LED>; | ||
| 1779 | }; | ||
| 1780 | |||
| 1781 | led@1 { | ||
| 1782 | label = "front-check-log0"; | ||
| 1783 | reg = <1>; | ||
| 1784 | retain-state-shutdown; | ||
| 1785 | default-state = "keep"; | ||
| 1786 | type = <PCA955X_TYPE_LED>; | ||
| 1787 | }; | ||
| 1788 | |||
| 1789 | led@2 { | ||
| 1790 | label = "front-enc-fault1"; | ||
| 1791 | reg = <2>; | ||
| 1792 | retain-state-shutdown; | ||
| 1793 | default-state = "keep"; | ||
| 1794 | type = <PCA955X_TYPE_LED>; | ||
| 1795 | }; | ||
| 1796 | |||
| 1797 | led@3 { | ||
| 1798 | label = "front-sys-pwron0"; | ||
| 1799 | reg = <3>; | ||
| 1800 | retain-state-shutdown; | ||
| 1801 | default-state = "keep"; | ||
| 1802 | type = <PCA955X_TYPE_LED>; | ||
| 1803 | }; | ||
| 1804 | }; | ||
| 1805 | |||
| 1806 | pca0: pca9552@61 { | ||
| 1807 | compatible = "nxp,pca9552"; | ||
| 1808 | reg = <0x61>; | ||
| 1809 | #address-cells = <1>; | ||
| 1810 | #size-cells = <0>; | ||
| 1811 | |||
| 1812 | gpio-controller; | ||
| 1813 | #gpio-cells = <2>; | ||
| 1814 | |||
| 1815 | led@0 { | ||
| 1816 | label = "fan0"; | ||
| 1817 | reg = <0>; | ||
| 1818 | retain-state-shutdown; | ||
| 1819 | default-state = "keep"; | ||
| 1820 | type = <PCA955X_TYPE_LED>; | ||
| 1821 | }; | ||
| 1822 | |||
| 1823 | led@1 { | ||
| 1824 | label = "fan1"; | ||
| 1825 | reg = <1>; | ||
| 1826 | retain-state-shutdown; | ||
| 1827 | default-state = "keep"; | ||
| 1828 | type = <PCA955X_TYPE_LED>; | ||
| 1829 | }; | ||
| 1830 | |||
| 1831 | led@2 { | ||
| 1832 | label = "fan2"; | ||
| 1833 | reg = <2>; | ||
| 1834 | retain-state-shutdown; | ||
| 1835 | default-state = "keep"; | ||
| 1836 | type = <PCA955X_TYPE_LED>; | ||
| 1837 | }; | ||
| 1838 | |||
| 1839 | led@3 { | ||
| 1840 | label = "fan3"; | ||
| 1841 | reg = <3>; | ||
| 1842 | retain-state-shutdown; | ||
| 1843 | default-state = "keep"; | ||
| 1844 | type = <PCA955X_TYPE_LED>; | ||
| 1845 | }; | ||
| 1846 | |||
| 1847 | led@4 { | ||
| 1848 | label = "fan4"; | ||
| 1849 | reg = <4>; | ||
| 1850 | retain-state-shutdown; | ||
| 1851 | default-state = "keep"; | ||
| 1852 | type = <PCA955X_TYPE_LED>; | ||
| 1853 | }; | ||
| 1854 | |||
| 1855 | led@5 { | ||
| 1856 | label = "fan5"; | ||
| 1857 | reg = <5>; | ||
| 1858 | retain-state-shutdown; | ||
| 1859 | default-state = "keep"; | ||
| 1860 | type = <PCA955X_TYPE_LED>; | ||
| 1861 | }; | ||
| 1862 | }; | ||
| 1863 | |||
| 1864 | ibm-panel@62 { | ||
| 1865 | compatible = "ibm,op-panel"; | ||
| 1866 | reg = <(0x62 | I2C_OWN_SLAVE_ADDRESS)>; | ||
| 1867 | }; | ||
| 1868 | |||
| 1869 | dps: dps310@76 { | ||
| 1870 | compatible = "infineon,dps310"; | ||
| 1871 | reg = <0x76>; | ||
| 1872 | #io-channel-cells = <0>; | ||
| 1873 | }; | ||
| 1874 | |||
| 1875 | eeprom@50 { | ||
| 1876 | compatible = "atmel,24c64"; | ||
| 1877 | reg = <0x50>; | ||
| 1878 | }; | ||
| 1879 | |||
| 1880 | eeprom@51 { | ||
| 1881 | compatible = "atmel,24c64"; | ||
| 1882 | reg = <0x51>; | ||
| 1883 | }; | ||
| 1884 | }; | ||
| 1885 | |||
| 1886 | &i2c8 { | ||
| 1887 | status = "okay"; | ||
| 1888 | |||
| 1889 | ucd90320@11 { | ||
| 1890 | compatible = "ti,ucd90320"; | ||
| 1891 | reg = <0x11>; | ||
| 1892 | }; | ||
| 1893 | |||
| 1894 | rtc@32 { | ||
| 1895 | compatible = "epson,rx8900"; | ||
| 1896 | reg = <0x32>; | ||
| 1897 | }; | ||
| 1898 | |||
| 1899 | tmp275@48 { | ||
| 1900 | compatible = "ti,tmp275"; | ||
| 1901 | reg = <0x48>; | ||
| 1902 | }; | ||
| 1903 | |||
| 1904 | tmp275@4a { | ||
| 1905 | compatible = "ti,tmp275"; | ||
| 1906 | reg = <0x4a>; | ||
| 1907 | }; | ||
| 1908 | |||
| 1909 | eeprom@50 { | ||
| 1910 | compatible = "atmel,24c64"; | ||
| 1911 | reg = <0x50>; | ||
| 1912 | }; | ||
| 1913 | |||
| 1914 | eeprom@51 { | ||
| 1915 | compatible = "atmel,24c64"; | ||
| 1916 | reg = <0x51>; | ||
| 1917 | }; | ||
| 1918 | |||
| 1919 | pca_pres3: pca9552@60 { | ||
| 1920 | compatible = "nxp,pca9552"; | ||
| 1921 | reg = <0x60>; | ||
| 1922 | #address-cells = <1>; | ||
| 1923 | #size-cells = <0>; | ||
| 1924 | gpio-controller; | ||
| 1925 | #gpio-cells = <2>; | ||
| 1926 | |||
| 1927 | gpio-line-names = | ||
| 1928 | "", "", "", "", "", "", "", "", | ||
| 1929 | "", "", "", "", "", "", "power-config-full-load", ""; | ||
| 1930 | }; | ||
| 1931 | |||
| 1932 | pca_pres2: pca9552@61 { | ||
| 1933 | compatible = "nxp,pca9552"; | ||
| 1934 | reg = <0x61>; | ||
| 1935 | #address-cells = <1>; | ||
| 1936 | #size-cells = <0>; | ||
| 1937 | gpio-controller; | ||
| 1938 | #gpio-cells = <2>; | ||
| 1939 | |||
| 1940 | gpio-line-names = | ||
| 1941 | "SLOT6_PRSNT_EN_RSVD", "SLOT7_PRSNT_EN_RSVD", | ||
| 1942 | "SLOT8_PRSNT_EN_RSVD", "SLOT9_PRSNT_EN_RSVD", | ||
| 1943 | "SLOT10_PRSNT_EN_RSVD", "SLOT11_PRSNT_EN_RSVD", | ||
| 1944 | "SLOT6_EXPANDER_PRSNT_N", "SLOT7_EXPANDER_PRSNT_N", | ||
| 1945 | "SLOT8_EXPANDER_PRSNT_N", "SLOT9_EXPANDER_PRSNT_N", | ||
| 1946 | "SLOT10_EXPANDER_PRSNT_N", "SLOT11_EXPANDER_PRSNT_N", | ||
| 1947 | "", "", "", ""; | ||
| 1948 | }; | ||
| 1949 | |||
| 1950 | }; | ||
| 1951 | |||
| 1952 | &i2c9 { | ||
| 1953 | status = "okay"; | ||
| 1954 | |||
| 1955 | tmp423a@4c { | ||
| 1956 | compatible = "ti,tmp423"; | ||
| 1957 | reg = <0x4c>; | ||
| 1958 | }; | ||
| 1959 | |||
| 1960 | tmp423b@4d { | ||
| 1600 | compatible = "ti,tmp423"; | 1961 | compatible = "ti,tmp423"; |
| 1601 | reg = <0x4d>; | 1962 | reg = <0x4d>; |
| 1602 | }; | 1963 | }; |
| @@ -1639,6 +2000,32 @@ · 36 unmodified lines | |||
| 1639 | reg = <0x49>; | 2000 | reg = <0x49>; |
| 1640 | }; | 2001 | }; |
| 1641 | 2002 | ||
| 2003 | pca9551@60 { | ||
| 2004 | compatible = "nxp,pca9551"; | ||
| 2005 | reg = <0x60>; | ||
| 2006 | #address-cells = <1>; | ||
| 2007 | #size-cells = <0>; | ||
| 2008 | |||
| 2009 | gpio-controller; | ||
| 2010 | #gpio-cells = <2>; | ||
| 2011 | |||
| 2012 | led@0 { | ||
| 2013 | label = "cablecard10-cxp-top"; | ||
| 2014 | reg = <0>; | ||
| 2015 | retain-state-shutdown; | ||
| 2016 | default-state = "keep"; | ||
| 2017 | type = <PCA955X_TYPE_LED>; | ||
| 2018 | }; | ||
| 2019 | |||
| 2020 | led@1 { | ||
| 2021 | label = "cablecard10-cxp-bot"; | ||
| 2022 | reg = <1>; | ||
| 2023 | retain-state-shutdown; | ||
| 2024 | default-state = "keep"; | ||
| 2025 | type = <PCA955X_TYPE_LED>; | ||
| 2026 | }; | ||
| 2027 | }; | ||
| 2028 | |||
| 1642 | pca9546@70 { | 2029 | pca9546@70 { |
| 1643 | compatible = "nxp,pca9546"; | 2030 | compatible = "nxp,pca9546"; |
| 1644 | reg = <0x70>; | 2031 | reg = <0x70>; |
| @@ -1673,6 +2060,11 @@ · 28 unmodified lines | |||
| 1673 | 2060 | ||
| 1674 | &i2c12 { | 2061 | &i2c12 { |
| 1675 | status = "okay"; | 2062 | status = "okay"; |
| 2063 | |||
| 2064 | eeprom@50 { | ||
| 2065 | compatible = "atmel,24c64"; | ||
| 2066 | reg = <0x50>; | ||
| 2067 | }; | ||
| 1676 | }; | 2068 | }; |
| 1677 | 2069 | ||
| 1678 | &i2c13 { | 2070 | &i2c13 { |
| @@ -1682,6 +2074,80 @@ · 3 unmodified lines | |||
| 1682 | compatible = "atmel,24c64"; | 2074 | compatible = "atmel,24c64"; |
| 1683 | reg = <0x50>; | 2075 | reg = <0x50>; |
| 1684 | }; | 2076 | }; |
| 2077 | |||
| 2078 | pca9552@60 { | ||
| 2079 | compatible = "nxp,pca9552"; | ||
| 2080 | reg = <0x60>; | ||
| 2081 | #address-cells = <1>; | ||
| 2082 | #size-cells = <0>; | ||
| 2083 | |||
| 2084 | gpio-controller; | ||
| 2085 | #gpio-cells = <2>; | ||
| 2086 | |||
| 2087 | led@0 { | ||
| 2088 | label = "nvme0"; | ||
| 2089 | reg = <0>; | ||
| 2090 | retain-state-shutdown; | ||
| 2091 | default-state = "keep"; | ||
| 2092 | type = <PCA955X_TYPE_LED>; | ||
| 2093 | }; | ||
| 2094 | |||
| 2095 | led@1 { | ||
| 2096 | label = "nvme1"; | ||
| 2097 | reg = <1>; | ||
| 2098 | retain-state-shutdown; | ||
| 2099 | default-state = "keep"; | ||
| 2100 | type = <PCA955X_TYPE_LED>; | ||
| 2101 | }; | ||
| 2102 | |||
| 2103 | led@2 { | ||
| 2104 | label = "nvme2"; | ||
| 2105 | reg = <2>; | ||
| 2106 | retain-state-shutdown; | ||
| 2107 | default-state = "keep"; | ||
| 2108 | type = <PCA955X_TYPE_LED>; | ||
| 2109 | }; | ||
| 2110 | |||
| 2111 | led@3 { | ||
| 2112 | label = "nvme3"; | ||
| 2113 | reg = <3>; | ||
| 2114 | retain-state-shutdown; | ||
| 2115 | default-state = "keep"; | ||
| 2116 | type = <PCA955X_TYPE_LED>; | ||
| 2117 | }; | ||
| 2118 | |||
| 2119 | led@4 { | ||
| 2120 | label = "nvme4"; | ||
| 2121 | reg = <4>; | ||
| 2122 | retain-state-shutdown; | ||
| 2123 | default-state = "keep"; | ||
| 2124 | type = <PCA955X_TYPE_LED>; | ||
| 2125 | }; | ||
| 2126 | |||
| 2127 | led@5 { | ||
| 2128 | label = "nvme5"; | ||
| 2129 | reg = <5>; | ||
| 2130 | retain-state-shutdown; | ||
| 2131 | default-state = "keep"; | ||
| 2132 | type = <PCA955X_TYPE_LED>; | ||
| 2133 | }; | ||
| 2134 | |||
| 2135 | led@6 { | ||
| 2136 | label = "nvme6"; | ||
| 2137 | reg = <6>; | ||
| 2138 | retain-state-shutdown; | ||
| 2139 | default-state = "keep"; | ||
| 2140 | type = <PCA955X_TYPE_LED>; | ||
| 2141 | }; | ||
| 2142 | |||
| 2143 | led@7 { | ||
| 2144 | label = "nvme7"; | ||
| 2145 | reg = <7>; | ||
| 2146 | retain-state-shutdown; | ||
| 2147 | default-state = "keep"; | ||
| 2148 | type = <PCA955X_TYPE_LED>; | ||
| 2149 | }; | ||
| 2150 | }; | ||
| 1685 | }; | 2151 | }; |
| 1686 | 2152 | ||
| 1687 | &i2c14 { | 2153 | &i2c14 { |
| @@ -1691,6 +2157,80 @@ · 3 unmodified lines | |||
| 1691 | compatible = "atmel,24c64"; | 2157 | compatible = "atmel,24c64"; |
| 1692 | reg = <0x50>; | 2158 | reg = <0x50>; |
| 1693 | }; | 2159 | }; |
| 2160 | |||
| 2161 | pca9552@60 { | ||
| 2162 | compatible = "nxp,pca9552"; | ||
| 2163 | reg = <0x60>; | ||
| 2164 | #address-cells = <1>; | ||
| 2165 | #size-cells = <0>; | ||
| 2166 | |||
| 2167 | gpio-controller; | ||
| 2168 | #gpio-cells = <2>; | ||
| 2169 | |||
| 2170 | led@0 { | ||
| 2171 | label = "nvme8"; | ||
| 2172 | reg = <0>; | ||
| 2173 | retain-state-shutdown; | ||
| 2174 | default-state = "keep"; | ||
| 2175 | type = <PCA955X_TYPE_LED>; | ||
| 2176 | }; | ||
| 2177 | |||
| 2178 | led@1 { | ||
| 2179 | label = "nvme9"; | ||
| 2180 | reg = <1>; | ||
| 2181 | retain-state-shutdown; | ||
| 2182 | default-state = "keep"; | ||
| 2183 | type = <PCA955X_TYPE_LED>; | ||
| 2184 | }; | ||
| 2185 | |||
| 2186 | led@2 { | ||
| 2187 | label = "nvme10"; | ||
| 2188 | reg = <2>; | ||
| 2189 | retain-state-shutdown; | ||
| 2190 | default-state = "keep"; | ||
| 2191 | type = <PCA955X_TYPE_LED>; | ||
| 2192 | }; | ||
| 2193 | |||
| 2194 | led@3 { | ||
| 2195 | label = "nvme11"; | ||
| 2196 | reg = <3>; | ||
| 2197 | retain-state-shutdown; | ||
| 2198 | default-state = "keep"; | ||
| 2199 | type = <PCA955X_TYPE_LED>; | ||
| 2200 | }; | ||
| 2201 | |||
| 2202 | led@4 { | ||
| 2203 | label = "nvme12"; | ||
| 2204 | reg = <4>; | ||
| 2205 | retain-state-shutdown; | ||
| 2206 | default-state = "keep"; | ||
| 2207 | type = <PCA955X_TYPE_LED>; | ||
| 2208 | }; | ||
| 2209 | |||
| 2210 | led@5 { | ||
| 2211 | label = "nvme13"; | ||
| 2212 | reg = <5>; | ||
| 2213 | retain-state-shutdown; | ||
| 2214 | default-state = "keep"; | ||
| 2215 | type = <PCA955X_TYPE_LED>; | ||
| 2216 | }; | ||
| 2217 | |||
| 2218 | led@6 { | ||
| 2219 | label = "nvme14"; | ||
| 2220 | reg = <6>; | ||
| 2221 | retain-state-shutdown; | ||
| 2222 | default-state = "keep"; | ||
| 2223 | type = <PCA955X_TYPE_LED>; | ||
| 2224 | }; | ||
| 2225 | |||
| 2226 | led@7 { | ||
| 2227 | label = "nvme15"; | ||
| 2228 | reg = <7>; | ||
| 2229 | retain-state-shutdown; | ||
| 2230 | default-state = "keep"; | ||
| 2231 | type = <PCA955X_TYPE_LED>; | ||
| 2232 | }; | ||
| 2233 | }; | ||
| 1694 | }; | 2234 | }; |
| 1695 | 2235 | ||
| 1696 | &i2c15 { | 2236 | &i2c15 { |
| @@ -1700,6 +2240,80 @@ · 3 unmodified lines | |||
| 1700 | compatible = "atmel,24c64"; | 2240 | compatible = "atmel,24c64"; |
| 1701 | reg = <0x50>; | 2241 | reg = <0x50>; |
| 1702 | }; | 2242 | }; |
| 2243 | |||
| 2244 | pca9552@60 { | ||
| 2245 | compatible = "nxp,pca9552"; | ||
| 2246 | reg = <0x60>; | ||
| 2247 | #address-cells = <1>; | ||
| 2248 | #size-cells = <0>; | ||
| 2249 | |||
| 2250 | gpio-controller; | ||
| 2251 | #gpio-cells = <2>; | ||
| 2252 | |||
| 2253 | led@0 { | ||
| 2254 | label = "nvme16"; | ||
| 2255 | reg = <0>; | ||
| 2256 | retain-state-shutdown; | ||
| 2257 | default-state = "keep"; | ||
| 2258 | type = <PCA955X_TYPE_LED>; | ||
| 2259 | }; | ||
| 2260 | |||
| 2261 | led@1 { | ||
| 2262 | label = "nvme17"; | ||
| 2263 | reg = <1>; | ||
| 2264 | retain-state-shutdown; | ||
| 2265 | default-state = "keep"; | ||
| 2266 | type = <PCA955X_TYPE_LED>; | ||
| 2267 | }; | ||
| 2268 | |||
| 2269 | led@2 { | ||
| 2270 | label = "nvme18"; | ||
| 2271 | reg = <2>; | ||
| 2272 | retain-state-shutdown; | ||
| 2273 | default-state = "keep"; | ||
| 2274 | type = <PCA955X_TYPE_LED>; | ||
| 2275 | }; | ||
| 2276 | |||
| 2277 | led@3 { | ||
| 2278 | label = "nvme19"; | ||
| 2279 | reg = <3>; | ||
| 2280 | retain-state-shutdown; | ||
| 2281 | default-state = "keep"; | ||
| 2282 | type = <PCA955X_TYPE_LED>; | ||
| 2283 | }; | ||
| 2284 | |||
| 2285 | led@4 { | ||
| 2286 | label = "nvme20"; | ||
| 2287 | reg = <4>; | ||
| 2288 | retain-state-shutdown; | ||
| 2289 | default-state = "keep"; | ||
| 2290 | type = <PCA955X_TYPE_LED>; | ||
| 2291 | }; | ||
| 2292 | |||
| 2293 | led@5 { | ||
| 2294 | label = "nvme21"; | ||
| 2295 | reg = <5>; | ||
| 2296 | retain-state-shutdown; | ||
| 2297 | default-state = "keep"; | ||
| 2298 | type = <PCA955X_TYPE_LED>; | ||
| 2299 | }; | ||
| 2300 | |||
| 2301 | led@6 { | ||
| 2302 | label = "nvme22"; | ||
| 2303 | reg = <6>; | ||
| 2304 | retain-state-shutdown; | ||
| 2305 | default-state = "keep"; | ||
| 2306 | type = <PCA955X_TYPE_LED>; | ||
| 2307 | }; | ||
| 2308 | |||
| 2309 | led@7 { | ||
| 2310 | label = "nvme23"; | ||
| 2311 | reg = <7>; | ||
| 2312 | retain-state-shutdown; | ||
| 2313 | default-state = "keep"; | ||
| 2314 | type = <PCA955X_TYPE_LED>; | ||
| 2315 | }; | ||
| 2316 | }; | ||
| 1703 | }; | 2317 | }; |
| 1704 | 2318 | ||
| 1705 | &vuart1 { | 2319 | &vuart1 { |
| @@ -1777,3 +2391,14 @@ · 71 unmodified lines | |||
| 1777 | status = "okay"; | 2391 | status = "okay"; |
| 1778 | memory-region = <&vga_memory>; | 2392 | memory-region = <&vga_memory>; |
| 1779 | }; | 2393 | }; |
| 2394 | |||
| 2395 | &kcs2 { | ||
| 2396 | status = "okay"; | ||
| 2397 | aspeed,lpc-io-reg = <0xca8 0xcac>; | ||
| 2398 | }; | ||
| 2399 | |||
| 2400 | &kcs3 { | ||
| 2401 | status = "okay"; | ||
| 2402 | aspeed,lpc-io-reg = <0xca2>; | ||
| 2403 | aspeed,lpc-interrupts = <11 IRQ_TYPE_LEVEL_LOW>; | ||
| 2404 | }; | ||
| @@ -3,6 +3,7 @@ · 2 unmodified lines | |||
| 3 | #include "aspeed-g5.dtsi" | 3 | #include "aspeed-g5.dtsi" |
| 4 | #include <dt-bindings/gpio/aspeed-gpio.h> | 4 | #include <dt-bindings/gpio/aspeed-gpio.h> |
| 5 | #include <dt-bindings/leds/leds-pca955x.h> | 5 | #include <dt-bindings/leds/leds-pca955x.h> |
| 6 | #include <dt-bindings/interrupt-controller/irq.h> | ||
| 6 | 7 | ||
| 7 | / { | 8 | / { |
| 8 | model = "FP5280G2 BMC"; | 9 | model = "FP5280G2 BMC"; |
| @@ -245,7 +246,7 @@ · 236 unmodified lines | |||
| 245 | label = "bmc"; | 246 | label = "bmc"; |
| 246 | m25p,fast-read; | 247 | m25p,fast-read; |
| 247 | spi-max-frequency = <50000000>; | 248 | spi-max-frequency = <50000000>; |
| 248 | #include "openbmc-flash-layout.dtsi" | 249 | #include "openbmc-flash-layout-64.dtsi" |
| 249 | }; | 250 | }; |
| 250 | }; | 251 | }; |
| 251 | 252 | ||
| @@ -902,4 +903,10 @@ · 650 unmodified lines | |||
| 902 | 903 | ||
| 903 | }; | 904 | }; |
| 904 | 905 | ||
| 906 | &kcs3 { | ||
| 907 | status = "okay"; | ||
| 908 | aspeed,lpc-io-reg = <0xca2>; | ||
| 909 | aspeed,lpc-interrupts = <11 IRQ_TYPE_LEVEL_LOW>; | ||
| 910 | }; | ||
| 911 | |||
| 905 | #include "ibm-power9-dual.dtsi" | 912 | #include "ibm-power9-dual.dtsi" |
| @@ -0,0 +1,328 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 2 | // Copyright 2021 Inventec Corp. | ||
| 3 | |||
| 4 | /dts-v1/; | ||
| 5 | |||
| 6 | #include "aspeed-g6.dtsi" | ||
| 7 | #include "aspeed-g6-pinctrl.dtsi" | ||
| 8 | #include <dt-bindings/i2c/i2c.h> | ||
| 9 | #include <dt-bindings/gpio/aspeed-gpio.h> | ||
| 10 | |||
| 11 | / { | ||
| 12 | model = "TRANSFORMERS BMC"; | ||
| 13 | compatible = "inventec,transformer-bmc", "aspeed,ast2600"; | ||
| 14 | |||
| 15 | aliases { | ||
| 16 | serial4 = &uart5; | ||
| 17 | }; | ||
| 18 | |||
| 19 | chosen { | ||
| 20 | stdout-path = &uart5; | ||
| 21 | bootargs = "console=ttyS4,115200n8"; | ||
| 22 | }; | ||
| 23 | |||
| 24 | memory@80000000 { | ||
| 25 | device_type = "memory"; | ||
| 26 | reg = <0x80000000 0x80000000>; | ||
| 27 | }; | ||
| 28 | |||
| 29 | leds { | ||
| 30 | compatible = "gpio-leds"; | ||
| 31 | |||
| 32 | // UID led | ||
| 33 | uid { | ||
| 34 | label = "UID_LED"; | ||
| 35 | gpios = <&gpio0 ASPEED_GPIO(X, 0) GPIO_ACTIVE_LOW>; | ||
| 36 | }; | ||
| 37 | |||
| 38 | // Heart beat led | ||
| 39 | heartbeat { | ||
| 40 | label = "HB_LED"; | ||
| 41 | gpios = <&gpio0 ASPEED_GPIO(P, 7) GPIO_ACTIVE_LOW>; | ||
| 42 | }; | ||
| 43 | }; | ||
| 44 | }; | ||
| 45 | |||
| 46 | &mdio0 { | ||
| 47 | status = "okay"; | ||
| 48 | |||
| 49 | ethphy0: ethernet-phy@0 { | ||
| 50 | compatible = "ethernet-phy-ieee802.3-c22"; | ||
| 51 | reg = <1>; | ||
| 52 | }; | ||
| 53 | }; | ||
| 54 | |||
| 55 | &mac3 { | ||
| 56 | status = "okay"; | ||
| 57 | phy-mode = "rgmii"; | ||
| 58 | phy-handle = <ðphy0>; | ||
| 59 | pinctrl-names = "default"; | ||
| 60 | pinctrl-0 = <&pinctrl_rgmii4_default>; | ||
| 61 | }; | ||
| 62 | |||
| 63 | &fmc { | ||
| 64 | status = "okay"; | ||
| 65 | |||
| 66 | flash@0 { | ||
| 67 | status = "okay"; | ||
| 68 | m25p,fast-read; | ||
| 69 | label = "bmc"; | ||
| 70 | spi-max-frequency = <33000000>; | ||
| 71 | spi-tx-bus-width = <2>; | ||
| 72 | spi-rx-bus-width = <2>; | ||
| 73 | #include "openbmc-flash-layout.dtsi" | ||
| 74 | }; | ||
| 75 | |||
| 76 | flash@1 { | ||
| 77 | status = "okay"; | ||
| 78 | m25p,fast-read; | ||
| 79 | label = "bmc2"; | ||
| 80 | spi-max-frequency = <33000000>; | ||
| 81 | spi-tx-bus-width = <2>; | ||
| 82 | spi-rx-bus-width = <2>; | ||
| 83 | }; | ||
| 84 | }; | ||
| 85 | |||
| 86 | &spi1 { | ||
| 87 | status = "okay"; | ||
| 88 | pinctrl-names = "default"; | ||
| 89 | pinctrl-0 = <&pinctrl_spi1_default>; | ||
| 90 | |||
| 91 | flash@0 { | ||
| 92 | status = "okay"; | ||
| 93 | m25p,fast-read; | ||
| 94 | label = "bios"; | ||
| 95 | spi-max-frequency = <33000000>; | ||
| 96 | spi-tx-bus-width = <1>; | ||
| 97 | spi-rx-bus-width = <1>; | ||
| 98 | }; | ||
| 99 | }; | ||
| 100 | |||
| 101 | &wdt1 { | ||
| 102 | status = "okay"; | ||
| 103 | }; | ||
| 104 | |||
| 105 | &uart1 { | ||
| 106 | status = "okay"; | ||
| 107 | }; | ||
| 108 | |||
| 109 | &uart5 { | ||
| 110 | status = "okay"; | ||
| 111 | }; | ||
| 112 | |||
| 113 | &i2c0 { | ||
| 114 | status = "okay"; | ||
| 115 | |||
| 116 | //Set bmc' slave address; | ||
| 117 | bmc_slave@10 { | ||
| 118 | compatible = "ipmb-dev"; | ||
| 119 | reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; | ||
| 120 | i2c-protocol; | ||
| 121 | }; | ||
| 122 | }; | ||
| 123 | |||
| 124 | &i2c2 { | ||
| 125 | status = "okay"; | ||
| 126 | }; | ||
| 127 | |||
| 128 | &i2c3 { | ||
| 129 | // FRU AT24C512C-SSHM-T | ||
| 130 | status = "okay"; | ||
| 131 | eeprom@50 { | ||
| 132 | compatible = "atmel,24c512"; | ||
| 133 | reg = <0x50>; | ||
| 134 | pagesize = <128>; | ||
| 135 | }; | ||
| 136 | }; | ||
| 137 | |||
| 138 | &i2c5 { | ||
| 139 | status = "okay"; | ||
| 140 | }; | ||
| 141 | |||
| 142 | &i2c6 { | ||
| 143 | status = "okay"; | ||
| 144 | |||
| 145 | tmp75@49 { | ||
| 146 | compatible = "ti,tmp75"; | ||
| 147 | reg = <0x49>; | ||
| 148 | }; | ||
| 149 | |||
| 150 | tmp75@4f { | ||
| 151 | compatible = "ti,tmp75"; | ||
| 152 | reg = <0x4f>; | ||
| 153 | }; | ||
| 154 | |||
| 155 | tmp468@48 { | ||
| 156 | compatible = "ti,tmp468"; | ||
| 157 | reg = <0x48>; | ||
| 158 | }; | ||
| 159 | }; | ||
| 160 | |||
| 161 | &i2c7 { | ||
| 162 | status = "okay"; | ||
| 163 | adm1278@40 { | ||
| 164 | compatible = "adi,adm1278"; | ||
| 165 | reg = <0x40>; | ||
| 166 | }; | ||
| 167 | }; | ||
| 168 | |||
| 169 | |||
| 170 | &i2c8 { | ||
| 171 | // FRU AT24C512C-SSHM-T | ||
| 172 | status = "okay"; | ||
| 173 | |||
| 174 | eeprom@51 { | ||
| 175 | compatible = "atmel,24c512"; | ||
| 176 | reg = <0x51>; | ||
| 177 | pagesize = <128>; | ||
| 178 | }; | ||
| 179 | |||
| 180 | eeprom@53 { | ||
| 181 | compatible = "atmel,24c512"; | ||
| 182 | reg = <0x53>; | ||
| 183 | pagesize = <128>; | ||
| 184 | }; | ||
| 185 | }; | ||
| 186 | |||
| 187 | &i2c9 { | ||
| 188 | // M.2 | ||
| 189 | status = "okay"; | ||
| 190 | }; | ||
| 191 | |||
| 192 | &i2c10 { | ||
| 193 | // I2C EXPANDER | ||
| 194 | status = "okay"; | ||
| 195 | |||
| 196 | i2c-switch@71 { | ||
| 197 | compatible = "nxp,pca9544"; | ||
| 198 | #address-cells = <1>; | ||
| 199 | #size-cells = <0>; | ||
| 200 | reg = <0x71>; | ||
| 201 | }; | ||
| 202 | |||
| 203 | i2c-switch@73 { | ||
| 204 | compatible = "nxp,pca9544"; | ||
| 205 | #address-cells = <1>; | ||
| 206 | #size-cells = <0>; | ||
| 207 | reg = <0x73>; | ||
| 208 | }; | ||
| 209 | }; | ||
| 210 | |||
| 211 | &i2c11 { | ||
| 212 | // I2C EXPANDER | ||
| 213 | status = "okay"; | ||
| 214 | |||
| 215 | i2c-switch@70 { | ||
| 216 | compatible = "nxp,pca9544"; | ||
| 217 | #address-cells = <1>; | ||
| 218 | #size-cells = <0>; | ||
| 219 | reg = <0x70>; | ||
| 220 | |||
| 221 | pcie_eeprom_riser1: i2c@0 { | ||
| 222 | #address-cells = <1>; | ||
| 223 | #size-cells = <0>; | ||
| 224 | reg = <0>; | ||
| 225 | |||
| 226 | eeprom@55 { | ||
| 227 | compatible = "atmel,24c512"; | ||
| 228 | reg = <0x55>; | ||
| 229 | pagesize = <128>; | ||
| 230 | }; | ||
| 231 | }; | ||
| 232 | |||
| 233 | pcie_eeprom_riser2: i2c@1 { | ||
| 234 | #address-cells = <1>; | ||
| 235 | #size-cells = <0>; | ||
| 236 | reg = <1>; | ||
| 237 | |||
| 238 | eeprom@55 { | ||
| 239 | compatible = "atmel,24c512"; | ||
| 240 | reg = <0x55>; | ||
| 241 | pagesize = <128>; | ||
| 242 | }; | ||
| 243 | }; | ||
| 244 | |||
| 245 | pcie_eeprom_riser3: i2c@2 { | ||
| 246 | #address-cells = <1>; | ||
| 247 | #size-cells = <0>; | ||
| 248 | reg = <2>; | ||
| 249 | |||
| 250 | eeprom@55 { | ||
| 251 | compatible = "atmel,24c512"; | ||
| 252 | reg = <0x55>; | ||
| 253 | pagesize = <128>; | ||
| 254 | }; | ||
| 255 | }; | ||
| 256 | }; | ||
| 257 | }; | ||
| 258 | |||
| 259 | &i2c12 { | ||
| 260 | status = "okay"; | ||
| 261 | |||
| 262 | psu0:psu0@58 { | ||
| 263 | compatible = "pmbus"; | ||
| 264 | reg = <0x58>; | ||
| 265 | }; | ||
| 266 | }; | ||
| 267 | |||
| 268 | &gpio0 { | ||
| 269 | status = "okay"; | ||
| 270 | gpio-line-names = | ||
| 271 | /*A0-A7*/ "","","","","","","","", | ||
| 272 | /*B0-B7*/ "presence-ps0","power-chassis-good","","","","","presence-ps1","", | ||
| 273 | /*C0-C7*/ "","","","","","","","", | ||
| 274 | /*D0-D7*/ "","","","","","","","", | ||
| 275 | /*E0-E7*/ "","","","","","","","", | ||
| 276 | /*F0-F7*/ "","","","","power-chassis-control","","","", | ||
| 277 | /*G0-G7*/ "","","jtag-mux","","","","","", | ||
| 278 | /*H0-H7*/ "","","","","reset-button","power-button","","", | ||
| 279 | /*I0-I7*/ "","","","","","","","", | ||
| 280 | /*J0-J7*/ "","","","","","","","", | ||
| 281 | /*K0-K7*/ "","","","","","","","", | ||
| 282 | /*L0-L7*/ "","","","","","","","", | ||
| 283 | /*M0-M7*/ "","","","","","","","", | ||
| 284 | /*N0-N7*/ "","","","","","","","", | ||
| 285 | /*O0-O7*/ "","","","","","","","", | ||
| 286 | /*P0-P7*/ "","","","tck-mux","","","","", | ||
| 287 | /*Q0-Q7*/ "","","","","","","","", | ||
| 288 | /*R0-R7*/ "","","","","","","","", | ||
| 289 | /*S0-S7*/ "","","","","","","","", | ||
| 290 | /*T0-T7*/ "","","","","","","","", | ||
| 291 | /*U0-U7*/ "","nmi-button","","","","","","", | ||
| 292 | /*V0-V7*/ "","","","","power-config-full-load","","","", | ||
| 293 | /*W0-W7*/ "","","","","","","","", | ||
| 294 | /*X0-X7*/ "","","","","","","","", | ||
| 295 | /*Y0-Y7*/ "","","","","","","","", | ||
| 296 | /*Z0-Z7*/ "","","","","","","","", | ||
| 297 | /*AA0-AA7*/ "","","","","","","","", | ||
| 298 | /*AB0-AB7*/ "","","","","","","","", | ||
| 299 | /*AC0-AC7*/ "","","","","","","",""; | ||
| 300 | }; | ||
| 301 | |||
| 302 | &lpc_snoop { | ||
| 303 | status = "okay"; | ||
| 304 | snoop-ports = <0x80>; | ||
| 305 | }; | ||
| 306 | |||
| 307 | &emmc_controller { | ||
| 308 | status = "okay"; | ||
| 309 | }; | ||
| 310 | |||
| 311 | &emmc { | ||
| 312 | status = "okay"; | ||
| 313 | non-removable; | ||
| 314 | max-frequency = <52000000>; | ||
| 315 | bus-width = <8>; | ||
| 316 | }; | ||
| 317 | |||
| 318 | &vhub { | ||
| 319 | status = "okay"; | ||
| 320 | aspeed,vhub-downstream-ports = <7>; | ||
| 321 | aspeed,vhub-generic-endpoints = <21>; | ||
| 322 | pinctrl-names = "default"; | ||
| 323 | pinctrl-0 = <&pinctrl_usb2ad_default>; | ||
| 324 | }; | ||
| 325 | |||
| 326 | &rtc { | ||
| 327 | status = "okay"; | ||
| 328 | }; | ||
| @@ -0,0 +1,488 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0+ | ||
| 2 | /dts-v1/; | ||
| 3 | |||
| 4 | #include "aspeed-g5.dtsi" | ||
| 5 | #include <dt-bindings/gpio/aspeed-gpio.h> | ||
| 6 | |||
| 7 | / { | ||
| 8 | model = "Tyan S7106 BMC"; | ||
| 9 | compatible = "tyan,s7106-bmc", "aspeed,ast2500"; | ||
| 10 | |||
| 11 | chosen { | ||
| 12 | stdout-path = &uart5; | ||
| 13 | bootargs = "console=ttyS4,115200 earlycon"; | ||
| 14 | }; | ||
| 15 | |||
| 16 | memory@80000000 { | ||
| 17 | device_type = "memory"; | ||
| 18 | reg = <0x80000000 0x20000000>; | ||
| 19 | }; | ||
| 20 | |||
| 21 | reserved-memory { | ||
| 22 | #address-cells = <1>; | ||
| 23 | #size-cells = <1>; | ||
| 24 | ranges; | ||
| 25 | |||
| 26 | p2a_memory: region@987f0000 { | ||
| 27 | no-map; | ||
| 28 | reg = <0x987f0000 0x00010000>; /* 64KB */ | ||
| 29 | }; | ||
| 30 | |||
| 31 | vga_memory: framebuffer@9f000000 { | ||
| 32 | no-map; | ||
| 33 | reg = <0x9f000000 0x01000000>; /* 16M */ | ||
| 34 | }; | ||
| 35 | |||
| 36 | gfx_memory: framebuffer { | ||
| 37 | size = <0x01000000>; /* 16M */ | ||
| 38 | alignment = <0x01000000>; | ||
| 39 | compatible = "shared-dma-pool"; | ||
| 40 | reusable; | ||
| 41 | }; | ||
| 42 | }; | ||
| 43 | |||
| 44 | leds { | ||
| 45 | compatible = "gpio-leds"; | ||
| 46 | |||
| 47 | identify { | ||
| 48 | gpios = <&gpio ASPEED_GPIO(A, 2) GPIO_ACTIVE_LOW>; | ||
| 49 | }; | ||
| 50 | |||
| 51 | heartbeat { | ||
| 52 | gpios = <&gpio ASPEED_GPIO(E, 7) GPIO_ACTIVE_LOW>; | ||
| 53 | }; | ||
| 54 | }; | ||
| 55 | |||
| 56 | iio-hwmon { | ||
| 57 | compatible = "iio-hwmon"; | ||
| 58 | io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>, | ||
| 59 | <&adc 4>, <&adc 5>, <&adc 6>, <&adc 7>, | ||
| 60 | <&adc 8>, <&adc 9>, <&adc 10>, <&adc 11>, | ||
| 61 | <&adc 12>, <&adc 13>, <&adc 14>; | ||
| 62 | }; | ||
| 63 | |||
| 64 | iio-hwmon-battery { | ||
| 65 | compatible = "iio-hwmon"; | ||
| 66 | io-channels = <&adc 15>; | ||
| 67 | }; | ||
| 68 | }; | ||
| 69 | |||
| 70 | &fmc { | ||
| 71 | status = "okay"; | ||
| 72 | flash@0 { | ||
| 73 | label = "bmc"; | ||
| 74 | status = "okay"; | ||
| 75 | m25p,fast-read; | ||
| 76 | #include "openbmc-flash-layout.dtsi" | ||
| 77 | }; | ||
| 78 | }; | ||
| 79 | |||
| 80 | &spi1 { | ||
| 81 | status = "okay"; | ||
| 82 | pinctrl-names = "default"; | ||
| 83 | pinctrl-0 = <&pinctrl_spi1_default>; | ||
| 84 | |||
| 85 | flash@0 { | ||
| 86 | status = "okay"; | ||
| 87 | label = "pnor"; | ||
| 88 | m25p,fast-read; | ||
| 89 | }; | ||
| 90 | }; | ||
| 91 | |||
| 92 | &uart1 { | ||
| 93 | /* Rear RS-232 connector */ | ||
| 94 | status = "okay"; | ||
| 95 | pinctrl-names = "default"; | ||
| 96 | pinctrl-0 = <&pinctrl_txd1_default | ||
| 97 | &pinctrl_rxd1_default>; | ||
| 98 | }; | ||
| 99 | |||
| 100 | &uart2 { | ||
| 101 | /* RS-232 connector on header */ | ||
| 102 | status = "okay"; | ||
| 103 | pinctrl-names = "default"; | ||
| 104 | pinctrl-0 = <&pinctrl_txd2_default | ||
| 105 | &pinctrl_rxd2_default>; | ||
| 106 | }; | ||
| 107 | |||
| 108 | &uart3 { | ||
| 109 | /* Alternative to vuart to internally connect (route) to uart1 | ||
| 110 | * when vuart cannot be used due to BIOS limitations. | ||
| 111 | */ | ||
| 112 | status = "okay"; | ||
| 113 | }; | ||
| 114 | |||
| 115 | &uart4 { | ||
| 116 | /* Alternative to vuart to internally connect (route) to the | ||
| 117 | * external port usually used by uart1 when vuart cannot be | ||
| 118 | * used due to BIOS limitations. | ||
| 119 | */ | ||
| 120 | status = "okay"; | ||
| 121 | }; | ||
| 122 | |||
| 123 | &uart5 { | ||
| 124 | /* BMC "debug" (console) UART; connected to RS-232 connector | ||
| 125 | * on header; selectable via jumpers as alternative to uart2 | ||
| 126 | */ | ||
| 127 | status = "okay"; | ||
| 128 | }; | ||
| 129 | |||
| 130 | &vuart { | ||
| 131 | status = "okay"; | ||
| 132 | }; | ||
| 133 | |||
| 134 | &lpc_ctrl { | ||
| 135 | status = "okay"; | ||
| 136 | }; | ||
| 137 | |||
| 138 | &p2a { | ||
| 139 | status = "okay"; | ||
| 140 | memory-region = <&p2a_memory>; | ||
| 141 | }; | ||
| 142 | |||
| 143 | &lpc_snoop { | ||
| 144 | status = "okay"; | ||
| 145 | snoop-ports = <0x80>; | ||
| 146 | }; | ||
| 147 | |||
| 148 | &adc { | ||
| 149 | status = "okay"; | ||
| 150 | }; | ||
| 151 | |||
| 152 | &vhub { | ||
| 153 | status = "okay"; | ||
| 154 | }; | ||
| 155 | |||
| 156 | &pwm_tacho { | ||
| 157 | status = "okay"; | ||
| 158 | pinctrl-names = "default"; | ||
| 159 | pinctrl-0 = <&pinctrl_pwm0_default | ||
| 160 | &pinctrl_pwm1_default | ||
| 161 | &pinctrl_pwm3_default | ||
| 162 | &pinctrl_pwm4_default>; | ||
| 163 | |||
| 164 | /* CPU fan #0 */ | ||
| 165 | fan@0 { | ||
| 166 | reg = <0x00>; | ||
| 167 | aspeed,fan-tach-ch = /bits/ 8 <0x00>; | ||
| 168 | }; | ||
| 169 | |||
| 170 | /* CPU fan #1 */ | ||
| 171 | fan@1 { | ||
| 172 | reg = <0x01>; | ||
| 173 | aspeed,fan-tach-ch = /bits/ 8 <0x01>; | ||
| 174 | }; | ||
| 175 | |||
| 176 | /* PWM group for chassis fans #1, #2, #3 and #4 */ | ||
| 177 | fan@2 { | ||
| 178 | reg = <0x03>; | ||
| 179 | aspeed,fan-tach-ch = /bits/ 8 <0x02>; | ||
| 180 | }; | ||
| 181 | |||
| 182 | fan@3 { | ||
| 183 | reg = <0x03>; | ||
| 184 | aspeed,fan-tach-ch = /bits/ 8 <0x03>; | ||
| 185 | }; | ||
| 186 | |||
| 187 | fan@4 { | ||
| 188 | reg = <0x03>; | ||
| 189 | aspeed,fan-tach-ch = /bits/ 8 <0x04>; | ||
| 190 | }; | ||
| 191 | |||
| 192 | fan@5 { | ||
| 193 | reg = <0x03>; | ||
| 194 | aspeed,fan-tach-ch = /bits/ 8 <0x05>; | ||
| 195 | }; | ||
| 196 | |||
| 197 | /* PWM group for chassis fans #5 and #6 */ | ||
| 198 | fan@6 { | ||
| 199 | reg = <0x04>; | ||
| 200 | aspeed,fan-tach-ch = /bits/ 8 <0x06>; | ||
| 201 | }; | ||
| 202 | |||
| 203 | fan@7 { | ||
| 204 | reg = <0x04>; | ||
| 205 | aspeed,fan-tach-ch = /bits/ 8 <0x07>; | ||
| 206 | }; | ||
| 207 | }; | ||
| 208 | |||
| 209 | &i2c0 { | ||
| 210 | status = "okay"; | ||
| 211 | |||
| 212 | /* Hardware monitor with temperature sensors */ | ||
| 213 | nct7802@28 { | ||
| 214 | compatible = "nuvoton,nct7802"; | ||
| 215 | reg = <0x28>; | ||
| 216 | }; | ||
| 217 | |||
| 218 | /* Also connected to: | ||
| 219 | * - IPMB pin header | ||
| 220 | * - CPU #0 memory error LED @ 0x3A | ||
| 221 | * - CPU #1 memory error LED @ 0x3C | ||
| 222 | */ | ||
| 223 | }; | ||
| 224 | |||
| 225 | &i2c1 { | ||
| 226 | /* Directly connected to PCH SMBUS #0 */ | ||
| 227 | status = "okay"; | ||
| 228 | }; | ||
| 229 | |||
| 230 | &i2c2 { | ||
| 231 | status = "okay"; | ||
| 232 | |||
| 233 | /* BMC EEPROM, incl. mainboard FRU */ | ||
| 234 | eeprom@50 { | ||
| 235 | compatible = "atmel,24c256"; | ||
| 236 | reg = <0x50>; | ||
| 237 | }; | ||
| 238 | |||
| 239 | /* Also connected to: | ||
| 240 | * - fan header | ||
| 241 | * - mini-SAS HD connector | ||
| 242 | * - SSATA SGPIO | ||
| 243 | * - via switch (BMC_SMB3_PCH_IE_SML3_EN, active low) | ||
| 244 | * to PCH SMBUS #3 | ||
| 245 | */ | ||
| 246 | }; | ||
| 247 | |||
| 248 | &i2c3 { | ||
| 249 | status = "okay"; | ||
| 250 | |||
| 251 | /* PSU1 FRU @ 0xA0 */ | ||
| 252 | eeprom@50 { | ||
| 253 | compatible = "atmel,24c02"; | ||
| 254 | reg = <0x50>; | ||
| 255 | }; | ||
| 256 | |||
| 257 | /* PSU2 FRU @ 0xA2 */ | ||
| 258 | eeprom@51 { | ||
| 259 | compatible = "atmel,24c02"; | ||
| 260 | reg = <0x51>; | ||
| 261 | }; | ||
| 262 | |||
| 263 | /* PSU1 @ 0xB0 */ | ||
| 264 | power-supply@58 { | ||
| 265 | compatible = "pmbus"; | ||
| 266 | reg = <0x58>; | ||
| 267 | }; | ||
| 268 | |||
| 269 | /* PSU2 @ 0xB2 */ | ||
| 270 | power-supply@59 { | ||
| 271 | compatible = "pmbus"; | ||
| 272 | reg = <0x59>; | ||
| 273 | }; | ||
| 274 | |||
| 275 | /* Also connected to: | ||
| 276 | * - PCH SMBUS #1 | ||
| 277 | */ | ||
| 278 | }; | ||
| 279 | |||
| 280 | &i2c4 { | ||
| 281 | status = "okay"; | ||
| 282 | |||
| 283 | /* Connected to: | ||
| 284 | * - PCH SMBUS #2 | ||
| 285 | */ | ||
| 286 | |||
| 287 | /* Connected via switch to: | ||
| 288 | * - CPU #0 channels ABC VDDQ @ 0x80 | ||
| 289 | * - CPU #0 channels DEF VDDQ @ 0x81 | ||
| 290 | * - CPU #1 channels ABC VDDQ @ 0x82 | ||
| 291 | * - CPU #1 channels DEF VDDQ @ 0x83 | ||
| 292 | * - CPU #0 VCCIO & VMCP @ 0x52 | ||
| 293 | * - CPU #1 VCCIO & VMCP @ 0x53 | ||
| 294 | * - CPU #0 VCCIN @ 0xC0 | ||
| 295 | * - CPU #0 VSA @ 0xC2 | ||
| 296 | * - CPU #1 VCCIN @ 0xC4 | ||
| 297 | * - CPU #1 VSA @ 0xC6 | ||
| 298 | * - J110 | ||
| 299 | */ | ||
| 300 | }; | ||
| 301 | |||
| 302 | &i2c5 { | ||
| 303 | status = "okay"; | ||
| 304 | |||
| 305 | /* Connected via switch (PCH_BMC_SMB_SW_P) to: | ||
| 306 | * - mainboard FRU @ 0xAE | ||
| 307 | * - XDP connector | ||
| 308 | * - ME debug header | ||
| 309 | * - clock buffer @ 0xD8 | ||
| 310 | * - i2c4 via switch (PCH_VR_SMBUS_SW_P; controlled by PCH) | ||
| 311 | * - PCH SMBUS | ||
| 312 | */ | ||
| 313 | }; | ||
| 314 | |||
| 315 | &i2c6 { | ||
| 316 | status = "okay"; | ||
| 317 | |||
| 318 | /* Connected via switch (BMC_PE_SMB_EN_1_N) to | ||
| 319 | * bus mux (selector BMC_PE_SMB_SW_BIT[1..0]) to: | ||
| 320 | * - 0,0: PCIE slot 1, SMB #1 | ||
| 321 | * - 0,1: PCIE slot 1, SMB #2 | ||
| 322 | * - 1,0: PCIE slot 2, SMB #1 | ||
| 323 | * - 1,1: PCIE slot 2, SMB #2 | ||
| 324 | */ | ||
| 325 | |||
| 326 | /* Connected via switch (BMC_PE_SMB_EN_2_N) to | ||
| 327 | * bus mux (selector BMC_PE_SMB_SW_BIT[1..0]) to: | ||
| 328 | * - 0,0: OCP0 (A) SMB | ||
| 329 | * - 0,1: OCP0 (C) SMB | ||
| 330 | * - 1,0: OCP1 (A) SMB | ||
| 331 | * - 1,1: NC | ||
| 332 | */ | ||
| 333 | }; | ||
| 334 | |||
| 335 | &i2c7 { | ||
| 336 | status = "okay"; | ||
| 337 | |||
| 338 | /* Connected to: | ||
| 339 | * - PCH SMBUS #4 | ||
| 340 | */ | ||
| 341 | }; | ||
| 342 | |||
| 343 | &i2c8 { | ||
| 344 | status = "okay"; | ||
| 345 | |||
| 346 | /* Not connected */ | ||
| 347 | }; | ||
| 348 | |||
| 349 | &mac0 { | ||
| 350 | status = "okay"; | ||
| 351 | use-ncsi; | ||
| 352 | pinctrl-names = "default"; | ||
| 353 | pinctrl-0 = <&pinctrl_rmii1_default>; | ||
| 354 | }; | ||
| 355 | |||
| 356 | &mac1 { | ||
| 357 | status = "okay"; | ||
| 358 | pinctrl-names = "default"; | ||
| 359 | pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>; | ||
| 360 | }; | ||
| 361 | |||
| 362 | &ibt { | ||
| 363 | status = "okay"; | ||
| 364 | }; | ||
| 365 | |||
| 366 | &kcs1 { | ||
| 367 | status = "okay"; | ||
| 368 | aspeed,lpc-io-reg = <0xca8>; | ||
| 369 | }; | ||
| 370 | |||
| 371 | &kcs3 { | ||
| 372 | status = "okay"; | ||
| 373 | aspeed,lpc-io-reg = <0xca2>; | ||
| 374 | }; | ||
| 375 | |||
| 376 | /* Enable BMC VGA output to show an early (pre-BIOS) boot screen */ | ||
| 377 | &gfx { | ||
| 378 | status = "okay"; | ||
| 379 | memory-region = <&gfx_memory>; | ||
| 380 | }; | ||
| 381 | |||
| 382 | /* We're following the GPIO naming as defined at | ||
| 383 | * https://github.com/openbmc/docs/blob/master/designs/device-tree-gpio-naming.md. | ||
| 384 | * | ||
| 385 | * Notes on led-identify and id-button: | ||
| 386 | * - A physical button is connected to id-button which | ||
| 387 | * triggers the clock on a D flip-flop. The /Q output of the | ||
| 388 | * flip-flop drives its D input. | ||
| 389 | * - The flip-flop's Q output drives led-identify which is | ||
| 390 | * connected to LEDs. | ||
| 391 | * - With that, every button press toggles the LED between on and off. | ||
| 392 | * | ||
| 393 | * Notes on power-, reset- and nmi- button and control: | ||
| 394 | * - The -button signals can be used to monitor physical buttons. | ||
| 395 | * - The -control signals can be used to actuate the specific | ||
| 396 | * operation. | ||
| 397 | * - In hardware, the -button signals are connected to the -control | ||
| 398 | * signals through drivers with the -control signals being | ||
| 399 | * protected through diodes. | ||
| 400 | */ | ||
| 401 | &gpio { | ||
| 402 | status = "okay"; | ||
| 403 | gpio-line-names = | ||
| 404 | /*A0*/ "", | ||
| 405 | /*A1*/ "", | ||
| 406 | /*A2*/ "led-identify", /* in/out: BMC_IDLED_ON_N */ | ||
| 407 | /*A3*/ "", | ||
| 408 | /*A4*/ "", | ||
| 409 | /*A5*/ "", | ||
| 410 | /*A6*/ "", | ||
| 411 | /*A7*/ "", | ||
| 412 | /*B0-B7*/ "","","","","","","","", | ||
| 413 | /*C0*/ "", | ||
| 414 | /*C1*/ "", | ||
| 415 | /*C2*/ "", | ||
| 416 | /*C3*/ "", | ||
| 417 | /*C4*/ "id-button", /* in/out: BMC_IDBTN_IN_OUT_N */ | ||
| 418 | /*C5*/ "post-complete", /* in: FM_BIOS_POST_CMPLT_N */ | ||
| 419 | /*C6*/ "", | ||
| 420 | /*C7*/ "", | ||
| 421 | /*D0*/ "", | ||
| 422 | /*D1*/ "", | ||
| 423 | /*D2*/ "power-chassis-good", /* in: SYS_PWROK_BUF */ | ||
| 424 | /*D3*/ "platform-reset", /* in: SYS_PLTRST_N */ | ||
| 425 | /*D4*/ "", | ||
| 426 | /*D5*/ "", | ||
| 427 | /*D6*/ "", | ||
| 428 | /*D7*/ "", | ||
| 429 | /*E0*/ "power-button", /* in: BMC_PWBTN_IN_N */ | ||
| 430 | /*E1*/ "power-chassis-control", /* out: BMC_PWRBTN_OUT_N */ | ||
| 431 | /*E2*/ "reset-button", /* in: BMC_RSTBTN_IN_N */ | ||
| 432 | /*E3*/ "reset-control", /* out: BMC_RSTBTN_OUT_N */ | ||
| 433 | /*E4*/ "nmi-button", /* in: BMC_NMIBTN_IN_N */ | ||
| 434 | /*E5*/ "nmi-control", /* out: BMC_NMIBTN_OUT_N */ | ||
| 435 | /*E6*/ "", | ||
| 436 | /*E7*/ "led-heartbeat", /* out: BMC_HEARTBRAT_LED_N */ | ||
| 437 | /*F0*/ "", | ||
| 438 | /*F1*/ "clear-cmos-control", /* out: BMC_CLR_CMOS_N */ | ||
| 439 | /*F2*/ "", | ||
| 440 | /*F3*/ "", | ||
| 441 | /*F4*/ "led-fault", /* out: AST_HW_FAULT_N */ | ||
| 442 | /*F5*/ "", | ||
| 443 | /*F6*/ "", | ||
| 444 | /*F7*/ "", | ||
| 445 | /*G0*/ "BMC_PE_SMB_EN_1_N", /* out */ | ||
| 446 | /*G1*/ "BMC_PE_SMB_EN_2_N", /* out */ | ||
| 447 | /*G2*/ "", | ||
| 448 | /*G3*/ "", | ||
| 449 | /*G4*/ "", | ||
| 450 | /*G5*/ "", | ||
| 451 | /*G6*/ "", | ||
| 452 | /*G7*/ "", | ||
| 453 | /*H0-H7*/ "","","","","","","","", | ||
| 454 | /*I0-I7*/ "","","","","","","","", | ||
| 455 | /*J0-J7*/ "","","","","","","","", | ||
| 456 | /*K0-K7*/ "","","","","","","","", | ||
| 457 | /*L0-L7*/ "","","","","","","","", | ||
| 458 | /*M0-M7*/ "","","","","","","","", | ||
| 459 | /*N0-N7*/ "","","","","","","","", | ||
| 460 | /*O0-O7*/ "","","","","","","","", | ||
| 461 | /*P0-P7*/ "","","","","","","","", | ||
| 462 | /*Q0*/ "", | ||
| 463 | /*Q1*/ "", | ||
| 464 | /*Q2*/ "", | ||
| 465 | /*Q3*/ "", | ||
| 466 | /*Q4*/ "BMC_PE_SMB_SW_BIT0", /* out */ | ||
| 467 | /*Q5*/ "BMC_PE_SMB_SW_BIT1", /* out */ | ||
| 468 | /*Q6*/ "", | ||
| 469 | /*Q7*/ "", | ||
| 470 | /*R0-R7*/ "","","","","","","","", | ||
| 471 | /*S0-S7*/ "","","","","","","","", | ||
| 472 | /*T0-T7*/ "","","","","","","","", | ||
| 473 | /*U0-U7*/ "","","","","","","","", | ||
| 474 | /*V0-V7*/ "","","","","","","","", | ||
| 475 | /*W0-W7*/ "","","","","","","","", | ||
| 476 | /*X0-X7*/ "","","","","","","","", | ||
| 477 | /*Y0-Y7*/ "","","","","","","","", | ||
| 478 | /*Z0-Z7*/ "","","","","","","","", | ||
| 479 | /*AA0*/ "", | ||
| 480 | /*AA1*/ "", | ||
| 481 | /*AA2*/ "", | ||
| 482 | /*AA3*/ "BMC_SMB3_PCH_IE_SML3_EN", /* out */ | ||
| 483 | /*AA4*/ "", | ||
| 484 | /*AA5*/ "", | ||
| 485 | /*AA6*/ "", | ||
| 486 | /*AA7*/ "", | ||
| 487 | /*AB0-AB7*/ "","","","","","","",""; | ||
| 488 | }; | ||
| @@ -383,6 +383,12 @@ · 382 unmodified lines | |||
| 383 | interrupts = <8>; | 383 | interrupts = <8>; |
| 384 | status = "disabled"; | 384 | status = "disabled"; |
| 385 | }; | 385 | }; |
| 386 | |||
| 387 | uart_routing: uart-routing@9c { | ||
| 388 | compatible = "aspeed,ast2400-uart-routing"; | ||
| 389 | reg = <0x9c 0x4>; | ||
| 390 | status = "disabled"; | ||
| 391 | }; | ||
| 386 | }; | 392 | }; |
| 387 | 393 | ||
| 388 | uart2: serial@1e78d000 { | 394 | uart2: serial@1e78d000 { |
| @@ -491,6 +491,12 @@ · 490 unmodified lines | |||
| 491 | #reset-cells = <1>; | 491 | #reset-cells = <1>; |
| 492 | }; | 492 | }; |
| 493 | 493 | ||
| 494 | uart_routing: uart-routing@9c { | ||
| 495 | compatible = "aspeed,ast2500-uart-routing"; | ||
| 496 | reg = <0x9c 0x4>; | ||
| 497 | status = "disabled"; | ||
| 498 | }; | ||
| 499 | |||
| 494 | lhc: lhc@a0 { | 500 | lhc: lhc@a0 { |
| 495 | compatible = "aspeed,ast2500-lhc"; | 501 | compatible = "aspeed,ast2500-lhc"; |
| 496 | reg = <0xa0 0x24 0xc8 0x8>; | 502 | reg = <0xa0 0x24 0xc8 0x8>; |
| @@ -364,6 +364,26 @@ · 363 unmodified lines | |||
| 364 | status = "disabled"; | 364 | status = "disabled"; |
| 365 | }; | 365 | }; |
| 366 | 366 | ||
| 367 | adc0: adc@1e6e9000 { | ||
| 368 | compatible = "aspeed,ast2600-adc0"; | ||
| 369 | reg = <0x1e6e9000 0x100>; | ||
| 370 | clocks = <&syscon ASPEED_CLK_APB2>; | ||
| 371 | resets = <&syscon ASPEED_RESET_ADC>; | ||
| 372 | interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>; | ||
| 373 | #io-channel-cells = <1>; | ||
| 374 | status = "disabled"; | ||
| 375 | }; | ||
| 376 | |||
| 377 | adc1: adc@1e6e9100 { | ||
| 378 | compatible = "aspeed,ast2600-adc1"; | ||
| 379 | reg = <0x1e6e9100 0x100>; | ||
| 380 | clocks = <&syscon ASPEED_CLK_APB2>; | ||
| 381 | resets = <&syscon ASPEED_RESET_ADC>; | ||
| 382 | interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>; | ||
| 383 | #io-channel-cells = <1>; | ||
| 384 | status = "disabled"; | ||
| 385 | }; | ||
| 386 | |||
| 367 | gpio0: gpio@1e780000 { | 387 | gpio0: gpio@1e780000 { |
| 368 | #gpio-cells = <2>; | 388 | #gpio-cells = <2>; |
| 369 | gpio-controller; | 389 | gpio-controller; |
| @@ -551,6 +571,12 @@ · 181 unmodified lines | |||
| 551 | #reset-cells = <1>; | 571 | #reset-cells = <1>; |
| 552 | }; | 572 | }; |
| 553 | 573 | ||
| 574 | uart_routing: uart-routing@98 { | ||
| 575 | compatible = "aspeed,ast2600-uart-routing"; | ||
| 576 | reg = <0x98 0x8>; | ||
| 577 | status = "disabled"; | ||
| 578 | }; | ||
| 579 | |||
| 554 | ibt: ibt@140 { | 580 | ibt: ibt@140 { |
| 555 | compatible = "aspeed,ast2600-ibt-bmc"; | 581 | compatible = "aspeed,ast2600-ibt-bmc"; |
| 556 | reg = <0x140 0x18>; | 582 | reg = <0x140 0x18>; |
| @@ -0,0 +1,147 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 2 | /* | ||
| 3 | * Device Tree file for CalAmp LMU5000 board | ||
| 4 | * | ||
| 5 | * Copyright (C) 2013 Adam Porter <porter.adam@gmail.com> | ||
| 6 | */ | ||
| 7 | |||
| 8 | /dts-v1/; | ||
| 9 | #include "at91sam9g20.dtsi" | ||
| 10 | |||
| 11 | / { | ||
| 12 | model = "CalAmp LMU5000"; | ||
| 13 | compatible = "calamp,lmu5000", "atmel,at91sam9g20", "atmel,at91sam9"; | ||
| 14 | |||
| 15 | chosen { | ||
| 16 | bootargs = "mem=64M console=ttyS0,115200 rootfstype=jffs2"; | ||
| 17 | }; | ||
| 18 | |||
| 19 | memory { | ||
| 20 | reg = <0x20000000 0x4000000>; | ||
| 21 | }; | ||
| 22 | |||
| 23 | clocks { | ||
| 24 | #address-cells = <1>; | ||
| 25 | #size-cells = <1>; | ||
| 26 | ranges; | ||
| 27 | |||
| 28 | main_clock: clock@0 { | ||
| 29 | compatible = "atmel,osc", "fixed-clock"; | ||
| 30 | clock-frequency = <18432000>; | ||
| 31 | }; | ||
| 32 | }; | ||
| 33 | }; | ||
| 34 | |||
| 35 | &dbgu { | ||
| 36 | status = "okay"; | ||
| 37 | }; | ||
| 38 | |||
| 39 | &ebi { | ||
| 40 | status = "okay"; | ||
| 41 | |||
| 42 | nand_controller: nand-controller { | ||
| 43 | pinctrl-0 = <&pinctrl_nand_cs &pinctrl_nand_rb>; | ||
| 44 | pinctrl-names = "default"; | ||
| 45 | status = "okay"; | ||
| 46 | |||
| 47 | nand@3 { | ||
| 48 | reg = <0x3 0x0 0x800000>; | ||
| 49 | rb-gpios = <&pioC 13 GPIO_ACTIVE_HIGH>; | ||
| 50 | cs-gpios = <&pioC 14 GPIO_ACTIVE_HIGH>; | ||
| 51 | nand-bus-width = <8>; | ||
| 52 | nand-ecc-mode = "soft"; | ||
| 53 | nand-on-flash-bbt; | ||
| 54 | label = "atmel_nand"; | ||
| 55 | status = "okay"; | ||
| 56 | |||
| 57 | partitions { | ||
| 58 | compatible = "fixed-partitions"; | ||
| 59 | #address-cells = <1>; | ||
| 60 | #size-cells = <1>; | ||
| 61 | |||
| 62 | kernel@0 { | ||
| 63 | label = "kernel"; | ||
| 64 | reg = <0x0 0x400000>; | ||
| 65 | }; | ||
| 66 | |||
| 67 | rootfs@400000 { | ||
| 68 | label = "rootfs"; | ||
| 69 | reg = <0x400000 0x3C00000>; | ||
| 70 | }; | ||
| 71 | |||
| 72 | user1@4000000 { | ||
| 73 | label = "user1"; | ||
| 74 | reg = <0x4000000 0x2000000>; | ||
| 75 | }; | ||
| 76 | |||
| 77 | user2@6000000 { | ||
| 78 | label = "user2"; | ||
| 79 | reg = <0x6000000 0x2000000>; | ||
| 80 | }; | ||
| 81 | }; | ||
| 82 | }; | ||
| 83 | }; | ||
| 84 | }; | ||
| 85 | |||
| 86 | &macb0 { | ||
| 87 | phy-mode = "mii"; | ||
| 88 | status = "okay"; | ||
| 89 | }; | ||
| 90 | |||
| 91 | &pinctrl { | ||
| 92 | board { | ||
| 93 | pinctrl_pck0_as_mck: pck0_as_mck { | ||
| 94 | atmel,pins = <AT91_PIOC 1 AT91_PERIPH_B AT91_PINCTRL_NONE>; | ||
| 95 | }; | ||
| 96 | }; | ||
| 97 | |||
| 98 | usb0 { | ||
| 99 | pinctrl_usb1_vbus_gpio: usb0_vbus_gpio { | ||
| 100 | atmel,pins = <AT91_PIOC 5 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>; | ||
| 101 | }; | ||
| 102 | }; | ||
| 103 | }; | ||
| 104 | |||
| 105 | &ssc0 { | ||
| 106 | status = "okay"; | ||
| 107 | pinctrl-0 = <&pinctrl_ssc0_tx>; | ||
| 108 | }; | ||
| 109 | |||
| 110 | &uart0 { | ||
| 111 | status = "okay"; | ||
| 112 | }; | ||
| 113 | |||
| 114 | &uart1 { | ||
| 115 | status = "okay"; | ||
| 116 | }; | ||
| 117 | |||
| 118 | &usart0 { | ||
| 119 | pinctrl-0 = | ||
| 120 | <&pinctrl_usart0 | ||
| 121 | &pinctrl_usart0_rts | ||
| 122 | &pinctrl_usart0_cts | ||
| 123 | &pinctrl_usart0_dtr_dsr | ||
| 124 | &pinctrl_usart0_dcd | ||
| 125 | &pinctrl_usart0_ri>; | ||
| 126 | status = "okay"; | ||
| 127 | }; | ||
| 128 | |||
| 129 | &usart2 { | ||
| 130 | status = "okay"; | ||
| 131 | }; | ||
| 132 | |||
| 133 | &usb0 { | ||
| 134 | num-ports = <2>; | ||
| 135 | status = "okay"; | ||
| 136 | }; | ||
| 137 | |||
| 138 | &usb1 { | ||
| 139 | pinctrl-names = "default"; | ||
| 140 | pinctrl-0 = <&pinctrl_usb1_vbus_gpio>; | ||
| 141 | atmel,vbus-gpio = <&pioC 5 GPIO_ACTIVE_HIGH>; | ||
| 142 | status = "okay"; | ||
| 143 | }; | ||
| 144 | |||
| 145 | &watchdog { | ||
| 146 | status = "okay"; | ||
| 147 | }; | ||
| @@ -0,0 +1,199 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 2 | /* | ||
| 3 | * Device Tree file for Exegin Q5xR5 board | ||
| 4 | * | ||
| 5 | * Copyright (C) 2014 Owen Kirby <osk@exegin.com> | ||
| 6 | */ | ||
| 7 | |||
| 8 | /dts-v1/; | ||
| 9 | #include "at91sam9g20.dtsi" | ||
| 10 | |||
| 11 | / { | ||
| 12 | model = "Exegin Q5x (rev5)"; | ||
| 13 | compatible = "exegin,q5xr5", "atmel,at91sam9g20", "atmel,at91sam9"; | ||
| 14 | |||
| 15 | chosen { | ||
| 16 | bootargs = "console=ttyS0,115200 rootfstype=squashfs,jffs2"; | ||
| 17 | }; | ||
| 18 | |||
| 19 | memory { | ||
| 20 | reg = <0x20000000 0x0>; | ||
| 21 | }; | ||
| 22 | |||
| 23 | clocks { | ||
| 24 | #address-cells = <1>; | ||
| 25 | #size-cells = <1>; | ||
| 26 | ranges; | ||
| 27 | |||
| 28 | main_clock: clock@0 { | ||
| 29 | compatible = "atmel,osc", "fixed-clock"; | ||
| 30 | clock-frequency = <18432000>; | ||
| 31 | }; | ||
| 32 | |||
| 33 | slow_xtal { | ||
| 34 | clock-frequency = <32768>; | ||
| 35 | }; | ||
| 36 | |||
| 37 | main_xtal { | ||
| 38 | clock-frequency = <18432000>; | ||
| 39 | }; | ||
| 40 | }; | ||
| 41 | }; | ||
| 42 | |||
| 43 | &dbgu { | ||
| 44 | status = "okay"; | ||
| 45 | }; | ||
| 46 | |||
| 47 | &ebi { | ||
| 48 | status = "okay"; | ||
| 49 | |||
| 50 | flash: flash@0 { | ||
| 51 | compatible = "cfi-flash"; | ||
| 52 | #address-cells = <1>; | ||
| 53 | #size-cells = <1>; | ||
| 54 | reg = <0x0 0x1000000 0x800000>; | ||
| 55 | bank-width = <2>; | ||
| 56 | |||
| 57 | partitions { | ||
| 58 | compatible = "fixed-partitions"; | ||
| 59 | #address-cells = <1>; | ||
| 60 | #size-cells = <1>; | ||
| 61 | |||
| 62 | kernel@0 { | ||
| 63 | label = "kernel"; | ||
| 64 | reg = <0x0 0x200000>; | ||
| 65 | }; | ||
| 66 | |||
| 67 | rootfs@200000 { | ||
| 68 | label = "rootfs"; | ||
| 69 | reg = <0x200000 0x600000>; | ||
| 70 | }; | ||
| 71 | }; | ||
| 72 | }; | ||
| 73 | }; | ||
| 74 | |||
| 75 | &macb0 { | ||
| 76 | phy-mode = "mii"; | ||
| 77 | status = "okay"; | ||
| 78 | }; | ||
| 79 | |||
| 80 | &pinctrl { | ||
| 81 | board { | ||
| 82 | pinctrl_pck0_as_mck: pck0_as_mck { | ||
| 83 | atmel,pins = <AT91_PIOC 1 AT91_PERIPH_B AT91_PINCTRL_NONE>; | ||
| 84 | }; | ||
| 85 | }; | ||
| 86 | |||
| 87 | spi0 { | ||
| 88 | pinctrl_spi0: spi0-0 { | ||
| 89 | atmel,pins = | ||
| 90 | <AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_NONE | ||
| 91 | AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_NONE | ||
| 92 | AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_NONE>; | ||
| 93 | }; | ||
| 94 | |||
| 95 | pinctrl_spi0_npcs0: spi0_npcs0 { | ||
| 96 | atmel,pins = <AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_NONE>; | ||
| 97 | }; | ||
| 98 | |||
| 99 | pinctrl_spi0_npcs1: spi0_npcs1 { | ||
| 100 | atmel,pins = <AT91_PIOC 11 AT91_PERIPH_B AT91_PINCTRL_NONE>; | ||
| 101 | }; | ||
| 102 | }; | ||
| 103 | |||
| 104 | spi1 { | ||
| 105 | pinctrl_spi1: spi1-0 { | ||
| 106 | atmel,pins = | ||
| 107 | <AT91_PIOB 0 AT91_PERIPH_A AT91_PINCTRL_NONE | ||
| 108 | AT91_PIOB 1 AT91_PERIPH_A AT91_PINCTRL_NONE | ||
| 109 | AT91_PIOB 2 AT91_PERIPH_A AT91_PINCTRL_NONE>; | ||
| 110 | }; | ||
| 111 | |||
| 112 | pinctrl_spi1_npcs0: spi1_npcs0 { | ||
| 113 | atmel,pins = <AT91_PIOB 3 AT91_PERIPH_A AT91_PINCTRL_NONE>; | ||
| 114 | }; | ||
| 115 | |||
| 116 | pinctrl_spi1_npcs1: spi1_npcs1 { | ||
| 117 | atmel,pins = <AT91_PIOC 5 AT91_PERIPH_B AT91_PINCTRL_NONE>; | ||
| 118 | }; | ||
| 119 | }; | ||
| 120 | }; | ||
| 121 | |||
| 122 | &spi0 { | ||
| 123 | pinctrl-names = "default"; | ||
| 124 | pinctrl-0 = <&pinctrl_spi0 &pinctrl_spi0_npcs0 &pinctrl_spi0_npcs1>; | ||
| 125 | cs-gpios = <&pioA 3 GPIO_ACTIVE_HIGH>, <&pioC 11 GPIO_ACTIVE_LOW>, <0>, <0>; | ||
| 126 | status = "okay"; | ||
| 127 | |||
| 128 | m25p80@0 { | ||
| 129 | compatible = "jedec,spi-nor"; | ||
| 130 | spi-max-frequency = <20000000>; | ||
| 131 | reg = <0>; | ||
| 132 | #address-cells = <1>; | ||
| 133 | #size-cells = <1>; | ||
| 134 | |||
| 135 | at91boot@0 { | ||
| 136 | label = "at91boot"; | ||
| 137 | reg = <0x0 0x4000>; | ||
| 138 | }; | ||
| 139 | |||
| 140 | uenv@4000 { | ||
| 141 | label = "uboot-env"; | ||
| 142 | reg = <0x4000 0x4000>; | ||
| 143 | }; | ||
| 144 | |||
| 145 | uboot@8000 { | ||
| 146 | label = "uboot"; | ||
| 147 | reg = <0x8000 0x3E000>; | ||
| 148 | }; | ||
| 149 | }; | ||
| 150 | |||
| 151 | spidev@1 { | ||
| 152 | compatible = "spidev"; | ||
| 153 | spi-max-frequency = <2000000>; | ||
| 154 | reg = <1>; | ||
| 155 | }; | ||
| 156 | }; | ||
| 157 | |||
| 158 | &spi1 { | ||
| 159 | pinctrl-names = "default"; | ||
| 160 | pinctrl-0 = <&pinctrl_spi1 &pinctrl_spi1_npcs0 &pinctrl_spi1_npcs1>; | ||
| 161 | cs-gpios = <&pioB 3 GPIO_ACTIVE_HIGH>, <&pioC 5 GPIO_ACTIVE_LOW>, <0>, <0>; | ||
| 162 | status = "okay"; | ||
| 163 | |||
| 164 | spidev@0 { | ||
| 165 | compatible = "spidev"; | ||
| 166 | spi-max-frequency = <2000000>; | ||
| 167 | reg = <0>; | ||
| 168 | }; | ||
| 169 | |||
| 170 | spidev@1 { | ||
| 171 | compatible = "spidev"; | ||
| 172 | spi-max-frequency = <2000000>; | ||
| 173 | reg = <1>; | ||
| 174 | }; | ||
| 175 | }; | ||
| 176 | |||
| 177 | &usart0 { | ||
| 178 | pinctrl-0 = | ||
| 179 | <&pinctrl_usart0 | ||
| 180 | &pinctrl_usart0_rts | ||
| 181 | &pinctrl_usart0_cts | ||
| 182 | &pinctrl_usart0_dtr_dsr | ||
| 183 | &pinctrl_usart0_dcd | ||
| 184 | &pinctrl_usart0_ri>; | ||
| 185 | status = "okay"; | ||
| 186 | }; | ||
| 187 | |||
| 188 | &usb0 { | ||
| 189 | num-ports = <2>; | ||
| 190 | status = "okay"; | ||
| 191 | }; | ||
| 192 | |||
| 193 | &usb1 { | ||
| 194 | status = "okay"; | ||
| 195 | }; | ||
| 196 | |||
| 197 | &watchdog { | ||
| 198 | status = "okay"; | ||
| 199 | }; | ||
| @@ -8,6 +8,7 @@ · 7 unmodified lines | |||
| 8 | */ | 8 | */ |
| 9 | #include "sama5d2.dtsi" | 9 | #include "sama5d2.dtsi" |
| 10 | #include "sama5d2-pinfunc.h" | 10 | #include "sama5d2-pinfunc.h" |
| 11 | #include <dt-bindings/gpio/gpio.h> | ||
| 11 | 12 | ||
| 12 | / { | 13 | / { |
| 13 | model = "Atmel SAMA5D27 SoM1"; | 14 | model = "Atmel SAMA5D27 SoM1"; |
| @@ -95,8 +96,11 @@ · 81 unmodified lines | |||
| 95 | 96 | ||
| 96 | i2c0: i2c@f8028000 { | 97 | i2c0: i2c@f8028000 { |
| 97 | dmas = <0>, <0>; | 98 | dmas = <0>, <0>; |
| 98 | pinctrl-names = "default"; | 99 | pinctrl-names = "default", "gpio"; |
| 99 | pinctrl-0 = <&pinctrl_i2c0_default>; | 100 | pinctrl-0 = <&pinctrl_i2c0_default>; |
| 101 | pinctrl-1 = <&pinctrl_i2c0_gpio>; | ||
| 102 | sda-gpios = <&pioA PIN_PD21 GPIO_ACTIVE_HIGH>; | ||
| 103 | scl-gpios = <&pioA PIN_PD22 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; | ||
| 100 | status = "okay"; | 104 | status = "okay"; |
| 101 | 105 | ||
| 102 | at24@50 { | 106 | at24@50 { |
| @@ -113,6 +117,12 @@ · 10 unmodified lines | |||
| 113 | bias-disable; | 117 | bias-disable; |
| 114 | }; | 118 | }; |
| 115 | 119 | ||
| 120 | pinctrl_i2c0_gpio: i2c0_gpio { | ||
| 121 | pinmux = <PIN_PD21__GPIO>, | ||
| 122 | <PIN_PD22__GPIO>; | ||
| 123 | bias-disable; | ||
| 124 | }; | ||
| 125 | |||
| 116 | pinctrl_qspi1_default: qspi1_default { | 126 | pinctrl_qspi1_default: qspi1_default { |
| 117 | sck_cs { | 127 | sck_cs { |
| 118 | pinmux = <PIN_PB5__QSPI1_SCK>, | 128 | pinmux = <PIN_PB5__QSPI1_SCK>, |
| @@ -130,8 +130,11 @@ · 129 unmodified lines | |||
| 130 | i2c-analog-filter; | 130 | i2c-analog-filter; |
| 131 | i2c-digital-filter; | 131 | i2c-digital-filter; |
| 132 | i2c-digital-filter-width-ns = <35>; | 132 | i2c-digital-filter-width-ns = <35>; |
| 133 | pinctrl-names = "default"; | 133 | pinctrl-names = "default", "gpio"; |
| 134 | pinctrl-0 = <&pinctrl_mikrobus_i2c>; | 134 | pinctrl-0 = <&pinctrl_mikrobus_i2c>; |
| 135 | pinctrl-1 = <&pinctrl_i2c3_gpio>; | ||
| 136 | sda-gpios = <&pioA PIN_PA24 GPIO_ACTIVE_HIGH>; | ||
| 137 | scl-gpios = <&pioA PIN_PA23 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; | ||
| 135 | status = "okay"; | 138 | status = "okay"; |
| 136 | }; | 139 | }; |
| 137 | }; | 140 | }; |
| @@ -215,8 +218,11 @@ · 77 unmodified lines | |||
| 215 | i2c-analog-filter; | 218 | i2c-analog-filter; |
| 216 | i2c-digital-filter; | 219 | i2c-digital-filter; |
| 217 | i2c-digital-filter-width-ns = <35>; | 220 | i2c-digital-filter-width-ns = <35>; |
| 218 | pinctrl-names = "default"; | 221 | pinctrl-names = "default", "gpio"; |
| 219 | pinctrl-0 = <&pinctrl_i2c1_default>; | 222 | pinctrl-0 = <&pinctrl_i2c1_default>; |
| 223 | pinctrl-1 = <&pinctrl_i2c1_gpio>; | ||
| 224 | sda-gpios = <&pioA PIN_PD4 GPIO_ACTIVE_HIGH>; | ||
| 225 | scl-gpios = <&pioA PIN_PD5 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; | ||
| 220 | status = "okay"; | 226 | status = "okay"; |
| 221 | }; | 227 | }; |
| 222 | 228 | ||
| @@ -252,6 +258,13 @@ · 29 unmodified lines | |||
| 252 | bias-disable; | 258 | bias-disable; |
| 253 | }; | 259 | }; |
| 254 | 260 | ||
| 261 | pinctrl_i2c1_gpio: i2c1_gpio { | ||
| 262 | pinmux = <PIN_PD4__GPIO>, | ||
| 263 | <PIN_PD5__GPIO>; | ||
| 264 | bias-disable; | ||
| 265 | }; | ||
| 266 | |||
| 267 | |||
| 255 | pinctrl_isc_base: isc_base { | 268 | pinctrl_isc_base: isc_base { |
| 256 | pinmux = <PIN_PC21__ISC_PCK>, | 269 | pinmux = <PIN_PC21__ISC_PCK>, |
| 257 | <PIN_PC22__ISC_VSYNC>, | 270 | <PIN_PC22__ISC_VSYNC>, |
| @@ -441,6 +454,12 @@ · 183 unmodified lines | |||
| 441 | bias-disable; | 454 | bias-disable; |
| 442 | }; | 455 | }; |
| 443 | 456 | ||
| 457 | pinctrl_i2c3_gpio: i2c3_gpio { | ||
| 458 | pinmux = <PIN_PA24__GPIO>, | ||
| 459 | <PIN_PA23__GPIO>; | ||
| 460 | bias-disable; | ||
| 461 | }; | ||
| 462 | |||
| 444 | pinctrl_flx4_default: flx4_uart_default { | 463 | pinctrl_flx4_default: flx4_uart_default { |
| 445 | pinmux = <PIN_PC28__FLEXCOM4_IO0>, | 464 | pinmux = <PIN_PC28__FLEXCOM4_IO0>, |
| 446 | <PIN_PC29__FLEXCOM4_IO1>, | 465 | <PIN_PC29__FLEXCOM4_IO1>, |
| @@ -30,6 +30,14 @@ · 29 unmodified lines | |||
| 30 | clock-frequency = <24000000>; | 30 | clock-frequency = <24000000>; |
| 31 | }; | 31 | }; |
| 32 | }; | 32 | }; |
| 33 | |||
| 34 | wifi_pwrseq: wifi_pwrseq { | ||
| 35 | compatible = "mmc-pwrseq-wilc1000"; | ||
| 36 | reset-gpios = <&pioA PIN_PA27 GPIO_ACTIVE_HIGH>; | ||
| 37 | powerdown-gpios = <&pioA PIN_PA29 GPIO_ACTIVE_HIGH>; | ||
| 38 | pinctrl-0 = <&pinctrl_wilc_pwrseq>; | ||
| 39 | pinctrl-names = "default"; | ||
| 40 | }; | ||
| 33 | }; | 41 | }; |
| 34 | 42 | ||
| 35 | &flx1 { | 43 | &flx1 { |
| @@ -310,5 +318,67 @@ · 274 unmodified lines | |||
| 310 | <PIN_PB10__QSPI1_IO3>; | 318 | <PIN_PB10__QSPI1_IO3>; |
| 311 | bias-pull-up; | 319 | bias-pull-up; |
| 312 | }; | 320 | }; |
| 321 | |||
| 322 | pinctrl_sdmmc1_default: sdmmc1_default { | ||
| 323 | cmd-data { | ||
| 324 | pinmux = <PIN_PA28__SDMMC1_CMD>, | ||
| 325 | <PIN_PA18__SDMMC1_DAT0>, | ||
| 326 | <PIN_PA19__SDMMC1_DAT1>, | ||
| 327 | <PIN_PA20__SDMMC1_DAT2>, | ||
| 328 | <PIN_PA21__SDMMC1_DAT3>; | ||
| 329 | bias-disable; | ||
| 330 | }; | ||
| 331 | |||
| 332 | conf-ck { | ||
| 333 | pinmux = <PIN_PA22__SDMMC1_CK>; | ||
| 334 | bias-disable; | ||
| 335 | }; | ||
| 336 | }; | ||
| 337 | |||
| 338 | pinctrl_wilc_default: wilc_default { | ||
| 339 | conf-irq { | ||
| 340 | pinmux = <PIN_PB25__GPIO>; | ||
| 341 | bias-disable; | ||
| 342 | }; | ||
| 343 | }; | ||
| 344 | |||
| 345 | pinctrl_wilc_pwrseq: wilc_pwrseq { | ||
| 346 | conf-ce-nrst { | ||
| 347 | pinmux = <PIN_PA27__GPIO>, | ||
| 348 | <PIN_PA29__GPIO>; | ||
| 349 | bias-disable; | ||
| 350 | }; | ||
| 351 | |||
| 352 | conf-rtcclk { | ||
| 353 | pinmux = <PIN_PB13__PCK1>; | ||
| 354 | bias-disable; | ||
| 355 | }; | ||
| 356 | }; | ||
| 357 | }; | ||
| 358 | |||
| 359 | &sdmmc1 { | ||
| 360 | #address-cells = <1>; | ||
| 361 | #size-cells = <0>; | ||
| 362 | bus-width = <4>; | ||
| 363 | pinctrl-names = "default"; | ||
| 364 | pinctrl-0 = <&pinctrl_sdmmc1_default>; | ||
| 365 | mmc-pwrseq = <&wifi_pwrseq>; | ||
| 366 | no-1-8-v; | ||
| 367 | non-removable; | ||
| 368 | bus-width = <4>; | ||
| 369 | status = "okay"; | ||
| 370 | |||
| 371 | wilc: wifi@0 { | ||
| 372 | reg = <0>; | ||
| 373 | compatible = "microchip,wilc1000"; | ||
| 374 | pinctrl-names = "default"; | ||
| 375 | pinctrl-0 = <&pinctrl_wilc_default>; | ||
| 376 | clocks = <&pmc PMC_TYPE_SYSTEM 9>; | ||
| 377 | clock-names = "rtc"; | ||
| 378 | interrupts = <PIN_PB25 IRQ_TYPE_NONE>; | ||
| 379 | interrupt-parent = <&pioA>; | ||
| 380 | assigned-clocks = <&pmc PMC_TYPE_SYSTEM 9>; | ||
| 381 | assigned-clock-rates = <32768>; | ||
| 382 | }; | ||
| 313 | }; | 383 | }; |
| 314 | 384 | ||
| @@ -307,8 +307,11 @@ · 306 unmodified lines | |||
| 307 | }; | 307 | }; |
| 308 | 308 | ||
| 309 | &i2c0 { /* mikrobus i2c */ | 309 | &i2c0 { /* mikrobus i2c */ |
| 310 | pinctrl-names = "default"; | 310 | pinctrl-names = "default", "gpio"; |
| 311 | pinctrl-0 = <&pinctrl_mikrobus_i2c>; | 311 | pinctrl-0 = <&pinctrl_mikrobus_i2c>; |
| 312 | pinctrl-1 = <&pinctrl_i2c0_gpio>; | ||
| 313 | sda-gpios = <&pioA PIN_PD21 GPIO_ACTIVE_HIGH>; | ||
| 314 | scl-gpios = <&pioA PIN_PD22 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; | ||
| 312 | i2c-digital-filter; | 315 | i2c-digital-filter; |
| 313 | i2c-digital-filter-width-ns = <35>; | 316 | i2c-digital-filter-width-ns = <35>; |
| 314 | status = "okay"; | 317 | status = "okay"; |
| @@ -316,8 +319,11 @@ · 1 unmodified line | |||
| 316 | 319 | ||
| 317 | &i2c1 { | 320 | &i2c1 { |
| 318 | dmas = <0>, <0>; | 321 | dmas = <0>, <0>; |
| 319 | pinctrl-names = "default"; | 322 | pinctrl-names = "default", "gpio"; |
| 320 | pinctrl-0 = <&pinctrl_i2c1_default>; | 323 | pinctrl-0 = <&pinctrl_i2c1_default>; |
| 324 | pinctrl-1 = <&pinctrl_i2c1_gpio>; | ||
| 325 | sda-gpios = <&pioA PIN_PD19 GPIO_ACTIVE_HIGH>; | ||
| 326 | scl-gpios = <&pioA PIN_PD20 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; | ||
| 321 | i2c-digital-filter; | 327 | i2c-digital-filter; |
| 322 | i2c-digital-filter-width-ns = <35>; | 328 | i2c-digital-filter-width-ns = <35>; |
| 323 | status = "okay"; | 329 | status = "okay"; |
| @@ -402,6 +408,12 @@ · 78 unmodified lines | |||
| 402 | bias-disable; | 408 | bias-disable; |
| 403 | }; | 409 | }; |
| 404 | 410 | ||
| 411 | pinctrl_i2c1_gpio: i2c1_gpio { | ||
| 412 | pinmux = <PIN_PD19__GPIO>, | ||
| 413 | <PIN_PD20__GPIO>; | ||
| 414 | bias-disable; | ||
| 415 | }; | ||
| 416 | |||
| 405 | pinctrl_key_gpio_default: key_gpio_default { | 417 | pinctrl_key_gpio_default: key_gpio_default { |
| 406 | pinmux = <PIN_PD0__GPIO>; | 418 | pinmux = <PIN_PD0__GPIO>; |
| 407 | bias-pull-up; | 419 | bias-pull-up; |
| @@ -463,6 +475,12 @@ · 55 unmodified lines | |||
| 463 | bias-disable; | 475 | bias-disable; |
| 464 | }; | 476 | }; |
| 465 | 477 | ||
| 478 | pinctrl_i2c0_gpio: i2c0_gpio { | ||
| 479 | pinmux = <PIN_PD21__GPIO>, | ||
| 480 | <PIN_PD22__GPIO>; | ||
| 481 | bias-disable; | ||
| 482 | }; | ||
| 483 | |||
| 466 | pinctrl_mikrobus1_an: mikrobus1_an { | 484 | pinctrl_mikrobus1_an: mikrobus1_an { |
| 467 | pinmux = <PIN_PD26__GPIO>; | 485 | pinmux = <PIN_PD26__GPIO>; |
| 468 | bias-disable; | 486 | bias-disable; |
| @@ -122,6 +122,14 @@ · 121 unmodified lines | |||
| 122 | }; | 122 | }; |
| 123 | }; | 123 | }; |
| 124 | 124 | ||
| 125 | &adc { | ||
| 126 | vddana-supply = <&vddout25>; | ||
| 127 | vref-supply = <&vddout25>; | ||
| 128 | pinctrl-names = "default"; | ||
| 129 | pinctrl-0 = <&pinctrl_mikrobus1_an_default &pinctrl_mikrobus2_an_default>; | ||
| 130 | status = "okay"; | ||
| 131 | }; | ||
| 132 | |||
| 125 | &cpu0 { | 133 | &cpu0 { |
| 126 | cpu-supply = <&vddcpu>; | 134 | cpu-supply = <&vddcpu>; |
| 127 | }; | 135 | }; |
| @@ -679,6 +687,18 @@ · 551 unmodified lines | |||
| 679 | status = "okay"; | 687 | status = "okay"; |
| 680 | }; | 688 | }; |
| 681 | 689 | ||
| 690 | &tcb0 { | ||
| 691 | timer0: timer@0 { | ||
| 692 | compatible = "atmel,tcb-timer"; | ||
| 693 | reg = <0>; | ||
| 694 | }; | ||
| 695 | |||
| 696 | timer1: timer@1 { | ||
| 697 | compatible = "atmel,tcb-timer"; | ||
| 698 | reg = <1>; | ||
| 699 | }; | ||
| 700 | }; | ||
| 701 | |||
| 682 | &trng { | 702 | &trng { |
| 683 | status = "okay"; | 703 | status = "okay"; |
| 684 | }; | 704 | }; |
| @@ -262,7 +262,7 @@ · 261 unmodified lines | |||
| 262 | &macb1 { | 262 | &macb1 { |
| 263 | status = "okay"; | 263 | status = "okay"; |
| 264 | 264 | ||
| 265 | phy-mode = "rgmii"; | 265 | phy-mode = "rmii"; |
| 266 | 266 | ||
| 267 | #address-cells = <1>; | 267 | #address-cells = <1>; |
| 268 | #size-cells = <0>; | 268 | #size-cells = <0>; |
| @@ -166,7 +166,7 @@ · 165 unmodified lines | |||
| 166 | clock-names = "t0_clk", "t1_clk", "t2_clk", "slow_clk"; | 166 | clock-names = "t0_clk", "t1_clk", "t2_clk", "slow_clk"; |
| 167 | }; | 167 | }; |
| 168 | 168 | ||
| 169 | pinctrl@fffff400 { | 169 | pinctrl: pinctrl@fffff400 { |
| 170 | #address-cells = <1>; | 170 | #address-cells = <1>; |
| 171 | #size-cells = <1>; | 171 | #size-cells = <1>; |
| 172 | compatible = "atmel,at91rm9200-pinctrl", "simple-bus"; | 172 | compatible = "atmel,at91rm9200-pinctrl", "simple-bus"; |
| @@ -53,7 +53,7 @@ · 52 unmodified lines | |||
| 53 | interrupt-controller; | 53 | interrupt-controller; |
| 54 | #interrupt-cells = <1>; | 54 | #interrupt-cells = <1>; |
| 55 | 55 | ||
| 56 | ac_power_supply: ac-power-supply { | 56 | ac_power_supply: ac-power { |
| 57 | compatible = "x-powers,axp202-ac-power-supply"; | 57 | compatible = "x-powers,axp202-ac-power-supply"; |
| 58 | status = "disabled"; | 58 | status = "disabled"; |
| 59 | }; | 59 | }; |
| @@ -69,7 +69,7 @@ · 9 unmodified lines | |||
| 69 | #gpio-cells = <2>; | 69 | #gpio-cells = <2>; |
| 70 | }; | 70 | }; |
| 71 | 71 | ||
| 72 | battery_power_supply: battery-power-supply { | 72 | battery_power_supply: battery-power { |
| 73 | compatible = "x-powers,axp209-battery-power-supply"; | 73 | compatible = "x-powers,axp209-battery-power-supply"; |
| 74 | status = "disabled"; | 74 | status = "disabled"; |
| 75 | }; | 75 | }; |
| @@ -112,7 +112,7 @@ · 36 unmodified lines | |||
| 112 | }; | 112 | }; |
| 113 | }; | 113 | }; |
| 114 | 114 | ||
| 115 | usb_power_supply: usb-power-supply { | 115 | usb_power_supply: usb-power { |
| 116 | compatible = "x-powers,axp202-usb-power-supply"; | 116 | compatible = "x-powers,axp202-usb-power-supply"; |
| 117 | status = "disabled"; | 117 | status = "disabled"; |
| 118 | }; | 118 | }; |
| @@ -52,7 +52,7 @@ · 51 unmodified lines | |||
| 52 | interrupt-controller; | 52 | interrupt-controller; |
| 53 | #interrupt-cells = <1>; | 53 | #interrupt-cells = <1>; |
| 54 | 54 | ||
| 55 | ac_power_supply: ac-power-supply { | 55 | ac_power_supply: ac-power { |
| 56 | compatible = "x-powers,axp221-ac-power-supply"; | 56 | compatible = "x-powers,axp221-ac-power-supply"; |
| 57 | status = "disabled"; | 57 | status = "disabled"; |
| 58 | }; | 58 | }; |
| @@ -62,7 +62,7 @@ · 3 unmodified lines | |||
| 62 | #io-channel-cells = <1>; | 62 | #io-channel-cells = <1>; |
| 63 | }; | 63 | }; |
| 64 | 64 | ||
| 65 | battery_power_supply: battery-power-supply { | 65 | battery_power_supply: battery-power { |
| 66 | compatible = "x-powers,axp221-battery-power-supply"; | 66 | compatible = "x-powers,axp221-battery-power-supply"; |
| 67 | status = "disabled"; | 67 | status = "disabled"; |
| 68 | }; | 68 | }; |
| @@ -163,7 +163,7 @@ · 94 unmodified lines | |||
| 163 | }; | 163 | }; |
| 164 | }; | 164 | }; |
| 165 | 165 | ||
| 166 | usb_power_supply: usb_power_supply { | 166 | usb_power_supply: usb-power { |
| 167 | compatible = "x-powers,axp221-usb-power-supply"; | 167 | compatible = "x-powers,axp221-usb-power-supply"; |
| 168 | status = "disabled"; | 168 | status = "disabled"; |
| 169 | }; | 169 | }; |
| @@ -48,7 +48,7 @@ · 47 unmodified lines | |||
| 48 | interrupt-controller; | 48 | interrupt-controller; |
| 49 | #interrupt-cells = <1>; | 49 | #interrupt-cells = <1>; |
| 50 | 50 | ||
| 51 | ac_power_supply: ac-power-supply { | 51 | ac_power_supply: ac-power { |
| 52 | compatible = "x-powers,axp813-ac-power-supply"; | 52 | compatible = "x-powers,axp813-ac-power-supply"; |
| 53 | status = "disabled"; | 53 | status = "disabled"; |
| 54 | }; | 54 | }; |
| @@ -63,18 +63,18 @@ · 8 unmodified lines | |||
| 63 | gpio-controller; | 63 | gpio-controller; |
| 64 | #gpio-cells = <2>; | 64 | #gpio-cells = <2>; |
| 65 | 65 | ||
| 66 | gpio0_ldo: gpio0-ldo { | 66 | gpio0_ldo: gpio0-ldo-pin { |
| 67 | pins = "GPIO0"; | 67 | pins = "GPIO0"; |
| 68 | function = "ldo"; | 68 | function = "ldo"; |
| 69 | }; | 69 | }; |
| 70 | 70 | ||
| 71 | gpio1_ldo: gpio1-ldo { | 71 | gpio1_ldo: gpio1-ldo-pin { |
| 72 | pins = "GPIO1"; | 72 | pins = "GPIO1"; |
| 73 | function = "ldo"; | 73 | function = "ldo"; |
| 74 | }; | 74 | }; |
| 75 | }; | 75 | }; |
| 76 | 76 | ||
| 77 | battery_power_supply: battery-power-supply { | 77 | battery_power_supply: battery-power { |
| 78 | compatible = "x-powers,axp813-battery-power-supply"; | 78 | compatible = "x-powers,axp813-battery-power-supply"; |
| 79 | status = "disabled"; | 79 | status = "disabled"; |
| 80 | }; | 80 | }; |
| @@ -172,7 +172,7 @@ · 91 unmodified lines | |||
| 172 | }; | 172 | }; |
| 173 | }; | 173 | }; |
| 174 | 174 | ||
| 175 | usb_power_supply: usb-power-supply { | 175 | usb_power_supply: usb-power { |
| 176 | compatible = "x-powers,axp813-usb-power-supply"; | 176 | compatible = "x-powers,axp813-usb-power-supply"; |
| 177 | }; | 177 | }; |
| 178 | }; | 178 | }; |
| @@ -0,0 +1,70 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later OR MIT | ||
| 2 | /* | ||
| 3 | * Broadcom Northstar Plus Ax stepping-specific bindings. | ||
| 4 | * Notable differences from B0+ are the secondary-boot-reg and | ||
| 5 | * lack of DMA coherency. | ||
| 6 | */ | ||
| 7 | |||
| 8 | &cpu1 { | ||
| 9 | secondary-boot-reg = <0xffff042c>; | ||
| 10 | }; | ||
| 11 | |||
| 12 | &dma { | ||
| 13 | /delete-property/ dma-coherent; | ||
| 14 | }; | ||
| 15 | |||
| 16 | &sdio { | ||
| 17 | /delete-property/ dma-coherent; | ||
| 18 | }; | ||
| 19 | |||
| 20 | &amac0 { | ||
| 21 | /delete-property/ dma-coherent; | ||
| 22 | }; | ||
| 23 | |||
| 24 | &amac1 { | ||
| 25 | /delete-property/ dma-coherent; | ||
| 26 | }; | ||
| 27 | |||
| 28 | &amac2 { | ||
| 29 | /delete-property/ dma-coherent; | ||
| 30 | }; | ||
| 31 | |||
| 32 | &ehci0 { | ||
| 33 | /delete-property/ dma-coherent; | ||
| 34 | }; | ||
| 35 | |||
| 36 | &mailbox { | ||
| 37 | /delete-property/ dma-coherent; | ||
| 38 | }; | ||
| 39 | |||
| 40 | &xhci { | ||
| 41 | /delete-property/ dma-coherent; | ||
| 42 | }; | ||
| 43 | |||
| 44 | &ehci0 { | ||
| 45 | /delete-property/ dma-coherent; | ||
| 46 | }; | ||
| 47 | |||
| 48 | &ohci0 { | ||
| 49 | /delete-property/ dma-coherent; | ||
| 50 | }; | ||
| 51 | |||
| 52 | &i2c0 { | ||
| 53 | /delete-property/ dma-coherent; | ||
| 54 | }; | ||
| 55 | |||
| 56 | &sata { | ||
| 57 | /delete-property/ dma-coherent; | ||
| 58 | }; | ||
| 59 | |||
| 60 | &pcie0 { | ||
| 61 | /delete-property/ dma-coherent; | ||
| 62 | }; | ||
| 63 | |||
| 64 | &pcie1 { | ||
| 65 | /delete-property/ dma-coherent; | ||
| 66 | }; | ||
| 67 | |||
| 68 | &pcie2 { | ||
| 69 | /delete-property/ dma-coherent; | ||
| 70 | }; | ||
| @@ -77,7 +77,7 @@ · 76 unmodified lines | |||
| 77 | interrupt-affinity = <&cpu0>, <&cpu1>; | 77 | interrupt-affinity = <&cpu0>, <&cpu1>; |
| 78 | }; | 78 | }; |
| 79 | 79 | ||
| 80 | mpcore@19000000 { | 80 | mpcore-bus@19000000 { |
| 81 | compatible = "simple-bus"; | 81 | compatible = "simple-bus"; |
| 82 | ranges = <0x00000000 0x19000000 0x00023000>; | 82 | ranges = <0x00000000 0x19000000 0x00023000>; |
| 83 | #address-cells = <1>; | 83 | #address-cells = <1>; |
| @@ -166,7 +166,7 @@ · 82 unmodified lines | |||
| 166 | }; | 166 | }; |
| 167 | }; | 167 | }; |
| 168 | 168 | ||
| 169 | axi@18000000 { | 169 | axi: axi@18000000 { |
| 170 | compatible = "simple-bus"; | 170 | compatible = "simple-bus"; |
| 171 | ranges = <0x00000000 0x18000000 0x0011c40c>; | 171 | ranges = <0x00000000 0x18000000 0x0011c40c>; |
| 172 | #address-cells = <1>; | 172 | #address-cells = <1>; |
| @@ -219,7 +219,7 @@ · 46 unmodified lines | |||
| 219 | status = "disabled"; | 219 | status = "disabled"; |
| 220 | }; | 220 | }; |
| 221 | 221 | ||
| 222 | sdio: sdhci@21000 { | 222 | sdio: mmc@21000 { |
| 223 | compatible = "brcm,sdhci-iproc-cygnus"; | 223 | compatible = "brcm,sdhci-iproc-cygnus"; |
| 224 | reg = <0x21000 0x100>; | 224 | reg = <0x21000 0x100>; |
| 225 | interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>; | 225 | interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -310,6 +310,7 @@ · 84 unmodified lines | |||
| 310 | num-cs = <2>; | 310 | num-cs = <2>; |
| 311 | #address-cells = <1>; | 311 | #address-cells = <1>; |
| 312 | #size-cells = <0>; | 312 | #size-cells = <0>; |
| 313 | status = "disabled"; | ||
| 313 | }; | 314 | }; |
| 314 | 315 | ||
| 315 | xhci: usb@29000 { | 316 | xhci: usb@29000 { |
| @@ -362,6 +363,42 @@ · 46 unmodified lines | |||
| 362 | status = "disabled"; | 363 | status = "disabled"; |
| 363 | }; | 364 | }; |
| 364 | 365 | ||
| 366 | mdio: mdio@32000 { | ||
| 367 | compatible = "brcm,iproc-mdio"; | ||
| 368 | reg = <0x32000 0x8>; | ||
| 369 | #size-cells = <0>; | ||
| 370 | #address-cells = <1>; | ||
| 371 | }; | ||
| 372 | |||
| 373 | mdio-mux@32000 { | ||
| 374 | compatible = "mdio-mux-mmioreg", "mdio-mux"; | ||
| 375 | reg = <0x32000 0x4>; | ||
| 376 | mux-mask = <0x200>; | ||
| 377 | #address-cells = <1>; | ||
| 378 | #size-cells = <0>; | ||
| 379 | mdio-parent-bus = <&mdio>; | ||
| 380 | |||
| 381 | mdio_int: mdio@0 { | ||
| 382 | reg = <0x0>; | ||
| 383 | #address-cells = <1>; | ||
| 384 | #size-cells = <0>; | ||
| 385 | |||
| 386 | usb3_phy: usb3-phy@10 { | ||
| 387 | compatible = "brcm,ns-bx-usb3-phy"; | ||
| 388 | reg = <0x10>; | ||
| 389 | usb3-dmp-syscon = <&usb3_dmp>; | ||
| 390 | #phy-cells = <0>; | ||
| 391 | status = "disabled"; | ||
| 392 | }; | ||
| 393 | }; | ||
| 394 | |||
| 395 | mdio_ext: mdio@200 { | ||
| 396 | reg = <0x200>; | ||
| 397 | #address-cells = <1>; | ||
| 398 | #size-cells = <0>; | ||
| 399 | }; | ||
| 400 | }; | ||
| 401 | |||
| 365 | rng: rng@33000 { | 402 | rng: rng@33000 { |
| 366 | compatible = "brcm,bcm-nsp-rng"; | 403 | compatible = "brcm,bcm-nsp-rng"; |
| 367 | reg = <0x33000 0x14>; | 404 | reg = <0x33000 0x14>; |
| @@ -520,13 +557,8 @@ · 152 unmodified lines | |||
| 520 | }; | 557 | }; |
| 521 | }; | 558 | }; |
| 522 | 559 | ||
| 523 | usb3_phy: usb3-phy@104000 { | 560 | usb3_dmp: syscon@104000 { |
| 524 | compatible = "brcm,ns-bx-usb3-phy"; | 561 | reg = <0x104000 0x1000>; |
| 525 | reg = <0x104000 0x1000>, | ||
| 526 | <0x032000 0x1000>; | ||
| 527 | reg-names = "dmp", "ccb-mii"; | ||
| 528 | #phy-cells = <0>; | ||
| 529 | status = "disabled"; | ||
| 530 | }; | 562 | }; |
| 531 | }; | 563 | }; |
| 532 | 564 | ||
| @@ -3,6 +3,7 @@ · 2 unmodified lines | |||
| 3 | #include "bcm2711.dtsi" | 3 | #include "bcm2711.dtsi" |
| 4 | #include "bcm2711-rpi.dtsi" | 4 | #include "bcm2711-rpi.dtsi" |
| 5 | #include "bcm283x-rpi-usb-peripheral.dtsi" | 5 | #include "bcm283x-rpi-usb-peripheral.dtsi" |
| 6 | #include "bcm283x-rpi-wifi-bt.dtsi" | ||
| 6 | 7 | ||
| 7 | / { | 8 | / { |
| 8 | compatible = "raspberrypi,4-model-b", "brcm,bcm2711"; | 9 | compatible = "raspberrypi,4-model-b", "brcm,bcm2711"; |
| @@ -26,11 +27,6 @@ · 17 unmodified lines | |||
| 26 | }; | 27 | }; |
| 27 | }; | 28 | }; |
| 28 | 29 | ||
| 29 | wifi_pwrseq: wifi-pwrseq { | ||
| 30 | compatible = "mmc-pwrseq-simple"; | ||
| 31 | reset-gpios = <&expgpio 1 GPIO_ACTIVE_LOW>; | ||
| 32 | }; | ||
| 33 | |||
| 34 | sd_io_1v8_reg: sd_io_1v8_reg { | 30 | sd_io_1v8_reg: sd_io_1v8_reg { |
| 35 | compatible = "regulator-gpio"; | 31 | compatible = "regulator-gpio"; |
| 36 | regulator-name = "vdd-sd-io"; | 32 | regulator-name = "vdd-sd-io"; |
| @@ -56,6 +52,10 @@ · 19 unmodified lines | |||
| 56 | }; | 52 | }; |
| 57 | }; | 53 | }; |
| 58 | 54 | ||
| 55 | &bt { | ||
| 56 | shutdown-gpios = <&expgpio 0 GPIO_ACTIVE_HIGH>; | ||
| 57 | }; | ||
| 58 | |||
| 59 | &ddc0 { | 59 | &ddc0 { |
| 60 | status = "okay"; | 60 | status = "okay"; |
| 61 | }; | 61 | }; |
| @@ -178,23 +178,6 @@ · 116 unmodified lines | |||
| 178 | status = "okay"; | 178 | status = "okay"; |
| 179 | }; | 179 | }; |
| 180 | 180 | ||
| 181 | /* SDHCI is used to control the SDIO for wireless */ | ||
| 182 | &sdhci { | ||
| 183 | #address-cells = <1>; | ||
| 184 | #size-cells = <0>; | ||
| 185 | pinctrl-names = "default"; | ||
| 186 | pinctrl-0 = <&emmc_gpio34>; | ||
| 187 | bus-width = <4>; | ||
| 188 | non-removable; | ||
| 189 | mmc-pwrseq = <&wifi_pwrseq>; | ||
| 190 | status = "okay"; | ||
| 191 | |||
| 192 | brcmf: wifi@1 { | ||
| 193 | reg = <1>; | ||
| 194 | compatible = "brcm,bcm4329-fmac"; | ||
| 195 | }; | ||
| 196 | }; | ||
| 197 | |||
| 198 | /* EMMC2 is used to drive the SD card */ | 181 | /* EMMC2 is used to drive the SD card */ |
| 199 | &emmc2 { | 182 | &emmc2 { |
| 200 | vqmmc-supply = <&sd_io_1v8_reg>; | 183 | vqmmc-supply = <&sd_io_1v8_reg>; |
| @@ -237,13 +220,6 @@ · 36 unmodified lines | |||
| 237 | pinctrl-names = "default"; | 220 | pinctrl-names = "default"; |
| 238 | pinctrl-0 = <&uart0_ctsrts_gpio30 &uart0_gpio32>; | 221 | pinctrl-0 = <&uart0_ctsrts_gpio30 &uart0_gpio32>; |
| 239 | uart-has-rtscts; | 222 | uart-has-rtscts; |
| 240 | status = "okay"; | ||
| 241 | |||
| 242 | bluetooth { | ||
| 243 | compatible = "brcm,bcm43438-bt"; | ||
| 244 | max-speed = <2000000>; | ||
| 245 | shutdown-gpios = <&expgpio 0 GPIO_ACTIVE_HIGH>; | ||
| 246 | }; | ||
| 247 | }; | 223 | }; |
| 248 | 224 | ||
| 249 | /* uart1 is mapped to the pin header */ | 225 | /* uart1 is mapped to the pin header */ |
| @@ -260,3 +236,7 @@ · 10 unmodified lines | |||
| 260 | &vec { | 236 | &vec { |
| 261 | status = "disabled"; | 237 | status = "disabled"; |
| 262 | }; | 238 | }; |
| 239 | |||
| 240 | &wifi_pwrseq { | ||
| 241 | reset-gpios = <&expgpio 1 GPIO_ACTIVE_LOW>; | ||
| 242 | }; | ||
| @@ -0,0 +1,138 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0 | ||
| 2 | /dts-v1/; | ||
| 3 | #include "bcm2711-rpi-cm4.dtsi" | ||
| 4 | #include "bcm283x-rpi-usb-host.dtsi" | ||
| 5 | |||
| 6 | / { | ||
| 7 | model = "Raspberry Pi Compute Module 4 IO Board"; | ||
| 8 | |||
| 9 | leds { | ||
| 10 | led-act { | ||
| 11 | gpios = <&gpio 42 GPIO_ACTIVE_HIGH>; | ||
| 12 | }; | ||
| 13 | |||
| 14 | led-pwr { | ||
| 15 | label = "PWR"; | ||
| 16 | gpios = <&expgpio 2 GPIO_ACTIVE_LOW>; | ||
| 17 | default-state = "keep"; | ||
| 18 | linux,default-trigger = "default-on"; | ||
| 19 | }; | ||
| 20 | }; | ||
| 21 | }; | ||
| 22 | |||
| 23 | &ddc0 { | ||
| 24 | status = "okay"; | ||
| 25 | }; | ||
| 26 | |||
| 27 | &ddc1 { | ||
| 28 | status = "okay"; | ||
| 29 | }; | ||
| 30 | |||
| 31 | &gpio { | ||
| 32 | /* | ||
| 33 | * Parts taken from rpi_SCH_4b_4p0_reduced.pdf and | ||
| 34 | * the official GPU firmware DT blob. | ||
| 35 | * | ||
| 36 | * Legend: | ||
| 37 | * "FOO" = GPIO line named "FOO" on the schematic | ||
| 38 | * "FOO_N" = GPIO line named "FOO" on schematic, active low | ||
| 39 | */ | ||
| 40 | gpio-line-names = "ID_SDA", | ||
| 41 | "ID_SCL", | ||
| 42 | "SDA1", | ||
| 43 | "SCL1", | ||
| 44 | "GPIO_GCLK", | ||
| 45 | "GPIO5", | ||
| 46 | "GPIO6", | ||
| 47 | "SPI_CE1_N", | ||
| 48 | "SPI_CE0_N", | ||
| 49 | "SPI_MISO", | ||
| 50 | "SPI_MOSI", | ||
| 51 | "SPI_SCLK", | ||
| 52 | "GPIO12", | ||
| 53 | "GPIO13", | ||
| 54 | /* Serial port */ | ||
| 55 | "TXD1", | ||
| 56 | "RXD1", | ||
| 57 | "GPIO16", | ||
| 58 | "GPIO17", | ||
| 59 | "GPIO18", | ||
| 60 | "GPIO19", | ||
| 61 | "GPIO20", | ||
| 62 | "GPIO21", | ||
| 63 | "GPIO22", | ||
| 64 | "GPIO23", | ||
| 65 | "GPIO24", | ||
| 66 | "GPIO25", | ||
| 67 | "GPIO26", | ||
| 68 | "GPIO27", | ||
| 69 | "RGMII_MDIO", | ||
| 70 | "RGMIO_MDC", | ||
| 71 | /* Used by BT module */ | ||
| 72 | "CTS0", | ||
| 73 | "RTS0", | ||
| 74 | "TXD0", | ||
| 75 | "RXD0", | ||
| 76 | /* Used by Wifi */ | ||
| 77 | "SD1_CLK", | ||
| 78 | "SD1_CMD", | ||
| 79 | "SD1_DATA0", | ||
| 80 | "SD1_DATA1", | ||
| 81 | "SD1_DATA2", | ||
| 82 | "SD1_DATA3", | ||
| 83 | /* Shared with SPI flash */ | ||
| 84 | "PWM0_MISO", | ||
| 85 | "PWM1_MOSI", | ||
| 86 | "STATUS_LED_G_CLK", | ||
| 87 | "SPIFLASH_CE_N", | ||
| 88 | "SDA0", | ||
| 89 | "SCL0", | ||
| 90 | "RGMII_RXCLK", | ||
| 91 | "RGMII_RXCTL", | ||
| 92 | "RGMII_RXD0", | ||
| 93 | "RGMII_RXD1", | ||
| 94 | "RGMII_RXD2", | ||
| 95 | "RGMII_RXD3", | ||
| 96 | "RGMII_TXCLK", | ||
| 97 | "RGMII_TXCTL", | ||
| 98 | "RGMII_TXD0", | ||
| 99 | "RGMII_TXD1", | ||
| 100 | "RGMII_TXD2", | ||
| 101 | "RGMII_TXD3"; | ||
| 102 | }; | ||
| 103 | |||
| 104 | &hdmi0 { | ||
| 105 | status = "okay"; | ||
| 106 | }; | ||
| 107 | |||
| 108 | &hdmi1 { | ||
| 109 | status = "okay"; | ||
| 110 | }; | ||
| 111 | |||
| 112 | &genet { | ||
| 113 | status = "okay"; | ||
| 114 | }; | ||
| 115 | |||
| 116 | &pixelvalve0 { | ||
| 117 | status = "okay"; | ||
| 118 | }; | ||
| 119 | |||
| 120 | &pixelvalve1 { | ||
| 121 | status = "okay"; | ||
| 122 | }; | ||
| 123 | |||
| 124 | &pixelvalve2 { | ||
| 125 | status = "okay"; | ||
| 126 | }; | ||
| 127 | |||
| 128 | &pixelvalve4 { | ||
| 129 | status = "okay"; | ||
| 130 | }; | ||
| 131 | |||
| 132 | &vc4 { | ||
| 133 | status = "okay"; | ||
| 134 | }; | ||
| 135 | |||
| 136 | &vec { | ||
| 137 | status = "disabled"; | ||
| 138 | }; | ||
| @@ -0,0 +1,113 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0 | ||
| 2 | /dts-v1/; | ||
| 3 | #include "bcm2711.dtsi" | ||
| 4 | #include "bcm2711-rpi.dtsi" | ||
| 5 | #include "bcm283x-rpi-wifi-bt.dtsi" | ||
| 6 | |||
| 7 | / { | ||
| 8 | compatible = "raspberrypi,4-compute-module", "brcm,bcm2711"; | ||
| 9 | |||
| 10 | chosen { | ||
| 11 | /* 8250 auxiliary UART instead of pl011 */ | ||
| 12 | stdout-path = "serial1:115200n8"; | ||
| 13 | }; | ||
| 14 | |||
| 15 | sd_io_1v8_reg: sd_io_1v8_reg { | ||
| 16 | compatible = "regulator-gpio"; | ||
| 17 | regulator-name = "vdd-sd-io"; | ||
| 18 | regulator-min-microvolt = <1800000>; | ||
| 19 | regulator-max-microvolt = <3300000>; | ||
| 20 | regulator-boot-on; | ||
| 21 | regulator-always-on; | ||
| 22 | regulator-settling-time-us = <5000>; | ||
| 23 | gpios = <&expgpio 4 GPIO_ACTIVE_HIGH>; | ||
| 24 | states = <1800000 0x1>, | ||
| 25 | <3300000 0x0>; | ||
| 26 | status = "okay"; | ||
| 27 | }; | ||
| 28 | |||
| 29 | sd_vcc_reg: sd_vcc_reg { | ||
| 30 | compatible = "regulator-fixed"; | ||
| 31 | regulator-name = "vcc-sd"; | ||
| 32 | regulator-min-microvolt = <3300000>; | ||
| 33 | regulator-max-microvolt = <3300000>; | ||
| 34 | regulator-boot-on; | ||
| 35 | enable-active-high; | ||
| 36 | gpio = <&expgpio 6 GPIO_ACTIVE_HIGH>; | ||
| 37 | }; | ||
| 38 | }; | ||
| 39 | |||
| 40 | &bt { | ||
| 41 | shutdown-gpios = <&expgpio 0 GPIO_ACTIVE_HIGH>; | ||
| 42 | }; | ||
| 43 | |||
| 44 | /* EMMC2 is used to drive the eMMC */ | ||
| 45 | &emmc2 { | ||
| 46 | bus-width = <8>; | ||
| 47 | vqmmc-supply = <&sd_io_1v8_reg>; | ||
| 48 | vmmc-supply = <&sd_vcc_reg>; | ||
| 49 | broken-cd; | ||
| 50 | /* Even the IP block is limited to 100 MHz | ||
| 51 | * this provides a throughput gain | ||
| 52 | */ | ||
| 53 | mmc-hs200-1_8v; | ||
| 54 | status = "okay"; | ||
| 55 | }; | ||
| 56 | |||
| 57 | &expgpio { | ||
| 58 | gpio-line-names = "BT_ON", | ||
| 59 | "WL_ON", | ||
| 60 | "PWR_LED_OFF", | ||
| 61 | "ANT1", | ||
| 62 | "VDD_SD_IO_SEL", | ||
| 63 | "CAM_GPIO", | ||
| 64 | "SD_PWR_ON", | ||
| 65 | "ANT2"; | ||
| 66 | |||
| 67 | ant1: ant1-hog { | ||
| 68 | gpio-hog; | ||
| 69 | gpios = <3 GPIO_ACTIVE_HIGH>; | ||
| 70 | /* internal antenna enabled */ | ||
| 71 | output-high; | ||
| 72 | line-name = "ant1"; | ||
| 73 | }; | ||
| 74 | |||
| 75 | ant2: ant2-hog { | ||
| 76 | gpio-hog; | ||
| 77 | gpios = <7 GPIO_ACTIVE_HIGH>; | ||
| 78 | /* external antenna disabled */ | ||
| 79 | output-low; | ||
| 80 | line-name = "ant2"; | ||
| 81 | }; | ||
| 82 | }; | ||
| 83 | |||
| 84 | &genet { | ||
| 85 | phy-handle = <&phy1>; | ||
| 86 | phy-mode = "rgmii-rxid"; | ||
| 87 | status = "okay"; | ||
| 88 | }; | ||
| 89 | |||
| 90 | &genet_mdio { | ||
| 91 | phy1: ethernet-phy@0 { | ||
| 92 | /* No PHY interrupt */ | ||
| 93 | reg = <0x0>; | ||
| 94 | }; | ||
| 95 | }; | ||
| 96 | |||
| 97 | /* uart0 communicates with the BT module */ | ||
| 98 | &uart0 { | ||
| 99 | pinctrl-names = "default"; | ||
| 100 | pinctrl-0 = <&uart0_ctsrts_gpio30 &uart0_gpio32>; | ||
| 101 | uart-has-rtscts; | ||
| 102 | }; | ||
| 103 | |||
| 104 | /* uart1 is mapped to the pin header */ | ||
| 105 | &uart1 { | ||
| 106 | pinctrl-names = "default"; | ||
| 107 | pinctrl-0 = <&uart1_gpio14>; | ||
| 108 | status = "okay"; | ||
| 109 | }; | ||
| 110 | |||
| 111 | &wifi_pwrseq { | ||
| 112 | reset-gpios = <&expgpio 1 GPIO_ACTIVE_LOW>; | ||
| 113 | }; | ||
| @@ -7,6 +7,7 @@ · 6 unmodified lines | |||
| 7 | #include "bcm2835.dtsi" | 7 | #include "bcm2835.dtsi" |
| 8 | #include "bcm2835-rpi.dtsi" | 8 | #include "bcm2835-rpi.dtsi" |
| 9 | #include "bcm283x-rpi-usb-otg.dtsi" | 9 | #include "bcm283x-rpi-usb-otg.dtsi" |
| 10 | #include "bcm283x-rpi-wifi-bt.dtsi" | ||
| 10 | 11 | ||
| 11 | / { | 12 | / { |
| 12 | compatible = "raspberrypi,model-zero-w", "brcm,bcm2835"; | 13 | compatible = "raspberrypi,model-zero-w", "brcm,bcm2835"; |
| @@ -27,11 +28,10 @@ · 14 unmodified lines | |||
| 27 | gpios = <&gpio 47 GPIO_ACTIVE_LOW>; | 28 | gpios = <&gpio 47 GPIO_ACTIVE_LOW>; |
| 28 | }; | 29 | }; |
| 29 | }; | 30 | }; |
| 31 | }; | ||
| 30 | 32 | ||
| 31 | wifi_pwrseq: wifi-pwrseq { | 33 | &bt { |
| 32 | compatible = "mmc-pwrseq-simple"; | 34 | shutdown-gpios = <&gpio 45 GPIO_ACTIVE_HIGH>; |
| 33 | reset-gpios = <&gpio 41 GPIO_ACTIVE_LOW>; | ||
| 34 | }; | ||
| 35 | }; | 35 | }; |
| 36 | 36 | ||
| 37 | &gpio { | 37 | &gpio { |
| @@ -110,19 +110,7 @@ · 72 unmodified lines | |||
| 110 | }; | 110 | }; |
| 111 | 111 | ||
| 112 | &sdhci { | 112 | &sdhci { |
| 113 | #address-cells = <1>; | ||
| 114 | #size-cells = <0>; | ||
| 115 | pinctrl-names = "default"; | ||
| 116 | pinctrl-0 = <&emmc_gpio34 &gpclk2_gpio43>; | 113 | pinctrl-0 = <&emmc_gpio34 &gpclk2_gpio43>; |
| 117 | bus-width = <4>; | ||
| 118 | mmc-pwrseq = <&wifi_pwrseq>; | ||
| 119 | non-removable; | ||
| 120 | status = "okay"; | ||
| 121 | |||
| 122 | brcmf: wifi@1 { | ||
| 123 | reg = <1>; | ||
| 124 | compatible = "brcm,bcm4329-fmac"; | ||
| 125 | }; | ||
| 126 | }; | 114 | }; |
| 127 | 115 | ||
| 128 | &sdhost { | 116 | &sdhost { |
| @@ -135,13 +123,6 @@ · 6 unmodified lines | |||
| 135 | &uart0 { | 123 | &uart0 { |
| 136 | pinctrl-names = "default"; | 124 | pinctrl-names = "default"; |
| 137 | pinctrl-0 = <&uart0_gpio32 &uart0_ctsrts_gpio30>; | 125 | pinctrl-0 = <&uart0_gpio32 &uart0_ctsrts_gpio30>; |
| 138 | status = "okay"; | ||
| 139 | |||
| 140 | bluetooth { | ||
| 141 | compatible = "brcm,bcm43438-bt"; | ||
| 142 | max-speed = <2000000>; | ||
| 143 | shutdown-gpios = <&gpio 45 GPIO_ACTIVE_HIGH>; | ||
| 144 | }; | ||
| 145 | }; | 126 | }; |
| 146 | 127 | ||
| 147 | &uart1 { | 128 | &uart1 { |
| @@ -149,3 +130,7 @@ · 1 unmodified line | |||
| 149 | pinctrl-0 = <&uart1_gpio14>; | 130 | pinctrl-0 = <&uart1_gpio14>; |
| 150 | status = "okay"; | 131 | status = "okay"; |
| 151 | }; | 132 | }; |
| 133 | |||
| 134 | &wifi_pwrseq { | ||
| 135 | reset-gpios = <&gpio 41 GPIO_ACTIVE_LOW>; | ||
| 136 | }; | ||
| @@ -3,6 +3,7 @@ · 2 unmodified lines | |||
| 3 | #include "bcm2837.dtsi" | 3 | #include "bcm2837.dtsi" |
| 4 | #include "bcm2836-rpi.dtsi" | 4 | #include "bcm2836-rpi.dtsi" |
| 5 | #include "bcm283x-rpi-usb-host.dtsi" | 5 | #include "bcm283x-rpi-usb-host.dtsi" |
| 6 | #include "bcm283x-rpi-wifi-bt.dtsi" | ||
| 6 | 7 | ||
| 7 | / { | 8 | / { |
| 8 | compatible = "raspberrypi,3-model-a-plus", "brcm,bcm2837"; | 9 | compatible = "raspberrypi,3-model-a-plus", "brcm,bcm2837"; |
| @@ -130,28 +131,6 @@ · 121 unmodified lines | |||
| 130 | status = "okay"; | 131 | status = "okay"; |
| 131 | }; | 132 | }; |
| 132 | 133 | ||
| 133 | /* | ||
| 134 | * SDHCI is used to control the SDIO for wireless | ||
| 135 | * | ||
| 136 | * WL_REG_ON and BT_REG_ON of the CYW43455 Wifi/BT module are driven | ||
| 137 | * by a single GPIO. We can't give GPIO control to one of the drivers, | ||
| 138 | * otherwise the other part would get unexpectedly disturbed. | ||
| 139 | */ | ||
| 140 | &sdhci { | ||
| 141 | #address-cells = <1>; | ||
| 142 | #size-cells = <0>; | ||
| 143 | pinctrl-names = "default"; | ||
| 144 | pinctrl-0 = <&emmc_gpio34>; | ||
| 145 | status = "okay"; | ||
| 146 | bus-width = <4>; | ||
| 147 | non-removable; | ||
| 148 | |||
| 149 | brcmf: wifi@1 { | ||
| 150 | reg = <1>; | ||
| 151 | compatible = "brcm,bcm4329-fmac"; | ||
| 152 | }; | ||
| 153 | }; | ||
| 154 | |||
| 155 | /* SDHOST is used to drive the SD card */ | 134 | /* SDHOST is used to drive the SD card */ |
| 156 | &sdhost { | 135 | &sdhost { |
| 157 | pinctrl-names = "default"; | 136 | pinctrl-names = "default"; |
| @@ -160,16 +139,15 @@ · 2 unmodified lines | |||
| 160 | bus-width = <4>; | 139 | bus-width = <4>; |
| 161 | }; | 140 | }; |
| 162 | 141 | ||
| 163 | /* uart0 communicates with the BT module */ | 142 | /* uart0 communicates with the BT module |
| 143 | * | ||
| 144 | * WL_REG_ON and BT_REG_ON of the CYW43455 Wifi/BT module are driven | ||
| 145 | * by a single GPIO. We can't give GPIO control to one of the drivers, | ||
| 146 | * otherwise the other part would get unexpectedly disturbed. | ||
| 147 | */ | ||
| 164 | &uart0 { | 148 | &uart0 { |
| 165 | pinctrl-names = "default"; | 149 | pinctrl-names = "default"; |
| 166 | pinctrl-0 = <&uart0_ctsrts_gpio30 &uart0_gpio32 &gpclk2_gpio43>; | 150 | pinctrl-0 = <&uart0_ctsrts_gpio30 &uart0_gpio32 &gpclk2_gpio43>; |
| 167 | status = "okay"; | ||
| 168 | |||
| 169 | bluetooth { | ||
| 170 | compatible = "brcm,bcm43438-bt"; | ||
| 171 | max-speed = <2000000>; | ||
| 172 | }; | ||
| 173 | }; | 151 | }; |
| 174 | 152 | ||
| 175 | /* uart1 is mapped to the pin header */ | 153 | /* uart1 is mapped to the pin header */ |
| @@ -4,6 +4,7 @@ · 3 unmodified lines | |||
| 4 | #include "bcm2836-rpi.dtsi" | 4 | #include "bcm2836-rpi.dtsi" |
| 5 | #include "bcm283x-rpi-lan7515.dtsi" | 5 | #include "bcm283x-rpi-lan7515.dtsi" |
| 6 | #include "bcm283x-rpi-usb-host.dtsi" | 6 | #include "bcm283x-rpi-usb-host.dtsi" |
| 7 | #include "bcm283x-rpi-wifi-bt.dtsi" | ||
| 7 | 8 | ||
| 8 | / { | 9 | / { |
| 9 | compatible = "raspberrypi,3-model-b-plus", "brcm,bcm2837"; | 10 | compatible = "raspberrypi,3-model-b-plus", "brcm,bcm2837"; |
| @@ -31,11 +32,10 @@ · 21 unmodified lines | |||
| 31 | linux,default-trigger = "default-on"; | 32 | linux,default-trigger = "default-on"; |
| 32 | }; | 33 | }; |
| 33 | }; | 34 | }; |
| 35 | }; | ||
| 34 | 36 | ||
| 35 | wifi_pwrseq: wifi-pwrseq { | 37 | &bt { |
| 36 | compatible = "mmc-pwrseq-simple"; | 38 | shutdown-gpios = <&expgpio 0 GPIO_ACTIVE_HIGH>; |
| 37 | reset-gpios = <&expgpio 1 GPIO_ACTIVE_LOW>; | ||
| 38 | }; | ||
| 39 | }; | 39 | }; |
| 40 | 40 | ||
| 41 | &firmware { | 41 | &firmware { |
| @@ -137,23 +137,6 @@ · 95 unmodified lines | |||
| 137 | status = "okay"; | 137 | status = "okay"; |
| 138 | }; | 138 | }; |
| 139 | 139 | ||
| 140 | /* SDHCI is used to control the SDIO for wireless */ | ||
| 141 | &sdhci { | ||
| 142 | #address-cells = <1>; | ||
| 143 | #size-cells = <0>; | ||
| 144 | pinctrl-names = "default"; | ||
| 145 | pinctrl-0 = <&emmc_gpio34>; | ||
| 146 | status = "okay"; | ||
| 147 | bus-width = <4>; | ||
| 148 | non-removable; | ||
| 149 | mmc-pwrseq = <&wifi_pwrseq>; | ||
| 150 | |||
| 151 | brcmf: wifi@1 { | ||
| 152 | reg = <1>; | ||
| 153 | compatible = "brcm,bcm4329-fmac"; | ||
| 154 | }; | ||
| 155 | }; | ||
| 156 | |||
| 157 | /* SDHOST is used to drive the SD card */ | 140 | /* SDHOST is used to drive the SD card */ |
| 158 | &sdhost { | 141 | &sdhost { |
| 159 | pinctrl-names = "default"; | 142 | pinctrl-names = "default"; |
| @@ -166,13 +149,6 @@ · 6 unmodified lines | |||
| 166 | &uart0 { | 149 | &uart0 { |
| 167 | pinctrl-names = "default"; | 150 | pinctrl-names = "default"; |
| 168 | pinctrl-0 = <&uart0_ctsrts_gpio30 &uart0_gpio32 &gpclk2_gpio43>; | 151 | pinctrl-0 = <&uart0_ctsrts_gpio30 &uart0_gpio32 &gpclk2_gpio43>; |
| 169 | status = "okay"; | ||
| 170 | |||
| 171 | bluetooth { | ||
| 172 | compatible = "brcm,bcm43438-bt"; | ||
| 173 | max-speed = <2000000>; | ||
| 174 | shutdown-gpios = <&expgpio 0 GPIO_ACTIVE_HIGH>; | ||
| 175 | }; | ||
| 176 | }; | 152 | }; |
| 177 | 153 | ||
| 178 | /* uart1 is mapped to the pin header */ | 154 | /* uart1 is mapped to the pin header */ |
| @@ -181,3 +157,7 @@ · 2 unmodified lines | |||
| 181 | pinctrl-0 = <&uart1_gpio14>; | 157 | pinctrl-0 = <&uart1_gpio14>; |
| 182 | status = "okay"; | 158 | status = "okay"; |
| 183 | }; | 159 | }; |
| 160 | |||
| 161 | &wifi_pwrseq { | ||
| 162 | reset-gpios = <&expgpio 1 GPIO_ACTIVE_LOW>; | ||
| 163 | }; | ||
| @@ -4,6 +4,7 @@ · 3 unmodified lines | |||
| 4 | #include "bcm2836-rpi.dtsi" | 4 | #include "bcm2836-rpi.dtsi" |
| 5 | #include "bcm283x-rpi-smsc9514.dtsi" | 5 | #include "bcm283x-rpi-smsc9514.dtsi" |
| 6 | #include "bcm283x-rpi-usb-host.dtsi" | 6 | #include "bcm283x-rpi-usb-host.dtsi" |
| 7 | #include "bcm283x-rpi-wifi-bt.dtsi" | ||
| 7 | 8 | ||
| 8 | / { | 9 | / { |
| 9 | compatible = "raspberrypi,3-model-b", "brcm,bcm2837"; | 10 | compatible = "raspberrypi,3-model-b", "brcm,bcm2837"; |
| @@ -24,11 +25,10 @@ · 14 unmodified lines | |||
| 24 | gpios = <&expgpio 2 GPIO_ACTIVE_HIGH>; | 25 | gpios = <&expgpio 2 GPIO_ACTIVE_HIGH>; |
| 25 | }; | 26 | }; |
| 26 | }; | 27 | }; |
| 28 | }; | ||
| 27 | 29 | ||
| 28 | wifi_pwrseq: wifi-pwrseq { | 30 | &bt { |
| 29 | compatible = "mmc-pwrseq-simple"; | 31 | shutdown-gpios = <&expgpio 0 GPIO_ACTIVE_HIGH>; |
| 30 | reset-gpios = <&expgpio 1 GPIO_ACTIVE_LOW>; | ||
| 31 | }; | ||
| 32 | }; | 32 | }; |
| 33 | 33 | ||
| 34 | &firmware { | 34 | &firmware { |
| @@ -134,13 +134,6 @@ · 99 unmodified lines | |||
| 134 | &uart0 { | 134 | &uart0 { |
| 135 | pinctrl-names = "default"; | 135 | pinctrl-names = "default"; |
| 136 | pinctrl-0 = <&uart0_gpio32 &gpclk2_gpio43>; | 136 | pinctrl-0 = <&uart0_gpio32 &gpclk2_gpio43>; |
| 137 | status = "okay"; | ||
| 138 | |||
| 139 | bluetooth { | ||
| 140 | compatible = "brcm,bcm43438-bt"; | ||
| 141 | max-speed = <2000000>; | ||
| 142 | shutdown-gpios = <&expgpio 0 GPIO_ACTIVE_HIGH>; | ||
| 143 | }; | ||
| 144 | }; | 137 | }; |
| 145 | 138 | ||
| 146 | /* uart1 is mapped to the pin header */ | 139 | /* uart1 is mapped to the pin header */ |
| @@ -150,23 +143,6 @@ · 3 unmodified lines | |||
| 150 | status = "okay"; | 143 | status = "okay"; |
| 151 | }; | 144 | }; |
| 152 | 145 | ||
| 153 | /* SDHCI is used to control the SDIO for wireless */ | ||
| 154 | &sdhci { | ||
| 155 | #address-cells = <1>; | ||
| 156 | #size-cells = <0>; | ||
| 157 | pinctrl-names = "default"; | ||
| 158 | pinctrl-0 = <&emmc_gpio34>; | ||
| 159 | status = "okay"; | ||
| 160 | bus-width = <4>; | ||
| 161 | non-removable; | ||
| 162 | mmc-pwrseq = <&wifi_pwrseq>; | ||
| 163 | |||
| 164 | brcmf: wifi@1 { | ||
| 165 | reg = <1>; | ||
| 166 | compatible = "brcm,bcm4329-fmac"; | ||
| 167 | }; | ||
| 168 | }; | ||
| 169 | |||
| 170 | /* SDHOST is used to drive the SD card */ | 146 | /* SDHOST is used to drive the SD card */ |
| 171 | &sdhost { | 147 | &sdhost { |
| 172 | pinctrl-names = "default"; | 148 | pinctrl-names = "default"; |
| @@ -174,3 +150,7 @@ · 1 unmodified line | |||
| 174 | status = "okay"; | 150 | status = "okay"; |
| 175 | bus-width = <4>; | 151 | bus-width = <4>; |
| 176 | }; | 152 | }; |
| 153 | |||
| 154 | &wifi_pwrseq { | ||
| 155 | reset-gpios = <&expgpio 1 GPIO_ACTIVE_LOW>; | ||
| 156 | }; | ||
| @@ -0,0 +1,34 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0 | ||
| 2 | |||
| 3 | / { | ||
| 4 | wifi_pwrseq: wifi-pwrseq { | ||
| 5 | compatible = "mmc-pwrseq-simple"; | ||
| 6 | }; | ||
| 7 | }; | ||
| 8 | |||
| 9 | /* SDHCI is used to control the SDIO for wireless */ | ||
| 10 | &sdhci { | ||
| 11 | #address-cells = <1>; | ||
| 12 | #size-cells = <0>; | ||
| 13 | pinctrl-names = "default"; | ||
| 14 | pinctrl-0 = <&emmc_gpio34>; | ||
| 15 | bus-width = <4>; | ||
| 16 | non-removable; | ||
| 17 | mmc-pwrseq = <&wifi_pwrseq>; | ||
| 18 | status = "okay"; | ||
| 19 | |||
| 20 | brcmf: wifi@1 { | ||
| 21 | reg = <1>; | ||
| 22 | compatible = "brcm,bcm4329-fmac"; | ||
| 23 | }; | ||
| 24 | }; | ||
| 25 | |||
| 26 | /* uart0 communicates with the BT module */ | ||
| 27 | &uart0 { | ||
| 28 | status = "okay"; | ||
| 29 | |||
| 30 | bt: bluetooth { | ||
| 31 | compatible = "brcm,bcm43438-bt"; | ||
| 32 | max-speed = <2000000>; | ||
| 33 | }; | ||
| 34 | }; | ||
| @@ -20,7 +20,7 @@ · 19 unmodified lines | |||
| 20 | bootargs = "console=ttyS0,115200 earlycon"; | 20 | bootargs = "console=ttyS0,115200 earlycon"; |
| 21 | }; | 21 | }; |
| 22 | 22 | ||
| 23 | memory { | 23 | memory@0 { |
| 24 | device_type = "memory"; | 24 | device_type = "memory"; |
| 25 | reg = <0x00000000 0x08000000>, | 25 | reg = <0x00000000 0x08000000>, |
| 26 | <0x88000000 0x08000000>; | 26 | <0x88000000 0x08000000>; |
| @@ -94,3 +94,40 @@ · 67 unmodified lines | |||
| 94 | &usb3_phy { | 94 | &usb3_phy { |
| 95 | status = "okay"; | 95 | status = "okay"; |
| 96 | }; | 96 | }; |
| 97 | |||
| 98 | &srab { | ||
| 99 | status = "okay"; | ||
| 100 | |||
| 101 | ports { | ||
| 102 | port@0 { | ||
| 103 | reg = <0>; | ||
| 104 | label = "lan4"; | ||
| 105 | }; | ||
| 106 | |||
| 107 | port@1 { | ||
| 108 | reg = <1>; | ||
| 109 | label = "lan3"; | ||
| 110 | }; | ||
| 111 | |||
| 112 | port@2 { | ||
| 113 | reg = <2>; | ||
| 114 | label = "lan2"; | ||
| 115 | }; | ||
| 116 | |||
| 117 | port@3 { | ||
| 118 | reg = <3>; | ||
| 119 | label = "lan1"; | ||
| 120 | }; | ||
| 121 | |||
| 122 | port@4 { | ||
| 123 | reg = <4>; | ||
| 124 | label = "wan"; | ||
| 125 | }; | ||
| 126 | |||
| 127 | port@5 { | ||
| 128 | reg = <5>; | ||
| 129 | label = "cpu"; | ||
| 130 | ethernet = <&gmac0>; | ||
| 131 | }; | ||
| 132 | }; | ||
| 133 | }; | ||
| @@ -117,3 +117,40 @@ · 116 unmodified lines | |||
| 117 | }; | 117 | }; |
| 118 | }; | 118 | }; |
| 119 | }; | 119 | }; |
| 120 | |||
| 121 | &srab { | ||
| 122 | status = "okay"; | ||
| 123 | |||
| 124 | ports { | ||
| 125 | port@0 { | ||
| 126 | reg = <0>; | ||
| 127 | label = "lan1"; | ||
| 128 | }; | ||
| 129 | |||
| 130 | port@1 { | ||
| 131 | reg = <1>; | ||
| 132 | label = "lan2"; | ||
| 133 | }; | ||
| 134 | |||
| 135 | port@2 { | ||
| 136 | reg = <2>; | ||
| 137 | label = "lan3"; | ||
| 138 | }; | ||
| 139 | |||
| 140 | port@3 { | ||
| 141 | reg = <3>; | ||
| 142 | label = "lan4"; | ||
| 143 | }; | ||
| 144 | |||
| 145 | port@4 { | ||
| 146 | reg = <4>; | ||
| 147 | label = "wan"; | ||
| 148 | }; | ||
| 149 | |||
| 150 | port@5 { | ||
| 151 | reg = <5>; | ||
| 152 | label = "cpu"; | ||
| 153 | ethernet = <&gmac0>; | ||
| 154 | }; | ||
| 155 | }; | ||
| 156 | }; | ||
| @@ -19,7 +19,7 @@ · 18 unmodified lines | |||
| 19 | bootargs = "console=ttyS0,115200"; | 19 | bootargs = "console=ttyS0,115200"; |
| 20 | }; | 20 | }; |
| 21 | 21 | ||
| 22 | memory { | 22 | memory@0 { |
| 23 | device_type = "memory"; | 23 | device_type = "memory"; |
| 24 | reg = <0x00000000 0x08000000>, | 24 | reg = <0x00000000 0x08000000>, |
| 25 | <0x88000000 0x08000000>; | 25 | <0x88000000 0x08000000>; |
| @@ -19,7 +19,7 @@ · 18 unmodified lines | |||
| 19 | bootargs = "console=ttyS0,115200"; | 19 | bootargs = "console=ttyS0,115200"; |
| 20 | }; | 20 | }; |
| 21 | 21 | ||
| 22 | memory { | 22 | memory@0 { |
| 23 | device_type = "memory"; | 23 | device_type = "memory"; |
| 24 | reg = <0x00000000 0x08000000>, | 24 | reg = <0x00000000 0x08000000>, |
| 25 | <0x88000000 0x18000000>; | 25 | <0x88000000 0x18000000>; |
| @@ -16,7 +16,7 @@ · 15 unmodified lines | |||
| 16 | bootargs = "console=ttyS0,115200"; | 16 | bootargs = "console=ttyS0,115200"; |
| 17 | }; | 17 | }; |
| 18 | 18 | ||
| 19 | memory { | 19 | memory@0 { |
| 20 | device_type = "memory"; | 20 | device_type = "memory"; |
| 21 | reg = <0x00000000 0x08000000>, | 21 | reg = <0x00000000 0x08000000>, |
| 22 | <0x88000000 0x08000000>; | 22 | <0x88000000 0x08000000>; |
| @@ -19,7 +19,7 @@ · 18 unmodified lines | |||
| 19 | bootargs = "console=ttyS0,115200"; | 19 | bootargs = "console=ttyS0,115200"; |
| 20 | }; | 20 | }; |
| 21 | 21 | ||
| 22 | memory { | 22 | memory@0 { |
| 23 | device_type = "memory"; | 23 | device_type = "memory"; |
| 24 | reg = <0x00000000 0x08000000>, | 24 | reg = <0x00000000 0x08000000>, |
| 25 | <0x88000000 0x08000000>; | 25 | <0x88000000 0x08000000>; |
| @@ -30,7 +30,7 @@ · 29 unmodified lines | |||
| 30 | bootargs = "console=ttyS0,115200"; | 30 | bootargs = "console=ttyS0,115200"; |
| 31 | }; | 31 | }; |
| 32 | 32 | ||
| 33 | memory { | 33 | memory@0 { |
| 34 | device_type = "memory"; | 34 | device_type = "memory"; |
| 35 | reg = <0x00000000 0x08000000>, | 35 | reg = <0x00000000 0x08000000>, |
| 36 | <0x88000000 0x08000000>; | 36 | <0x88000000 0x08000000>; |
| @@ -187,3 +187,45 @@ · 150 unmodified lines | |||
| 187 | &usb3_phy { | 187 | &usb3_phy { |
| 188 | status = "okay"; | 188 | status = "okay"; |
| 189 | }; | 189 | }; |
| 190 | |||
| 191 | &srab { | ||
| 192 | status = "okay"; | ||
| 193 | |||
| 194 | ports { | ||
| 195 | port@0 { | ||
| 196 | reg = <0>; | ||
| 197 | label = "lan1"; | ||
| 198 | }; | ||
| 199 | |||
| 200 | port@1 { | ||
| 201 | reg = <1>; | ||
| 202 | label = "lan2"; | ||
| 203 | }; | ||
| 204 | |||
| 205 | port@2 { | ||
| 206 | reg = <2>; | ||
| 207 | label = "lan3"; | ||
| 208 | }; | ||
| 209 | |||
| 210 | port@3 { | ||
| 211 | reg = <3>; | ||
| 212 | label = "lan4"; | ||
| 213 | }; | ||
| 214 | |||
| 215 | port@4 { | ||
| 216 | reg = <4>; | ||
| 217 | label = "wan"; | ||
| 218 | }; | ||
| 219 | |||
| 220 | port@8 { | ||
| 221 | reg = <8>; | ||
| 222 | label = "cpu"; | ||
| 223 | ethernet = <&gmac2>; | ||
| 224 | |||
| 225 | fixed-link { | ||
| 226 | speed = <1000>; | ||
| 227 | full-duplex; | ||
| 228 | }; | ||
| 229 | }; | ||
| 230 | }; | ||
| 231 | }; | ||
| @@ -15,7 +15,7 @@ · 14 unmodified lines | |||
| 15 | bootargs = "console=ttyS0,115200 earlycon"; | 15 | bootargs = "console=ttyS0,115200 earlycon"; |
| 16 | }; | 16 | }; |
| 17 | 17 | ||
| 18 | memory { | 18 | memory@0 { |
| 19 | device_type = "memory"; | 19 | device_type = "memory"; |
| 20 | reg = <0x00000000 0x08000000>; | 20 | reg = <0x00000000 0x08000000>; |
| 21 | }; | 21 | }; |
| @@ -0,0 +1,200 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later OR MIT | ||
| 2 | /* | ||
| 3 | * Copyright (C) 2021 Arınç ÜNAL <arinc.unal@arinc9.com> | ||
| 4 | */ | ||
| 5 | |||
| 6 | /dts-v1/; | ||
| 7 | |||
| 8 | #include "bcm47094.dtsi" | ||
| 9 | #include "bcm5301x-nand-cs0-bch8.dtsi" | ||
| 10 | |||
| 11 | / { | ||
| 12 | compatible = "asus,rt-ac88u", "brcm,bcm47094", "brcm,bcm4708"; | ||
| 13 | model = "Asus RT-AC88U"; | ||
| 14 | |||
| 15 | chosen { | ||
| 16 | bootargs = "earlycon"; | ||
| 17 | }; | ||
| 18 | |||
| 19 | memory@0 { | ||
| 20 | device_type = "memory"; | ||
| 21 | reg = <0x00000000 0x08000000>, | ||
| 22 | <0x88000000 0x18000000>; | ||
| 23 | }; | ||
| 24 | |||
| 25 | nvram@1c080000 { | ||
| 26 | compatible = "brcm,nvram"; | ||
| 27 | reg = <0x1c080000 0x00180000>; | ||
| 28 | }; | ||
| 29 | |||
| 30 | leds { | ||
| 31 | compatible = "gpio-leds"; | ||
| 32 | |||
| 33 | power { | ||
| 34 | label = "white:power"; | ||
| 35 | gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>; | ||
| 36 | linux,default-trigger = "default-on"; | ||
| 37 | }; | ||
| 38 | |||
| 39 | wan-red { | ||
| 40 | label = "red:wan"; | ||
| 41 | gpios = <&chipcommon 5 GPIO_ACTIVE_HIGH>; | ||
| 42 | }; | ||
| 43 | |||
| 44 | lan { | ||
| 45 | label = "white:lan"; | ||
| 46 | gpios = <&chipcommon 21 GPIO_ACTIVE_LOW>; | ||
| 47 | }; | ||
| 48 | |||
| 49 | usb2 { | ||
| 50 | label = "white:usb2"; | ||
| 51 | gpios = <&chipcommon 16 GPIO_ACTIVE_LOW>; | ||
| 52 | trigger-sources = <&ehci_port2>; | ||
| 53 | linux,default-trigger = "usbport"; | ||
| 54 | }; | ||
| 55 | |||
| 56 | usb3 { | ||
| 57 | label = "white:usb3"; | ||
| 58 | gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>; | ||
| 59 | trigger-sources = <&ehci_port1>, <&xhci_port1>; | ||
| 60 | linux,default-trigger = "usbport"; | ||
| 61 | }; | ||
| 62 | |||
| 63 | wps { | ||
| 64 | label = "white:wps"; | ||
| 65 | gpios = <&chipcommon 19 GPIO_ACTIVE_LOW>; | ||
| 66 | }; | ||
| 67 | }; | ||
| 68 | |||
| 69 | gpio-keys { | ||
| 70 | compatible = "gpio-keys"; | ||
| 71 | #address-cells = <1>; | ||
| 72 | #size-cells = <0>; | ||
| 73 | |||
| 74 | wps { | ||
| 75 | label = "WPS"; | ||
| 76 | linux,code = <KEY_WPS_BUTTON>; | ||
| 77 | gpios = <&chipcommon 20 GPIO_ACTIVE_LOW>; | ||
| 78 | }; | ||
| 79 | |||
| 80 | reset { | ||
| 81 | label = "Reset"; | ||
| 82 | linux,code = <KEY_RESTART>; | ||
| 83 | gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>; | ||
| 84 | }; | ||
| 85 | |||
| 86 | wifi { | ||
| 87 | label = "Wi-Fi"; | ||
| 88 | linux,code = <KEY_RFKILL>; | ||
| 89 | gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>; | ||
| 90 | }; | ||
| 91 | |||
| 92 | led { | ||
| 93 | label = "Backlight"; | ||
| 94 | linux,code = <KEY_BRIGHTNESS_ZERO>; | ||
| 95 | gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>; | ||
| 96 | }; | ||
| 97 | }; | ||
| 98 | }; | ||
| 99 | |||
| 100 | &srab { | ||
| 101 | compatible = "brcm,bcm53012-srab", "brcm,bcm5301x-srab"; | ||
| 102 | status = "okay"; | ||
| 103 | dsa,member = <0 0>; | ||
| 104 | |||
| 105 | ports { | ||
| 106 | #address-cells = <1>; | ||
| 107 | #size-cells = <0>; | ||
| 108 | |||
| 109 | port@0 { | ||
| 110 | reg = <0>; | ||
| 111 | label = "lan4"; | ||
| 112 | }; | ||
| 113 | |||
| 114 | port@1 { | ||
| 115 | reg = <1>; | ||
| 116 | label = "lan3"; | ||
| 117 | }; | ||
| 118 | |||
| 119 | port@2 { | ||
| 120 | reg = <2>; | ||
| 121 | label = "lan2"; | ||
| 122 | }; | ||
| 123 | |||
| 124 | port@3 { | ||
| 125 | reg = <3>; | ||
| 126 | label = "lan1"; | ||
| 127 | }; | ||
| 128 | |||
| 129 | port@4 { | ||
| 130 | reg = <4>; | ||
| 131 | label = "wan"; | ||
| 132 | }; | ||
| 133 | |||
| 134 | sw0_p5: port@5 { | ||
| 135 | reg = <5>; | ||
| 136 | label = "extsw"; | ||
| 137 | |||
| 138 | fixed-link { | ||
| 139 | speed = <1000>; | ||
| 140 | full-duplex; | ||
| 141 | }; | ||
| 142 | }; | ||
| 143 | |||
| 144 | port@7 { | ||
| 145 | reg = <7>; | ||
| 146 | ethernet = <&gmac1>; | ||
| 147 | label = "cpu"; | ||
| 148 | |||
| 149 | fixed-link { | ||
| 150 | speed = <1000>; | ||
| 151 | full-duplex; | ||
| 152 | }; | ||
| 153 | }; | ||
| 154 | |||
| 155 | port@8 { | ||
| 156 | reg = <8>; | ||
| 157 | ethernet = <&gmac2>; | ||
| 158 | label = "cpu"; | ||
| 159 | status = "disabled"; | ||
| 160 | |||
| 161 | fixed-link { | ||
| 162 | speed = <1000>; | ||
| 163 | full-duplex; | ||
| 164 | }; | ||
| 165 | }; | ||
| 166 | }; | ||
| 167 | }; | ||
| 168 | |||
| 169 | &usb2 { | ||
| 170 | vcc-gpio = <&chipcommon 9 GPIO_ACTIVE_HIGH>; | ||
| 171 | }; | ||
| 172 | |||
| 173 | &usb3_phy { | ||
| 174 | status = "okay"; | ||
| 175 | }; | ||
| 176 | |||
| 177 | &nandcs { | ||
| 178 | partitions { | ||
| 179 | compatible = "fixed-partitions"; | ||
| 180 | #address-cells = <1>; | ||
| 181 | #size-cells = <1>; | ||
| 182 | |||
| 183 | partition@0 { | ||
| 184 | label = "boot"; | ||
| 185 | reg = <0x00000000 0x00080000>; | ||
| 186 | read-only; | ||
| 187 | }; | ||
| 188 | |||
| 189 | partition@80000 { | ||
| 190 | label = "nvram"; | ||
| 191 | reg = <0x00080000 0x00180000>; | ||
| 192 | }; | ||
| 193 | |||
| 194 | partition@200000 { | ||
| 195 | label = "firmware"; | ||
| 196 | reg = <0x00200000 0x07e00000>; | ||
| 197 | compatible = "brcm,trx"; | ||
| 198 | }; | ||
| 199 | }; | ||
| 200 | }; | ||
| @@ -118,3 +118,45 @@ · 117 unmodified lines | |||
| 118 | &usb3_phy { | 118 | &usb3_phy { |
| 119 | status = "okay"; | 119 | status = "okay"; |
| 120 | }; | 120 | }; |
| 121 | |||
| 122 | &srab { | ||
| 123 | status = "okay"; | ||
| 124 | |||
| 125 | ports { | ||
| 126 | port@0 { | ||
| 127 | reg = <0>; | ||
| 128 | label = "lan4"; | ||
| 129 | }; | ||
| 130 | |||
| 131 | port@1 { | ||
| 132 | reg = <1>; | ||
| 133 | label = "lan3"; | ||
| 134 | }; | ||
| 135 | |||
| 136 | port@2 { | ||
| 137 | reg = <2>; | ||
| 138 | label = "lan2"; | ||
| 139 | }; | ||
| 140 | |||
| 141 | port@3 { | ||
| 142 | reg = <3>; | ||
| 143 | label = "lan1"; | ||
| 144 | }; | ||
| 145 | |||
| 146 | port@4 { | ||
| 147 | reg = <4>; | ||
| 148 | label = "wan"; | ||
| 149 | }; | ||
| 150 | |||
| 151 | port@8 { | ||
| 152 | reg = <8>; | ||
| 153 | label = "cpu"; | ||
| 154 | ethernet = <&gmac2>; | ||
| 155 | |||
| 156 | fixed-link { | ||
| 157 | speed = <1000>; | ||
| 158 | full-duplex; | ||
| 159 | }; | ||
| 160 | }; | ||
| 161 | }; | ||
| 162 | }; | ||
| @@ -129,7 +129,7 @@ · 128 unmodified lines | |||
| 129 | }; | 129 | }; |
| 130 | }; | 130 | }; |
| 131 | 131 | ||
| 132 | mdio-bus-mux@18003000 { | 132 | mdio-mux@18003000 { |
| 133 | 133 | ||
| 134 | /* BIT(9) = 1 => external mdio */ | 134 | /* BIT(9) = 1 => external mdio */ |
| 135 | mdio@200 { | 135 | mdio@200 { |
| @@ -68,3 +68,40 @@ · 67 unmodified lines | |||
| 68 | &usb3_phy { | 68 | &usb3_phy { |
| 69 | status = "okay"; | 69 | status = "okay"; |
| 70 | }; | 70 | }; |
| 71 | |||
| 72 | &srab { | ||
| 73 | status = "okay"; | ||
| 74 | |||
| 75 | ports { | ||
| 76 | port@0 { | ||
| 77 | reg = <0>; | ||
| 78 | label = "wan"; | ||
| 79 | }; | ||
| 80 | |||
| 81 | port@1 { | ||
| 82 | reg = <1>; | ||
| 83 | label = "lan4"; | ||
| 84 | }; | ||
| 85 | |||
| 86 | port@2 { | ||
| 87 | reg = <2>; | ||
| 88 | label = "lan3"; | ||
| 89 | }; | ||
| 90 | |||
| 91 | port@3 { | ||
| 92 | reg = <3>; | ||
| 93 | label = "lan2"; | ||
| 94 | }; | ||
| 95 | |||
| 96 | port@4 { | ||
| 97 | reg = <4>; | ||
| 98 | label = "lan1"; | ||
| 99 | }; | ||
| 100 | |||
| 101 | port@5 { | ||
| 102 | reg = <5>; | ||
| 103 | label = "cpu"; | ||
| 104 | ethernet = <&gmac0>; | ||
| 105 | }; | ||
| 106 | }; | ||
| 107 | }; | ||
| @@ -68,3 +68,40 @@ · 67 unmodified lines | |||
| 68 | &usb3_phy { | 68 | &usb3_phy { |
| 69 | status = "okay"; | 69 | status = "okay"; |
| 70 | }; | 70 | }; |
| 71 | |||
| 72 | &srab { | ||
| 73 | status = "okay"; | ||
| 74 | |||
| 75 | ports { | ||
| 76 | port@0 { | ||
| 77 | reg = <0>; | ||
| 78 | label = "wan"; | ||
| 79 | }; | ||
| 80 | |||
| 81 | port@1 { | ||
| 82 | reg = <1>; | ||
| 83 | label = "lan4"; | ||
| 84 | }; | ||
| 85 | |||
| 86 | port@2 { | ||
| 87 | reg = <2>; | ||
| 88 | label = "lan3"; | ||
| 89 | }; | ||
| 90 | |||
| 91 | port@3 { | ||
| 92 | reg = <3>; | ||
| 93 | label = "lan2"; | ||
| 94 | }; | ||
| 95 | |||
| 96 | port@4 { | ||
| 97 | reg = <4>; | ||
| 98 | label = "lan1"; | ||
| 99 | }; | ||
| 100 | |||
| 101 | port@5 { | ||
| 102 | reg = <5>; | ||
| 103 | label = "cpu"; | ||
| 104 | ethernet = <&gmac0>; | ||
| 105 | }; | ||
| 106 | }; | ||
| 107 | }; | ||
| @@ -16,7 +16,7 @@ · 15 unmodified lines | |||
| 16 | bootargs = "earlycon"; | 16 | bootargs = "earlycon"; |
| 17 | }; | 17 | }; |
| 18 | 18 | ||
| 19 | memory { | 19 | memory@0 { |
| 20 | device_type = "memory"; | 20 | device_type = "memory"; |
| 21 | reg = <0x00000000 0x08000000>, | 21 | reg = <0x00000000 0x08000000>, |
| 22 | <0x88000000 0x18000000>; | 22 | <0x88000000 0x18000000>; |
| @@ -105,3 +105,40 @@ · 104 unmodified lines | |||
| 105 | }; | 105 | }; |
| 106 | }; | 106 | }; |
| 107 | }; | 107 | }; |
| 108 | |||
| 109 | &switch { | ||
| 110 | status = "okay"; | ||
| 111 | |||
| 112 | ports { | ||
| 113 | port@0 { | ||
| 114 | reg = <0>; | ||
| 115 | label = "wan"; | ||
| 116 | }; | ||
| 117 | |||
| 118 | port@1 { | ||
| 119 | reg = <1>; | ||
| 120 | label = "lan1"; | ||
| 121 | }; | ||
| 122 | |||
| 123 | port@2 { | ||
| 124 | reg = <2>; | ||
| 125 | label = "lan2"; | ||
| 126 | }; | ||
| 127 | |||
| 128 | port@3 { | ||
| 129 | reg = <3>; | ||
| 130 | label = "lan3"; | ||
| 131 | }; | ||
| 132 | |||
| 133 | port@4 { | ||
| 134 | reg = <4>; | ||
| 135 | label = "lan4"; | ||
| 136 | }; | ||
| 137 | |||
| 138 | port@5 { | ||
| 139 | reg = <5>; | ||
| 140 | label = "cpu"; | ||
| 141 | ethernet = <&gmac0>; | ||
| 142 | }; | ||
| 143 | }; | ||
| 144 | }; | ||
| @@ -20,7 +20,7 @@ · 19 unmodified lines | |||
| 20 | bootargs = " console=ttyS0,115200n8 earlycon"; | 20 | bootargs = " console=ttyS0,115200n8 earlycon"; |
| 21 | }; | 21 | }; |
| 22 | 22 | ||
| 23 | memory { | 23 | memory@0 { |
| 24 | reg = <0x00000000 0x08000000>; | 24 | reg = <0x00000000 0x08000000>; |
| 25 | device_type = "memory"; | 25 | device_type = "memory"; |
| 26 | }; | 26 | }; |
| @@ -110,6 +110,12 @@ · 83 unmodified lines | |||
| 110 | reg = <0x50>; | 110 | reg = <0x50>; |
| 111 | pagesize = <32>; | 111 | pagesize = <32>; |
| 112 | read-only; | 112 | read-only; |
| 113 | #address-cells = <1>; | ||
| 114 | #size-cells = <1>; | ||
| 115 | |||
| 116 | mac_address: mac-address@66 { | ||
| 117 | reg = <0x66 0x6>; | ||
| 118 | }; | ||
| 113 | }; | 119 | }; |
| 114 | }; | 120 | }; |
| 115 | }; | 121 | }; |
| @@ -133,6 +139,11 @@ · 17 unmodified lines | |||
| 133 | */ | 139 | */ |
| 134 | }; | 140 | }; |
| 135 | 141 | ||
| 142 | &gmac0 { | ||
| 143 | nvmem-cell-names = "mac-address"; | ||
| 144 | nvmem-cells = <&mac_address>; | ||
| 145 | }; | ||
| 146 | |||
| 136 | &gmac1 { | 147 | &gmac1 { |
| 137 | status = "disabled"; | 148 | status = "disabled"; |
| 138 | }; | 149 | }; |
| @@ -195,3 +206,25 @@ · 56 unmodified lines | |||
| 195 | }; | 206 | }; |
| 196 | }; | 207 | }; |
| 197 | }; | 208 | }; |
| 209 | |||
| 210 | &srab { | ||
| 211 | status = "okay"; | ||
| 212 | |||
| 213 | ports { | ||
| 214 | port@0 { | ||
| 215 | reg = <0>; | ||
| 216 | label = "poe"; | ||
| 217 | }; | ||
| 218 | |||
| 219 | port@5 { | ||
| 220 | reg = <5>; | ||
| 221 | label = "cpu"; | ||
| 222 | ethernet = <&gmac0>; | ||
| 223 | |||
| 224 | fixed-link { | ||
| 225 | speed = <1000>; | ||
| 226 | duplex-full; | ||
| 227 | }; | ||
| 228 | }; | ||
| 229 | }; | ||
| 230 | }; | ||
| @@ -19,7 +19,7 @@ · 18 unmodified lines | |||
| 19 | #size-cells = <1>; | 19 | #size-cells = <1>; |
| 20 | interrupt-parent = <&gic>; | 20 | interrupt-parent = <&gic>; |
| 21 | 21 | ||
| 22 | chipcommonA@18000000 { | 22 | chipcommon-a-bus@18000000 { |
| 23 | compatible = "simple-bus"; | 23 | compatible = "simple-bus"; |
| 24 | ranges = <0x00000000 0x18000000 0x00001000>; | 24 | ranges = <0x00000000 0x18000000 0x00001000>; |
| 25 | #address-cells = <1>; | 25 | #address-cells = <1>; |
| @@ -44,7 +44,7 @@ · 18 unmodified lines | |||
| 44 | }; | 44 | }; |
| 45 | }; | 45 | }; |
| 46 | 46 | ||
| 47 | mpcore@19000000 { | 47 | mpcore-bus@19000000 { |
| 48 | compatible = "simple-bus"; | 48 | compatible = "simple-bus"; |
| 49 | ranges = <0x00000000 0x19000000 0x00023000>; | 49 | ranges = <0x00000000 0x19000000 0x00023000>; |
| 50 | #address-cells = <1>; | 50 | #address-cells = <1>; |
| @@ -369,8 +369,8 @@ · 318 unmodified lines | |||
| 369 | #address-cells = <1>; | 369 | #address-cells = <1>; |
| 370 | }; | 370 | }; |
| 371 | 371 | ||
| 372 | mdio-bus-mux@18003000 { | 372 | mdio-mux@18003000 { |
| 373 | compatible = "mdio-mux-mmioreg"; | 373 | compatible = "mdio-mux-mmioreg", "mdio-mux"; |
| 374 | mdio-parent-bus = <&mdio>; | 374 | mdio-parent-bus = <&mdio>; |
| 375 | #address-cells = <1>; | 375 | #address-cells = <1>; |
| 376 | #size-cells = <0>; | 376 | #size-cells = <0>; |
| @@ -415,7 +415,7 @@ · 38 unmodified lines | |||
| 415 | status = "disabled"; | 415 | status = "disabled"; |
| 416 | }; | 416 | }; |
| 417 | 417 | ||
| 418 | dmu@1800c000 { | 418 | dmu-bus@1800c000 { |
| 419 | compatible = "simple-bus"; | 419 | compatible = "simple-bus"; |
| 420 | ranges = <0 0x1800c000 0x1000>; | 420 | ranges = <0 0x1800c000 0x1000>; |
| 421 | #address-cells = <1>; | 421 | #address-cells = <1>; |
| @@ -180,6 +180,24 @@ · 179 unmodified lines | |||
| 180 | 180 | ||
| 181 | gmac0: ethernet@5000 { | 181 | gmac0: ethernet@5000 { |
| 182 | reg = <0x5000 0x1000>; | 182 | reg = <0x5000 0x1000>; |
| 183 | |||
| 184 | mdio { | ||
| 185 | #address-cells = <1>; | ||
| 186 | #size-cells = <0>; | ||
| 187 | |||
| 188 | switch: switch@1e { | ||
| 189 | compatible = "brcm,bcm53125"; | ||
| 190 | reg = <0x1e>; | ||
| 191 | |||
| 192 | status = "disabled"; | ||
| 193 | |||
| 194 | /* ports are defined in board DTS */ | ||
| 195 | ports { | ||
| 196 | #address-cells = <1>; | ||
| 197 | #size-cells = <0>; | ||
| 198 | }; | ||
| 199 | }; | ||
| 200 | }; | ||
| 183 | }; | 201 | }; |
| 184 | 202 | ||
| 185 | gmac1: ethernet@b000 { | 203 | gmac1: ethernet@b000 { |
| @@ -38,7 +38,7 @@ · 37 unmodified lines | |||
| 38 | model = "NorthStar SVK (BCM94708)"; | 38 | model = "NorthStar SVK (BCM94708)"; |
| 39 | compatible = "brcm,bcm94708", "brcm,bcm4708"; | 39 | compatible = "brcm,bcm94708", "brcm,bcm4708"; |
| 40 | 40 | ||
| 41 | memory { | 41 | memory@0 { |
| 42 | device_type = "memory"; | 42 | device_type = "memory"; |
| 43 | reg = <0x00000000 0x08000000>; | 43 | reg = <0x00000000 0x08000000>; |
| 44 | }; | 44 | }; |
| @@ -38,7 +38,7 @@ · 37 unmodified lines | |||
| 38 | model = "NorthStar SVK (BCM94709)"; | 38 | model = "NorthStar SVK (BCM94709)"; |
| 39 | compatible = "brcm,bcm94709", "brcm,bcm4709", "brcm,bcm4708"; | 39 | compatible = "brcm,bcm94709", "brcm,bcm4709", "brcm,bcm4708"; |
| 40 | 40 | ||
| 41 | memory { | 41 | memory@0 { |
| 42 | device_type = "memory"; | 42 | device_type = "memory"; |
| 43 | reg = <0x00000000 0x08000000>; | 43 | reg = <0x00000000 0x08000000>; |
| 44 | }; | 44 | }; |
| @@ -37,7 +37,7 @@ · 36 unmodified lines | |||
| 37 | 37 | ||
| 38 | / { | 38 | / { |
| 39 | model = "NorthStar Plus SVK (BCM958522ER)"; | 39 | model = "NorthStar Plus SVK (BCM958522ER)"; |
| 40 | compatible = "brcm,bcm58522", "brcm,nsp"; | 40 | compatible = "brcm,bcm958522er", "brcm,bcm58522", "brcm,nsp"; |
| 41 | 41 | ||
| 42 | chosen { | 42 | chosen { |
| 43 | stdout-path = "serial0:115200n8"; | 43 | stdout-path = "serial0:115200n8"; |
| @@ -134,6 +134,7 @@ · 90 unmodified lines | |||
| 134 | }; | 134 | }; |
| 135 | 135 | ||
| 136 | &qspi { | 136 | &qspi { |
| 137 | status = "okay"; | ||
| 137 | bspi-sel = <0>; | 138 | bspi-sel = <0>; |
| 138 | flash: m25p80@0 { | 139 | flash: m25p80@0 { |
| 139 | #address-cells = <1>; | 140 | #address-cells = <1>; |
| @@ -37,7 +37,7 @@ · 36 unmodified lines | |||
| 37 | 37 | ||
| 38 | / { | 38 | / { |
| 39 | model = "NorthStar Plus SVK (BCM958525ER)"; | 39 | model = "NorthStar Plus SVK (BCM958525ER)"; |
| 40 | compatible = "brcm,bcm58525", "brcm,nsp"; | 40 | compatible = "brcm,bcm958525er", "brcm,bcm58525", "brcm,nsp"; |
| 41 | 41 | ||
| 42 | chosen { | 42 | chosen { |
| 43 | stdout-path = "serial0:115200n8"; | 43 | stdout-path = "serial0:115200n8"; |
| @@ -134,6 +134,7 @@ · 90 unmodified lines | |||
| 134 | }; | 134 | }; |
| 135 | 135 | ||
| 136 | &qspi { | 136 | &qspi { |
| 137 | status = "okay"; | ||
| 137 | bspi-sel = <0>; | 138 | bspi-sel = <0>; |
| 138 | flash: m25p80@0 { | 139 | flash: m25p80@0 { |
| 139 | #address-cells = <1>; | 140 | #address-cells = <1>; |
| @@ -37,7 +37,7 @@ · 36 unmodified lines | |||
| 37 | 37 | ||
| 38 | / { | 38 | / { |
| 39 | model = "NorthStar Plus XMC (BCM958525xmc)"; | 39 | model = "NorthStar Plus XMC (BCM958525xmc)"; |
| 40 | compatible = "brcm,bcm58525", "brcm,nsp"; | 40 | compatible = "brcm,bcm958525xmc", "brcm,bcm58525", "brcm,nsp"; |
| 41 | 41 | ||
| 42 | chosen { | 42 | chosen { |
| 43 | stdout-path = "serial0:115200n8"; | 43 | stdout-path = "serial0:115200n8"; |
| @@ -150,6 +150,7 @@ · 106 unmodified lines | |||
| 150 | }; | 150 | }; |
| 151 | 151 | ||
| 152 | &qspi { | 152 | &qspi { |
| 153 | status = "okay"; | ||
| 153 | bspi-sel = <0>; | 154 | bspi-sel = <0>; |
| 154 | flash: m25p80@0 { | 155 | flash: m25p80@0 { |
| 155 | #address-cells = <1>; | 156 | #address-cells = <1>; |
| @@ -37,7 +37,7 @@ · 36 unmodified lines | |||
| 37 | 37 | ||
| 38 | / { | 38 | / { |
| 39 | model = "NorthStar Plus SVK (BCM958622HR)"; | 39 | model = "NorthStar Plus SVK (BCM958622HR)"; |
| 40 | compatible = "brcm,bcm58622", "brcm,nsp"; | 40 | compatible = "brcm,bcm958622hr", "brcm,bcm58622", "brcm,nsp"; |
| 41 | 41 | ||
| 42 | chosen { | 42 | chosen { |
| 43 | stdout-path = "serial0:115200n8"; | 43 | stdout-path = "serial0:115200n8"; |
| @@ -138,6 +138,7 @@ · 94 unmodified lines | |||
| 138 | }; | 138 | }; |
| 139 | 139 | ||
| 140 | &qspi { | 140 | &qspi { |
| 141 | status = "okay"; | ||
| 141 | bspi-sel = <0>; | 142 | bspi-sel = <0>; |
| 142 | flash: m25p80@0 { | 143 | flash: m25p80@0 { |
| 143 | #address-cells = <1>; | 144 | #address-cells = <1>; |
| @@ -37,7 +37,7 @@ · 36 unmodified lines | |||
| 37 | 37 | ||
| 38 | / { | 38 | / { |
| 39 | model = "NorthStar Plus SVK (BCM958623HR)"; | 39 | model = "NorthStar Plus SVK (BCM958623HR)"; |
| 40 | compatible = "brcm,bcm58623", "brcm,nsp"; | 40 | compatible = "brcm,bcm958623hr", "brcm,bcm58623", "brcm,nsp"; |
| 41 | 41 | ||
| 42 | chosen { | 42 | chosen { |
| 43 | stdout-path = "serial0:115200n8"; | 43 | stdout-path = "serial0:115200n8"; |
| @@ -142,6 +142,7 @@ · 98 unmodified lines | |||
| 142 | }; | 142 | }; |
| 143 | 143 | ||
| 144 | &qspi { | 144 | &qspi { |
| 145 | status = "okay"; | ||
| 145 | bspi-sel = <0>; | 146 | bspi-sel = <0>; |
| 146 | flash: m25p80@0 { | 147 | flash: m25p80@0 { |
| 147 | #address-cells = <1>; | 148 | #address-cells = <1>; |
| @@ -0,0 +1,281 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later OR MIT | ||
| 2 | /* | ||
| 3 | * Device Tree Bindings for Cisco Meraki MX65 series (Alamo). | ||
| 4 | * | ||
| 5 | * Copyright (C) 2020-2021 Matthew Hagan <mnhagan88@gmail.com> | ||
| 6 | */ | ||
| 7 | |||
| 8 | #include "bcm958625-meraki-mx6x-common.dtsi" | ||
| 9 | |||
| 10 | / { | ||
| 11 | keys { | ||
| 12 | compatible = "gpio-keys-polled"; | ||
| 13 | autorepeat; | ||
| 14 | poll-interval = <20>; | ||
| 15 | |||
| 16 | reset { | ||
| 17 | label = "reset"; | ||
| 18 | linux,code = <KEY_RESTART>; | ||
| 19 | gpios = <&gpioa 8 GPIO_ACTIVE_LOW>; | ||
| 20 | }; | ||
| 21 | }; | ||
| 22 | |||
| 23 | leds { | ||
| 24 | compatible = "gpio-leds"; | ||
| 25 | |||
| 26 | led-0 { | ||
| 27 | /* green:wan1-left */ | ||
| 28 | function = LED_FUNCTION_ACTIVITY; | ||
| 29 | function-enumerator = <0>; | ||
| 30 | color = <LED_COLOR_ID_GREEN>; | ||
| 31 | gpios = <&gpioa 25 GPIO_ACTIVE_LOW>; | ||
| 32 | }; | ||
| 33 | |||
| 34 | led-1 { | ||
| 35 | /* green:wan1-right */ | ||
| 36 | function = LED_FUNCTION_ACTIVITY; | ||
| 37 | function-enumerator = <1>; | ||
| 38 | color = <LED_COLOR_ID_GREEN>; | ||
| 39 | gpios = <&gpioa 24 GPIO_ACTIVE_LOW>; | ||
| 40 | }; | ||
| 41 | |||
| 42 | led-2 { | ||
| 43 | /* green:wan2-left */ | ||
| 44 | function = LED_FUNCTION_ACTIVITY; | ||
| 45 | function-enumerator = <2>; | ||
| 46 | color = <LED_COLOR_ID_GREEN>; | ||
| 47 | gpios = <&gpioa 27 GPIO_ACTIVE_LOW>; | ||
| 48 | }; | ||
| 49 | |||
| 50 | led-3 { | ||
| 51 | /* green:wan2-right */ | ||
| 52 | function = LED_FUNCTION_ACTIVITY; | ||
| 53 | function-enumerator = <3>; | ||
| 54 | color = <LED_COLOR_ID_GREEN>; | ||
| 55 | gpios = <&gpioa 26 GPIO_ACTIVE_LOW>; | ||
| 56 | }; | ||
| 57 | |||
| 58 | led-4 { | ||
| 59 | /* amber:power */ | ||
| 60 | function = LED_FUNCTION_POWER; | ||
| 61 | color = <LED_COLOR_ID_AMBER>; | ||
| 62 | gpios = <&gpioa 3 GPIO_ACTIVE_HIGH>; | ||
| 63 | default-state = "on"; | ||
| 64 | }; | ||
| 65 | |||
| 66 | led-5 { | ||
| 67 | /* white:status */ | ||
| 68 | function = LED_FUNCTION_STATUS; | ||
| 69 | color = <LED_COLOR_ID_WHITE>; | ||
| 70 | gpios = <&gpioa 31 GPIO_ACTIVE_HIGH>; | ||
| 71 | }; | ||
| 72 | }; | ||
| 73 | }; | ||
| 74 | |||
| 75 | &axi { | ||
| 76 | mdio-mux@3f1c0 { | ||
| 77 | compatible = "mdio-mux-mmioreg", "mdio-mux"; | ||
| 78 | reg = <0x3f1c0 0x4>; | ||
| 79 | mux-mask = <0x2000>; | ||
| 80 | mdio-parent-bus = <&mdio_ext>; | ||
| 81 | #address-cells = <1>; | ||
| 82 | #size-cells = <0>; | ||
| 83 | |||
| 84 | mdio@0 { | ||
| 85 | reg = <0x0>; | ||
| 86 | #address-cells = <1>; | ||
| 87 | #size-cells = <0>; | ||
| 88 | |||
| 89 | phy_port6: phy@0 { | ||
| 90 | reg = <0>; | ||
| 91 | }; | ||
| 92 | |||
| 93 | phy_port7: phy@1 { | ||
| 94 | reg = <1>; | ||
| 95 | }; | ||
| 96 | |||
| 97 | phy_port8: phy@2 { | ||
| 98 | reg = <2>; | ||
| 99 | }; | ||
| 100 | |||
| 101 | phy_port9: phy@3 { | ||
| 102 | reg = <3>; | ||
| 103 | }; | ||
| 104 | |||
| 105 | phy_port10: phy@4 { | ||
| 106 | reg = <4>; | ||
| 107 | }; | ||
| 108 | |||
| 109 | switch@10 { | ||
| 110 | compatible = "qca,qca8337"; | ||
| 111 | reg = <0x10>; | ||
| 112 | dsa,member = <1 0>; | ||
| 113 | |||
| 114 | ports { | ||
| 115 | #address-cells = <1>; | ||
| 116 | #size-cells = <0>; | ||
| 117 | port@0 { | ||
| 118 | reg = <0>; | ||
| 119 | ethernet = <&sgmii1>; | ||
| 120 | phy-mode = "sgmii"; | ||
| 121 | fixed-link { | ||
| 122 | speed = <1000>; | ||
| 123 | full-duplex; | ||
| 124 | }; | ||
| 125 | }; | ||
| 126 | |||
| 127 | port@1 { | ||
| 128 | reg = <1>; | ||
| 129 | label = "lan8"; | ||
| 130 | phy-handle = <&phy_port6>; | ||
| 131 | }; | ||
| 132 | |||
| 133 | port@2 { | ||
| 134 | reg = <2>; | ||
| 135 | label = "lan9"; | ||
| 136 | phy-handle = <&phy_port7>; | ||
| 137 | }; | ||
| 138 | |||
| 139 | port@3 { | ||
| 140 | reg = <3>; | ||
| 141 | label = "lan10"; | ||
| 142 | phy-handle = <&phy_port8>; | ||
| 143 | }; | ||
| 144 | |||
| 145 | port@4 { | ||
| 146 | reg = <4>; | ||
| 147 | label = "lan11"; | ||
| 148 | phy-handle = <&phy_port9>; | ||
| 149 | }; | ||
| 150 | |||
| 151 | port@5 { | ||
| 152 | reg = <5>; | ||
| 153 | label = "lan12"; | ||
| 154 | phy-handle = <&phy_port10>; | ||
| 155 | }; | ||
| 156 | }; | ||
| 157 | }; | ||
| 158 | }; | ||
| 159 | |||
| 160 | mdio-mii@2000 { | ||
| 161 | reg = <0x2000>; | ||
| 162 | #address-cells = <1>; | ||
| 163 | #size-cells = <0>; | ||
| 164 | |||
| 165 | phy_port1: phy@0 { | ||
| 166 | reg = <0>; | ||
| 167 | }; | ||
| 168 | |||
| 169 | phy_port2: phy@1 { | ||
| 170 | reg = <1>; | ||
| 171 | }; | ||
| 172 | |||
| 173 | phy_port3: phy@2 { | ||
| 174 | reg = <2>; | ||
| 175 | }; | ||
| 176 | |||
| 177 | phy_port4: phy@3 { | ||
| 178 | reg = <3>; | ||
| 179 | }; | ||
| 180 | |||
| 181 | phy_port5: phy@4 { | ||
| 182 | reg = <4>; | ||
| 183 | }; | ||
| 184 | |||
| 185 | switch@10 { | ||
| 186 | compatible = "qca,qca8337"; | ||
| 187 | reg = <0x10>; | ||
| 188 | dsa,member = <2 0>; | ||
| 189 | |||
| 190 | ports { | ||
| 191 | #address-cells = <1>; | ||
| 192 | #size-cells = <0>; | ||
| 193 | port@0 { | ||
| 194 | reg = <0>; | ||
| 195 | ethernet = <&sgmii0>; | ||
| 196 | phy-mode = "sgmii"; | ||
| 197 | fixed-link { | ||
| 198 | speed = <1000>; | ||
| 199 | full-duplex; | ||
| 200 | }; | ||
| 201 | }; | ||
| 202 | |||
| 203 | port@1 { | ||
| 204 | reg = <1>; | ||
| 205 | label = "lan3"; | ||
| 206 | phy-handle = <&phy_port1>; | ||
| 207 | }; | ||
| 208 | |||
| 209 | port@2 { | ||
| 210 | reg = <2>; | ||
| 211 | label = "lan4"; | ||
| 212 | phy-handle = <&phy_port2>; | ||
| 213 | }; | ||
| 214 | |||
| 215 | port@3 { | ||
| 216 | reg = <3>; | ||
| 217 | label = "lan5"; | ||
| 218 | phy-handle = <&phy_port3>; | ||
| 219 | }; | ||
| 220 | |||
| 221 | port@4 { | ||
| 222 | reg = <4>; | ||
| 223 | label = "lan6"; | ||
| 224 | phy-handle = <&phy_port4>; | ||
| 225 | }; | ||
| 226 | |||
| 227 | port@5 { | ||
| 228 | reg = <5>; | ||
| 229 | label = "lan7"; | ||
| 230 | phy-handle = <&phy_port5>; | ||
| 231 | }; | ||
| 232 | }; | ||
| 233 | }; | ||
| 234 | }; | ||
| 235 | }; | ||
| 236 | }; | ||
| 237 | |||
| 238 | &srab { | ||
| 239 | compatible = "brcm,bcm58625-srab", "brcm,nsp-srab"; | ||
| 240 | status = "okay"; | ||
| 241 | dsa,member = <0 0>; | ||
| 242 | |||
| 243 | ports { | ||
| 244 | port@0 { | ||
| 245 | label = "wan1"; | ||
| 246 | reg = <0>; | ||
| 247 | }; | ||
| 248 | |||
| 249 | port@1 { | ||
| 250 | label = "wan2"; | ||
| 251 | reg = <1>; | ||
| 252 | }; | ||
| 253 | |||
| 254 | sgmii0: port@4 { | ||
| 255 | label = "sw0"; | ||
| 256 | reg = <4>; | ||
| 257 | fixed-link { | ||
| 258 | speed = <1000>; | ||
| 259 | full-duplex; | ||
| 260 | }; | ||
| 261 | }; | ||
| 262 | |||
| 263 | sgmii1: port@5 { | ||
| 264 | label = "sw1"; | ||
| 265 | reg = <5>; | ||
| 266 | fixed-link { | ||
| 267 | speed = <1000>; | ||
| 268 | full-duplex; | ||
| 269 | }; | ||
| 270 | }; | ||
| 271 | |||
| 272 | port@8 { | ||
| 273 | ethernet = <&amac2>; | ||
| 274 | reg = <8>; | ||
| 275 | fixed-link { | ||
| 276 | speed = <1000>; | ||
| 277 | full-duplex; | ||
| 278 | }; | ||
| 279 | }; | ||
| 280 | }; | ||
| 281 | }; | ||
| @@ -0,0 +1,163 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later OR MIT | ||
| 2 | /* | ||
| 3 | * Device Tree Bindings for Cisco Meraki MX64 series (Kingpin). | ||
| 4 | * | ||
| 5 | * Copyright (C) 2020-2021 Matthew Hagan <mnhagan88@gmail.com> | ||
| 6 | */ | ||
| 7 | |||
| 8 | #include "bcm958625-meraki-mx6x-common.dtsi" | ||
| 9 | |||
| 10 | / { | ||
| 11 | |||
| 12 | keys { | ||
| 13 | compatible = "gpio-keys-polled"; | ||
| 14 | autorepeat; | ||
| 15 | poll-interval = <20>; | ||
| 16 | |||
| 17 | reset { | ||
| 18 | label = "reset"; | ||
| 19 | linux,code = <KEY_RESTART>; | ||
| 20 | gpios = <&gpioa 6 GPIO_ACTIVE_LOW>; | ||
| 21 | }; | ||
| 22 | }; | ||
| 23 | |||
| 24 | leds { | ||
| 25 | compatible = "gpio-leds"; | ||
| 26 | |||
| 27 | led-0 { | ||
| 28 | /* green:lan1-left */ | ||
| 29 | function = LED_FUNCTION_ACTIVITY; | ||
| 30 | function-enumerator = <0>; | ||
| 31 | color = <LED_COLOR_ID_GREEN>; | ||
| 32 | gpios = <&gpioa 19 GPIO_ACTIVE_LOW>; | ||
| 33 | }; | ||
| 34 | |||
| 35 | led-1 { | ||
| 36 | /* green:lan1-right */ | ||
| 37 | function = LED_FUNCTION_ACTIVITY; | ||
| 38 | function-enumerator = <1>; | ||
| 39 | color = <LED_COLOR_ID_GREEN>; | ||
| 40 | gpios = <&gpioa 18 GPIO_ACTIVE_LOW>; | ||
| 41 | }; | ||
| 42 | |||
| 43 | led-2 { | ||
| 44 | /* green:lan2-left */ | ||
| 45 | function = LED_FUNCTION_ACTIVITY; | ||
| 46 | function-enumerator = <2>; | ||
| 47 | color = <LED_COLOR_ID_GREEN>; | ||
| 48 | gpios = <&gpioa 24 GPIO_ACTIVE_LOW>; | ||
| 49 | }; | ||
| 50 | |||
| 51 | led-3 { | ||
| 52 | /* green:lan2-right */ | ||
| 53 | function = LED_FUNCTION_ACTIVITY; | ||
| 54 | function-enumerator = <3>; | ||
| 55 | color = <LED_COLOR_ID_GREEN>; | ||
| 56 | gpios = <&gpioa 20 GPIO_ACTIVE_LOW>; | ||
| 57 | }; | ||
| 58 | |||
| 59 | led-4 { | ||
| 60 | /* green:lan3-left */ | ||
| 61 | function = LED_FUNCTION_ACTIVITY; | ||
| 62 | function-enumerator = <4>; | ||
| 63 | color = <LED_COLOR_ID_GREEN>; | ||
| 64 | gpios = <&gpioa 26 GPIO_ACTIVE_LOW>; | ||
| 65 | }; | ||
| 66 | |||
| 67 | led-5 { | ||
| 68 | /* green:lan3-right */ | ||
| 69 | function = LED_FUNCTION_ACTIVITY; | ||
| 70 | function-enumerator = <5>; | ||
| 71 | color = <LED_COLOR_ID_GREEN>; | ||
| 72 | gpios = <&gpioa 25 GPIO_ACTIVE_LOW>; | ||
| 73 | }; | ||
| 74 | |||
| 75 | led-6 { | ||
| 76 | /* green:lan4-left */ | ||
| 77 | function = LED_FUNCTION_ACTIVITY; | ||
| 78 | function-enumerator = <6>; | ||
| 79 | color = <LED_COLOR_ID_GREEN>; | ||
| 80 | gpios = <&gpioa 28 GPIO_ACTIVE_LOW>; | ||
| 81 | }; | ||
| 82 | |||
| 83 | led-7 { | ||
| 84 | /* green:lan4-right */ | ||
| 85 | function = LED_FUNCTION_ACTIVITY; | ||
| 86 | function-enumerator = <7>; | ||
| 87 | color = <LED_COLOR_ID_GREEN>; | ||
| 88 | gpios = <&gpioa 27 GPIO_ACTIVE_LOW>; | ||
| 89 | }; | ||
| 90 | |||
| 91 | led-8 { | ||
| 92 | /* green:wan-left */ | ||
| 93 | function = LED_FUNCTION_ACTIVITY; | ||
| 94 | function-enumerator = <8>; | ||
| 95 | color = <LED_COLOR_ID_GREEN>; | ||
| 96 | gpios = <&gpioa 30 GPIO_ACTIVE_LOW>; | ||
| 97 | }; | ||
| 98 | |||
| 99 | led-9 { | ||
| 100 | /* green:wan-right */ | ||
| 101 | function = LED_FUNCTION_ACTIVITY; | ||
| 102 | function-enumerator = <9>; | ||
| 103 | color = <LED_COLOR_ID_GREEN>; | ||
| 104 | gpios = <&gpioa 29 GPIO_ACTIVE_LOW>; | ||
| 105 | }; | ||
| 106 | |||
| 107 | led-a { | ||
| 108 | /* amber:power */ | ||
| 109 | function = LED_FUNCTION_POWER; | ||
| 110 | color = <LED_COLOR_ID_AMBER>; | ||
| 111 | gpios = <&gpioa 0 GPIO_ACTIVE_LOW>; | ||
| 112 | default-state = "on"; | ||
| 113 | }; | ||
| 114 | |||
| 115 | led-b { | ||
| 116 | /* white:status */ | ||
| 117 | function = LED_FUNCTION_STATUS; | ||
| 118 | color = <LED_COLOR_ID_WHITE>; | ||
| 119 | gpios = <&gpioa 31 GPIO_ACTIVE_HIGH>; | ||
| 120 | }; | ||
| 121 | }; | ||
| 122 | }; | ||
| 123 | |||
| 124 | &srab { | ||
| 125 | compatible = "brcm,bcm58625-srab", "brcm,nsp-srab"; | ||
| 126 | status = "okay"; | ||
| 127 | |||
| 128 | ports { | ||
| 129 | port@0 { | ||
| 130 | label = "lan1"; | ||
| 131 | reg = <0>; | ||
| 132 | }; | ||
| 133 | |||
| 134 | port@1 { | ||
| 135 | label = "lan2"; | ||
| 136 | reg = <1>; | ||
| 137 | }; | ||
| 138 | |||
| 139 | port@2 { | ||
| 140 | label = "lan3"; | ||
| 141 | reg = <2>; | ||
| 142 | }; | ||
| 143 | |||
| 144 | port@3 { | ||
| 145 | label = "lan4"; | ||
| 146 | reg = <3>; | ||
| 147 | }; | ||
| 148 | |||
| 149 | port@4 { | ||
| 150 | label = "wan"; | ||
| 151 | reg = <4>; | ||
| 152 | }; | ||
| 153 | |||
| 154 | port@8 { | ||
| 155 | ethernet = <&amac2>; | ||
| 156 | reg = <8>; | ||
| 157 | fixed-link { | ||
| 158 | speed = <1000>; | ||
| 159 | full-duplex; | ||
| 160 | }; | ||
| 161 | }; | ||
| 162 | }; | ||
| 163 | }; | ||
| @@ -0,0 +1,25 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later OR MIT | ||
| 2 | /* | ||
| 3 | * Device Tree Bindings for Cisco Meraki MX64 with A0 SoC. | ||
| 4 | * | ||
| 5 | * Copyright (C) 2020-2021 Matthew Hagan <mnhagan88@gmail.com> | ||
| 6 | */ | ||
| 7 | |||
| 8 | /dts-v1/; | ||
| 9 | |||
| 10 | #include "bcm958625-meraki-kingpin.dtsi" | ||
| 11 | #include "bcm-nsp-ax.dtsi" | ||
| 12 | |||
| 13 | / { | ||
| 14 | model = "Cisco Meraki MX64(A0)"; | ||
| 15 | compatible = "meraki,mx64-a0", "brcm,bcm58625", "brcm,nsp"; | ||
| 16 | |||
| 17 | chosen { | ||
| 18 | stdout-path = "serial0:115200n8"; | ||
| 19 | }; | ||
| 20 | |||
| 21 | memory@60000000 { | ||
| 22 | device_type = "memory"; | ||
| 23 | reg = <0x60000000 0x80000000>; | ||
| 24 | }; | ||
| 25 | }; | ||
| @@ -0,0 +1,24 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later OR MIT | ||
| 2 | /* | ||
| 3 | * Device Tree Bindings for Cisco Meraki MX64 with B0+ SoC. | ||
| 4 | * | ||
| 5 | * Copyright (C) 2020-2021 Matthew Hagan <mnhagan88@gmail.com> | ||
| 6 | */ | ||
| 7 | |||
| 8 | /dts-v1/; | ||
| 9 | |||
| 10 | #include "bcm958625-meraki-kingpin.dtsi" | ||
| 11 | |||
| 12 | / { | ||
| 13 | model = "Cisco Meraki MX64"; | ||
| 14 | compatible = "meraki,mx64", "brcm,bcm58625", "brcm,nsp"; | ||
| 15 | |||
| 16 | chosen { | ||
| 17 | stdout-path = "serial0:115200n8"; | ||
| 18 | }; | ||
| 19 | |||
| 20 | memory@60000000 { | ||
| 21 | device_type = "memory"; | ||
| 22 | reg = <0x60000000 0x80000000>; | ||
| 23 | }; | ||
| 24 | }; | ||
| @@ -0,0 +1,33 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later OR MIT | ||
| 2 | /* | ||
| 3 | * Device Tree Bindings for Cisco Meraki MX64W with A0 SoC. | ||
| 4 | * | ||
| 5 | * Copyright (C) 2020-2021 Matthew Hagan <mnhagan88@gmail.com> | ||
| 6 | */ | ||
| 7 | |||
| 8 | /dts-v1/; | ||
| 9 | |||
| 10 | #include "bcm958625-meraki-kingpin.dtsi" | ||
| 11 | #include "bcm-nsp-ax.dtsi" | ||
| 12 | |||
| 13 | / { | ||
| 14 | model = "Cisco Meraki MX64W(A0)"; | ||
| 15 | compatible = "meraki,mx64w-a0", "brcm,bcm58625", "brcm,nsp"; | ||
| 16 | |||
| 17 | chosen { | ||
| 18 | stdout-path = "serial0:115200n8"; | ||
| 19 | }; | ||
| 20 | |||
| 21 | memory@60000000 { | ||
| 22 | device_type = "memory"; | ||
| 23 | reg = <0x60000000 0x80000000>; | ||
| 24 | }; | ||
| 25 | }; | ||
| 26 | |||
| 27 | &pcie0 { | ||
| 28 | status = "okay"; | ||
| 29 | }; | ||
| 30 | |||
| 31 | &pcie1 { | ||
| 32 | status = "okay"; | ||
| 33 | }; | ||
| @@ -0,0 +1,32 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later OR MIT | ||
| 2 | /* | ||
| 3 | * Device Tree Bindings for Cisco Meraki MX64W with B0+ SoC. | ||
| 4 | * | ||
| 5 | * Copyright (C) 2020-2021 Matthew Hagan <mnhagan88@gmail.com> | ||
| 6 | */ | ||
| 7 | |||
| 8 | /dts-v1/; | ||
| 9 | |||
| 10 | #include "bcm958625-meraki-kingpin.dtsi" | ||
| 11 | |||
| 12 | / { | ||
| 13 | model = "Cisco Meraki MX64W"; | ||
| 14 | compatible = "meraki,mx64w", "brcm,bcm58625", "brcm,nsp"; | ||
| 15 | |||
| 16 | chosen { | ||
| 17 | stdout-path = "serial0:115200n8"; | ||
| 18 | }; | ||
| 19 | |||
| 20 | memory@60000000 { | ||
| 21 | device_type = "memory"; | ||
| 22 | reg = <0x60000000 0x80000000>; | ||
| 23 | }; | ||
| 24 | }; | ||
| 25 | |||
| 26 | &pcie0 { | ||
| 27 | status = "okay"; | ||
| 28 | }; | ||
| 29 | |||
| 30 | &pcie1 { | ||
| 31 | status = "okay"; | ||
| 32 | }; | ||
| @@ -0,0 +1,24 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later OR MIT | ||
| 2 | /* | ||
| 3 | * Device Tree Bindings for Cisco Meraki MX65. | ||
| 4 | * | ||
| 5 | * Copyright (C) 2020-2021 Matthew Hagan <mnhagan88@gmail.com> | ||
| 6 | */ | ||
| 7 | |||
| 8 | /dts-v1/; | ||
| 9 | |||
| 10 | #include "bcm958625-meraki-alamo.dtsi" | ||
| 11 | |||
| 12 | / { | ||
| 13 | model = "Cisco Meraki MX65"; | ||
| 14 | compatible = "meraki,mx65", "brcm,bcm58625", "brcm,nsp"; | ||
| 15 | |||
| 16 | chosen { | ||
| 17 | stdout-path = "serial0:115200n8"; | ||
| 18 | }; | ||
| 19 | |||
| 20 | memory@60000000 { | ||
| 21 | device_type = "memory"; | ||
| 22 | reg = <0x60000000 0x80000000>; | ||
| 23 | }; | ||
| 24 | }; | ||
| @@ -0,0 +1,32 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later OR MIT | ||
| 2 | /* | ||
| 3 | * Device Tree Bindings for Cisco Meraki MX65W. | ||
| 4 | * | ||
| 5 | * Copyright (C) 2020-2021 Matthew Hagan <mnhagan88@gmail.com> | ||
| 6 | */ | ||
| 7 | |||
| 8 | /dts-v1/; | ||
| 9 | |||
| 10 | #include "bcm958625-meraki-alamo.dtsi" | ||
| 11 | |||
| 12 | / { | ||
| 13 | model = "Cisco Meraki MX65W"; | ||
| 14 | compatible = "meraki,mx65w", "brcm,bcm58625", "brcm,nsp"; | ||
| 15 | |||
| 16 | chosen { | ||
| 17 | stdout-path = "serial0:115200n8"; | ||
| 18 | }; | ||
| 19 | |||
| 20 | memory@60000000 { | ||
| 21 | device_type = "memory"; | ||
| 22 | reg = <0x60000000 0x80000000>; | ||
| 23 | }; | ||
| 24 | }; | ||
| 25 | |||
| 26 | &pcie0 { | ||
| 27 | status = "okay"; | ||
| 28 | }; | ||
| 29 | |||
| 30 | &pcie1 { | ||
| 31 | status = "okay"; | ||
| 32 | }; | ||
| @@ -0,0 +1,129 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later OR MIT | ||
| 2 | /* | ||
| 3 | * Common Bindings for Cisco Meraki MX64 (Kingpin) and MX65 (Alamo) devices. | ||
| 4 | * | ||
| 5 | * Copyright (C) 2020-2021 Matthew Hagan <mnhagan88@gmail.com> | ||
| 6 | */ | ||
| 7 | |||
| 8 | #include "bcm-nsp.dtsi" | ||
| 9 | #include <dt-bindings/gpio/gpio.h> | ||
| 10 | #include <dt-bindings/input/input.h> | ||
| 11 | #include <dt-bindings/leds/common.h> | ||
| 12 | |||
| 13 | / { | ||
| 14 | pwm-leds { | ||
| 15 | compatible = "pwm-leds"; | ||
| 16 | |||
| 17 | led-1 { | ||
| 18 | function = LED_FUNCTION_INDICATOR; | ||
| 19 | color = <LED_COLOR_ID_RED>; | ||
| 20 | pwms = <&pwm 1 50000>; | ||
| 21 | max-brightness = <255>; | ||
| 22 | }; | ||
| 23 | |||
| 24 | led-2 { | ||
| 25 | function = LED_FUNCTION_INDICATOR; | ||
| 26 | color = <LED_COLOR_ID_GREEN>; | ||
| 27 | pwms = <&pwm 2 50000>; | ||
| 28 | max-brightness = <255>; | ||
| 29 | }; | ||
| 30 | |||
| 31 | led-3 { | ||
| 32 | function = LED_FUNCTION_INDICATOR; | ||
| 33 | color = <LED_COLOR_ID_BLUE>; | ||
| 34 | pwms = <&pwm 3 50000>; | ||
| 35 | max-brightness = <255>; | ||
| 36 | }; | ||
| 37 | }; | ||
| 38 | }; | ||
| 39 | |||
| 40 | &amac2 { | ||
| 41 | status = "okay"; | ||
| 42 | }; | ||
| 43 | |||
| 44 | &ehci0 { | ||
| 45 | status = "okay"; | ||
| 46 | }; | ||
| 47 | |||
| 48 | &i2c0 { | ||
| 49 | status = "okay"; | ||
| 50 | |||
| 51 | eeprom@50 { | ||
| 52 | compatible = "atmel,24c64"; | ||
| 53 | reg = <0x50>; | ||
| 54 | pagesize = <32>; | ||
| 55 | read-only; | ||
| 56 | }; | ||
| 57 | }; | ||
| 58 | |||
| 59 | &nand_controller { | ||
| 60 | nand@0 { | ||
| 61 | compatible = "brcm,nandcs"; | ||
| 62 | reg = <0>; | ||
| 63 | nand-on-flash-bbt; | ||
| 64 | |||
| 65 | #address-cells = <1>; | ||
| 66 | #size-cells = <1>; | ||
| 67 | |||
| 68 | nand-ecc-strength = <24>; | ||
| 69 | nand-ecc-step-size = <1024>; | ||
| 70 | |||
| 71 | brcm,nand-oob-sector-size = <27>; | ||
| 72 | |||
| 73 | partition@0 { | ||
| 74 | label = "u-boot"; | ||
| 75 | reg = <0x0 0x80000>; | ||
| 76 | read-only; | ||
| 77 | }; | ||
| 78 | |||
| 79 | partition@80000 { | ||
| 80 | label = "shmoo"; | ||
| 81 | reg = <0x80000 0x80000>; | ||
| 82 | read-only; | ||
| 83 | }; | ||
| 84 | |||
| 85 | partition@100000 { | ||
| 86 | label = "bootkernel1"; | ||
| 87 | reg = <0x100000 0x300000>; | ||
| 88 | }; | ||
| 89 | |||
| 90 | partition@400000 { | ||
| 91 | label = "nvram"; | ||
| 92 | reg = <0x400000 0x100000>; | ||
| 93 | }; | ||
| 94 | |||
| 95 | partition@500000 { | ||
| 96 | label = "bootkernel2"; | ||
| 97 | reg = <0x500000 0x300000>; | ||
| 98 | }; | ||
| 99 | |||
| 100 | partition@800000 { | ||
| 101 | label = "ubi"; | ||
| 102 | reg = <0x800000 0x3f700000>; | ||
| 103 | }; | ||
| 104 | }; | ||
| 105 | }; | ||
| 106 | |||
| 107 | &ohci0 { | ||
| 108 | status = "okay"; | ||
| 109 | }; | ||
| 110 | |||
| 111 | &pinctrl { | ||
| 112 | pinctrl-names = "default"; | ||
| 113 | pinctrl-0 = <&pwm_leds>; | ||
| 114 | |||
| 115 | pwm_leds: pwm_leds { | ||
| 116 | function = "pwm"; | ||
| 117 | groups = "pwm1_grp", "pwm2_grp", "pwm3_grp"; | ||
| 118 | }; | ||
| 119 | }; | ||
| 120 | |||
| 121 | &pwm { | ||
| 122 | status = "okay"; | ||
| 123 | #pwm-cells = <2>; | ||
| 124 | }; | ||
| 125 | |||
| 126 | &uart0 { | ||
| 127 | clock-frequency = <62500000>; | ||
| 128 | status = "okay"; | ||
| 129 | }; | ||
| @@ -37,7 +37,7 @@ · 36 unmodified lines | |||
| 37 | 37 | ||
| 38 | / { | 38 | / { |
| 39 | model = "NorthStar Plus SVK (BCM958625HR)"; | 39 | model = "NorthStar Plus SVK (BCM958625HR)"; |
| 40 | compatible = "brcm,bcm58625", "brcm,nsp"; | 40 | compatible = "brcm,bcm958625hr", "brcm,bcm58625", "brcm,nsp"; |
| 41 | 41 | ||
| 42 | chosen { | 42 | chosen { |
| 43 | stdout-path = "serial0:115200n8"; | 43 | stdout-path = "serial0:115200n8"; |
| @@ -149,6 +149,7 @@ · 105 unmodified lines | |||
| 149 | }; | 149 | }; |
| 150 | 150 | ||
| 151 | &qspi { | 151 | &qspi { |
| 152 | status = "okay"; | ||
| 152 | bspi-sel = <0>; | 153 | bspi-sel = <0>; |
| 153 | flash: m25p80@0 { | 154 | flash: m25p80@0 { |
| 154 | #address-cells = <1>; | 155 | #address-cells = <1>; |
| @@ -36,7 +36,7 @@ · 35 unmodified lines | |||
| 36 | 36 | ||
| 37 | / { | 37 | / { |
| 38 | model = "NorthStar Plus SVK (BCM958625K)"; | 38 | model = "NorthStar Plus SVK (BCM958625K)"; |
| 39 | compatible = "brcm,bcm58625", "brcm,nsp"; | 39 | compatible = "brcm,bcm958625k", "brcm,bcm58625", "brcm,nsp"; |
| 40 | 40 | ||
| 41 | chosen { | 41 | chosen { |
| 42 | stdout-path = "serial0:115200n8"; | 42 | stdout-path = "serial0:115200n8"; |
| @@ -153,6 +153,7 @@ · 110 unmodified lines | |||
| 153 | }; | 153 | }; |
| 154 | 154 | ||
| 155 | &qspi { | 155 | &qspi { |
| 156 | status = "okay"; | ||
| 156 | bspi-sel = <0>; | 157 | bspi-sel = <0>; |
| 157 | flash: m25p80@0 { | 158 | flash: m25p80@0 { |
| 158 | #address-cells = <1>; | 159 | #address-cells = <1>; |
| @@ -37,7 +37,7 @@ · 36 unmodified lines | |||
| 37 | 37 | ||
| 38 | / { | 38 | / { |
| 39 | model = "NorthStar Plus SVK (BCM988312HR)"; | 39 | model = "NorthStar Plus SVK (BCM988312HR)"; |
| 40 | compatible = "brcm,bcm88312", "brcm,nsp"; | 40 | compatible = "brcm,bcm988312hr", "brcm,bcm88312", "brcm,nsp"; |
| 41 | 41 | ||
| 42 | chosen { | 42 | chosen { |
| 43 | stdout-path = "serial0:115200n8"; | 43 | stdout-path = "serial0:115200n8"; |
| @@ -58,6 +58,10 @@ · 14 unmodified lines | |||
| 58 | 58 | ||
| 59 | /* USB 3 support needed to be complete */ | 59 | /* USB 3 support needed to be complete */ |
| 60 | 60 | ||
| 61 | &dma { | ||
| 62 | status = "okay"; | ||
| 63 | }; | ||
| 64 | |||
| 61 | &amac0 { | 65 | &amac0 { |
| 62 | status = "okay"; | 66 | status = "okay"; |
| 63 | }; | 67 | }; |
| @@ -134,6 +138,7 @@ · 70 unmodified lines | |||
| 134 | }; | 138 | }; |
| 135 | 139 | ||
| 136 | &qspi { | 140 | &qspi { |
| 141 | status = "okay"; | ||
| 137 | bspi-sel = <0>; | 142 | bspi-sel = <0>; |
| 138 | flash: m25p80@0 { | 143 | flash: m25p80@0 { |
| 139 | #address-cells = <1>; | 144 | #address-cells = <1>; |
| @@ -965,6 +965,25 @@ · 964 unmodified lines | |||
| 965 | }; | 965 | }; |
| 966 | }; | 966 | }; |
| 967 | 967 | ||
| 968 | target-module@59000000 { | ||
| 969 | compatible = "ti,sysc-omap4", "ti,sysc"; | ||
| 970 | reg = <0x59000020 0x4>; | ||
| 971 | reg-names = "rev"; | ||
| 972 | clocks = <&dss_clkctrl DRA7_DSS_BB2D_CLKCTRL 0>; | ||
| 973 | clock-names = "fck"; | ||
| 974 | #address-cells = <1>; | ||
| 975 | #size-cells = <1>; | ||
| 976 | ranges = <0x0 0x59000000 0x1000>; | ||
| 977 | |||
| 978 | bb2d: gpu@0 { | ||
| 979 | compatible = "vivante,gc"; | ||
| 980 | reg = <0x0 0x700>; | ||
| 981 | interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>; | ||
| 982 | clocks = <&dss_clkctrl DRA7_BB2D_CLKCTRL 0>; | ||
| 983 | clock-names = "core"; | ||
| 984 | }; | ||
| 985 | }; | ||
| 986 | |||
| 968 | aes1_target: target-module@4b500000 { | 987 | aes1_target: target-module@4b500000 { |
| 969 | compatible = "ti,sysc-omap2", "ti,sysc"; | 988 | compatible = "ti,sysc-omap2", "ti,sysc"; |
| 970 | reg = <0x4b500080 0x4>, | 989 | reg = <0x4b500080 0x4>, |
| @@ -41,7 +41,7 @@ · 40 unmodified lines | |||
| 41 | leds: leds { | 41 | leds: leds { |
| 42 | compatible = "gpio-leds"; | 42 | compatible = "gpio-leds"; |
| 43 | 43 | ||
| 44 | on { | 44 | led { |
| 45 | label = "e60k02:white:on"; | 45 | label = "e60k02:white:on"; |
| 46 | gpios = <&gpio5 7 GPIO_ACTIVE_LOW>; | 46 | gpios = <&gpio5 7 GPIO_ACTIVE_LOW>; |
| 47 | linux,default-trigger = "timer"; | 47 | linux,default-trigger = "timer"; |
| @@ -0,0 +1,320 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0 | ||
| 2 | /* | ||
| 3 | * Copyright 2021 Andreas Kemnade | ||
| 4 | * based on works | ||
| 5 | * Copyright 2016 Freescale Semiconductor, Inc. | ||
| 6 | * and | ||
| 7 | * Copyright (C) 2014 Ricoh Electronic Devices Co., Ltd | ||
| 8 | * | ||
| 9 | * Netronix E70K02 board common. | ||
| 10 | * This board is equipped with different SoCs and | ||
| 11 | * found in ebook-readers like the Kobo Clara HD (with i.MX6SLL) and | ||
| 12 | * the Tolino Shine 3 (with i.MX6SL) | ||
| 13 | */ | ||
| 14 | #include <dt-bindings/input/input.h> | ||
| 15 | |||
| 16 | / { | ||
| 17 | aliases { | ||
| 18 | mmc0 = &usdhc1; | ||
| 19 | mmc1 = &usdhc3; | ||
| 20 | }; | ||
| 21 | |||
| 22 | chosen { | ||
| 23 | stdout-path = &uart1; | ||
| 24 | }; | ||
| 25 | |||
| 26 | gpio_keys: gpio-keys { | ||
| 27 | compatible = "gpio-keys"; | ||
| 28 | |||
| 29 | power { | ||
| 30 | label = "Power"; | ||
| 31 | gpios = <&gpio4 25 GPIO_ACTIVE_LOW>; | ||
| 32 | linux,code = <KEY_POWER>; | ||
| 33 | wakeup-source; | ||
| 34 | }; | ||
| 35 | |||
| 36 | cover { | ||
| 37 | label = "Cover"; | ||
| 38 | gpios = <&gpio4 23 GPIO_ACTIVE_LOW>; | ||
| 39 | linux,code = <SW_LID>; | ||
| 40 | linux,input-type = <EV_SW>; | ||
| 41 | wakeup-source; | ||
| 42 | }; | ||
| 43 | |||
| 44 | pageup { | ||
| 45 | label = "PageUp"; | ||
| 46 | gpios = <&gpio4 0 GPIO_ACTIVE_LOW>; | ||
| 47 | linux,code = <KEY_PAGEUP>; | ||
| 48 | }; | ||
| 49 | |||
| 50 | pagedown { | ||
| 51 | label = "PageDown"; | ||
| 52 | gpios = <&gpio4 2 GPIO_ACTIVE_LOW>; | ||
| 53 | linux,code = <KEY_PAGEDOWN>; | ||
| 54 | }; | ||
| 55 | }; | ||
| 56 | |||
| 57 | leds: leds { | ||
| 58 | compatible = "gpio-leds"; | ||
| 59 | |||
| 60 | led { | ||
| 61 | label = "e70k02:white:on"; | ||
| 62 | gpios = <&gpio4 17 GPIO_ACTIVE_LOW>; | ||
| 63 | linux,default-trigger = "timer"; | ||
| 64 | }; | ||
| 65 | }; | ||
| 66 | |||
| 67 | memory@80000000 { | ||
| 68 | device_type = "memory"; | ||
| 69 | reg = <0x80000000 0x20000000>; | ||
| 70 | }; | ||
| 71 | |||
| 72 | reg_wifi: regulator-wifi { | ||
| 73 | compatible = "regulator-fixed"; | ||
| 74 | regulator-name = "SD3_SPWR"; | ||
| 75 | regulator-min-microvolt = <3000000>; | ||
| 76 | regulator-max-microvolt = <3000000>; | ||
| 77 | gpio = <&gpio4 29 GPIO_ACTIVE_HIGH>; | ||
| 78 | enable-active-high; | ||
| 79 | }; | ||
| 80 | |||
| 81 | wifi_pwrseq: wifi-pwrseq { | ||
| 82 | compatible = "mmc-pwrseq-simple"; | ||
| 83 | post-power-on-delay-ms = <20>; | ||
| 84 | reset-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>; | ||
| 85 | }; | ||
| 86 | }; | ||
| 87 | |||
| 88 | &i2c1 { | ||
| 89 | clock-frequency = <100000>; | ||
| 90 | status = "okay"; | ||
| 91 | |||
| 92 | lm3630a: backlight@36 { | ||
| 93 | reg = <0x36>; | ||
| 94 | compatible = "ti,lm3630a"; | ||
| 95 | enable-gpios = <&gpio2 10 GPIO_ACTIVE_HIGH>; | ||
| 96 | |||
| 97 | #address-cells = <1>; | ||
| 98 | #size-cells = <0>; | ||
| 99 | |||
| 100 | led@0 { | ||
| 101 | reg = <0>; | ||
| 102 | led-sources = <0>; | ||
| 103 | label = "backlight_warm"; | ||
| 104 | default-brightness = <0>; | ||
| 105 | max-brightness = <255>; | ||
| 106 | }; | ||
| 107 | |||
| 108 | led@1 { | ||
| 109 | reg = <1>; | ||
| 110 | led-sources = <1>; | ||
| 111 | label = "backlight_cold"; | ||
| 112 | default-brightness = <0>; | ||
| 113 | max-brightness = <255>; | ||
| 114 | }; | ||
| 115 | }; | ||
| 116 | |||
| 117 | /* TODO: KX122 acceleration sensor a 0x1e */ | ||
| 118 | |||
| 119 | }; | ||
| 120 | |||
| 121 | &i2c2 { | ||
| 122 | clock-frequency = <100000>; | ||
| 123 | status = "okay"; | ||
| 124 | |||
| 125 | /* TODO: CYTTSP5 touch controller at 0x24 */ | ||
| 126 | |||
| 127 | /* TODO: SY7636 PMIC for E Ink at 0x62 */ | ||
| 128 | |||
| 129 | }; | ||
| 130 | |||
| 131 | &i2c3 { | ||
| 132 | clock-frequency = <100000>; | ||
| 133 | status = "okay"; | ||
| 134 | |||
| 135 | ricoh619: pmic@32 { | ||
| 136 | compatible = "ricoh,rc5t619"; | ||
| 137 | reg = <0x32>; | ||
| 138 | interrupt-parent = <&gpio4>; | ||
| 139 | interrupts = <19 IRQ_TYPE_EDGE_FALLING>; | ||
| 140 | system-power-controller; | ||
| 141 | |||
| 142 | regulators { | ||
| 143 | dcdc1_reg: DCDC1 { | ||
| 144 | regulator-name = "DCDC1"; | ||
| 145 | regulator-min-microvolt = <300000>; | ||
| 146 | regulator-max-microvolt = <1875000>; | ||
| 147 | regulator-always-on; | ||
| 148 | regulator-boot-on; | ||
| 149 | |||
| 150 | regulator-state-mem { | ||
| 151 | regulator-on-in-suspend; | ||
| 152 | regulator-suspend-max-microvolt = <900000>; | ||
| 153 | regulator-suspend-min-microvolt = <900000>; | ||
| 154 | }; | ||
| 155 | }; | ||
| 156 | |||
| 157 | /* Core3_3V3 */ | ||
| 158 | dcdc2_reg: DCDC2 { | ||
| 159 | regulator-name = "DCDC2"; | ||
| 160 | regulator-always-on; | ||
| 161 | regulator-boot-on; | ||
| 162 | |||
| 163 | regulator-state-mem { | ||
| 164 | regulator-on-in-suspend; | ||
| 165 | regulator-suspend-max-microvolt = <3300000>; | ||
| 166 | regulator-suspend-min-microvolt = <3300000>; | ||
| 167 | }; | ||
| 168 | }; | ||
| 169 | |||
| 170 | dcdc3_reg: DCDC3 { | ||
| 171 | regulator-name = "DCDC3"; | ||
| 172 | regulator-min-microvolt = <300000>; | ||
| 173 | regulator-max-microvolt = <1875000>; | ||
| 174 | regulator-always-on; | ||
| 175 | regulator-boot-on; | ||
| 176 | |||
| 177 | regulator-state-mem { | ||
| 178 | regulator-on-in-suspend; | ||
| 179 | regulator-suspend-max-microvolt = <1140000>; | ||
| 180 | regulator-suspend-min-microvolt = <1140000>; | ||
| 181 | }; | ||
| 182 | }; | ||
| 183 | |||
| 184 | /* Core4_1V2 */ | ||
| 185 | dcdc4_reg: DCDC4 { | ||
| 186 | regulator-name = "DCDC4"; | ||
| 187 | regulator-min-microvolt = <1200000>; | ||
| 188 | regulator-max-microvolt = <1200000>; | ||
| 189 | regulator-always-on; | ||
| 190 | regulator-boot-on; | ||
| 191 | |||
| 192 | regulator-state-mem { | ||
| 193 | regulator-on-in-suspend; | ||
| 194 | regulator-suspend-max-microvolt = <1140000>; | ||
| 195 | regulator-suspend-min-microvolt = <1140000>; | ||
| 196 | }; | ||
| 197 | }; | ||
| 198 | |||
| 199 | /* Core4_1V8 */ | ||
| 200 | dcdc5_reg: DCDC5 { | ||
| 201 | regulator-name = "DCDC5"; | ||
| 202 | regulator-min-microvolt = <1800000>; | ||
| 203 | regulator-max-microvolt = <1800000>; | ||
| 204 | regulator-always-on; | ||
| 205 | regulator-boot-on; | ||
| 206 | |||
| 207 | regulator-state-mem { | ||
| 208 | regulator-on-in-suspend; | ||
| 209 | regulator-suspend-max-microvolt = <1700000>; | ||
| 210 | regulator-suspend-min-microvolt = <1700000>; | ||
| 211 | }; | ||
| 212 | }; | ||
| 213 | |||
| 214 | ldo1_reg: LDO1 { | ||
| 215 | regulator-name = "LDO1"; | ||
| 216 | regulator-boot-on; | ||
| 217 | }; | ||
| 218 | |||
| 219 | /* Core1_3V3 */ | ||
| 220 | ldo2_reg: LDO2 { | ||
| 221 | regulator-name = "LDO2"; | ||
| 222 | regulator-always-on; | ||
| 223 | regulator-boot-on; | ||
| 224 | |||
| 225 | regulator-state-mem { | ||
| 226 | regulator-on-in-suspend; | ||
| 227 | regulator-suspend-max-microvolt = <3000000>; | ||
| 228 | regulator-suspend-min-microvolt = <3000000>; | ||
| 229 | }; | ||
| 230 | }; | ||
| 231 | |||
| 232 | /* Core5_1V2 */ | ||
| 233 | ldo3_reg: LDO3 { | ||
| 234 | regulator-name = "LDO3"; | ||
| 235 | regulator-always-on; | ||
| 236 | regulator-boot-on; | ||
| 237 | }; | ||
| 238 | |||
| 239 | ldo4_reg: LDO4 { | ||
| 240 | regulator-name = "LDO4"; | ||
| 241 | regulator-boot-on; | ||
| 242 | }; | ||
| 243 | |||
| 244 | /* SPD_3V3 */ | ||
| 245 | ldo5_reg: LDO5 { | ||
| 246 | regulator-name = "LDO5"; | ||
| 247 | regulator-always-on; | ||
| 248 | regulator-boot-on; | ||
| 249 | }; | ||
| 250 | |||
| 251 | /* DDR_0V6 */ | ||
| 252 | ldo6_reg: LDO6 { | ||
| 253 | regulator-name = "LDO6"; | ||
| 254 | regulator-always-on; | ||
| 255 | regulator-boot-on; | ||
| 256 | }; | ||
| 257 | |||
| 258 | /* VDD_PWM */ | ||
| 259 | ldo7_reg: LDO7 { | ||
| 260 | regulator-name = "LDO7"; | ||
| 261 | regulator-boot-on; | ||
| 262 | }; | ||
| 263 | |||
| 264 | /* ldo_1v8 */ | ||
| 265 | ldo8_reg: LDO8 { | ||
| 266 | regulator-name = "LDO8"; | ||
| 267 | regulator-min-microvolt = <1800000>; | ||
| 268 | regulator-max-microvolt = <1800000>; | ||
| 269 | regulator-boot-on; | ||
| 270 | }; | ||
| 271 | |||
| 272 | ldo9_reg: LDO9 { | ||
| 273 | regulator-name = "LDO9"; | ||
| 274 | regulator-boot-on; | ||
| 275 | }; | ||
| 276 | |||
| 277 | ldo10_reg: LDO10 { | ||
| 278 | regulator-name = "LDO10"; | ||
| 279 | regulator-boot-on; | ||
| 280 | }; | ||
| 281 | |||
| 282 | ldortc1_reg: LDORTC1 { | ||
| 283 | regulator-name = "LDORTC1"; | ||
| 284 | regulator-boot-on; | ||
| 285 | }; | ||
| 286 | }; | ||
| 287 | }; | ||
| 288 | }; | ||
| 289 | |||
| 290 | &snvs_rtc { | ||
| 291 | /* we are using the rtc in the pmic, not disabled in imx6sll.dtsi */ | ||
| 292 | status = "disabled"; | ||
| 293 | }; | ||
| 294 | |||
| 295 | &uart1 { | ||
| 296 | status = "okay"; | ||
| 297 | }; | ||
| 298 | |||
| 299 | &usdhc1 { | ||
| 300 | non-removable; | ||
| 301 | no-1-8-v; | ||
| 302 | status = "okay"; | ||
| 303 | }; | ||
| 304 | |||
| 305 | &usdhc3 { | ||
| 306 | vmmc-supply = <®_wifi>; | ||
| 307 | mmc-pwrseq = <&wifi_pwrseq>; | ||
| 308 | cap-power-off-card; | ||
| 309 | non-removable; | ||
| 310 | status = "okay"; | ||
| 311 | }; | ||
| 312 | |||
| 313 | &usbotg1 { | ||
| 314 | pinctrl-names = "default"; | ||
| 315 | disable-over-current; | ||
| 316 | srp-disable; | ||
| 317 | hnp-disable; | ||
| 318 | adp-disable; | ||
| 319 | status = "okay"; | ||
| 320 | }; | ||
| @@ -80,7 +80,7 @@ · 79 unmodified lines | |||
| 80 | }; | 80 | }; |
| 81 | 81 | ||
| 82 | ethernet@20000000 { | 82 | ethernet@20000000 { |
| 83 | compatible = "smsc,lan9220", "smsc,lan9115"; | 83 | compatible = "smsc,lan9221", "smsc,lan9115"; |
| 84 | reg = <0x20000000 0x10000>; | 84 | reg = <0x20000000 0x10000>; |
| 85 | phy-mode = "mii"; | 85 | phy-mode = "mii"; |
| 86 | interrupt-parent = <&gpio0>; | 86 | interrupt-parent = <&gpio0>; |
| @@ -19,6 +19,7 @@ · 18 unmodified lines | |||
| 19 | / { | 19 | / { |
| 20 | model = "Samsung Rinato board"; | 20 | model = "Samsung Rinato board"; |
| 21 | compatible = "samsung,rinato", "samsung,exynos3250", "samsung,exynos3"; | 21 | compatible = "samsung,rinato", "samsung,exynos3250", "samsung,exynos3"; |
| 22 | chassis-type = "watch"; | ||
| 22 | 23 | ||
| 23 | aliases { | 24 | aliases { |
| 24 | i2c7 = &i2c_max77836; | 25 | i2c7 = &i2c_max77836; |
| @@ -18,6 +18,7 @@ · 17 unmodified lines | |||
| 18 | / { | 18 | / { |
| 19 | model = "Samsung Galaxy S2 (GT-I9100)"; | 19 | model = "Samsung Galaxy S2 (GT-I9100)"; |
| 20 | compatible = "samsung,i9100", "samsung,exynos4210", "samsung,exynos4"; | 20 | compatible = "samsung,i9100", "samsung,exynos4210", "samsung,exynos4"; |
| 21 | chassis-type = "handset"; | ||
| 21 | 22 | ||
| 22 | memory@40000000 { | 23 | memory@40000000 { |
| 23 | device_type = "memory"; | 24 | device_type = "memory"; |
| @@ -206,74 +206,74 @@ · 205 unmodified lines | |||
| 206 | ldo4_reg: LDO4 { | 206 | ldo4_reg: LDO4 { |
| 207 | regulator-name = "VDD_RTC_1.8V"; | 207 | regulator-name = "VDD_RTC_1.8V"; |
| 208 | regulator-min-microvolt = <1800000>; | 208 | regulator-min-microvolt = <1800000>; |
| 209 | regulator-max-microvolt = <1800000>; | 209 | regulator-max-microvolt = <1800000>; |
| 210 | regulator-always-on; | 210 | regulator-always-on; |
| 211 | }; | 211 | }; |
| 212 | 212 | ||
| 213 | ldo6_reg: LDO6 { | 213 | ldo6_reg: LDO6 { |
| 214 | regulator-name = "VMIPI_1.8V"; | 214 | regulator-name = "VMIPI_1.8V"; |
| 215 | regulator-min-microvolt = <1800000>; | 215 | regulator-min-microvolt = <1800000>; |
| 216 | regulator-max-microvolt = <1800000>; | 216 | regulator-max-microvolt = <1800000>; |
| 217 | regulator-always-on; | 217 | regulator-always-on; |
| 218 | }; | 218 | }; |
| 219 | 219 | ||
| 220 | ldo7_reg: LDO7 { | 220 | ldo7_reg: LDO7 { |
| 221 | regulator-name = "VDD_AUD_1.8V"; | 221 | regulator-name = "VDD_AUD_1.8V"; |
| 222 | regulator-min-microvolt = <1800000>; | 222 | regulator-min-microvolt = <1800000>; |
| 223 | regulator-max-microvolt = <1800000>; | 223 | regulator-max-microvolt = <1800000>; |
| 224 | }; | 224 | }; |
| 225 | 225 | ||
| 226 | ldo8_reg: LDO8 { | 226 | ldo8_reg: LDO8 { |
| 227 | regulator-name = "VADC_3.3V"; | 227 | regulator-name = "VADC_3.3V"; |
| 228 | regulator-min-microvolt = <3300000>; | 228 | regulator-min-microvolt = <3300000>; |
| 229 | regulator-max-microvolt = <3300000>; | 229 | regulator-max-microvolt = <3300000>; |
| 230 | }; | 230 | }; |
| 231 | 231 | ||
| 232 | ldo9_reg: LDO9 { | 232 | ldo9_reg: LDO9 { |
| 233 | regulator-name = "DVDD_SWB_2.8V"; | 233 | regulator-name = "DVDD_SWB_2.8V"; |
| 234 | regulator-min-microvolt = <2800000>; | 234 | regulator-min-microvolt = <2800000>; |
| 235 | regulator-max-microvolt = <2800000>; | 235 | regulator-max-microvolt = <2800000>; |
| 236 | regulator-always-on; | 236 | regulator-always-on; |
| 237 | }; | 237 | }; |
| 238 | 238 | ||
| 239 | ldo10_reg: LDO10 { | 239 | ldo10_reg: LDO10 { |
| 240 | regulator-name = "VDD_PLL_1.1V"; | 240 | regulator-name = "VDD_PLL_1.1V"; |
| 241 | regulator-min-microvolt = <1100000>; | 241 | regulator-min-microvolt = <1100000>; |
| 242 | regulator-max-microvolt = <1100000>; | 242 | regulator-max-microvolt = <1100000>; |
| 243 | regulator-always-on; | 243 | regulator-always-on; |
| 244 | }; | 244 | }; |
| 245 | 245 | ||
| 246 | ldo11_reg: LDO11 { | 246 | ldo11_reg: LDO11 { |
| 247 | regulator-name = "VDD_AUD_3V"; | 247 | regulator-name = "VDD_AUD_3V"; |
| 248 | regulator-min-microvolt = <3000000>; | 248 | regulator-min-microvolt = <3000000>; |
| 249 | regulator-max-microvolt = <3000000>; | 249 | regulator-max-microvolt = <3000000>; |
| 250 | }; | 250 | }; |
| 251 | 251 | ||
| 252 | ldo14_reg: LDO14 { | 252 | ldo14_reg: LDO14 { |
| 253 | regulator-name = "AVDD18_SWB_1.8V"; | 253 | regulator-name = "AVDD18_SWB_1.8V"; |
| 254 | regulator-min-microvolt = <1800000>; | 254 | regulator-min-microvolt = <1800000>; |
| 255 | regulator-max-microvolt = <1800000>; | 255 | regulator-max-microvolt = <1800000>; |
| 256 | regulator-always-on; | 256 | regulator-always-on; |
| 257 | }; | 257 | }; |
| 258 | 258 | ||
| 259 | ldo17_reg: LDO17 { | 259 | ldo17_reg: LDO17 { |
| 260 | regulator-name = "VDD_SWB_3.3V"; | 260 | regulator-name = "VDD_SWB_3.3V"; |
| 261 | regulator-min-microvolt = <3300000>; | 261 | regulator-min-microvolt = <3300000>; |
| 262 | regulator-max-microvolt = <3300000>; | 262 | regulator-max-microvolt = <3300000>; |
| 263 | regulator-always-on; | 263 | regulator-always-on; |
| 264 | }; | 264 | }; |
| 265 | 265 | ||
| 266 | ldo21_reg: LDO21 { | 266 | ldo21_reg: LDO21 { |
| 267 | regulator-name = "VDD_MIF_1.2V"; | 267 | regulator-name = "VDD_MIF_1.2V"; |
| 268 | regulator-min-microvolt = <1200000>; | 268 | regulator-min-microvolt = <1200000>; |
| 269 | regulator-max-microvolt = <1200000>; | 269 | regulator-max-microvolt = <1200000>; |
| 270 | regulator-always-on; | 270 | regulator-always-on; |
| 271 | }; | 271 | }; |
| 272 | 272 | ||
| 273 | buck1_reg: BUCK1 { | 273 | buck1_reg: BUCK1 { |
| 274 | regulator-name = "VDD_ARM_1.2V"; | 274 | regulator-name = "VDD_ARM_1.2V"; |
| 275 | regulator-min-microvolt = <950000>; | 275 | regulator-min-microvolt = <950000>; |
| 276 | regulator-max-microvolt = <1350000>; | 276 | regulator-max-microvolt = <1350000>; |
| 277 | regulator-always-on; | 277 | regulator-always-on; |
| 278 | regulator-boot-on; | 278 | regulator-boot-on; |
| 279 | }; | 279 | }; |
| @@ -281,7 +281,7 @@ · 1 unmodified line | |||
| 281 | buck2_reg: BUCK2 { | 281 | buck2_reg: BUCK2 { |
| 282 | regulator-name = "VDD_INT_1.1V"; | 282 | regulator-name = "VDD_INT_1.1V"; |
| 283 | regulator-min-microvolt = <900000>; | 283 | regulator-min-microvolt = <900000>; |
| 284 | regulator-max-microvolt = <1100000>; | 284 | regulator-max-microvolt = <1100000>; |
| 285 | regulator-always-on; | 285 | regulator-always-on; |
| 286 | regulator-boot-on; | 286 | regulator-boot-on; |
| 287 | }; | 287 | }; |
| @@ -16,6 +16,7 @@ · 15 unmodified lines | |||
| 16 | / { | 16 | / { |
| 17 | model = "Samsung Trats based on Exynos4210"; | 17 | model = "Samsung Trats based on Exynos4210"; |
| 18 | compatible = "samsung,trats", "samsung,exynos4210", "samsung,exynos4"; | 18 | compatible = "samsung,trats", "samsung,exynos4210", "samsung,exynos4"; |
| 19 | chassis-type = "handset"; | ||
| 19 | 20 | ||
| 20 | memory@40000000 { | 21 | memory@40000000 { |
| 21 | device_type = "memory"; | 22 | device_type = "memory"; |
| @@ -16,6 +16,7 @@ · 15 unmodified lines | |||
| 16 | / { | 16 | / { |
| 17 | model = "Samsung Universal C210 based on Exynos4210 rev0"; | 17 | model = "Samsung Universal C210 based on Exynos4210 rev0"; |
| 18 | compatible = "samsung,universal_c210", "samsung,exynos4210", "samsung,exynos4"; | 18 | compatible = "samsung,universal_c210", "samsung,exynos4210", "samsung,exynos4"; |
| 19 | chassis-type = "handset"; | ||
| 19 | 20 | ||
| 20 | memory@40000000 { | 21 | memory@40000000 { |
| 21 | device_type = "memory"; | 22 | device_type = "memory"; |
| @@ -12,6 +12,7 @@ · 11 unmodified lines | |||
| 12 | / { | 12 | / { |
| 13 | model = "Samsung Galaxy S3 (GT-I9300) based on Exynos4412"; | 13 | model = "Samsung Galaxy S3 (GT-I9300) based on Exynos4412"; |
| 14 | compatible = "samsung,i9300", "samsung,midas", "samsung,exynos4412", "samsung,exynos4"; | 14 | compatible = "samsung,i9300", "samsung,midas", "samsung,exynos4412", "samsung,exynos4"; |
| 15 | chassis-type = "handset"; | ||
| 15 | 16 | ||
| 16 | /* bootargs are passed in by bootloader */ | 17 | /* bootargs are passed in by bootloader */ |
| 17 | 18 | ||
| @@ -5,6 +5,7 @@ · 4 unmodified lines | |||
| 5 | / { | 5 | / { |
| 6 | model = "Samsung Galaxy S3 (GT-I9305) based on Exynos4412"; | 6 | model = "Samsung Galaxy S3 (GT-I9305) based on Exynos4412"; |
| 7 | compatible = "samsung,i9305", "samsung,midas", "samsung,exynos4412", "samsung,exynos4"; | 7 | compatible = "samsung,i9305", "samsung,midas", "samsung,exynos4412", "samsung,exynos4"; |
| 8 | chassis-type = "handset"; | ||
| 8 | 9 | ||
| 9 | /* bootargs are passed in by bootloader */ | 10 | /* bootargs are passed in by bootloader */ |
| 10 | 11 | ||
| @@ -5,6 +5,7 @@ · 4 unmodified lines | |||
| 5 | / { | 5 | / { |
| 6 | compatible = "samsung,n710x", "samsung,midas", "samsung,exynos4412", "samsung,exynos4"; | 6 | compatible = "samsung,n710x", "samsung,midas", "samsung,exynos4412", "samsung,exynos4"; |
| 7 | model = "Samsung Galaxy Note 2 (GT-N7100, GT-N7105) based on Exynos4412"; | 7 | model = "Samsung Galaxy Note 2 (GT-N7100, GT-N7105) based on Exynos4412"; |
| 8 | chassis-type = "handset"; | ||
| 8 | 9 | ||
| 9 | memory@40000000 { | 10 | memory@40000000 { |
| 10 | device_type = "memory"; | 11 | device_type = "memory"; |
| @@ -382,7 +382,7 @@ · 381 unmodified lines | |||
| 382 | buck1_reg: BUCK1 { | 382 | buck1_reg: BUCK1 { |
| 383 | regulator-name = "VDD_MIF"; | 383 | regulator-name = "VDD_MIF"; |
| 384 | regulator-min-microvolt = <950000>; | 384 | regulator-min-microvolt = <950000>; |
| 385 | regulator-max-microvolt = <1100000>; | 385 | regulator-max-microvolt = <1100000>; |
| 386 | regulator-always-on; | 386 | regulator-always-on; |
| 387 | regulator-boot-on; | 387 | regulator-boot-on; |
| 388 | op_mode = <1>; /* Normal Mode */ | 388 | op_mode = <1>; /* Normal Mode */ |
| @@ -391,7 +391,7 @@ · 2 unmodified lines | |||
| 391 | buck2_reg: BUCK2 { | 391 | buck2_reg: BUCK2 { |
| 392 | regulator-name = "VDD_ARM"; | 392 | regulator-name = "VDD_ARM"; |
| 393 | regulator-min-microvolt = <900000>; | 393 | regulator-min-microvolt = <900000>; |
| 394 | regulator-max-microvolt = <1350000>; | 394 | regulator-max-microvolt = <1350000>; |
| 395 | regulator-always-on; | 395 | regulator-always-on; |
| 396 | regulator-boot-on; | 396 | regulator-boot-on; |
| 397 | op_mode = <1>; /* Normal Mode */ | 397 | op_mode = <1>; /* Normal Mode */ |
| @@ -400,7 +400,7 @@ · 2 unmodified lines | |||
| 400 | buck3_reg: BUCK3 { | 400 | buck3_reg: BUCK3 { |
| 401 | regulator-name = "VDD_INT"; | 401 | regulator-name = "VDD_INT"; |
| 402 | regulator-min-microvolt = <900000>; | 402 | regulator-min-microvolt = <900000>; |
| 403 | regulator-max-microvolt = <1200000>; | 403 | regulator-max-microvolt = <1200000>; |
| 404 | regulator-always-on; | 404 | regulator-always-on; |
| 405 | regulator-boot-on; | 405 | regulator-boot-on; |
| 406 | op_mode = <1>; /* Normal Mode */ | 406 | op_mode = <1>; /* Normal Mode */ |
| @@ -409,7 +409,7 @@ · 2 unmodified lines | |||
| 409 | buck4_reg: BUCK4 { | 409 | buck4_reg: BUCK4 { |
| 410 | regulator-name = "VDD_G3D"; | 410 | regulator-name = "VDD_G3D"; |
| 411 | regulator-min-microvolt = <750000>; | 411 | regulator-min-microvolt = <750000>; |
| 412 | regulator-max-microvolt = <1500000>; | 412 | regulator-max-microvolt = <1500000>; |
| 413 | regulator-always-on; | 413 | regulator-always-on; |
| 414 | regulator-boot-on; | 414 | regulator-boot-on; |
| 415 | op_mode = <1>; /* Normal Mode */ | 415 | op_mode = <1>; /* Normal Mode */ |
| @@ -418,7 +418,7 @@ · 2 unmodified lines | |||
| 418 | buck5_reg: BUCK5 { | 418 | buck5_reg: BUCK5 { |
| 419 | regulator-name = "VDD_M12"; | 419 | regulator-name = "VDD_M12"; |
| 420 | regulator-min-microvolt = <750000>; | 420 | regulator-min-microvolt = <750000>; |
| 421 | regulator-max-microvolt = <1500000>; | 421 | regulator-max-microvolt = <1500000>; |
| 422 | regulator-always-on; | 422 | regulator-always-on; |
| 423 | regulator-boot-on; | 423 | regulator-boot-on; |
| 424 | op_mode = <1>; /* Normal Mode */ | 424 | op_mode = <1>; /* Normal Mode */ |
| @@ -427,7 +427,7 @@ · 2 unmodified lines | |||
| 427 | buck6_reg: BUCK6 { | 427 | buck6_reg: BUCK6 { |
| 428 | regulator-name = "VDD12_5M"; | 428 | regulator-name = "VDD12_5M"; |
| 429 | regulator-min-microvolt = <750000>; | 429 | regulator-min-microvolt = <750000>; |
| 430 | regulator-max-microvolt = <1500000>; | 430 | regulator-max-microvolt = <1500000>; |
| 431 | regulator-always-on; | 431 | regulator-always-on; |
| 432 | regulator-boot-on; | 432 | regulator-boot-on; |
| 433 | op_mode = <1>; /* Normal Mode */ | 433 | op_mode = <1>; /* Normal Mode */ |
| @@ -436,7 +436,7 @@ · 2 unmodified lines | |||
| 436 | buck9_reg: BUCK9 { | 436 | buck9_reg: BUCK9 { |
| 437 | regulator-name = "VDDF28_EMMC"; | 437 | regulator-name = "VDDF28_EMMC"; |
| 438 | regulator-min-microvolt = <750000>; | 438 | regulator-min-microvolt = <750000>; |
| 439 | regulator-max-microvolt = <3000000>; | 439 | regulator-max-microvolt = <3000000>; |
| 440 | regulator-always-on; | 440 | regulator-always-on; |
| 441 | regulator-boot-on; | 441 | regulator-boot-on; |
| 442 | op_mode = <1>; /* Normal Mode */ | 442 | op_mode = <1>; /* Normal Mode */ |
| @@ -12,6 +12,7 @@ · 11 unmodified lines | |||
| 12 | / { | 12 | / { |
| 13 | model = "Samsung Galaxy Note 10.1 (GT-N8010/N8013) based on Exynos4412"; | 13 | model = "Samsung Galaxy Note 10.1 (GT-N8010/N8013) based on Exynos4412"; |
| 14 | compatible = "samsung,n8010", "samsung,p4note", "samsung,exynos4412", "samsung,exynos4"; | 14 | compatible = "samsung,n8010", "samsung,p4note", "samsung,exynos4412", "samsung,exynos4"; |
| 15 | chassis-type = "tablet"; | ||
| 15 | 16 | ||
| 16 | /* this is the base variant without any kind of modem */ | 17 | /* this is the base variant without any kind of modem */ |
| 17 | }; | 18 | }; |
| @@ -15,6 +15,7 @@ · 14 unmodified lines | |||
| 15 | / { | 15 | / { |
| 16 | model = "Samsung Trats 2 based on Exynos4412"; | 16 | model = "Samsung Trats 2 based on Exynos4412"; |
| 17 | compatible = "samsung,trats2", "samsung,midas", "samsung,exynos4412", "samsung,exynos4"; | 17 | compatible = "samsung,trats2", "samsung,midas", "samsung,exynos4412", "samsung,exynos4"; |
| 18 | chassis-type = "handset"; | ||
| 18 | 19 | ||
| 19 | memory@40000000 { | 20 | memory@40000000 { |
| 20 | device_type = "memory"; | 21 | device_type = "memory"; |
| @@ -240,9 +240,6 @@ · 239 unmodified lines | |||
| 240 | vinl8-supply = <&buck8_reg>; | 240 | vinl8-supply = <&buck8_reg>; |
| 241 | vinl9-supply = <&buck8_reg>; | 241 | vinl9-supply = <&buck8_reg>; |
| 242 | 242 | ||
| 243 | s5m8767,pmic-buck2-dvs-voltage = <1300000>; | ||
| 244 | s5m8767,pmic-buck3-dvs-voltage = <1100000>; | ||
| 245 | s5m8767,pmic-buck4-dvs-voltage = <1200000>; | ||
| 246 | s5m8767,pmic-buck-dvs-gpios = <&gpd1 0 GPIO_ACTIVE_HIGH>, | 243 | s5m8767,pmic-buck-dvs-gpios = <&gpd1 0 GPIO_ACTIVE_HIGH>, |
| 247 | <&gpd1 1 GPIO_ACTIVE_HIGH>, | 244 | <&gpd1 1 GPIO_ACTIVE_HIGH>, |
| 248 | <&gpd1 2 GPIO_ACTIVE_HIGH>; | 245 | <&gpd1 2 GPIO_ACTIVE_HIGH>; |
| @@ -14,6 +14,7 @@ · 13 unmodified lines | |||
| 14 | model = "Google Snow Rev 5+"; | 14 | model = "Google Snow Rev 5+"; |
| 15 | compatible = "google,snow-rev5", "samsung,exynos5250", | 15 | compatible = "google,snow-rev5", "samsung,exynos5250", |
| 16 | "samsung,exynos5"; | 16 | "samsung,exynos5"; |
| 17 | chassis-type = "laptop"; | ||
| 17 | 18 | ||
| 18 | sound { | 19 | sound { |
| 19 | compatible = "google,snow-audio-max98090"; | 20 | compatible = "google,snow-audio-max98090"; |
| @@ -12,6 +12,7 @@ · 11 unmodified lines | |||
| 12 | model = "Google Snow"; | 12 | model = "Google Snow"; |
| 13 | compatible = "google,snow-rev4", "google,snow", "samsung,exynos5250", | 13 | compatible = "google,snow-rev4", "google,snow", "samsung,exynos5250", |
| 14 | "samsung,exynos5"; | 14 | "samsung,exynos5"; |
| 15 | chassis-type = "laptop"; | ||
| 15 | 16 | ||
| 16 | sound { | 17 | sound { |
| 17 | compatible = "google,snow-audio-max98095"; | 18 | compatible = "google,snow-audio-max98095"; |
| @@ -16,6 +16,7 @@ · 15 unmodified lines | |||
| 16 | / { | 16 | / { |
| 17 | model = "Google Spring"; | 17 | model = "Google Spring"; |
| 18 | compatible = "google,spring", "samsung,exynos5250", "samsung,exynos5"; | 18 | compatible = "google,spring", "samsung,exynos5250", "samsung,exynos5"; |
| 19 | chassis-type = "laptop"; | ||
| 19 | 20 | ||
| 20 | memory@40000000 { | 21 | memory@40000000 { |
| 21 | device_type = "memory"; | 22 | device_type = "memory"; |
| @@ -386,7 +386,6 @@ · 385 unmodified lines | |||
| 386 | 386 | ||
| 387 | sata: sata@122f0000 { | 387 | sata: sata@122f0000 { |
| 388 | compatible = "snps,dwc-ahci"; | 388 | compatible = "snps,dwc-ahci"; |
| 389 | samsung,sata-freq = <66>; | ||
| 390 | reg = <0x122F0000 0x1ff>; | 389 | reg = <0x122F0000 0x1ff>; |
| 391 | interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>; | 390 | interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>; |
| 392 | clocks = <&clock CLK_SATA>, <&clock CLK_SCLK_SATA>; | 391 | clocks = <&clock CLK_SATA>, <&clock CLK_SCLK_SATA>; |
| @@ -26,6 +26,7 @@ · 25 unmodified lines | |||
| 26 | "google,pit-rev7", "google,pit-rev6", | 26 | "google,pit-rev7", "google,pit-rev6", |
| 27 | "google,pit", "google,peach","samsung,exynos5420", | 27 | "google,pit", "google,peach","samsung,exynos5420", |
| 28 | "samsung,exynos5"; | 28 | "samsung,exynos5"; |
| 29 | chassis-type = "laptop"; | ||
| 29 | 30 | ||
| 30 | aliases { | 31 | aliases { |
| 31 | /* Assign 20 so we don't get confused w/ builtin ones */ | 32 | /* Assign 20 so we don't get confused w/ builtin ones */ |
| @@ -24,6 +24,7 @@ · 23 unmodified lines | |||
| 24 | "google,pi-rev11", "google,pi-rev10", | 24 | "google,pi-rev11", "google,pi-rev10", |
| 25 | "google,pi", "google,peach", "samsung,exynos5800", | 25 | "google,pi", "google,peach", "samsung,exynos5800", |
| 26 | "samsung,exynos5"; | 26 | "samsung,exynos5"; |
| 27 | chassis-type = "laptop"; | ||
| 27 | 28 | ||
| 28 | aliases { | 29 | aliases { |
| 29 | /* Assign 20 so we don't get confused w/ builtin ones */ | 30 | /* Assign 20 so we don't get confused w/ builtin ones */ |
| @@ -439,24 +439,6 @@ · 438 unmodified lines | |||
| 439 | 439 | ||
| 440 | pci@50000000 { | 440 | pci@50000000 { |
| 441 | status = "okay"; | 441 | status = "okay"; |
| 442 | interrupt-map-mask = <0xf800 0 0 7>; | ||
| 443 | interrupt-map = | ||
| 444 | <0x4800 0 0 1 &pci_intc 0>, /* Slot 9 */ | ||
| 445 | <0x4800 0 0 2 &pci_intc 1>, | ||
| 446 | <0x4800 0 0 3 &pci_intc 2>, | ||
| 447 | <0x4800 0 0 4 &pci_intc 3>, | ||
| 448 | <0x5000 0 0 1 &pci_intc 1>, /* Slot 10 */ | ||
| 449 | <0x5000 0 0 2 &pci_intc 2>, | ||
| 450 | <0x5000 0 0 3 &pci_intc 3>, | ||
| 451 | <0x5000 0 0 4 &pci_intc 0>, | ||
| 452 | <0x5800 0 0 1 &pci_intc 2>, /* Slot 11 */ | ||
| 453 | <0x5800 0 0 2 &pci_intc 3>, | ||
| 454 | <0x5800 0 0 3 &pci_intc 0>, | ||
| 455 | <0x5800 0 0 4 &pci_intc 1>, | ||
| 456 | <0x6000 0 0 1 &pci_intc 3>, /* Slot 12 */ | ||
| 457 | <0x6000 0 0 2 &pci_intc 0>, | ||
| 458 | <0x6000 0 0 3 &pci_intc 1>, | ||
| 459 | <0x6000 0 0 4 &pci_intc 2>; | ||
| 460 | }; | 442 | }; |
| 461 | 443 | ||
| 462 | ethernet@60000000 { | 444 | ethernet@60000000 { |
| @@ -0,0 +1,148 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0 | ||
| 2 | /* | ||
| 3 | * Copyright (C) 2021 Corentin Labbe <clabbe@baylibre.com> | ||
| 4 | * Device Tree file for Edimax NS 2502 | ||
| 5 | */ | ||
| 6 | |||
| 7 | /dts-v1/; | ||
| 8 | |||
| 9 | #include "gemini.dtsi" | ||
| 10 | |||
| 11 | / { | ||
| 12 | model = "Edimax NS-2502"; | ||
| 13 | compatible = "edimax,ns-2502", "cortina,gemini"; | ||
| 14 | #address-cells = <1>; | ||
| 15 | #size-cells = <1>; | ||
| 16 | |||
| 17 | memory@0 { | ||
| 18 | /* 128 MB */ | ||
| 19 | device_type = "memory"; | ||
| 20 | reg = <0x00000000 0x8000000>; | ||
| 21 | }; | ||
| 22 | |||
| 23 | aliases { | ||
| 24 | mdio-gpio0 = &mdio0; | ||
| 25 | }; | ||
| 26 | |||
| 27 | chosen { | ||
| 28 | bootargs = "console=ttyS0,19200n8"; | ||
| 29 | stdout-path = &uart0; | ||
| 30 | }; | ||
| 31 | |||
| 32 | mdio0: mdio { | ||
| 33 | compatible = "virtual,mdio-gpio"; | ||
| 34 | gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>, /* MDC */ | ||
| 35 | <&gpio0 21 GPIO_ACTIVE_HIGH>; /* MDIO */ | ||
| 36 | #address-cells = <1>; | ||
| 37 | #size-cells = <0>; | ||
| 38 | |||
| 39 | phy0: ethernet-phy@1 { | ||
| 40 | reg = <1>; | ||
| 41 | device_type = "ethernet-phy"; | ||
| 42 | /* We lack the knowledge of necessary GPIO to achieve | ||
| 43 | * Gigabit | ||
| 44 | */ | ||
| 45 | max-speed = <100>; | ||
| 46 | }; | ||
| 47 | }; | ||
| 48 | }; | ||
| 49 | |||
| 50 | ðernet { | ||
| 51 | status = "okay"; | ||
| 52 | ethernet-port@0 { | ||
| 53 | phy-mode = "rgmii"; | ||
| 54 | phy-handle = <&phy0>; | ||
| 55 | }; | ||
| 56 | }; | ||
| 57 | |||
| 58 | &flash { | ||
| 59 | status = "okay"; | ||
| 60 | /* 8MB of flash */ | ||
| 61 | reg = <0x30000000 0x00800000>; | ||
| 62 | |||
| 63 | pinctrl-names = "enabled", "disabled"; | ||
| 64 | pinctrl-0 = <&pflash_default_pins>; | ||
| 65 | pinctrl-1 = <&pflash_disabled_pins>; | ||
| 66 | |||
| 67 | partitions { | ||
| 68 | compatible = "fixed-partitions"; | ||
| 69 | #address-cells = <1>; | ||
| 70 | #size-cells = <1>; | ||
| 71 | |||
| 72 | partition@0 { | ||
| 73 | label = "RedBoot"; | ||
| 74 | reg = <0x00000000 0x00020000>; | ||
| 75 | }; | ||
| 76 | partition@20000 { | ||
| 77 | label = "kernel"; | ||
| 78 | reg = <0x00020000 0x00700000>; | ||
| 79 | }; | ||
| 80 | partition@720000 { | ||
| 81 | label = "VCTL"; | ||
| 82 | reg = <0x00720000 0x00020000>; | ||
| 83 | }; | ||
| 84 | partition@740000 { | ||
| 85 | label = "CurConf"; | ||
| 86 | reg = <0x00740000 0x000a0000>; | ||
| 87 | }; | ||
| 88 | partition@7e0000 { | ||
| 89 | label = "FIS"; | ||
| 90 | reg = <0x007e0000 0x00010000>; | ||
| 91 | }; | ||
| 92 | }; | ||
| 93 | }; | ||
| 94 | |||
| 95 | &gpio0 { | ||
| 96 | pinctrl-names = "default"; | ||
| 97 | pinctrl-0 = <&gpio0_default_pins>; | ||
| 98 | }; | ||
| 99 | |||
| 100 | &ide0 { | ||
| 101 | status = "okay"; | ||
| 102 | }; | ||
| 103 | |||
| 104 | &ide1 { | ||
| 105 | status = "okay"; | ||
| 106 | }; | ||
| 107 | |||
| 108 | &sata { | ||
| 109 | cortina,gemini-ata-muxmode = <3>; | ||
| 110 | cortina,gemini-enable-sata-bridge; | ||
| 111 | status = "okay"; | ||
| 112 | }; | ||
| 113 | |||
| 114 | &syscon { | ||
| 115 | pinctrl { | ||
| 116 | /* | ||
| 117 | * gpio0agrp cover line 0-4 | ||
| 118 | * gpio0bgrp cover line 5 | ||
| 119 | */ | ||
| 120 | gpio0_default_pins: pinctrl-gpio0 { | ||
| 121 | mux { | ||
| 122 | function = "gpio0"; | ||
| 123 | groups = "gpio0agrp", "gpio0bgrp", "gpio0hgrp"; | ||
| 124 | }; | ||
| 125 | }; | ||
| 126 | pflash_disabled_pins: pinctrl-pflash-disabled { | ||
| 127 | mux { | ||
| 128 | function = "gpio0"; | ||
| 129 | groups = "gpio0ggrp", "gpio0igrp", "gpio0jgrp", | ||
| 130 | "gpio0kgrp"; | ||
| 131 | }; | ||
| 132 | }; | ||
| 133 | pinctrl-gmii { | ||
| 134 | mux { | ||
| 135 | function = "gmii"; | ||
| 136 | groups = "gmii_gmac0_grp"; | ||
| 137 | }; | ||
| 138 | }; | ||
| 139 | }; | ||
| 140 | }; | ||
| 141 | |||
| 142 | &usb0 { | ||
| 143 | status = "okay"; | ||
| 144 | }; | ||
| 145 | |||
| 146 | &usb1 { | ||
| 147 | status = "okay"; | ||
| 148 | }; | ||
| @@ -256,24 +256,6 @@ · 255 unmodified lines | |||
| 256 | 256 | ||
| 257 | pci@50000000 { | 257 | pci@50000000 { |
| 258 | status = "okay"; | 258 | status = "okay"; |
| 259 | interrupt-map-mask = <0xf800 0 0 7>; | ||
| 260 | interrupt-map = | ||
| 261 | <0x4800 0 0 1 &pci_intc 0>, /* Slot 9 */ | ||
| 262 | <0x4800 0 0 2 &pci_intc 1>, | ||
| 263 | <0x4800 0 0 3 &pci_intc 2>, | ||
| 264 | <0x4800 0 0 4 &pci_intc 3>, | ||
| 265 | <0x5000 0 0 1 &pci_intc 1>, /* Slot 10 */ | ||
| 266 | <0x5000 0 0 2 &pci_intc 2>, | ||
| 267 | <0x5000 0 0 3 &pci_intc 3>, | ||
| 268 | <0x5000 0 0 4 &pci_intc 0>, | ||
| 269 | <0x5800 0 0 1 &pci_intc 2>, /* Slot 11 */ | ||
| 270 | <0x5800 0 0 2 &pci_intc 3>, | ||
| 271 | <0x5800 0 0 3 &pci_intc 0>, | ||
| 272 | <0x5800 0 0 4 &pci_intc 1>, | ||
| 273 | <0x6000 0 0 1 &pci_intc 3>, /* Slot 12 */ | ||
| 274 | <0x6000 0 0 2 &pci_intc 0>, | ||
| 275 | <0x6000 0 0 3 &pci_intc 1>, | ||
| 276 | <0x6000 0 0 4 &pci_intc 2>; | ||
| 277 | }; | 259 | }; |
| 278 | 260 | ||
| 279 | ethernet@60000000 { | 261 | ethernet@60000000 { |
| @@ -252,24 +252,6 @@ · 251 unmodified lines | |||
| 252 | 252 | ||
| 253 | pci@50000000 { | 253 | pci@50000000 { |
| 254 | status = "okay"; | 254 | status = "okay"; |
| 255 | interrupt-map-mask = <0xf800 0 0 7>; | ||
| 256 | interrupt-map = | ||
| 257 | <0x4800 0 0 1 &pci_intc 0>, /* Slot 9 */ | ||
| 258 | <0x4800 0 0 2 &pci_intc 1>, | ||
| 259 | <0x4800 0 0 3 &pci_intc 2>, | ||
| 260 | <0x4800 0 0 4 &pci_intc 3>, | ||
| 261 | <0x5000 0 0 1 &pci_intc 1>, /* Slot 10 */ | ||
| 262 | <0x5000 0 0 2 &pci_intc 2>, | ||
| 263 | <0x5000 0 0 3 &pci_intc 3>, | ||
| 264 | <0x5000 0 0 4 &pci_intc 0>, | ||
| 265 | <0x5800 0 0 1 &pci_intc 2>, /* Slot 11 */ | ||
| 266 | <0x5800 0 0 2 &pci_intc 3>, | ||
| 267 | <0x5800 0 0 3 &pci_intc 0>, | ||
| 268 | <0x5800 0 0 4 &pci_intc 1>, | ||
| 269 | <0x6000 0 0 1 &pci_intc 3>, /* Slot 12 */ | ||
| 270 | <0x6000 0 0 2 &pci_intc 0>, | ||
| 271 | <0x6000 0 0 3 &pci_intc 1>, | ||
| 272 | <0x6000 0 0 4 &pci_intc 2>; | ||
| 273 | }; | 255 | }; |
| 274 | 256 | ||
| 275 | ethernet@60000000 { | 257 | ethernet@60000000 { |
| @@ -0,0 +1,138 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0 | ||
| 2 | /* | ||
| 3 | * Copyright (C) 2021 Corentin Labbe <clabbe@baylibre.com> | ||
| 4 | * Device Tree file for SSI 1328 | ||
| 5 | */ | ||
| 6 | |||
| 7 | /dts-v1/; | ||
| 8 | |||
| 9 | #include "gemini.dtsi" | ||
| 10 | |||
| 11 | / { | ||
| 12 | model = "SSI 1328"; | ||
| 13 | compatible = "ssi,1328", "cortina,gemini"; | ||
| 14 | #address-cells = <1>; | ||
| 15 | #size-cells = <1>; | ||
| 16 | |||
| 17 | memory@0 { | ||
| 18 | /* 128 MB */ | ||
| 19 | device_type = "memory"; | ||
| 20 | reg = <0x00000000 0x8000000>; | ||
| 21 | }; | ||
| 22 | |||
| 23 | aliases { | ||
| 24 | mdio-gpio0 = &mdio0; | ||
| 25 | }; | ||
| 26 | |||
| 27 | chosen { | ||
| 28 | bootargs = "console=ttyS0,19200n8 initrd=0x900000,9M"; | ||
| 29 | stdout-path = &uart0; | ||
| 30 | }; | ||
| 31 | |||
| 32 | mdio0: mdio { | ||
| 33 | compatible = "virtual,mdio-gpio"; | ||
| 34 | gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>, /* MDC */ | ||
| 35 | <&gpio0 21 GPIO_ACTIVE_HIGH>; /* MDIO */ | ||
| 36 | #address-cells = <1>; | ||
| 37 | #size-cells = <0>; | ||
| 38 | |||
| 39 | /* LAN Marvell 88E1118 */ | ||
| 40 | phy0: ethernet-phy@1 { | ||
| 41 | reg = <1>; | ||
| 42 | device_type = "ethernet-phy"; | ||
| 43 | /* We lack the knowledge of necessary GPIO to achieve | ||
| 44 | * Gigabit | ||
| 45 | */ | ||
| 46 | max-speed = <100>; | ||
| 47 | }; | ||
| 48 | /* WAN ICPlus IP101A */ | ||
| 49 | phy1: ethernet-phy@2 { | ||
| 50 | reg = <2>; | ||
| 51 | device_type = "ethernet-phy"; | ||
| 52 | }; | ||
| 53 | }; | ||
| 54 | }; | ||
| 55 | |||
| 56 | ðernet { | ||
| 57 | status = "okay"; | ||
| 58 | ethernet-port@0 { | ||
| 59 | phy-mode = "rgmii"; | ||
| 60 | phy-handle = <&phy0>; | ||
| 61 | }; | ||
| 62 | ethernet-port@1 { | ||
| 63 | phy-mode = "rgmii"; | ||
| 64 | phy-handle = <&phy1>; | ||
| 65 | }; | ||
| 66 | }; | ||
| 67 | |||
| 68 | &flash { | ||
| 69 | status = "okay"; | ||
| 70 | /* 32MB of flash */ | ||
| 71 | reg = <0x30000000 0x03200000>; | ||
| 72 | |||
| 73 | pinctrl-names = "enabled", "disabled"; | ||
| 74 | pinctrl-0 = <&pflash_default_pins>; | ||
| 75 | pinctrl-1 = <&pflash_disabled_pins>; | ||
| 76 | |||
| 77 | partitions { | ||
| 78 | compatible = "redboot-fis"; | ||
| 79 | /* Eraseblock at 0xfe0000 */ | ||
| 80 | fis-index-block = <0x7F>; | ||
| 81 | }; | ||
| 82 | }; | ||
| 83 | |||
| 84 | &gpio0 { | ||
| 85 | pinctrl-names = "default"; | ||
| 86 | pinctrl-0 = <&gpio0_default_pins>; | ||
| 87 | }; | ||
| 88 | |||
| 89 | &ide0 { | ||
| 90 | status = "okay"; | ||
| 91 | }; | ||
| 92 | |||
| 93 | &ide1 { | ||
| 94 | status = "okay"; | ||
| 95 | }; | ||
| 96 | |||
| 97 | &sata { | ||
| 98 | cortina,gemini-ata-muxmode = <0>; | ||
| 99 | cortina,gemini-enable-sata-bridge; | ||
| 100 | status = "okay"; | ||
| 101 | }; | ||
| 102 | |||
| 103 | &syscon { | ||
| 104 | pinctrl { | ||
| 105 | /* | ||
| 106 | * gpio0agrp cover line 0-4 | ||
| 107 | * gpio0bgrp cover line 5 | ||
| 108 | */ | ||
| 109 | gpio0_default_pins: pinctrl-gpio0 { | ||
| 110 | mux { | ||
| 111 | function = "gpio0"; | ||
| 112 | groups = "gpio0agrp", "gpio0bgrp"; | ||
| 113 | }; | ||
| 114 | }; | ||
| 115 | pflash_disabled_pins: pinctrl-pflash-disabled { | ||
| 116 | mux { | ||
| 117 | function = "gpio0"; | ||
| 118 | groups = "gpio0ggrp", "gpio0igrp", "gpio0jgrp", | ||
| 119 | "gpio0kgrp"; | ||
| 120 | }; | ||
| 121 | }; | ||
| 122 | pinctrl-gmii { | ||
| 123 | /* This platform use both the ethernet ports */ | ||
| 124 | mux { | ||
| 125 | function = "gmii"; | ||
| 126 | groups = "gmii_gmac0_grp", "gmii_gmac1_grp"; | ||
| 127 | }; | ||
| 128 | }; | ||
| 129 | }; | ||
| 130 | }; | ||
| 131 | |||
| 132 | &usb0 { | ||
| 133 | status = "okay"; | ||
| 134 | }; | ||
| 135 | |||
| 136 | &usb1 { | ||
| 137 | status = "okay"; | ||
| 138 | }; | ||
| @@ -140,24 +140,6 @@ · 139 unmodified lines | |||
| 140 | 140 | ||
| 141 | pci@50000000 { | 141 | pci@50000000 { |
| 142 | status = "okay"; | 142 | status = "okay"; |
| 143 | interrupt-map-mask = <0xf800 0 0 7>; | ||
| 144 | interrupt-map = | ||
| 145 | <0x4800 0 0 1 &pci_intc 0>, /* Slot 9 */ | ||
| 146 | <0x4800 0 0 2 &pci_intc 1>, | ||
| 147 | <0x4800 0 0 3 &pci_intc 2>, | ||
| 148 | <0x4800 0 0 4 &pci_intc 3>, | ||
| 149 | <0x5000 0 0 1 &pci_intc 1>, /* Slot 10 */ | ||
| 150 | <0x5000 0 0 2 &pci_intc 2>, | ||
| 151 | <0x5000 0 0 3 &pci_intc 3>, | ||
| 152 | <0x5000 0 0 4 &pci_intc 0>, | ||
| 153 | <0x5800 0 0 1 &pci_intc 2>, /* Slot 11 */ | ||
| 154 | <0x5800 0 0 2 &pci_intc 3>, | ||
| 155 | <0x5800 0 0 3 &pci_intc 0>, | ||
| 156 | <0x5800 0 0 4 &pci_intc 1>, | ||
| 157 | <0x6000 0 0 1 &pci_intc 3>, /* Slot 12 */ | ||
| 158 | <0x6000 0 0 2 &pci_intc 0>, | ||
| 159 | <0x6000 0 0 3 &pci_intc 1>, | ||
| 160 | <0x6000 0 0 4 &pci_intc 2>; | ||
| 161 | }; | 143 | }; |
| 162 | 144 | ||
| 163 | ethernet@60000000 { | 145 | ethernet@60000000 { |
| @@ -151,24 +151,6 @@ · 150 unmodified lines | |||
| 151 | 151 | ||
| 152 | pci@50000000 { | 152 | pci@50000000 { |
| 153 | status = "okay"; | 153 | status = "okay"; |
| 154 | interrupt-map-mask = <0xf800 0 0 7>; | ||
| 155 | interrupt-map = | ||
| 156 | <0x4800 0 0 1 &pci_intc 0>, /* Slot 9 */ | ||
| 157 | <0x4800 0 0 2 &pci_intc 1>, | ||
| 158 | <0x4800 0 0 3 &pci_intc 2>, | ||
| 159 | <0x4800 0 0 4 &pci_intc 3>, | ||
| 160 | <0x5000 0 0 1 &pci_intc 1>, /* Slot 10 */ | ||
| 161 | <0x5000 0 0 2 &pci_intc 2>, | ||
| 162 | <0x5000 0 0 3 &pci_intc 3>, | ||
| 163 | <0x5000 0 0 4 &pci_intc 0>, | ||
| 164 | <0x5800 0 0 1 &pci_intc 2>, /* Slot 11 */ | ||
| 165 | <0x5800 0 0 2 &pci_intc 3>, | ||
| 166 | <0x5800 0 0 3 &pci_intc 0>, | ||
| 167 | <0x5800 0 0 4 &pci_intc 1>, | ||
| 168 | <0x6000 0 0 1 &pci_intc 3>, /* Slot 12 */ | ||
| 169 | <0x6000 0 0 2 &pci_intc 0>, | ||
| 170 | <0x6000 0 0 3 &pci_intc 1>, | ||
| 171 | <0x6000 0 0 4 &pci_intc 2>; | ||
| 172 | }; | 154 | }; |
| 173 | 155 | ||
| 174 | ethernet@60000000 { | 156 | ethernet@60000000 { |
| @@ -16,7 +16,7 @@ · 15 unmodified lines | |||
| 16 | compatible = "simple-bus"; | 16 | compatible = "simple-bus"; |
| 17 | interrupt-parent = <&intcon>; | 17 | interrupt-parent = <&intcon>; |
| 18 | 18 | ||
| 19 | flash@30000000 { | 19 | flash: flash@30000000 { |
| 20 | compatible = "cortina,gemini-flash", "cfi-flash"; | 20 | compatible = "cortina,gemini-flash", "cfi-flash"; |
| 21 | syscon = <&syscon>; | 21 | syscon = <&syscon>; |
| 22 | pinctrl-names = "default"; | 22 | pinctrl-names = "default"; |
| @@ -289,9 +289,28 @@ · 266 unmodified lines | |||
| 289 | device_type = "pci"; | 289 | device_type = "pci"; |
| 290 | #address-cells = <3>; | 290 | #address-cells = <3>; |
| 291 | #size-cells = <2>; | 291 | #size-cells = <2>; |
| 292 | #interrupt-cells = <1>; | ||
| 293 | status = "disabled"; | 292 | status = "disabled"; |
| 294 | 293 | ||
| 294 | #interrupt-cells = <1>; | ||
| 295 | interrupt-map-mask = <0xf800 0 0 7>; | ||
| 296 | interrupt-map = | ||
| 297 | <0x4800 0 0 1 &pci_intc 0>, /* Slot 9 */ | ||
| 298 | <0x4800 0 0 2 &pci_intc 1>, | ||
| 299 | <0x4800 0 0 3 &pci_intc 2>, | ||
| 300 | <0x4800 0 0 4 &pci_intc 3>, | ||
| 301 | <0x5000 0 0 1 &pci_intc 1>, /* Slot 10 */ | ||
| 302 | <0x5000 0 0 2 &pci_intc 2>, | ||
| 303 | <0x5000 0 0 3 &pci_intc 3>, | ||
| 304 | <0x5000 0 0 4 &pci_intc 0>, | ||
| 305 | <0x5800 0 0 1 &pci_intc 2>, /* Slot 11 */ | ||
| 306 | <0x5800 0 0 2 &pci_intc 3>, | ||
| 307 | <0x5800 0 0 3 &pci_intc 0>, | ||
| 308 | <0x5800 0 0 4 &pci_intc 1>, | ||
| 309 | <0x6000 0 0 1 &pci_intc 3>, /* Slot 12 */ | ||
| 310 | <0x6000 0 0 2 &pci_intc 0>, | ||
| 311 | <0x6000 0 0 3 &pci_intc 1>, | ||
| 312 | <0x6000 0 0 4 &pci_intc 2>; | ||
| 313 | |||
| 295 | bus-range = <0x00 0xff>; | 314 | bus-range = <0x00 0xff>; |
| 296 | /* PCI ranges mappings */ | 315 | /* PCI ranges mappings */ |
| 297 | ranges = | 316 | ranges = |
| @@ -322,7 +341,7 @@ · 24 unmodified lines | |||
| 322 | }; | 341 | }; |
| 323 | }; | 342 | }; |
| 324 | 343 | ||
| 325 | ethernet@60000000 { | 344 | ethernet: ethernet@60000000 { |
| 326 | compatible = "cortina,gemini-ethernet"; | 345 | compatible = "cortina,gemini-ethernet"; |
| 327 | reg = <0x60000000 0x4000>, /* Global registers, queue */ | 346 | reg = <0x60000000 0x4000>, /* Global registers, queue */ |
| 328 | <0x60004000 0x2000>, /* V-bit */ | 347 | <0x60004000 0x2000>, /* V-bit */ |
| @@ -365,7 +384,7 @@ · 36 unmodified lines | |||
| 365 | clocks = <&syscon GEMINI_CLK_GATE_SECURITY>; | 384 | clocks = <&syscon GEMINI_CLK_GATE_SECURITY>; |
| 366 | }; | 385 | }; |
| 367 | 386 | ||
| 368 | ide@63000000 { | 387 | ide0: ide@63000000 { |
| 369 | compatible = "cortina,gemini-pata", "faraday,ftide010"; | 388 | compatible = "cortina,gemini-pata", "faraday,ftide010"; |
| 370 | reg = <0x63000000 0x1000>; | 389 | reg = <0x63000000 0x1000>; |
| 371 | interrupts = <4 IRQ_TYPE_EDGE_RISING>; | 390 | interrupts = <4 IRQ_TYPE_EDGE_RISING>; |
| @@ -378,7 +397,7 @@ · 6 unmodified lines | |||
| 378 | #size-cells = <0>; | 397 | #size-cells = <0>; |
| 379 | }; | 398 | }; |
| 380 | 399 | ||
| 381 | ide@63400000 { | 400 | ide1: ide@63400000 { |
| 382 | compatible = "cortina,gemini-pata", "faraday,ftide010"; | 401 | compatible = "cortina,gemini-pata", "faraday,ftide010"; |
| 383 | reg = <0x63400000 0x1000>; | 402 | reg = <0x63400000 0x1000>; |
| 384 | interrupts = <5 IRQ_TYPE_EDGE_RISING>; | 403 | interrupts = <5 IRQ_TYPE_EDGE_RISING>; |
| @@ -421,7 +440,7 @@ · 36 unmodified lines | |||
| 421 | status = "disabled"; | 440 | status = "disabled"; |
| 422 | }; | 441 | }; |
| 423 | 442 | ||
| 424 | usb@68000000 { | 443 | usb0: usb@68000000 { |
| 425 | compatible = "cortina,gemini-usb", "faraday,fotg210"; | 444 | compatible = "cortina,gemini-usb", "faraday,fotg210"; |
| 426 | reg = <0x68000000 0x1000>; | 445 | reg = <0x68000000 0x1000>; |
| 427 | interrupts = <10 IRQ_TYPE_LEVEL_HIGH>; | 446 | interrupts = <10 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -442,7 +461,7 @@ · 14 unmodified lines | |||
| 442 | status = "disabled"; | 461 | status = "disabled"; |
| 443 | }; | 462 | }; |
| 444 | 463 | ||
| 445 | usb@69000000 { | 464 | usb1: usb@69000000 { |
| 446 | compatible = "cortina,gemini-usb", "faraday,fotg210"; | 465 | compatible = "cortina,gemini-usb", "faraday,fotg210"; |
| 447 | reg = <0x69000000 0x1000>; | 466 | reg = <0x69000000 0x1000>; |
| 448 | interrupts = <11 IRQ_TYPE_LEVEL_HIGH>; | 467 | interrupts = <11 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -192,7 +192,7 @@ · 191 unmodified lines | |||
| 192 | }; | 192 | }; |
| 193 | 193 | ||
| 194 | &ecspi1 { | 194 | &ecspi1 { |
| 195 | cs-gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>; | 195 | cs-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>; |
| 196 | pinctrl-names = "default"; | 196 | pinctrl-names = "default"; |
| 197 | pinctrl-0 = <&pinctrl_ecspi1>; | 197 | pinctrl-0 = <&pinctrl_ecspi1>; |
| 198 | status = "okay"; | 198 | status = "okay"; |
| @@ -47,7 +47,6 @@ · 46 unmodified lines | |||
| 47 | mpl3115a2: pressure-sensor@60 { | 47 | mpl3115a2: pressure-sensor@60 { |
| 48 | compatible = "fsl,mpl3115"; | 48 | compatible = "fsl,mpl3115"; |
| 49 | reg = <0x60>; | 49 | reg = <0x60>; |
| 50 | vcc-supply = <®_3v3_acm>; | ||
| 51 | 50 | ||
| 52 | /* | 51 | /* |
| 53 | * The MPL3115 interrupts are connected to pin 22 and 23 | 52 | * The MPL3115 interrupts are connected to pin 22 and 23 |
| @@ -67,11 +67,9 @@ · 66 unmodified lines | |||
| 67 | ti,enable-gpios = <&gpio5 12 GPIO_ACTIVE_LOW>, | 67 | ti,enable-gpios = <&gpio5 12 GPIO_ACTIVE_LOW>, |
| 68 | <&gpio5 11 GPIO_ACTIVE_LOW>; | 68 | <&gpio5 11 GPIO_ACTIVE_LOW>; |
| 69 | vin-supply = <®_3v3>; | 69 | vin-supply = <®_3v3>; |
| 70 | vin-voltage-override = <3100000>; | ||
| 71 | autosuspend-delay = <30000>; | 70 | autosuspend-delay = <30000>; |
| 72 | irq-status-read-quirk; | 71 | irq-status-read-quirk; |
| 73 | en2-rf-quirk; | 72 | en2-rf-quirk; |
| 74 | t5t-rmb-extra-byte-quirk; | ||
| 75 | status = "okay"; | 73 | status = "okay"; |
| 76 | }; | 74 | }; |
| 77 | }; | 75 | }; |
| @@ -6,6 +6,7 @@ · 5 unmodified lines | |||
| 6 | #include "imx6dl.dtsi" | 6 | #include "imx6dl.dtsi" |
| 7 | #include "imx6qdl-skov-cpu.dtsi" | 7 | #include "imx6qdl-skov-cpu.dtsi" |
| 8 | #include "imx6qdl-skov-cpu-revc.dtsi" | 8 | #include "imx6qdl-skov-cpu-revc.dtsi" |
| 9 | #include "imx6qdl-skov-revc-lt2.dtsi" | ||
| 9 | 10 | ||
| 10 | / { | 11 | / { |
| 11 | model = "SKOV IMX6 CPU SoloCore"; | 12 | model = "SKOV IMX6 CPU SoloCore"; |
| @@ -296,14 +296,6 @@ · 295 unmodified lines | |||
| 296 | reg = <2>; | 296 | reg = <2>; |
| 297 | color = <LED_COLOR_ID_BLUE>; | 297 | color = <LED_COLOR_ID_BLUE>; |
| 298 | }; | 298 | }; |
| 299 | |||
| 300 | chan@3 { | ||
| 301 | chan-name = "W"; | ||
| 302 | led-cur = /bits/ 8 <0x0>; | ||
| 303 | max-cur = /bits/ 8 <0x0>; | ||
| 304 | reg = <3>; | ||
| 305 | color = <LED_COLOR_ID_WHITE>; | ||
| 306 | }; | ||
| 307 | }; | 299 | }; |
| 308 | 300 | ||
| 309 | eeprom@57 { | 301 | eeprom@57 { |
| @@ -6,6 +6,7 @@ · 5 unmodified lines | |||
| 6 | #include "imx6q.dtsi" | 6 | #include "imx6q.dtsi" |
| 7 | #include "imx6qdl-skov-cpu.dtsi" | 7 | #include "imx6qdl-skov-cpu.dtsi" |
| 8 | #include "imx6qdl-skov-cpu-revc.dtsi" | 8 | #include "imx6qdl-skov-cpu-revc.dtsi" |
| 9 | #include "imx6qdl-skov-revc-lt2.dtsi" | ||
| 9 | 10 | ||
| 10 | / { | 11 | / { |
| 11 | model = "SKOV IMX6 CPU QuadCore"; | 12 | model = "SKOV IMX6 CPU QuadCore"; |
| @@ -310,10 +310,10 @@ · 309 unmodified lines | |||
| 310 | st,mod-12b = <1>; | 310 | st,mod-12b = <1>; |
| 311 | /* internal ADC reference */ | 311 | /* internal ADC reference */ |
| 312 | st,ref-sel = <0>; | 312 | st,ref-sel = <0>; |
| 313 | /* ADC converstion time: 80 clocks */ | 313 | /* ADC conversion time: 80 clocks */ |
| 314 | st,sample-time = <4>; | 314 | st,sample-time = <4>; |
| 315 | 315 | ||
| 316 | stmpe_touchscreen { | 316 | stmpe_touchscreen: stmpe-touchscreen { |
| 317 | compatible = "st,stmpe-ts"; | 317 | compatible = "st,stmpe-ts"; |
| 318 | /* 8 sample average control */ | 318 | /* 8 sample average control */ |
| 319 | st,ave-ctrl = <3>; | 319 | st,ave-ctrl = <3>; |
| @@ -330,10 +330,11 @@ · 10 unmodified lines | |||
| 330 | st,touch-det-delay = <5>; | 330 | st,touch-det-delay = <5>; |
| 331 | }; | 331 | }; |
| 332 | 332 | ||
| 333 | stmpe_adc { | 333 | stmpe_adc: stmpe-adc { |
| 334 | compatible = "st,stmpe-adc"; | 334 | compatible = "st,stmpe-adc"; |
| 335 | /* forbid to use ADC channels 3-0 (touch) */ | 335 | /* forbid to use ADC channels 3-0 (touch) */ |
| 336 | st,norequest-mask = <0x0F>; | 336 | st,norequest-mask = <0x0F>; |
| 337 | #io-channel-cells = <1>; | ||
| 337 | }; | 338 | }; |
| 338 | }; | 339 | }; |
| 339 | }; | 340 | }; |
| @@ -145,8 +145,11 @@ · 144 unmodified lines | |||
| 145 | }; | 145 | }; |
| 146 | 146 | ||
| 147 | &i2c1 { | 147 | &i2c1 { |
| 148 | pinctrl-names = "default"; | 148 | pinctrl-names = "default", "gpio"; |
| 149 | pinctrl-0 = <&pinctrl_i2c1>; | 149 | pinctrl-0 = <&pinctrl_i2c1>; |
| 150 | pinctrl-1 = <&pinctrl_i2c1_gpio>; | ||
| 151 | scl-gpios = <&gpio3 21 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; | ||
| 152 | sda-gpios = <&gpio3 28 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; | ||
| 150 | clock-frequency = <400000>; | 153 | clock-frequency = <400000>; |
| 151 | status = "disabled"; | 154 | status = "disabled"; |
| 152 | 155 | ||
| @@ -185,8 +188,11 @@ · 32 unmodified lines | |||
| 185 | }; | 188 | }; |
| 186 | 189 | ||
| 187 | &i2c2 { | 190 | &i2c2 { |
| 188 | pinctrl-names = "default"; | 191 | pinctrl-names = "default", "gpio"; |
| 189 | pinctrl-0 = <&pinctrl_i2c2>; | 192 | pinctrl-0 = <&pinctrl_i2c2>; |
| 193 | pinctrl-1 = <&pinctrl_i2c2_gpio>; | ||
| 194 | scl-gpios = <&gpio4 12 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; | ||
| 195 | sda-gpios = <&gpio4 13 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; | ||
| 190 | clock-frequency = <100000>; | 196 | clock-frequency = <100000>; |
| 191 | status = "disabled"; | 197 | status = "disabled"; |
| 192 | }; | 198 | }; |
| @@ -256,6 +262,7 @@ · 63 unmodified lines | |||
| 256 | pinctrl-0 = <&pinctrl_usdhc1>; | 262 | pinctrl-0 = <&pinctrl_usdhc1>; |
| 257 | cd-gpios = <&gpio6 31 GPIO_ACTIVE_LOW>; | 263 | cd-gpios = <&gpio6 31 GPIO_ACTIVE_LOW>; |
| 258 | no-1-8-v; | 264 | no-1-8-v; |
| 265 | disable-wp; | ||
| 259 | status = "disabled"; | 266 | status = "disabled"; |
| 260 | }; | 267 | }; |
| 261 | 268 | ||
| @@ -299,6 +306,20 @@ · 37 unmodified lines | |||
| 299 | >; | 306 | >; |
| 300 | }; | 307 | }; |
| 301 | 308 | ||
| 309 | pinctrl_i2c1: i2c1grp { | ||
| 310 | fsl,pins = < | ||
| 311 | MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1 | ||
| 312 | MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1 | ||
| 313 | >; | ||
| 314 | }; | ||
| 315 | |||
| 316 | pinctrl_i2c1_gpio: i2c1gpiogrp { | ||
| 317 | fsl,pins = < | ||
| 318 | MX6QDL_PAD_EIM_D21__GPIO3_IO21 0x4001b8b1 | ||
| 319 | MX6QDL_PAD_EIM_D28__GPIO3_IO28 0x4001b8b1 | ||
| 320 | >; | ||
| 321 | }; | ||
| 322 | |||
| 302 | pinctrl_i2c2: i2c2grp { | 323 | pinctrl_i2c2: i2c2grp { |
| 303 | fsl,pins = < | 324 | fsl,pins = < |
| 304 | MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1 | 325 | MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1 |
| @@ -306,10 +327,10 @@ · 1 unmodified line | |||
| 306 | >; | 327 | >; |
| 307 | }; | 328 | }; |
| 308 | 329 | ||
| 309 | pinctrl_i2c1: i2c1grp { | 330 | pinctrl_i2c2_gpio: i2c2gpiogrp { |
| 310 | fsl,pins = < | 331 | fsl,pins = < |
| 311 | MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1 | 332 | MX6QDL_PAD_KEY_ROW3__GPIO4_IO13 0x4001b8b1 |
| 312 | MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1 | 333 | MX6QDL_PAD_KEY_COL3__GPIO4_IO12 0x4001b8b1 |
| 313 | >; | 334 | >; |
| 314 | }; | 335 | }; |
| 315 | 336 | ||
| @@ -78,8 +78,11 @@ · 77 unmodified lines | |||
| 78 | }; | 78 | }; |
| 79 | 79 | ||
| 80 | &i2c3 { | 80 | &i2c3 { |
| 81 | pinctrl-names = "default"; | 81 | pinctrl-names = "default", "gpio"; |
| 82 | pinctrl-0 = <&pinctrl_i2c3>; | 82 | pinctrl-0 = <&pinctrl_i2c3>; |
| 83 | pinctrl-1 = <&pinctrl_i2c3_gpio>; | ||
| 84 | scl-gpios = <&gpio1 5 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; | ||
| 85 | sda-gpios = <&gpio1 6 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; | ||
| 83 | clock-frequency = <400000>; | 86 | clock-frequency = <400000>; |
| 84 | status = "okay"; | 87 | status = "okay"; |
| 85 | 88 | ||
| @@ -259,6 +262,13 @@ · 173 unmodified lines | |||
| 259 | >; | 262 | >; |
| 260 | }; | 263 | }; |
| 261 | 264 | ||
| 265 | pinctrl_i2c3_gpio: i2c3gpiogrp { | ||
| 266 | fsl,pins = < | ||
| 267 | MX6QDL_PAD_GPIO_6__GPIO1_IO06 0x4001b8b1 | ||
| 268 | MX6QDL_PAD_GPIO_5__GPIO1_IO05 0x4001b8b1 | ||
| 269 | >; | ||
| 270 | }; | ||
| 271 | |||
| 262 | pinctrl_ecspi1: ecspi1grp { | 272 | pinctrl_ecspi1: ecspi1grp { |
| 263 | fsl,pins = < | 273 | fsl,pins = < |
| 264 | MX6QDL_PAD_EIM_D16__ECSPI1_SCLK 0x100b1 | 274 | MX6QDL_PAD_EIM_D16__ECSPI1_SCLK 0x100b1 |
| @@ -0,0 +1,99 @@ | |||
| 1 | // SPDX-License-Identifier: (GPL-2.0 OR MIT) | ||
| 2 | // | ||
| 3 | // Copyright (C) 2021 Pengutronix, Oleksij Rempel <kernel@pengutronix.de> | ||
| 4 | |||
| 5 | / { | ||
| 6 | backlight: backlight { | ||
| 7 | compatible = "pwm-backlight"; | ||
| 8 | pinctrl-names = "default"; | ||
| 9 | pinctrl-0 = <&pinctrl_backlight>; | ||
| 10 | enable-gpios = <&gpio6 23 GPIO_ACTIVE_LOW>; | ||
| 11 | pwms = <&pwm2 0 20000 0>; | ||
| 12 | brightness-levels = <0 255>; | ||
| 13 | num-interpolated-steps = <17>; | ||
| 14 | default-brightness-level = <8>; | ||
| 15 | power-supply = <®_24v0>; | ||
| 16 | }; | ||
| 17 | |||
| 18 | display { | ||
| 19 | #address-cells = <1>; | ||
| 20 | #size-cells = <0>; | ||
| 21 | |||
| 22 | compatible = "fsl,imx-parallel-display"; | ||
| 23 | pinctrl-names = "default"; | ||
| 24 | pinctrl-0 = <&pinctrl_ipu1>; | ||
| 25 | |||
| 26 | port@0 { | ||
| 27 | reg = <0>; | ||
| 28 | |||
| 29 | display0_in: endpoint { | ||
| 30 | remote-endpoint = <&ipu1_di0_disp0>; | ||
| 31 | }; | ||
| 32 | }; | ||
| 33 | |||
| 34 | port@1 { | ||
| 35 | reg = <1>; | ||
| 36 | |||
| 37 | display0_out: endpoint { | ||
| 38 | remote-endpoint = <&panel_in>; | ||
| 39 | }; | ||
| 40 | }; | ||
| 41 | }; | ||
| 42 | |||
| 43 | panel { | ||
| 44 | compatible = "logictechno,lttd800480070-l2rt"; | ||
| 45 | backlight = <&backlight>; | ||
| 46 | power-supply = <®_3v3>; | ||
| 47 | |||
| 48 | port { | ||
| 49 | panel_in: endpoint { | ||
| 50 | remote-endpoint = <&display0_out>; | ||
| 51 | }; | ||
| 52 | }; | ||
| 53 | }; | ||
| 54 | }; | ||
| 55 | |||
| 56 | &ipu1_di0_disp0 { | ||
| 57 | remote-endpoint = <&display0_in>; | ||
| 58 | }; | ||
| 59 | |||
| 60 | &iomuxc { | ||
| 61 | pinctrl_backlight: backlightgrp { | ||
| 62 | fsl,pins = < | ||
| 63 | MX6QDL_PAD_RGMII_TD3__GPIO6_IO23 0x58 | ||
| 64 | >; | ||
| 65 | }; | ||
| 66 | |||
| 67 | pinctrl_ipu1: ipu1grp { | ||
| 68 | fsl,pins = < | ||
| 69 | MX6QDL_PAD_DI0_DISP_CLK__IPU1_DI0_DISP_CLK 0x10 | ||
| 70 | MX6QDL_PAD_DI0_PIN15__IPU1_DI0_PIN15 0x10 | ||
| 71 | MX6QDL_PAD_DI0_PIN2__IPU1_DI0_PIN02 0x10 | ||
| 72 | MX6QDL_PAD_DI0_PIN3__IPU1_DI0_PIN03 0x10 | ||
| 73 | MX6QDL_PAD_DISP0_DAT0__IPU1_DISP0_DATA00 0x10 | ||
| 74 | MX6QDL_PAD_DISP0_DAT1__IPU1_DISP0_DATA01 0x10 | ||
| 75 | MX6QDL_PAD_DISP0_DAT2__IPU1_DISP0_DATA02 0x10 | ||
| 76 | MX6QDL_PAD_DISP0_DAT3__IPU1_DISP0_DATA03 0x10 | ||
| 77 | MX6QDL_PAD_DISP0_DAT4__IPU1_DISP0_DATA04 0x10 | ||
| 78 | MX6QDL_PAD_DISP0_DAT5__IPU1_DISP0_DATA05 0x10 | ||
| 79 | MX6QDL_PAD_DISP0_DAT6__IPU1_DISP0_DATA06 0x10 | ||
| 80 | MX6QDL_PAD_DISP0_DAT7__IPU1_DISP0_DATA07 0x10 | ||
| 81 | MX6QDL_PAD_DISP0_DAT8__IPU1_DISP0_DATA08 0x10 | ||
| 82 | MX6QDL_PAD_DISP0_DAT9__IPU1_DISP0_DATA09 0x10 | ||
| 83 | MX6QDL_PAD_DISP0_DAT10__IPU1_DISP0_DATA10 0x10 | ||
| 84 | MX6QDL_PAD_DISP0_DAT11__IPU1_DISP0_DATA11 0x10 | ||
| 85 | MX6QDL_PAD_DISP0_DAT12__IPU1_DISP0_DATA12 0x10 | ||
| 86 | MX6QDL_PAD_DISP0_DAT13__IPU1_DISP0_DATA13 0x10 | ||
| 87 | MX6QDL_PAD_DISP0_DAT14__IPU1_DISP0_DATA14 0x10 | ||
| 88 | MX6QDL_PAD_DISP0_DAT15__IPU1_DISP0_DATA15 0x10 | ||
| 89 | MX6QDL_PAD_DISP0_DAT16__IPU1_DISP0_DATA16 0x10 | ||
| 90 | MX6QDL_PAD_DISP0_DAT17__IPU1_DISP0_DATA17 0x10 | ||
| 91 | MX6QDL_PAD_DISP0_DAT18__IPU1_DISP0_DATA18 0x10 | ||
| 92 | MX6QDL_PAD_DISP0_DAT19__IPU1_DISP0_DATA19 0x10 | ||
| 93 | MX6QDL_PAD_DISP0_DAT20__IPU1_DISP0_DATA20 0x10 | ||
| 94 | MX6QDL_PAD_DISP0_DAT21__IPU1_DISP0_DATA21 0x10 | ||
| 95 | MX6QDL_PAD_DISP0_DAT22__IPU1_DISP0_DATA22 0x10 | ||
| 96 | MX6QDL_PAD_DISP0_DAT23__IPU1_DISP0_DATA23 0x10 | ||
| 97 | >; | ||
| 98 | }; | ||
| 99 | }; | ||
| @@ -20,7 +20,7 @@ · 19 unmodified lines | |||
| 20 | &ecspi1 { | 20 | &ecspi1 { |
| 21 | pinctrl-names = "default"; | 21 | pinctrl-names = "default"; |
| 22 | pinctrl-0 = <&pinctrl_ecspi1>; | 22 | pinctrl-0 = <&pinctrl_ecspi1>; |
| 23 | cs-gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>; | 23 | cs-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>; |
| 24 | status = "okay"; | 24 | status = "okay"; |
| 25 | 25 | ||
| 26 | m25p80: flash@0 { | 26 | m25p80: flash@0 { |
| @@ -264,7 +264,7 @@ · 263 unmodified lines | |||
| 264 | }; | 264 | }; |
| 265 | 265 | ||
| 266 | pcie: pcie@1ffc000 { | 266 | pcie: pcie@1ffc000 { |
| 267 | compatible = "fsl,imx6q-pcie", "snps,dw-pcie"; | 267 | compatible = "fsl,imx6q-pcie"; |
| 268 | reg = <0x01ffc000 0x04000>, | 268 | reg = <0x01ffc000 0x04000>, |
| 269 | <0x01f00000 0x80000>; | 269 | <0x01f00000 0x80000>; |
| 270 | reg-names = "dbi", "config"; | 270 | reg-names = "dbi", "config"; |
| @@ -272,10 +272,9 @@ · 1 unmodified line | |||
| 272 | #size-cells = <2>; | 272 | #size-cells = <2>; |
| 273 | device_type = "pci"; | 273 | device_type = "pci"; |
| 274 | bus-range = <0x00 0xff>; | 274 | bus-range = <0x00 0xff>; |
| 275 | ranges = <0x81000000 0 0 0x01f80000 0 0x00010000 /* downstream I/O */ | 275 | ranges = <0x81000000 0 0 0x01f80000 0 0x00010000>, /* downstream I/O */ |
| 276 | 0x82000000 0 0x01000000 0x01000000 0 0x00f00000>; /* non-prefetchable memory */ | 276 | <0x82000000 0 0x01000000 0x01000000 0 0x00f00000>; /* non-prefetchable memory */ |
| 277 | num-lanes = <1>; | 277 | num-lanes = <1>; |
| 278 | num-viewport = <4>; | ||
| 279 | interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>; | 278 | interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>; |
| 280 | interrupt-names = "msi"; | 279 | interrupt-names = "msi"; |
| 281 | #interrupt-cells = <1>; | 280 | #interrupt-cells = <1>; |
| @@ -123,7 +123,7 @@ · 122 unmodified lines | |||
| 123 | }; | 123 | }; |
| 124 | 124 | ||
| 125 | &ecspi2 { | 125 | &ecspi2 { |
| 126 | cs-gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>; | 126 | cs-gpios = <&gpio2 26 GPIO_ACTIVE_LOW>; |
| 127 | pinctrl-names = "default"; | 127 | pinctrl-names = "default"; |
| 128 | pinctrl-0 = <&pinctrl_ecspi2>; | 128 | pinctrl-0 = <&pinctrl_ecspi2>; |
| 129 | status = "okay"; | 129 | status = "okay"; |
| @@ -189,7 +189,7 @@ · 59 unmodified lines | |||
| 189 | }; | 189 | }; |
| 190 | 190 | ||
| 191 | &ecspi3 { | 191 | &ecspi3 { |
| 192 | cs-gpios = <&gpio4 24 GPIO_ACTIVE_HIGH>; | 192 | cs-gpios = <&gpio4 24 GPIO_ACTIVE_LOW>; |
| 193 | pinctrl-names = "default"; | 193 | pinctrl-names = "default"; |
| 194 | pinctrl-0 = <&pinctrl_ecspi3>; | 194 | pinctrl-0 = <&pinctrl_ecspi3>; |
| 195 | status = "okay"; | 195 | status = "okay"; |
| @@ -110,5 +110,5 @@ · 109 unmodified lines | |||
| 110 | }; | 110 | }; |
| 111 | 111 | ||
| 112 | &pcie { | 112 | &pcie { |
| 113 | compatible = "fsl,imx6qp-pcie", "snps,dw-pcie"; | 113 | compatible = "fsl,imx6qp-pcie"; |
| 114 | }; | 114 | }; |
| @@ -0,0 +1,349 @@ | |||
| 1 | // SPDX-License-Identifier: (GPL-2.0) | ||
| 2 | /* | ||
| 3 | * Device tree for the Tolino Vision 5 ebook reader | ||
| 4 | * | ||
| 5 | * Name on mainboard is: 37NB-E70K0M+6A3 | ||
| 6 | * Serials start with: E70K02 (a number also seen in | ||
| 7 | * vendor kernel sources) | ||
| 8 | * | ||
| 9 | * This mainboard seems to be equipped with different SoCs. | ||
| 10 | * In the Tolino Vision 5 ebook reader it is a i.MX6SL | ||
| 11 | * | ||
| 12 | * Copyright 2021 Andreas Kemnade | ||
| 13 | * based on works | ||
| 14 | * Copyright 2016 Freescale Semiconductor, Inc. | ||
| 15 | */ | ||
| 16 | |||
| 17 | /dts-v1/; | ||
| 18 | |||
| 19 | #include <dt-bindings/input/input.h> | ||
| 20 | #include <dt-bindings/gpio/gpio.h> | ||
| 21 | #include "imx6sl.dtsi" | ||
| 22 | #include "e70k02.dtsi" | ||
| 23 | |||
| 24 | / { | ||
| 25 | model = "Tolino Vision 5"; | ||
| 26 | compatible = "kobo,tolino-vision5", "fsl,imx6sl"; | ||
| 27 | }; | ||
| 28 | |||
| 29 | &gpio_keys { | ||
| 30 | pinctrl-names = "default"; | ||
| 31 | pinctrl-0 = <&pinctrl_gpio_keys>; | ||
| 32 | }; | ||
| 33 | |||
| 34 | &i2c1 { | ||
| 35 | pinctrl-names = "default","sleep"; | ||
| 36 | pinctrl-0 = <&pinctrl_i2c1>; | ||
| 37 | pinctrl-1 = <&pinctrl_i2c1_sleep>; | ||
| 38 | }; | ||
| 39 | |||
| 40 | &i2c2 { | ||
| 41 | pinctrl-names = "default","sleep"; | ||
| 42 | pinctrl-0 = <&pinctrl_i2c2>; | ||
| 43 | pinctrl-1 = <&pinctrl_i2c2_sleep>; | ||
| 44 | }; | ||
| 45 | |||
| 46 | &i2c3 { | ||
| 47 | pinctrl-names = "default"; | ||
| 48 | pinctrl-0 = <&pinctrl_i2c3>; | ||
| 49 | }; | ||
| 50 | |||
| 51 | &iomuxc { | ||
| 52 | pinctrl-names = "default"; | ||
| 53 | pinctrl-0 = <&pinctrl_hog>; | ||
| 54 | |||
| 55 | pinctrl_gpio_keys: gpio-keysgrp { | ||
| 56 | fsl,pins = < | ||
| 57 | MX6SL_PAD_FEC_CRS_DV__GPIO4_IO25 0x17059 /* PWR_SW */ | ||
| 58 | MX6SL_PAD_FEC_MDC__GPIO4_IO23 0x17059 /* HALL_EN */ | ||
| 59 | MX6SL_PAD_KEY_COL4__GPIO4_IO00 0x17059 /* PAGE_UP */ | ||
| 60 | MX6SL_PAD_KEY_COL5__GPIO4_IO02 0x17059 /* PAGE_DOWN */ | ||
| 61 | >; | ||
| 62 | }; | ||
| 63 | |||
| 64 | pinctrl_hog: hoggrp { | ||
| 65 | fsl,pins = < | ||
| 66 | MX6SL_PAD_LCD_DAT1__GPIO2_IO21 0x79 | ||
| 67 | MX6SL_PAD_LCD_DAT4__GPIO2_IO24 0x79 | ||
| 68 | MX6SL_PAD_LCD_DAT5__GPIO2_IO25 0x79 | ||
| 69 | MX6SL_PAD_LCD_DAT6__GPIO2_IO26 0x79 | ||
| 70 | MX6SL_PAD_LCD_DAT7__GPIO2_IO27 0x79 | ||
| 71 | MX6SL_PAD_LCD_DAT8__GPIO2_IO28 0x79 | ||
| 72 | MX6SL_PAD_LCD_DAT9__GPIO2_IO29 0x79 | ||
| 73 | MX6SL_PAD_LCD_DAT10__GPIO2_IO30 0x79 | ||
| 74 | MX6SL_PAD_LCD_DAT11__GPIO2_IO31 0x79 | ||
| 75 | MX6SL_PAD_LCD_DAT12__GPIO3_IO00 0x79 | ||
| 76 | MX6SL_PAD_LCD_DAT13__GPIO3_IO01 0x79 | ||
| 77 | MX6SL_PAD_LCD_DAT14__GPIO3_IO02 0x79 | ||
| 78 | MX6SL_PAD_LCD_DAT15__GPIO3_IO03 0x79 | ||
| 79 | MX6SL_PAD_LCD_DAT16__GPIO3_IO04 0x79 | ||
| 80 | MX6SL_PAD_LCD_DAT17__GPIO3_IO05 0x79 | ||
| 81 | MX6SL_PAD_LCD_DAT18__GPIO3_IO06 0x79 | ||
| 82 | MX6SL_PAD_LCD_DAT19__GPIO3_IO07 0x79 | ||
| 83 | MX6SL_PAD_LCD_DAT20__GPIO3_IO08 0x79 | ||
| 84 | MX6SL_PAD_LCD_DAT21__GPIO3_IO09 0x79 | ||
| 85 | MX6SL_PAD_LCD_DAT22__GPIO3_IO10 0x79 | ||
| 86 | MX6SL_PAD_LCD_DAT23__GPIO3_IO11 0x79 | ||
| 87 | MX6SL_PAD_LCD_CLK__GPIO2_IO15 0x79 | ||
| 88 | MX6SL_PAD_LCD_ENABLE__GPIO2_IO16 0x79 | ||
| 89 | MX6SL_PAD_LCD_HSYNC__GPIO2_IO17 0x79 | ||
| 90 | MX6SL_PAD_LCD_VSYNC__GPIO2_IO18 0x79 | ||
| 91 | MX6SL_PAD_LCD_RESET__GPIO2_IO19 0x79 | ||
| 92 | MX6SL_PAD_FEC_TX_CLK__GPIO4_IO21 0x79 | ||
| 93 | MX6SL_PAD_FEC_REF_CLK__GPIO4_IO26 0x79 | ||
| 94 | MX6SL_PAD_KEY_COL3__GPIO3_IO30 0x79 | ||
| 95 | MX6SL_PAD_KEY_ROW7__GPIO4_IO07 0x79 | ||
| 96 | MX6SL_PAD_ECSPI2_MOSI__GPIO4_IO13 0x79 | ||
| 97 | >; | ||
| 98 | }; | ||
| 99 | |||
| 100 | pinctrl_i2c1: i2c1grp { | ||
| 101 | fsl,pins = < | ||
| 102 | MX6SL_PAD_I2C1_SCL__I2C1_SCL 0x4001f8b1 | ||
| 103 | MX6SL_PAD_I2C1_SDA__I2C1_SDA 0x4001f8b1 | ||
| 104 | >; | ||
| 105 | }; | ||
| 106 | |||
| 107 | pinctrl_i2c1_sleep: i2c1grp-sleep { | ||
| 108 | fsl,pins = < | ||
| 109 | MX6SL_PAD_I2C1_SCL__I2C1_SCL 0x400108b1 | ||
| 110 | MX6SL_PAD_I2C1_SDA__I2C1_SDA 0x400108b1 | ||
| 111 | >; | ||
| 112 | }; | ||
| 113 | |||
| 114 | pinctrl_i2c2: i2c2grp { | ||
| 115 | fsl,pins = < | ||
| 116 | MX6SL_PAD_I2C2_SCL__I2C2_SCL 0x4001f8b1 | ||
| 117 | MX6SL_PAD_I2C2_SDA__I2C2_SDA 0x4001f8b1 | ||
| 118 | >; | ||
| 119 | }; | ||
| 120 | |||
| 121 | pinctrl_i2c2_sleep: i2c2grp-sleep { | ||
| 122 | fsl,pins = < | ||
| 123 | MX6SL_PAD_I2C2_SCL__I2C2_SCL 0x400108b1 | ||
| 124 | MX6SL_PAD_I2C2_SDA__I2C2_SDA 0x400108b1 | ||
| 125 | >; | ||
| 126 | }; | ||
| 127 | |||
| 128 | pinctrl_i2c3: i2c3grp { | ||
| 129 | fsl,pins = < | ||
| 130 | MX6SL_PAD_REF_CLK_24M__I2C3_SCL 0x4001f8b1 | ||
| 131 | MX6SL_PAD_REF_CLK_32K__I2C3_SDA 0x4001f8b1 | ||
| 132 | >; | ||
| 133 | }; | ||
| 134 | |||
| 135 | pinctrl_led: ledgrp { | ||
| 136 | fsl,pins = < | ||
| 137 | MX6SL_PAD_FEC_RXD0__GPIO4_IO17 0x10059 | ||
| 138 | >; | ||
| 139 | }; | ||
| 140 | |||
| 141 | pinctrl_lm3630a_bl_gpio: lm3630a-bl-gpiogrp { | ||
| 142 | fsl,pins = < | ||
| 143 | MX6SL_PAD_EPDC_PWRCTRL3__GPIO2_IO10 0x10059 /* HWEN */ | ||
| 144 | >; | ||
| 145 | }; | ||
| 146 | |||
| 147 | pinctrl_ricoh_gpio: ricoh-gpiogrp { | ||
| 148 | fsl,pins = < | ||
| 149 | MX6SL_PAD_FEC_MDIO__GPIO4_IO20 0x1b8b1 /* ricoh619 chg */ | ||
| 150 | MX6SL_PAD_FEC_RX_ER__GPIO4_IO19 0x1b8b1 /* ricoh619 irq */ | ||
| 151 | MX6SL_PAD_KEY_COL2__GPIO3_IO28 0x1b8b1 /* ricoh619 bat_low_int */ | ||
| 152 | >; | ||
| 153 | }; | ||
| 154 | |||
| 155 | pinctrl_uart1: uart1grp { | ||
| 156 | fsl,pins = < | ||
| 157 | MX6SL_PAD_UART1_TXD__UART1_TX_DATA 0x1b0b1 | ||
| 158 | MX6SL_PAD_UART1_RXD__UART1_RX_DATA 0x1b0b1 | ||
| 159 | >; | ||
| 160 | }; | ||
| 161 | |||
| 162 | pinctrl_usbotg1: usbotg1grp { | ||
| 163 | fsl,pins = < | ||
| 164 | MX6SL_PAD_EPDC_PWRCOM__USB_OTG1_ID 0x17059 | ||
| 165 | >; | ||
| 166 | }; | ||
| 167 | |||
| 168 | pinctrl_usdhc1: usdhc1grp { | ||
| 169 | fsl,pins = < | ||
| 170 | MX6SL_PAD_SD1_CMD__SD1_CMD 0x17059 | ||
| 171 | MX6SL_PAD_SD1_CLK__SD1_CLK 0x17059 | ||
| 172 | MX6SL_PAD_SD1_DAT0__SD1_DATA0 0x17059 | ||
| 173 | MX6SL_PAD_SD1_DAT1__SD1_DATA1 0x17059 | ||
| 174 | MX6SL_PAD_SD1_DAT2__SD1_DATA2 0x17059 | ||
| 175 | MX6SL_PAD_SD1_DAT3__SD1_DATA3 0x17059 | ||
| 176 | MX6SL_PAD_SD1_DAT4__SD1_DATA4 0x17059 | ||
| 177 | MX6SL_PAD_SD1_DAT5__SD1_DATA5 0x17059 | ||
| 178 | MX6SL_PAD_SD1_DAT6__SD1_DATA6 0x17059 | ||
| 179 | MX6SL_PAD_SD1_DAT7__SD1_DATA7 0x17059 | ||
| 180 | >; | ||
| 181 | }; | ||
| 182 | |||
| 183 | pinctrl_usdhc1_100mhz: usdhc1-100mhzgrp { | ||
| 184 | fsl,pins = < | ||
| 185 | MX6SL_PAD_SD1_CMD__SD1_CMD 0x170b9 | ||
| 186 | MX6SL_PAD_SD1_CLK__SD1_CLK 0x170b9 | ||
| 187 | MX6SL_PAD_SD1_DAT0__SD1_DATA0 0x170b9 | ||
| 188 | MX6SL_PAD_SD1_DAT1__SD1_DATA1 0x170b9 | ||
| 189 | MX6SL_PAD_SD1_DAT2__SD1_DATA2 0x170b9 | ||
| 190 | MX6SL_PAD_SD1_DAT3__SD1_DATA3 0x170b9 | ||
| 191 | MX6SL_PAD_SD1_DAT4__SD1_DATA4 0x170b9 | ||
| 192 | MX6SL_PAD_SD1_DAT5__SD1_DATA5 0x170b9 | ||
| 193 | MX6SL_PAD_SD1_DAT6__SD1_DATA6 0x170b9 | ||
| 194 | MX6SL_PAD_SD1_DAT7__SD1_DATA7 0x170b9 | ||
| 195 | >; | ||
| 196 | }; | ||
| 197 | |||
| 198 | pinctrl_usdhc1_200mhz: usdhc1-200mhzgrp { | ||
| 199 | fsl,pins = < | ||
| 200 | MX6SL_PAD_SD1_CMD__SD1_CMD 0x170f9 | ||
| 201 | MX6SL_PAD_SD1_CLK__SD1_CLK 0x170f9 | ||
| 202 | MX6SL_PAD_SD1_DAT0__SD1_DATA0 0x170f9 | ||
| 203 | MX6SL_PAD_SD1_DAT1__SD1_DATA1 0x170f9 | ||
| 204 | MX6SL_PAD_SD1_DAT2__SD1_DATA2 0x170f9 | ||
| 205 | MX6SL_PAD_SD1_DAT3__SD1_DATA3 0x170f9 | ||
| 206 | MX6SL_PAD_SD1_DAT4__SD1_DATA4 0x170b9 | ||
| 207 | MX6SL_PAD_SD1_DAT5__SD1_DATA5 0x170b9 | ||
| 208 | MX6SL_PAD_SD1_DAT6__SD1_DATA6 0x170b9 | ||
| 209 | MX6SL_PAD_SD1_DAT7__SD1_DATA7 0x170b9 | ||
| 210 | >; | ||
| 211 | }; | ||
| 212 | |||
| 213 | pinctrl_usdhc1_sleep: usdhc1-sleepgrp { | ||
| 214 | fsl,pins = < | ||
| 215 | MX6SL_PAD_SD1_CMD__SD1_CMD 0x10059 | ||
| 216 | MX6SL_PAD_SD1_CLK__SD1_CLK 0x10059 | ||
| 217 | MX6SL_PAD_SD1_DAT0__SD1_DATA0 0x10059 | ||
| 218 | MX6SL_PAD_SD1_DAT1__SD1_DATA1 0x10059 | ||
| 219 | MX6SL_PAD_SD1_DAT2__SD1_DATA2 0x10059 | ||
| 220 | MX6SL_PAD_SD1_DAT3__SD1_DATA3 0x10059 | ||
| 221 | MX6SL_PAD_SD1_DAT4__SD1_DATA4 0x10059 | ||
| 222 | MX6SL_PAD_SD1_DAT5__SD1_DATA5 0x10059 | ||
| 223 | MX6SL_PAD_SD1_DAT6__SD1_DATA6 0x10059 | ||
| 224 | MX6SL_PAD_SD1_DAT7__SD1_DATA7 0x10059 | ||
| 225 | >; | ||
| 226 | }; | ||
| 227 | |||
| 228 | pinctrl_usdhc3: usdhc3grp { | ||
| 229 | fsl,pins = < | ||
| 230 | MX6SL_PAD_SD3_CMD__SD3_CMD 0x11059 | ||
| 231 | MX6SL_PAD_SD3_CLK__SD3_CLK 0x11059 | ||
| 232 | MX6SL_PAD_SD3_DAT0__SD3_DATA0 0x11059 | ||
| 233 | MX6SL_PAD_SD3_DAT1__SD3_DATA1 0x11059 | ||
| 234 | MX6SL_PAD_SD3_DAT2__SD3_DATA2 0x11059 | ||
| 235 | MX6SL_PAD_SD3_DAT3__SD3_DATA3 0x11059 | ||
| 236 | >; | ||
| 237 | }; | ||
| 238 | |||
| 239 | pinctrl_usdhc3_100mhz: usdhc3-100mhzgrp { | ||
| 240 | fsl,pins = < | ||
| 241 | MX6SL_PAD_SD3_CMD__SD3_CMD 0x170b9 | ||
| 242 | MX6SL_PAD_SD3_CLK__SD3_CLK 0x170b9 | ||
| 243 | MX6SL_PAD_SD3_DAT0__SD3_DATA0 0x170b9 | ||
| 244 | MX6SL_PAD_SD3_DAT1__SD3_DATA1 0x170b9 | ||
| 245 | MX6SL_PAD_SD3_DAT2__SD3_DATA2 0x170b9 | ||
| 246 | MX6SL_PAD_SD3_DAT3__SD3_DATA3 0x170b9 | ||
| 247 | >; | ||
| 248 | }; | ||
| 249 | |||
| 250 | pinctrl_usdhc3_200mhz: usdhc3-200mhzgrp { | ||
| 251 | fsl,pins = < | ||
| 252 | MX6SL_PAD_SD3_CMD__SD3_CMD 0x170f9 | ||
| 253 | MX6SL_PAD_SD3_CLK__SD3_CLK 0x170f9 | ||
| 254 | MX6SL_PAD_SD3_DAT0__SD3_DATA0 0x170f9 | ||
| 255 | MX6SL_PAD_SD3_DAT1__SD3_DATA1 0x170f9 | ||
| 256 | MX6SL_PAD_SD3_DAT2__SD3_DATA2 0x170f9 | ||
| 257 | MX6SL_PAD_SD3_DAT3__SD3_DATA3 0x170f9 | ||
| 258 | >; | ||
| 259 | }; | ||
| 260 | |||
| 261 | pinctrl_usdhc3_sleep: usdhc3-sleepgrp { | ||
| 262 | fsl,pins = < | ||
| 263 | MX6SL_PAD_SD3_CMD__GPIO5_IO21 0x100c1 | ||
| 264 | MX6SL_PAD_SD3_CLK__GPIO5_IO18 0x100c1 | ||
| 265 | MX6SL_PAD_SD3_DAT0__GPIO5_IO19 0x100c1 | ||
| 266 | MX6SL_PAD_SD3_DAT1__GPIO5_IO20 0x100c1 | ||
| 267 | MX6SL_PAD_SD3_DAT2__GPIO5_IO16 0x100c1 | ||
| 268 | MX6SL_PAD_SD3_DAT3__GPIO5_IO17 0x100c1 | ||
| 269 | >; | ||
| 270 | }; | ||
| 271 | |||
| 272 | pinctrl_wifi_power: wifi-powergrp { | ||
| 273 | fsl,pins = < | ||
| 274 | MX6SL_PAD_SD2_DAT6__GPIO4_IO29 0x10059 /* WIFI_3V3_ON */ | ||
| 275 | >; | ||
| 276 | }; | ||
| 277 | |||
| 278 | pinctrl_wifi_reset: wifi-resetgrp { | ||
| 279 | fsl,pins = < | ||
| 280 | MX6SL_PAD_SD2_DAT7__GPIO5_IO00 0x10059 /* WIFI_RST */ | ||
| 281 | >; | ||
| 282 | }; | ||
| 283 | }; | ||
| 284 | |||
| 285 | &leds { | ||
| 286 | pinctrl-names = "default"; | ||
| 287 | pinctrl-0 = <&pinctrl_led>; | ||
| 288 | }; | ||
| 289 | |||
| 290 | &lm3630a { | ||
| 291 | pinctrl-names = "default"; | ||
| 292 | pinctrl-0 = <&pinctrl_lm3630a_bl_gpio>; | ||
| 293 | }; | ||
| 294 | |||
| 295 | ®_wifi { | ||
| 296 | pinctrl-names = "default"; | ||
| 297 | pinctrl-0 = <&pinctrl_wifi_power>; | ||
| 298 | }; | ||
| 299 | |||
| 300 | ®_vdd1p1 { | ||
| 301 | vin-supply = <&dcdc2_reg>; | ||
| 302 | }; | ||
| 303 | |||
| 304 | ®_vdd2p5 { | ||
| 305 | vin-supply = <&dcdc2_reg>; | ||
| 306 | }; | ||
| 307 | |||
| 308 | ®_arm { | ||
| 309 | vin-supply = <&dcdc3_reg>; | ||
| 310 | }; | ||
| 311 | |||
| 312 | ®_soc { | ||
| 313 | vin-supply = <&dcdc1_reg>; | ||
| 314 | }; | ||
| 315 | |||
| 316 | ®_pu { | ||
| 317 | vin-supply = <&dcdc1_reg>; | ||
| 318 | }; | ||
| 319 | |||
| 320 | &ricoh619 { | ||
| 321 | pinctrl-names = "default"; | ||
| 322 | pinctrl-0 = <&pinctrl_ricoh_gpio>; | ||
| 323 | }; | ||
| 324 | |||
| 325 | &uart1 { | ||
| 326 | pinctrl-names = "default"; | ||
| 327 | pinctrl-0 = <&pinctrl_uart1>; | ||
| 328 | }; | ||
| 329 | |||
| 330 | &usdhc1 { | ||
| 331 | pinctrl-names = "default", "state_100mhz", "state_200mhz","sleep"; | ||
| 332 | pinctrl-0 = <&pinctrl_usdhc1>; | ||
| 333 | pinctrl-1 = <&pinctrl_usdhc1_100mhz>; | ||
| 334 | pinctrl-2 = <&pinctrl_usdhc1_200mhz>; | ||
| 335 | pinctrl-3 = <&pinctrl_usdhc1_sleep>; | ||
| 336 | }; | ||
| 337 | |||
| 338 | &usdhc3 { | ||
| 339 | pinctrl-names = "default", "state_100mhz", "state_200mhz","sleep"; | ||
| 340 | pinctrl-0 = <&pinctrl_usdhc3>; | ||
| 341 | pinctrl-1 = <&pinctrl_usdhc3_100mhz>; | ||
| 342 | pinctrl-2 = <&pinctrl_usdhc3_200mhz>; | ||
| 343 | pinctrl-3 = <&pinctrl_usdhc3_sleep>; | ||
| 344 | }; | ||
| 345 | |||
| 346 | &wifi_pwrseq { | ||
| 347 | pinctrl-names = "default"; | ||
| 348 | pinctrl-0 = <&pinctrl_wifi_reset>; | ||
| 349 | }; | ||
| @@ -55,18 +55,16 @@ · 54 unmodified lines | |||
| 55 | device_type = "cpu"; | 55 | device_type = "cpu"; |
| 56 | reg = <0x0>; | 56 | reg = <0x0>; |
| 57 | next-level-cache = <&L2>; | 57 | next-level-cache = <&L2>; |
| 58 | operating-points = < | 58 | operating-points = |
| 59 | /* kHz uV */ | 59 | /* kHz uV */ |
| 60 | 996000 1275000 | 60 | <996000 1275000>, |
| 61 | 792000 1175000 | 61 | <792000 1175000>, |
| 62 | 396000 975000 | 62 | <396000 975000>; |
| 63 | >; | 63 | fsl,soc-operating-points = |
| 64 | fsl,soc-operating-points = < | ||
| 65 | /* ARM kHz SOC-PU uV */ | 64 | /* ARM kHz SOC-PU uV */ |
| 66 | 996000 1225000 | 65 | <996000 1225000>, |
| 67 | 792000 1175000 | 66 | <792000 1175000>, |
| 68 | 396000 1175000 | 67 | <396000 1175000>; |
| 69 | >; | ||
| 70 | clock-latency = <61036>; /* two CLK32 periods */ | 68 | clock-latency = <61036>; /* two CLK32 periods */ |
| 71 | #cooling-cells = <2>; | 69 | #cooling-cells = <2>; |
| 72 | clocks = <&clks IMX6SL_CLK_ARM>, <&clks IMX6SL_CLK_PLL2_PFD2>, | 70 | clocks = <&clks IMX6SL_CLK_ARM>, <&clks IMX6SL_CLK_PLL2_PFD2>, |
| @@ -0,0 +1,339 @@ | |||
| 1 | // SPDX-License-Identifier: (GPL-2.0) | ||
| 2 | /* | ||
| 3 | * Device tree for the Kobo Libra H2O ebook reader | ||
| 4 | * | ||
| 5 | * Name on mainboard is: 37NB-E70K0M+6A3 | ||
| 6 | * Serials start with: E70K02 (a number also seen in | ||
| 7 | * vendor kernel sources) | ||
| 8 | * | ||
| 9 | * This mainboard seems to be equipped with different SoCs. | ||
| 10 | * In the Kobo Libra H2O ebook reader it is an i.MX6SLL | ||
| 11 | * | ||
| 12 | * Copyright 2021 Andreas Kemnade | ||
| 13 | * based on works | ||
| 14 | * Copyright 2016 Freescale Semiconductor, Inc. | ||
| 15 | */ | ||
| 16 | |||
| 17 | /dts-v1/; | ||
| 18 | |||
| 19 | #include <dt-bindings/input/input.h> | ||
| 20 | #include <dt-bindings/gpio/gpio.h> | ||
| 21 | #include "imx6sll.dtsi" | ||
| 22 | #include "e70k02.dtsi" | ||
| 23 | |||
| 24 | / { | ||
| 25 | model = "Kobo Libra H2O"; | ||
| 26 | compatible = "kobo,librah2o", "fsl,imx6sll"; | ||
| 27 | }; | ||
| 28 | |||
| 29 | &clks { | ||
| 30 | assigned-clocks = <&clks IMX6SLL_CLK_PLL4_AUDIO_DIV>; | ||
| 31 | assigned-clock-rates = <393216000>; | ||
| 32 | }; | ||
| 33 | |||
| 34 | &cpu0 { | ||
| 35 | arm-supply = <&dcdc3_reg>; | ||
| 36 | soc-supply = <&dcdc1_reg>; | ||
| 37 | }; | ||
| 38 | |||
| 39 | &gpio_keys { | ||
| 40 | pinctrl-names = "default"; | ||
| 41 | pinctrl-0 = <&pinctrl_gpio_keys>; | ||
| 42 | }; | ||
| 43 | |||
| 44 | &i2c1 { | ||
| 45 | pinctrl-names = "default","sleep"; | ||
| 46 | pinctrl-0 = <&pinctrl_i2c1>; | ||
| 47 | pinctrl-1 = <&pinctrl_i2c1_sleep>; | ||
| 48 | }; | ||
| 49 | |||
| 50 | &i2c2 { | ||
| 51 | pinctrl-names = "default","sleep"; | ||
| 52 | pinctrl-0 = <&pinctrl_i2c2>; | ||
| 53 | pinctrl-1 = <&pinctrl_i2c2_sleep>; | ||
| 54 | }; | ||
| 55 | |||
| 56 | &i2c3 { | ||
| 57 | pinctrl-names = "default"; | ||
| 58 | pinctrl-0 = <&pinctrl_i2c3>; | ||
| 59 | }; | ||
| 60 | |||
| 61 | &iomuxc { | ||
| 62 | pinctrl-names = "default"; | ||
| 63 | pinctrl-0 = <&pinctrl_hog>; | ||
| 64 | |||
| 65 | pinctrl_gpio_keys: gpio-keysgrp { | ||
| 66 | fsl,pins = < | ||
| 67 | MX6SLL_PAD_GPIO4_IO25__GPIO4_IO25 0x17059 /* PWR_SW */ | ||
| 68 | MX6SLL_PAD_GPIO4_IO23__GPIO4_IO23 0x17059 /* HALL_EN */ | ||
| 69 | MX6SLL_PAD_KEY_COL4__GPIO4_IO00 0x17059 /* PAGE_UP */ | ||
| 70 | MX6SLL_PAD_KEY_COL5__GPIO4_IO02 0x17059 /* PAGE_DOWN */ | ||
| 71 | >; | ||
| 72 | }; | ||
| 73 | |||
| 74 | pinctrl_hog: hoggrp { | ||
| 75 | fsl,pins = < | ||
| 76 | MX6SLL_PAD_LCD_DATA01__GPIO2_IO21 0x79 | ||
| 77 | MX6SLL_PAD_LCD_DATA04__GPIO2_IO24 0x79 | ||
| 78 | MX6SLL_PAD_LCD_DATA05__GPIO2_IO25 0x79 | ||
| 79 | MX6SLL_PAD_LCD_DATA06__GPIO2_IO26 0x79 | ||
| 80 | MX6SLL_PAD_LCD_DATA07__GPIO2_IO27 0x79 | ||
| 81 | MX6SLL_PAD_LCD_DATA08__GPIO2_IO28 0x79 | ||
| 82 | MX6SLL_PAD_LCD_DATA09__GPIO2_IO29 0x79 | ||
| 83 | MX6SLL_PAD_LCD_DATA10__GPIO2_IO30 0x79 | ||
| 84 | MX6SLL_PAD_LCD_DATA11__GPIO2_IO31 0x79 | ||
| 85 | MX6SLL_PAD_LCD_DATA12__GPIO3_IO00 0x79 | ||
| 86 | MX6SLL_PAD_LCD_DATA13__GPIO3_IO01 0x79 | ||
| 87 | MX6SLL_PAD_LCD_DATA14__GPIO3_IO02 0x79 | ||
| 88 | MX6SLL_PAD_LCD_DATA15__GPIO3_IO03 0x79 | ||
| 89 | MX6SLL_PAD_LCD_DATA16__GPIO3_IO04 0x79 | ||
| 90 | MX6SLL_PAD_LCD_DATA17__GPIO3_IO05 0x79 | ||
| 91 | MX6SLL_PAD_LCD_DATA18__GPIO3_IO06 0x79 | ||
| 92 | MX6SLL_PAD_LCD_DATA19__GPIO3_IO07 0x79 | ||
| 93 | MX6SLL_PAD_LCD_DATA20__GPIO3_IO08 0x79 | ||
| 94 | MX6SLL_PAD_LCD_DATA21__GPIO3_IO09 0x79 | ||
| 95 | MX6SLL_PAD_LCD_DATA22__GPIO3_IO10 0x79 | ||
| 96 | MX6SLL_PAD_LCD_DATA23__GPIO3_IO11 0x79 | ||
| 97 | MX6SLL_PAD_LCD_CLK__GPIO2_IO15 0x79 | ||
| 98 | MX6SLL_PAD_LCD_ENABLE__GPIO2_IO16 0x79 | ||
| 99 | MX6SLL_PAD_LCD_HSYNC__GPIO2_IO17 0x79 | ||
| 100 | MX6SLL_PAD_LCD_VSYNC__GPIO2_IO18 0x79 | ||
| 101 | MX6SLL_PAD_LCD_RESET__GPIO2_IO19 0x79 | ||
| 102 | MX6SLL_PAD_GPIO4_IO21__GPIO4_IO21 0x79 | ||
| 103 | MX6SLL_PAD_GPIO4_IO26__GPIO4_IO26 0x79 | ||
| 104 | MX6SLL_PAD_KEY_COL3__GPIO3_IO30 0x79 | ||
| 105 | MX6SLL_PAD_KEY_ROW7__GPIO4_IO07 0x79 | ||
| 106 | MX6SLL_PAD_ECSPI2_MOSI__GPIO4_IO13 0x79 | ||
| 107 | >; | ||
| 108 | }; | ||
| 109 | |||
| 110 | pinctrl_i2c1: i2c1grp { | ||
| 111 | fsl,pins = < | ||
| 112 | MX6SLL_PAD_I2C1_SCL__I2C1_SCL 0x4001f8b1 | ||
| 113 | MX6SLL_PAD_I2C1_SDA__I2C1_SDA 0x4001f8b1 | ||
| 114 | >; | ||
| 115 | }; | ||
| 116 | |||
| 117 | pinctrl_i2c1_sleep: i2c1grp-sleep { | ||
| 118 | fsl,pins = < | ||
| 119 | MX6SLL_PAD_I2C1_SCL__I2C1_SCL 0x400108b1 | ||
| 120 | MX6SLL_PAD_I2C1_SDA__I2C1_SDA 0x400108b1 | ||
| 121 | >; | ||
| 122 | }; | ||
| 123 | |||
| 124 | pinctrl_i2c2: i2c2grp { | ||
| 125 | fsl,pins = < | ||
| 126 | MX6SLL_PAD_I2C2_SCL__I2C2_SCL 0x4001f8b1 | ||
| 127 | MX6SLL_PAD_I2C2_SDA__I2C2_SDA 0x4001f8b1 | ||
| 128 | >; | ||
| 129 | }; | ||
| 130 | |||
| 131 | pinctrl_i2c2_sleep: i2c2grp-sleep { | ||
| 132 | fsl,pins = < | ||
| 133 | MX6SLL_PAD_I2C2_SCL__I2C2_SCL 0x400108b1 | ||
| 134 | MX6SLL_PAD_I2C2_SDA__I2C2_SDA 0x400108b1 | ||
| 135 | >; | ||
| 136 | }; | ||
| 137 | |||
| 138 | pinctrl_i2c3: i2c3grp { | ||
| 139 | fsl,pins = < | ||
| 140 | MX6SLL_PAD_REF_CLK_24M__I2C3_SCL 0x4001f8b1 | ||
| 141 | MX6SLL_PAD_REF_CLK_32K__I2C3_SDA 0x4001f8b1 | ||
| 142 | >; | ||
| 143 | }; | ||
| 144 | |||
| 145 | pinctrl_led: ledgrp { | ||
| 146 | fsl,pins = < | ||
| 147 | MX6SLL_PAD_GPIO4_IO17__GPIO4_IO17 0x10059 | ||
| 148 | >; | ||
| 149 | }; | ||
| 150 | |||
| 151 | pinctrl_lm3630a_bl_gpio: lm3630a-bl-gpiogrp { | ||
| 152 | fsl,pins = < | ||
| 153 | MX6SLL_PAD_EPDC_PWR_CTRL3__GPIO2_IO10 0x10059 /* HWEN */ | ||
| 154 | >; | ||
| 155 | }; | ||
| 156 | |||
| 157 | pinctrl_ricoh_gpio: ricoh-gpiogrp { | ||
| 158 | fsl,pins = < | ||
| 159 | MX6SLL_PAD_GPIO4_IO20__GPIO4_IO20 0x1b8b1 /* ricoh619 chg */ | ||
| 160 | MX6SLL_PAD_GPIO4_IO19__GPIO4_IO19 0x1b8b1 /* ricoh619 irq */ | ||
| 161 | MX6SLL_PAD_KEY_COL2__GPIO3_IO28 0x1b8b1 /* ricoh619 bat_low_int */ | ||
| 162 | >; | ||
| 163 | }; | ||
| 164 | |||
| 165 | pinctrl_uart1: uart1grp { | ||
| 166 | fsl,pins = < | ||
| 167 | MX6SLL_PAD_UART1_TXD__UART1_DCE_TX 0x1b0b1 | ||
| 168 | MX6SLL_PAD_UART1_RXD__UART1_DCE_RX 0x1b0b1 | ||
| 169 | >; | ||
| 170 | }; | ||
| 171 | |||
| 172 | pinctrl_usbotg1: usbotg1grp { | ||
| 173 | fsl,pins = < | ||
| 174 | MX6SLL_PAD_EPDC_PWR_COM__USB_OTG1_ID 0x17059 | ||
| 175 | >; | ||
| 176 | }; | ||
| 177 | |||
| 178 | pinctrl_usdhc1: usdhc1grp { | ||
| 179 | fsl,pins = < | ||
| 180 | MX6SLL_PAD_SD1_CMD__SD1_CMD 0x17059 | ||
| 181 | MX6SLL_PAD_SD1_CLK__SD1_CLK 0x17059 | ||
| 182 | MX6SLL_PAD_SD1_DATA0__SD1_DATA0 0x17059 | ||
| 183 | MX6SLL_PAD_SD1_DATA1__SD1_DATA1 0x17059 | ||
| 184 | MX6SLL_PAD_SD1_DATA2__SD1_DATA2 0x17059 | ||
| 185 | MX6SLL_PAD_SD1_DATA3__SD1_DATA3 0x17059 | ||
| 186 | MX6SLL_PAD_SD1_DATA4__SD1_DATA4 0x17059 | ||
| 187 | MX6SLL_PAD_SD1_DATA5__SD1_DATA5 0x17059 | ||
| 188 | MX6SLL_PAD_SD1_DATA6__SD1_DATA6 0x17059 | ||
| 189 | MX6SLL_PAD_SD1_DATA7__SD1_DATA7 0x17059 | ||
| 190 | >; | ||
| 191 | }; | ||
| 192 | |||
| 193 | pinctrl_usdhc1_100mhz: usdhc1-100mhzgrp { | ||
| 194 | fsl,pins = < | ||
| 195 | MX6SLL_PAD_SD1_CMD__SD1_CMD 0x170b9 | ||
| 196 | MX6SLL_PAD_SD1_CLK__SD1_CLK 0x170b9 | ||
| 197 | MX6SLL_PAD_SD1_DATA0__SD1_DATA0 0x170b9 | ||
| 198 | MX6SLL_PAD_SD1_DATA1__SD1_DATA1 0x170b9 | ||
| 199 | MX6SLL_PAD_SD1_DATA2__SD1_DATA2 0x170b9 | ||
| 200 | MX6SLL_PAD_SD1_DATA3__SD1_DATA3 0x170b9 | ||
| 201 | MX6SLL_PAD_SD1_DATA4__SD1_DATA4 0x170b9 | ||
| 202 | MX6SLL_PAD_SD1_DATA5__SD1_DATA5 0x170b9 | ||
| 203 | MX6SLL_PAD_SD1_DATA6__SD1_DATA6 0x170b9 | ||
| 204 | MX6SLL_PAD_SD1_DATA7__SD1_DATA7 0x170b9 | ||
| 205 | >; | ||
| 206 | }; | ||
| 207 | |||
| 208 | pinctrl_usdhc1_200mhz: usdhc1-200mhzgrp { | ||
| 209 | fsl,pins = < | ||
| 210 | MX6SLL_PAD_SD1_CMD__SD1_CMD 0x170f9 | ||
| 211 | MX6SLL_PAD_SD1_CLK__SD1_CLK 0x170f9 | ||
| 212 | MX6SLL_PAD_SD1_DATA0__SD1_DATA0 0x170f9 | ||
| 213 | MX6SLL_PAD_SD1_DATA1__SD1_DATA1 0x170f9 | ||
| 214 | MX6SLL_PAD_SD1_DATA2__SD1_DATA2 0x170f9 | ||
| 215 | MX6SLL_PAD_SD1_DATA3__SD1_DATA3 0x170f9 | ||
| 216 | MX6SLL_PAD_SD1_DATA4__SD1_DATA4 0x170b9 | ||
| 217 | MX6SLL_PAD_SD1_DATA5__SD1_DATA5 0x170b9 | ||
| 218 | MX6SLL_PAD_SD1_DATA6__SD1_DATA6 0x170b9 | ||
| 219 | MX6SLL_PAD_SD1_DATA7__SD1_DATA7 0x170b9 | ||
| 220 | >; | ||
| 221 | }; | ||
| 222 | |||
| 223 | pinctrl_usdhc1_sleep: usdhc1-sleepgrp { | ||
| 224 | fsl,pins = < | ||
| 225 | MX6SLL_PAD_SD1_CMD__SD1_CMD 0x10059 | ||
| 226 | MX6SLL_PAD_SD1_CLK__SD1_CLK 0x10059 | ||
| 227 | MX6SLL_PAD_SD1_DATA0__SD1_DATA0 0x10059 | ||
| 228 | MX6SLL_PAD_SD1_DATA1__SD1_DATA1 0x10059 | ||
| 229 | MX6SLL_PAD_SD1_DATA2__SD1_DATA2 0x10059 | ||
| 230 | MX6SLL_PAD_SD1_DATA3__SD1_DATA3 0x10059 | ||
| 231 | MX6SLL_PAD_SD1_DATA4__SD1_DATA4 0x10059 | ||
| 232 | MX6SLL_PAD_SD1_DATA5__SD1_DATA5 0x10059 | ||
| 233 | MX6SLL_PAD_SD1_DATA6__SD1_DATA6 0x10059 | ||
| 234 | MX6SLL_PAD_SD1_DATA7__SD1_DATA7 0x10059 | ||
| 235 | >; | ||
| 236 | }; | ||
| 237 | |||
| 238 | pinctrl_usdhc3: usdhc3grp { | ||
| 239 | fsl,pins = < | ||
| 240 | MX6SLL_PAD_SD3_CMD__SD3_CMD 0x11059 | ||
| 241 | MX6SLL_PAD_SD3_CLK__SD3_CLK 0x11059 | ||
| 242 | MX6SLL_PAD_SD3_DATA0__SD3_DATA0 0x11059 | ||
| 243 | MX6SLL_PAD_SD3_DATA1__SD3_DATA1 0x11059 | ||
| 244 | MX6SLL_PAD_SD3_DATA2__SD3_DATA2 0x11059 | ||
| 245 | MX6SLL_PAD_SD3_DATA3__SD3_DATA3 0x11059 | ||
| 246 | >; | ||
| 247 | }; | ||
| 248 | |||
| 249 | pinctrl_usdhc3_100mhz: usdhc3-100mhzgrp { | ||
| 250 | fsl,pins = < | ||
| 251 | MX6SLL_PAD_SD3_CMD__SD3_CMD 0x170b9 | ||
| 252 | MX6SLL_PAD_SD3_CLK__SD3_CLK 0x170b9 | ||
| 253 | MX6SLL_PAD_SD3_DATA0__SD3_DATA0 0x170b9 | ||
| 254 | MX6SLL_PAD_SD3_DATA1__SD3_DATA1 0x170b9 | ||
| 255 | MX6SLL_PAD_SD3_DATA2__SD3_DATA2 0x170b9 | ||
| 256 | MX6SLL_PAD_SD3_DATA3__SD3_DATA3 0x170b9 | ||
| 257 | >; | ||
| 258 | }; | ||
| 259 | |||
| 260 | pinctrl_usdhc3_200mhz: usdhc3-200mhzgrp { | ||
| 261 | fsl,pins = < | ||
| 262 | MX6SLL_PAD_SD3_CMD__SD3_CMD 0x170f9 | ||
| 263 | MX6SLL_PAD_SD3_CLK__SD3_CLK 0x170f9 | ||
| 264 | MX6SLL_PAD_SD3_DATA0__SD3_DATA0 0x170f9 | ||
| 265 | MX6SLL_PAD_SD3_DATA1__SD3_DATA1 0x170f9 | ||
| 266 | MX6SLL_PAD_SD3_DATA2__SD3_DATA2 0x170f9 | ||
| 267 | MX6SLL_PAD_SD3_DATA3__SD3_DATA3 0x170f9 | ||
| 268 | >; | ||
| 269 | }; | ||
| 270 | |||
| 271 | pinctrl_usdhc3_sleep: usdhc3-sleepgrp { | ||
| 272 | fsl,pins = < | ||
| 273 | MX6SLL_PAD_SD3_CMD__GPIO5_IO21 0x100c1 | ||
| 274 | MX6SLL_PAD_SD3_CLK__GPIO5_IO18 0x100c1 | ||
| 275 | MX6SLL_PAD_SD3_DATA0__GPIO5_IO19 0x100c1 | ||
| 276 | MX6SLL_PAD_SD3_DATA1__GPIO5_IO20 0x100c1 | ||
| 277 | MX6SLL_PAD_SD3_DATA2__GPIO5_IO16 0x100c1 | ||
| 278 | MX6SLL_PAD_SD3_DATA3__GPIO5_IO17 0x100c1 | ||
| 279 | >; | ||
| 280 | }; | ||
| 281 | |||
| 282 | pinctrl_wifi_power: wifi-powergrp { | ||
| 283 | fsl,pins = < | ||
| 284 | MX6SLL_PAD_SD2_DATA6__GPIO4_IO29 0x10059 /* WIFI_3V3_ON */ | ||
| 285 | >; | ||
| 286 | }; | ||
| 287 | |||
| 288 | pinctrl_wifi_reset: wifi-resetgrp { | ||
| 289 | fsl,pins = < | ||
| 290 | MX6SLL_PAD_SD2_DATA7__GPIO5_IO00 0x10059 /* WIFI_RST */ | ||
| 291 | >; | ||
| 292 | }; | ||
| 293 | }; | ||
| 294 | |||
| 295 | &leds { | ||
| 296 | pinctrl-names = "default"; | ||
| 297 | pinctrl-0 = <&pinctrl_led>; | ||
| 298 | }; | ||
| 299 | |||
| 300 | &lm3630a { | ||
| 301 | pinctrl-names = "default"; | ||
| 302 | pinctrl-0 = <&pinctrl_lm3630a_bl_gpio>; | ||
| 303 | }; | ||
| 304 | |||
| 305 | ®_wifi { | ||
| 306 | pinctrl-names = "default"; | ||
| 307 | pinctrl-0 = <&pinctrl_wifi_power>; | ||
| 308 | }; | ||
| 309 | |||
| 310 | &ricoh619 { | ||
| 311 | pinctrl-names = "default"; | ||
| 312 | pinctrl-0 = <&pinctrl_ricoh_gpio>; | ||
| 313 | }; | ||
| 314 | |||
| 315 | &uart1 { | ||
| 316 | pinctrl-names = "default"; | ||
| 317 | pinctrl-0 = <&pinctrl_uart1>; | ||
| 318 | }; | ||
| 319 | |||
| 320 | &usdhc1 { | ||
| 321 | pinctrl-names = "default", "state_100mhz", "state_200mhz","sleep"; | ||
| 322 | pinctrl-0 = <&pinctrl_usdhc1>; | ||
| 323 | pinctrl-1 = <&pinctrl_usdhc1_100mhz>; | ||
| 324 | pinctrl-2 = <&pinctrl_usdhc1_200mhz>; | ||
| 325 | pinctrl-3 = <&pinctrl_usdhc1_sleep>; | ||
| 326 | }; | ||
| 327 | |||
| 328 | &usdhc3 { | ||
| 329 | pinctrl-names = "default", "state_100mhz", "state_200mhz","sleep"; | ||
| 330 | pinctrl-0 = <&pinctrl_usdhc3>; | ||
| 331 | pinctrl-1 = <&pinctrl_usdhc3_100mhz>; | ||
| 332 | pinctrl-2 = <&pinctrl_usdhc3_200mhz>; | ||
| 333 | pinctrl-3 = <&pinctrl_usdhc3_sleep>; | ||
| 334 | }; | ||
| 335 | |||
| 336 | &wifi_pwrseq { | ||
| 337 | pinctrl-names = "default"; | ||
| 338 | pinctrl-0 = <&pinctrl_wifi_reset>; | ||
| 339 | }; | ||
| @@ -51,20 +51,18 @@ · 50 unmodified lines | |||
| 51 | device_type = "cpu"; | 51 | device_type = "cpu"; |
| 52 | reg = <0>; | 52 | reg = <0>; |
| 53 | next-level-cache = <&L2>; | 53 | next-level-cache = <&L2>; |
| 54 | operating-points = < | 54 | operating-points = |
| 55 | /* kHz uV */ | 55 | /* kHz uV */ |
| 56 | 996000 1275000 | 56 | <996000 1275000>, |
| 57 | 792000 1175000 | 57 | <792000 1175000>, |
| 58 | 396000 1075000 | 58 | <396000 1075000>, |
| 59 | 198000 975000 | 59 | <198000 975000>; |
| 60 | >; | 60 | fsl,soc-operating-points = |
| 61 | fsl,soc-operating-points = < | ||
| 62 | /* ARM kHz SOC-PU uV */ | 61 | /* ARM kHz SOC-PU uV */ |
| 63 | 996000 1175000 | 62 | <996000 1175000>, |
| 64 | 792000 1175000 | 63 | <792000 1175000>, |
| 65 | 396000 1175000 | 64 | <396000 1175000>, |
| 66 | 198000 1175000 | 65 | <198000 1175000>; |
| 67 | >; | ||
| 68 | clock-latency = <61036>; /* two CLK32 periods */ | 66 | clock-latency = <61036>; /* two CLK32 periods */ |
| 69 | #cooling-cells = <2>; | 67 | #cooling-cells = <2>; |
| 70 | clocks = <&clks IMX6SLL_CLK_ARM>, | 68 | clocks = <&clks IMX6SLL_CLK_ARM>, |
| @@ -1395,15 +1395,15 @@ · 1394 unmodified lines | |||
| 1395 | }; | 1395 | }; |
| 1396 | 1396 | ||
| 1397 | pcie: pcie@8ffc000 { | 1397 | pcie: pcie@8ffc000 { |
| 1398 | compatible = "fsl,imx6sx-pcie", "snps,dw-pcie"; | 1398 | compatible = "fsl,imx6sx-pcie"; |
| 1399 | reg = <0x08ffc000 0x04000>, <0x08f00000 0x80000>; | 1399 | reg = <0x08ffc000 0x04000>, <0x08f00000 0x80000>; |
| 1400 | reg-names = "dbi", "config"; | 1400 | reg-names = "dbi", "config"; |
| 1401 | #address-cells = <3>; | 1401 | #address-cells = <3>; |
| 1402 | #size-cells = <2>; | 1402 | #size-cells = <2>; |
| 1403 | device_type = "pci"; | 1403 | device_type = "pci"; |
| 1404 | bus-range = <0x00 0xff>; | 1404 | bus-range = <0x00 0xff>; |
| 1405 | ranges = <0x81000000 0 0 0x08f80000 0 0x00010000 /* downstream I/O */ | 1405 | ranges = <0x81000000 0 0 0x08f80000 0 0x00010000>, /* downstream I/O */ |
| 1406 | 0x82000000 0 0x08000000 0x08000000 0 0x00f00000>; /* non-prefetchable memory */ | 1406 | <0x82000000 0 0x08000000 0x08000000 0 0x00f00000>; /* non-prefetchable memory */ |
| 1407 | num-lanes = <1>; | 1407 | num-lanes = <1>; |
| 1408 | interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>; | 1408 | interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>; |
| 1409 | interrupt-names = "msi"; | 1409 | interrupt-names = "msi"; |
| @@ -68,8 +68,11 @@ · 67 unmodified lines | |||
| 68 | }; | 68 | }; |
| 69 | 69 | ||
| 70 | &i2c1 { | 70 | &i2c1 { |
| 71 | pinctrl-names = "default"; | 71 | pinctrl-names = "default", "gpio"; |
| 72 | pinctrl-0 = <&pinctrl_i2c1>; | 72 | pinctrl-0 = <&pinctrl_i2c1>; |
| 73 | pinctrl-1 = <&pinctrl_i2c1_gpio>; | ||
| 74 | scl-gpios = <&gpio1 28 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; | ||
| 75 | sda-gpios = <&gpio1 29 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; | ||
| 73 | clock-frequency = <100000>; | 76 | clock-frequency = <100000>; |
| 74 | status = "okay"; | 77 | status = "okay"; |
| 75 | 78 | ||
| @@ -147,6 +150,13 @@ · 71 unmodified lines | |||
| 147 | >; | 150 | >; |
| 148 | }; | 151 | }; |
| 149 | 152 | ||
| 153 | pinctrl_i2c1_gpio: i2cgpiogrp { | ||
| 154 | fsl,pins = < | ||
| 155 | MX6UL_PAD_UART4_TX_DATA__GPIO1_IO28 0x4001b8b0 | ||
| 156 | MX6UL_PAD_UART4_RX_DATA__GPIO1_IO29 0x4001b8b0 | ||
| 157 | >; | ||
| 158 | }; | ||
| 159 | |||
| 150 | pinctrl_uart1: uart1grp { | 160 | pinctrl_uart1: uart1grp { |
| 151 | fsl,pins = < | 161 | fsl,pins = < |
| 152 | MX6UL_PAD_UART1_TX_DATA__UART1_DCE_TX 0x1b0b1 | 162 | MX6UL_PAD_UART1_TX_DATA__UART1_DCE_TX 0x1b0b1 |
| @@ -191,6 +191,7 @@ · 190 unmodified lines | |||
| 191 | no-1-8-v; | 191 | no-1-8-v; |
| 192 | keep-power-in-suspend; | 192 | keep-power-in-suspend; |
| 193 | wakeup-source; | 193 | wakeup-source; |
| 194 | disable-wp; | ||
| 194 | status = "disabled"; | 195 | status = "disabled"; |
| 195 | }; | 196 | }; |
| 196 | 197 | ||
| @@ -0,0 +1,17 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0+ OR MIT | ||
| 2 | /* | ||
| 3 | * Copyright 2021 Toradex | ||
| 4 | */ | ||
| 5 | |||
| 6 | /dts-v1/; | ||
| 7 | |||
| 8 | #include "imx6ull-colibri-emmc-nonwifi.dtsi" | ||
| 9 | #include "imx6ull-colibri-eval-v3.dtsi" | ||
| 10 | |||
| 11 | / { | ||
| 12 | model = "Toradex Colibri iMX6ULL 1GB (eMMC) on Colibri Evaluation Board V3"; | ||
| 13 | compatible = "toradex,colibri-imx6ull-emmc-eval", | ||
| 14 | "toradex,colibri-imx6ull-emmc", | ||
| 15 | "toradex,colibri-imx6ull", | ||
| 16 | "fsl,imx6ull"; | ||
| 17 | }; | ||
| @@ -0,0 +1,185 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0+ OR MIT | ||
| 2 | /* | ||
| 3 | * Copyright 2021 Toradex | ||
| 4 | */ | ||
| 5 | |||
| 6 | #include "imx6ull-colibri.dtsi" | ||
| 7 | |||
| 8 | / { | ||
| 9 | aliases { | ||
| 10 | mmc0 = &usdhc2; /* eMMC */ | ||
| 11 | mmc1 = &usdhc1; /* MMC 4bit slot */ | ||
| 12 | }; | ||
| 13 | |||
| 14 | memory@80000000 { | ||
| 15 | device_type = "memory"; | ||
| 16 | reg = <0x80000000 0x10000000>; | ||
| 17 | }; | ||
| 18 | }; | ||
| 19 | |||
| 20 | &gpio1 { | ||
| 21 | gpio-line-names = "SODIMM_8", | ||
| 22 | "SODIMM_6", | ||
| 23 | "SODIMM_129", | ||
| 24 | "SODIMM_89", | ||
| 25 | "SODIMM_19", | ||
| 26 | "SODIMM_21", | ||
| 27 | "UNUSABLE_SODIMM_180", | ||
| 28 | "UNUSABLE_SODIMM_184", | ||
| 29 | "SODIMM_4", | ||
| 30 | "SODIMM_2", | ||
| 31 | "SODIMM_106", | ||
| 32 | "SODIMM_71", | ||
| 33 | "SODIMM_23", | ||
| 34 | "SODIMM_31", | ||
| 35 | "SODIMM_99", | ||
| 36 | "SODIMM_102", | ||
| 37 | "SODIMM_33", | ||
| 38 | "SODIMM_35", | ||
| 39 | "SODIMM_25", | ||
| 40 | "SODIMM_27", | ||
| 41 | "SODIMM_36", | ||
| 42 | "SODIMM_38", | ||
| 43 | "SODIMM_32", | ||
| 44 | "SODIMM_34", | ||
| 45 | "SODIMM_135", | ||
| 46 | "SODIMM_77", | ||
| 47 | "SODIMM_100", | ||
| 48 | "SODIMM_186", | ||
| 49 | "SODIMM_196", | ||
| 50 | "SODIMM_194"; | ||
| 51 | }; | ||
| 52 | |||
| 53 | &gpio2 { | ||
| 54 | gpio-line-names = "SODIMM_55", | ||
| 55 | "SODIMM_63", | ||
| 56 | "SODIMM_178", | ||
| 57 | "SODIMM_188", | ||
| 58 | "SODIMM_73", | ||
| 59 | "SODIMM_30", | ||
| 60 | "SODIMM_67", | ||
| 61 | "SODIMM_104", | ||
| 62 | "", | ||
| 63 | "", | ||
| 64 | "", | ||
| 65 | "", | ||
| 66 | "", | ||
| 67 | "", | ||
| 68 | "", | ||
| 69 | "", | ||
| 70 | "SODIMM_190", | ||
| 71 | "SODIMM_47", | ||
| 72 | "SODIMM_192", | ||
| 73 | "SODIMM_49", | ||
| 74 | "SODIMM_51", | ||
| 75 | "SODIMM_53"; | ||
| 76 | }; | ||
| 77 | |||
| 78 | &gpio3 { | ||
| 79 | gpio-line-names = "SODIMM_56", | ||
| 80 | "SODIMM_44", | ||
| 81 | "SODIMM_68", | ||
| 82 | "SODIMM_82", | ||
| 83 | "", | ||
| 84 | "SODIMM_76", | ||
| 85 | "SODIMM_70", | ||
| 86 | "SODIMM_60", | ||
| 87 | "SODIMM_58", | ||
| 88 | "SODIMM_78", | ||
| 89 | "SODIMM_72", | ||
| 90 | "SODIMM_80", | ||
| 91 | "SODIMM_46", | ||
| 92 | "SODIMM_62", | ||
| 93 | "SODIMM_48", | ||
| 94 | "SODIMM_74", | ||
| 95 | "SODIMM_50", | ||
| 96 | "SODIMM_52", | ||
| 97 | "SODIMM_54", | ||
| 98 | "SODIMM_66", | ||
| 99 | "SODIMM_64", | ||
| 100 | "SODIMM_57", | ||
| 101 | "SODIMM_61", | ||
| 102 | "SODIMM_29", | ||
| 103 | "SODIMM_37", | ||
| 104 | "SODIMM_88", | ||
| 105 | "SODIMM_86", | ||
| 106 | "SODIMM_92", | ||
| 107 | "SODIMM_90"; | ||
| 108 | }; | ||
| 109 | |||
| 110 | &gpio4 { | ||
| 111 | gpio-line-names = "", | ||
| 112 | "", | ||
| 113 | "", | ||
| 114 | "", | ||
| 115 | "", | ||
| 116 | "", | ||
| 117 | "", | ||
| 118 | "", | ||
| 119 | "", | ||
| 120 | "", | ||
| 121 | "SODIMM_140", | ||
| 122 | "SODIMM_59", | ||
| 123 | "SODIMM_142", | ||
| 124 | "SODIMM_144", | ||
| 125 | "SODIMM_133", | ||
| 126 | "SODIMM_146", | ||
| 127 | "SODIMM_28", | ||
| 128 | "SODIMM_75", | ||
| 129 | "SODIMM_96", | ||
| 130 | "SODIMM_81", | ||
| 131 | "SODIMM_94", | ||
| 132 | "SODIMM_101", | ||
| 133 | "SODIMM_103", | ||
| 134 | "SODIMM_79", | ||
| 135 | "SODIMM_97", | ||
| 136 | "SODIMM_69", | ||
| 137 | "SODIMM_98", | ||
| 138 | "SODIMM_85", | ||
| 139 | "SODIMM_65"; | ||
| 140 | }; | ||
| 141 | |||
| 142 | &gpio5 { | ||
| 143 | gpio-line-names = "SODIMM_43", | ||
| 144 | "SODIMM_45", | ||
| 145 | "SODIMM_137", | ||
| 146 | "SODIMM_95", | ||
| 147 | "SODIMM_107", | ||
| 148 | "SODIMM_131", | ||
| 149 | "SODIMM_93", | ||
| 150 | "", | ||
| 151 | "SODIMM_138", | ||
| 152 | "", | ||
| 153 | "SODIMM_105", | ||
| 154 | "SODIMM_127"; | ||
| 155 | }; | ||
| 156 | |||
| 157 | &gpmi { | ||
| 158 | status = "disabled"; | ||
| 159 | }; | ||
| 160 | |||
| 161 | &iomuxc { | ||
| 162 | pinctrl-names = "default"; | ||
| 163 | pinctrl-0 = <&pinctrl_gpio1 &pinctrl_gpio2 &pinctrl_gpio3 | ||
| 164 | &pinctrl_gpio4 &pinctrl_gpio6 &pinctrl_gpio7 | ||
| 165 | &pinctrl_gpmi_gpio>; | ||
| 166 | }; | ||
| 167 | |||
| 168 | &iomuxc_snvs { | ||
| 169 | pinctrl-names = "default"; | ||
| 170 | pinctrl-0 = <&pinctrl_snvs_gpio1 &pinctrl_snvs_gpio3>; | ||
| 171 | }; | ||
| 172 | |||
| 173 | &usdhc2 { | ||
| 174 | pinctrl-names = "default"; | ||
| 175 | pinctrl-0 = <&pinctrl_usdhc2emmc>; | ||
| 176 | assigned-clocks = <&clks IMX6UL_CLK_USDHC2_SEL>, <&clks IMX6UL_CLK_USDHC2>; | ||
| 177 | assigned-clock-parents = <&clks IMX6UL_CLK_PLL2_PFD2>; | ||
| 178 | assigned-clock-rates = <0>, <198000000>; | ||
| 179 | bus-width = <8>; | ||
| 180 | keep-power-in-suspend; | ||
| 181 | no-1-8-v; | ||
| 182 | non-removable; | ||
| 183 | vmmc-supply = <®_module_3v3>; | ||
| 184 | status = "okay"; | ||
| 185 | }; | ||
| @@ -1,6 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: (GPL-2.0 OR MIT) | 1 | // SPDX-License-Identifier: GPL-2.0+ OR MIT |
| 2 | /* | 2 | /* |
| 3 | * Copyright 2018 Toradex AG | 3 | * Copyright 2018-2021 Toradex |
| 4 | */ | 4 | */ |
| 5 | 5 | ||
| 6 | #include "imx6ull.dtsi" | 6 | #include "imx6ull.dtsi" |
| @@ -345,6 +345,19 @@ · 338 unmodified lines | |||
| 345 | >; | 345 | >; |
| 346 | }; | 346 | }; |
| 347 | 347 | ||
| 348 | /* | ||
| 349 | * With an eMMC instead of a raw NAND device the following pins | ||
| 350 | * are available at SODIMM pins | ||
| 351 | */ | ||
| 352 | pinctrl_gpmi_gpio: gpmi-gpio-grp { | ||
| 353 | fsl,pins = < | ||
| 354 | MX6UL_PAD_NAND_ALE__GPIO4_IO10 0x10b0 /* SODIMM 140 */ | ||
| 355 | MX6UL_PAD_NAND_CE0_B__GPIO4_IO13 0x10b0 /* SODIMM 144 */ | ||
| 356 | MX6UL_PAD_NAND_CLE__GPIO4_IO15 0x10b0 /* SODIMM 146 */ | ||
| 357 | MX6UL_PAD_NAND_READY_B__GPIO4_IO12 0x10b0 /* SODIMM 142 */ | ||
| 358 | >; | ||
| 359 | }; | ||
| 360 | |||
| 348 | pinctrl_gpmi_nand: gpmi-nand-grp { | 361 | pinctrl_gpmi_nand: gpmi-nand-grp { |
| 349 | fsl,pins = < | 362 | fsl,pins = < |
| 350 | MX6UL_PAD_NAND_DATA00__RAWNAND_DATA00 0x100a9 | 363 | MX6UL_PAD_NAND_DATA00__RAWNAND_DATA00 0x100a9 |
| @@ -533,6 +546,21 @@ · 182 unmodified lines | |||
| 533 | >; | 546 | >; |
| 534 | }; | 547 | }; |
| 535 | 548 | ||
| 549 | pinctrl_usdhc2emmc: usdhc2emmcgrp { | ||
| 550 | fsl,pins = < | ||
| 551 | MX6UL_PAD_NAND_RE_B__USDHC2_CLK 0x17059 | ||
| 552 | MX6UL_PAD_NAND_WE_B__USDHC2_CMD 0x17059 | ||
| 553 | MX6UL_PAD_NAND_DATA00__USDHC2_DATA0 0x17059 | ||
| 554 | MX6UL_PAD_NAND_DATA01__USDHC2_DATA1 0x17059 | ||
| 555 | MX6UL_PAD_NAND_DATA02__USDHC2_DATA2 0x17059 | ||
| 556 | MX6UL_PAD_NAND_DATA03__USDHC2_DATA3 0x17059 | ||
| 557 | MX6UL_PAD_NAND_DATA04__USDHC2_DATA4 0x17059 | ||
| 558 | MX6UL_PAD_NAND_DATA05__USDHC2_DATA5 0x17059 | ||
| 559 | MX6UL_PAD_NAND_DATA06__USDHC2_DATA6 0x17059 | ||
| 560 | MX6UL_PAD_NAND_DATA07__USDHC2_DATA7 0x17059 | ||
| 561 | >; | ||
| 562 | }; | ||
| 563 | |||
| 536 | pinctrl_wdog: wdog-grp { | 564 | pinctrl_wdog: wdog-grp { |
| 537 | fsl,pins = < | 565 | fsl,pins = < |
| 538 | MX6UL_PAD_LCD_RESET__WDOG1_WDOG_ANY 0x30b0 | 566 | MX6UL_PAD_LCD_RESET__WDOG1_WDOG_ANY 0x30b0 |
| @@ -1,8 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0 OR X11 | 1 | // SPDX-License-Identifier: GPL-2.0 OR X11 |
| 2 | /* | 2 | /* |
| 3 | * Device Tree Include file for TQ Systems MBa7 carrier board. | 3 | * Device Tree Include file for TQ-Systems MBa7 carrier board. |
| 4 | * | 4 | * |
| 5 | * Copyright (C) 2016 TQ Systems GmbH | 5 | * Copyright (C) 2016 TQ-Systems GmbH |
| 6 | * Author: Markus Niebel <Markus.Niebel@tq-group.com> | 6 | * Author: Markus Niebel <Markus.Niebel@tq-group.com> |
| 7 | * Copyright (C) 2019 Bruno Thomsen <bruno.thomsen@gmail.com> | 7 | * Copyright (C) 2019 Bruno Thomsen <bruno.thomsen@gmail.com> |
| 8 | * | 8 | * |
| @@ -236,6 +236,44 @@ · 227 unmodified lines | |||
| 236 | }; | 236 | }; |
| 237 | }; | 237 | }; |
| 238 | 238 | ||
| 239 | &flash0 { | ||
| 240 | partitions { | ||
| 241 | compatible = "fixed-partitions"; | ||
| 242 | #address-cells = <1>; | ||
| 243 | #size-cells = <1>; | ||
| 244 | |||
| 245 | uboot@0 { | ||
| 246 | label = "U-Boot"; | ||
| 247 | reg = <0x0 0xd0000>; | ||
| 248 | }; | ||
| 249 | |||
| 250 | env1@d0000 { | ||
| 251 | label = "ENV1"; | ||
| 252 | reg = <0xd0000 0x10000>; | ||
| 253 | }; | ||
| 254 | |||
| 255 | env2@e0000 { | ||
| 256 | label = "ENV2"; | ||
| 257 | reg = <0xe0000 0x10000>; | ||
| 258 | }; | ||
| 259 | |||
| 260 | dtb@f0000 { | ||
| 261 | label = "DTB"; | ||
| 262 | reg = <0xf0000 0x10000>; | ||
| 263 | }; | ||
| 264 | |||
| 265 | linux@100000 { | ||
| 266 | label = "Linux"; | ||
| 267 | reg = <0x100000 0x700000>; | ||
| 268 | }; | ||
| 269 | |||
| 270 | rootfs@800000 { | ||
| 271 | label = "RootFS"; | ||
| 272 | reg = <0x800000 0x3800000>; | ||
| 273 | }; | ||
| 274 | }; | ||
| 275 | }; | ||
| 276 | |||
| 239 | &flexcan1 { | 277 | &flexcan1 { |
| 240 | pinctrl-names = "default"; | 278 | pinctrl-names = "default"; |
| 241 | pinctrl-0 = <&pinctrl_flexcan1>; | 279 | pinctrl-0 = <&pinctrl_flexcan1>; |
| @@ -1,8 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0 OR X11 | 1 | // SPDX-License-Identifier: GPL-2.0 OR X11 |
| 2 | /* | 2 | /* |
| 3 | * Device Tree Include file for TQ Systems TQMa7x boards with full mounted PCB. | 3 | * Device Tree Include file for TQ-Systems TQMa7x boards with full mounted PCB. |
| 4 | * | 4 | * |
| 5 | * Copyright (C) 2016 TQ Systems GmbH | 5 | * Copyright (C) 2016 TQ-Systems GmbH |
| 6 | * Author: Markus Niebel <Markus.Niebel@tq-group.com> | 6 | * Author: Markus Niebel <Markus.Niebel@tq-group.com> |
| 7 | * Copyright (C) 2019 Bruno Thomsen <bruno.thomsen@gmail.com> | 7 | * Copyright (C) 2019 Bruno Thomsen <bruno.thomsen@gmail.com> |
| 8 | */ | 8 | */ |
| @@ -19,6 +19,16 @@ · 10 unmodified lines | |||
| 19 | cpu-supply = <&sw1a_reg>; | 19 | cpu-supply = <&sw1a_reg>; |
| 20 | }; | 20 | }; |
| 21 | 21 | ||
| 22 | &gpio2 { | ||
| 23 | /* Configured as pullup by QSPI pin group */ | ||
| 24 | qspi-reset-hog { | ||
| 25 | gpio-hog; | ||
| 26 | gpios = <4 GPIO_ACTIVE_LOW>; | ||
| 27 | input; | ||
| 28 | line-name = "qspi-reset"; | ||
| 29 | }; | ||
| 30 | }; | ||
| 31 | |||
| 22 | &i2c1 { | 32 | &i2c1 { |
| 23 | pinctrl-names = "default"; | 33 | pinctrl-names = "default"; |
| 24 | pinctrl-0 = <&pinctrl_i2c1>; | 34 | pinctrl-0 = <&pinctrl_i2c1>; |
| @@ -160,6 +170,25 @@ · 135 unmodified lines | |||
| 160 | >; | 170 | >; |
| 161 | }; | 171 | }; |
| 162 | 172 | ||
| 173 | pinctrl_qspi: qspigrp { | ||
| 174 | fsl,pins = < | ||
| 175 | MX7D_PAD_EPDC_DATA00__QSPI_A_DATA0 0x5A | ||
| 176 | MX7D_PAD_EPDC_DATA01__QSPI_A_DATA1 0x5A | ||
| 177 | MX7D_PAD_EPDC_DATA02__QSPI_A_DATA2 0x5A | ||
| 178 | MX7D_PAD_EPDC_DATA03__QSPI_A_DATA3 0x5A | ||
| 179 | MX7D_PAD_EPDC_DATA05__QSPI_A_SCLK 0x11 | ||
| 180 | MX7D_PAD_EPDC_DATA06__QSPI_A_SS0_B 0x54 | ||
| 181 | MX7D_PAD_EPDC_DATA07__QSPI_A_SS1_B 0x54 | ||
| 182 | >; | ||
| 183 | }; | ||
| 184 | |||
| 185 | pinctrl_qspi_reset: qspi_resetgrp { | ||
| 186 | fsl,pins = < | ||
| 187 | /* #QSPI_RESET */ | ||
| 188 | MX7D_PAD_EPDC_DATA04__GPIO2_IO4 0x52 | ||
| 189 | >; | ||
| 190 | }; | ||
| 191 | |||
| 163 | pinctrl_usdhc3: usdhc3grp { | 192 | pinctrl_usdhc3: usdhc3grp { |
| 164 | fsl,pins = < | 193 | fsl,pins = < |
| 165 | MX7D_PAD_SD3_CMD__SD3_CMD 0x59 | 194 | MX7D_PAD_SD3_CMD__SD3_CMD 0x59 |
| @@ -217,6 +246,20 @@ · 51 unmodified lines | |||
| 217 | }; | 246 | }; |
| 218 | }; | 247 | }; |
| 219 | 248 | ||
| 249 | &qspi { | ||
| 250 | pinctrl-names = "default"; | ||
| 251 | pinctrl-0 = <&pinctrl_qspi &pinctrl_qspi_reset>; | ||
| 252 | status = "okay"; | ||
| 253 | |||
| 254 | flash0: flash@0 { | ||
| 255 | compatible = "jedec,spi-nor"; | ||
| 256 | reg = <0>; | ||
| 257 | spi-max-frequency = <29000000>; | ||
| 258 | spi-rx-bus-width = <4>; | ||
| 259 | spi-tx-bus-width = <4>; | ||
| 260 | }; | ||
| 261 | }; | ||
| 262 | |||
| 220 | &sdma { | 263 | &sdma { |
| 221 | status = "okay"; | 264 | status = "okay"; |
| 222 | }; | 265 | }; |
| @@ -1,8 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0 OR X11 | 1 | // SPDX-License-Identifier: GPL-2.0 OR X11 |
| 2 | /* | 2 | /* |
| 3 | * Device Tree Source for TQ Systems TQMa7D board on MBa7 carrier board. | 3 | * Device Tree Source for TQ-Systems TQMa7D board on MBa7 carrier board. |
| 4 | * | 4 | * |
| 5 | * Copyright (C) 2016 TQ Systems GmbH | 5 | * Copyright (C) 2016 TQ-Systems GmbH |
| 6 | * Author: Markus Niebel <Markus.Niebel@tq-group.com> | 6 | * Author: Markus Niebel <Markus.Niebel@tq-group.com> |
| 7 | * Copyright (C) 2019 Bruno Thomsen <bruno.thomsen@gmail.com> | 7 | * Copyright (C) 2019 Bruno Thomsen <bruno.thomsen@gmail.com> |
| 8 | */ | 8 | */ |
| @@ -13,7 +13,7 @@ · 4 unmodified lines | |||
| 13 | #include "imx7-mba7.dtsi" | 13 | #include "imx7-mba7.dtsi" |
| 14 | 14 | ||
| 15 | / { | 15 | / { |
| 16 | model = "TQ Systems TQMa7D board on MBa7 carrier board"; | 16 | model = "TQ-Systems TQMa7D board on MBa7 carrier board"; |
| 17 | compatible = "tq,imx7d-mba7", "tq,imx7d-tqma7", "fsl,imx7d"; | 17 | compatible = "tq,imx7d-mba7", "tq,imx7d-tqma7", "fsl,imx7d"; |
| 18 | }; | 18 | }; |
| 19 | 19 | ||
| @@ -45,7 +45,7 @@ · 44 unmodified lines | |||
| 45 | pinctrl-0 = <&pinctrl_spi4>; | 45 | pinctrl-0 = <&pinctrl_spi4>; |
| 46 | gpio-sck = <&gpio1 13 GPIO_ACTIVE_HIGH>; | 46 | gpio-sck = <&gpio1 13 GPIO_ACTIVE_HIGH>; |
| 47 | gpio-mosi = <&gpio1 9 GPIO_ACTIVE_HIGH>; | 47 | gpio-mosi = <&gpio1 9 GPIO_ACTIVE_HIGH>; |
| 48 | cs-gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>; | 48 | cs-gpios = <&gpio1 12 GPIO_ACTIVE_LOW>; |
| 49 | num-chipselects = <1>; | 49 | num-chipselects = <1>; |
| 50 | #address-cells = <1>; | 50 | #address-cells = <1>; |
| 51 | #size-cells = <0>; | 51 | #size-cells = <0>; |
| @@ -1,8 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0 OR X11 | 1 | // SPDX-License-Identifier: GPL-2.0 OR X11 |
| 2 | /* | 2 | /* |
| 3 | * Device Tree Include file for TQ Systems TQMa7D board with NXP i.MX7Dual SoC. | 3 | * Device Tree Include file for TQ-Systems TQMa7D board with NXP i.MX7Dual SoC. |
| 4 | * | 4 | * |
| 5 | * Copyright (C) 2016 TQ Systems GmbH | 5 | * Copyright (C) 2016 TQ-Systems GmbH |
| 6 | * Author: Markus Niebel <Markus.Niebel@tq-group.com> | 6 | * Author: Markus Niebel <Markus.Niebel@tq-group.com> |
| 7 | * Copyright (C) 2019 Bruno Thomsen <bruno.thomsen@gmail.com> | 7 | * Copyright (C) 2019 Bruno Thomsen <bruno.thomsen@gmail.com> |
| 8 | */ | 8 | */ |
| @@ -164,7 +164,7 @@ · 163 unmodified lines | |||
| 164 | }; | 164 | }; |
| 165 | 165 | ||
| 166 | pcie: pcie@33800000 { | 166 | pcie: pcie@33800000 { |
| 167 | compatible = "fsl,imx7d-pcie", "snps,dw-pcie"; | 167 | compatible = "fsl,imx7d-pcie"; |
| 168 | reg = <0x33800000 0x4000>, | 168 | reg = <0x33800000 0x4000>, |
| 169 | <0x4ff00000 0x80000>; | 169 | <0x4ff00000 0x80000>; |
| 170 | reg-names = "dbi", "config"; | 170 | reg-names = "dbi", "config"; |
| @@ -172,10 +172,9 @@ · 1 unmodified line | |||
| 172 | #size-cells = <2>; | 172 | #size-cells = <2>; |
| 173 | device_type = "pci"; | 173 | device_type = "pci"; |
| 174 | bus-range = <0x00 0xff>; | 174 | bus-range = <0x00 0xff>; |
| 175 | ranges = <0x81000000 0 0 0x4ff80000 0 0x00010000 /* downstream I/O */ | 175 | ranges = <0x81000000 0 0 0x4ff80000 0 0x00010000>, /* downstream I/O */ |
| 176 | 0x82000000 0 0x40000000 0x40000000 0 0x0ff00000>; /* non-prefetchable memory */ | 176 | <0x82000000 0 0x40000000 0x40000000 0 0x0ff00000>; /* non-prefetchable memory */ |
| 177 | num-lanes = <1>; | 177 | num-lanes = <1>; |
| 178 | num-viewport = <4>; | ||
| 179 | interrupts = <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>; | 178 | interrupts = <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>; |
| 180 | interrupt-names = "msi"; | 179 | interrupt-names = "msi"; |
| 181 | #interrupt-cells = <1>; | 180 | #interrupt-cells = <1>; |
| @@ -1,8 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0 OR X11 | 1 | // SPDX-License-Identifier: GPL-2.0 OR X11 |
| 2 | /* | 2 | /* |
| 3 | * Device Tree Source for TQ Systems TQMa7S board on MBa7 carrier board. | 3 | * Device Tree Source for TQ-Systems TQMa7S board on MBa7 carrier board. |
| 4 | * | 4 | * |
| 5 | * Copyright (C) 2016 TQ Systems GmbH | 5 | * Copyright (C) 2016 TQ-Systems GmbH |
| 6 | * Author: Markus Niebel <Markus.Niebel@tq-group.com> | 6 | * Author: Markus Niebel <Markus.Niebel@tq-group.com> |
| 7 | * Copyright (C) 2019 Bruno Thomsen <bruno.thomsen@gmail.com> | 7 | * Copyright (C) 2019 Bruno Thomsen <bruno.thomsen@gmail.com> |
| 8 | */ | 8 | */ |
| @@ -13,6 +13,6 @@ · 4 unmodified lines | |||
| 13 | #include "imx7-mba7.dtsi" | 13 | #include "imx7-mba7.dtsi" |
| 14 | 14 | ||
| 15 | / { | 15 | / { |
| 16 | model = "TQ Systems TQMa7S board on MBa7 carrier board"; | 16 | model = "TQ-Systems TQMa7S board on MBa7 carrier board"; |
| 17 | compatible = "tq,imx7s-mba7", "tq,imx7s-tqma7", "fsl,imx7s"; | 17 | compatible = "tq,imx7s-mba7", "tq,imx7s-tqma7", "fsl,imx7s"; |
| 18 | }; | 18 | }; |
| @@ -1,8 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0 OR X11 | 1 | // SPDX-License-Identifier: GPL-2.0 OR X11 |
| 2 | /* | 2 | /* |
| 3 | * Device Tree Include file for TQ Systems TQMa7S board with NXP i.MX7Solo SoC. | 3 | * Device Tree Include file for TQ-Systems TQMa7S board with NXP i.MX7Solo SoC. |
| 4 | * | 4 | * |
| 5 | * Copyright (C) 2016 TQ Systems GmbH | 5 | * Copyright (C) 2016 TQ-Systems GmbH |
| 6 | * Author: Markus Niebel <Markus.Niebel@tq-group.com> | 6 | * Author: Markus Niebel <Markus.Niebel@tq-group.com> |
| 7 | * Copyright (C) 2019 Bruno Thomsen <bruno.thomsen@gmail.com> | 7 | * Copyright (C) 2019 Bruno Thomsen <bruno.thomsen@gmail.com> |
| 8 | */ | 8 | */ |
| @@ -15,10 +15,14 @@ · 14 unmodified lines | |||
| 15 | core-module@10000000 { | 15 | core-module@10000000 { |
| 16 | compatible = "arm,core-module-integrator", "syscon", "simple-mfd"; | 16 | compatible = "arm,core-module-integrator", "syscon", "simple-mfd"; |
| 17 | reg = <0x10000000 0x200>; | 17 | reg = <0x10000000 0x200>; |
| 18 | ranges = <0x0 0x10000000 0x200>; | ||
| 19 | #address-cells = <1>; | ||
| 20 | #size-cells = <1>; | ||
| 18 | 21 | ||
| 19 | /* Use core module LED to indicate CPU load */ | 22 | /* Use core module LED to indicate CPU load */ |
| 20 | led@c.0 { | 23 | led@c,0 { |
| 21 | compatible = "register-bit-led"; | 24 | compatible = "register-bit-led"; |
| 25 | reg = <0x0c 0x04>; | ||
| 22 | offset = <0x0c>; | 26 | offset = <0x0c>; |
| 23 | mask = <0x01>; | 27 | mask = <0x01>; |
| 24 | label = "integrator:core_module"; | 28 | label = "integrator:core_module"; |
| @@ -104,35 +108,42 @@ · 79 unmodified lines | |||
| 104 | interrupts = <4>; | 108 | interrupts = <4>; |
| 105 | }; | 109 | }; |
| 106 | 110 | ||
| 107 | syscon { | 111 | syscon@1a000000 { |
| 108 | /* Debug registers mapped as syscon */ | 112 | /* Debug registers mapped as syscon */ |
| 109 | compatible = "syscon", "simple-mfd"; | 113 | compatible = "syscon", "simple-mfd"; |
| 110 | reg = <0x1a000000 0x10>; | 114 | reg = <0x1a000000 0x10>; |
| 115 | ranges = <0x0 0x1a000000 0x10>; | ||
| 116 | #address-cells = <1>; | ||
| 117 | #size-cells = <1>; | ||
| 111 | 118 | ||
| 112 | led@4.0 { | 119 | led@4,0 { |
| 113 | compatible = "register-bit-led"; | 120 | compatible = "register-bit-led"; |
| 121 | reg = <0x04 0x04>; | ||
| 114 | offset = <0x04>; | 122 | offset = <0x04>; |
| 115 | mask = <0x01>; | 123 | mask = <0x01>; |
| 116 | label = "integrator:green0"; | 124 | label = "integrator:green0"; |
| 117 | linux,default-trigger = "heartbeat"; | 125 | linux,default-trigger = "heartbeat"; |
| 118 | default-state = "on"; | 126 | default-state = "on"; |
| 119 | }; | 127 | }; |
| 120 | led@4.1 { | 128 | led@4,1 { |
| 121 | compatible = "register-bit-led"; | 129 | compatible = "register-bit-led"; |
| 130 | reg = <0x04 0x04>; | ||
| 122 | offset = <0x04>; | 131 | offset = <0x04>; |
| 123 | mask = <0x02>; | 132 | mask = <0x02>; |
| 124 | label = "integrator:yellow"; | 133 | label = "integrator:yellow"; |
| 125 | default-state = "off"; | 134 | default-state = "off"; |
| 126 | }; | 135 | }; |
| 127 | led@4.2 { | 136 | led@4,2 { |
| 128 | compatible = "register-bit-led"; | 137 | compatible = "register-bit-led"; |
| 138 | reg = <0x04 0x04>; | ||
| 129 | offset = <0x04>; | 139 | offset = <0x04>; |
| 130 | mask = <0x04>; | 140 | mask = <0x04>; |
| 131 | label = "integrator:red"; | 141 | label = "integrator:red"; |
| 132 | default-state = "off"; | 142 | default-state = "off"; |
| 133 | }; | 143 | }; |
| 134 | led@4.3 { | 144 | led@4,3 { |
| 135 | compatible = "register-bit-led"; | 145 | compatible = "register-bit-led"; |
| 146 | reg = <0x04 0x04>; | ||
| 136 | offset = <0x04>; | 147 | offset = <0x04>; |
| 137 | mask = <0x08>; | 148 | mask = <0x08>; |
| 138 | label = "integrator:green1"; | 149 | label = "integrator:green1"; |
| @@ -28,9 +28,13 @@ · 27 unmodified lines | |||
| 28 | syscon@0 { | 28 | syscon@0 { |
| 29 | compatible = "arm,im-pd1-syscon", "syscon"; | 29 | compatible = "arm,im-pd1-syscon", "syscon"; |
| 30 | reg = <0x00000000 0x1000>; | 30 | reg = <0x00000000 0x1000>; |
| 31 | ranges; | ||
| 32 | #address-cells = <1>; | ||
| 33 | #size-cells = <1>; | ||
| 31 | 34 | ||
| 32 | vco1: vco1-clock { | 35 | vco1: clock-controller@0 { |
| 33 | compatible = "arm,impd1-vco1"; | 36 | compatible = "arm,impd1-vco1"; |
| 37 | reg = <0x00 0x04>; | ||
| 34 | #clock-cells = <0>; | 38 | #clock-cells = <0>; |
| 35 | lock-offset = <0x08>; | 39 | lock-offset = <0x08>; |
| 36 | vco-offset = <0x00>; | 40 | vco-offset = <0x00>; |
| @@ -38,8 +42,9 @@ · 1 unmodified line | |||
| 38 | clock-output-names = "IM-PD1-VCO1"; | 42 | clock-output-names = "IM-PD1-VCO1"; |
| 39 | }; | 43 | }; |
| 40 | 44 | ||
| 41 | vco2: vco2-clock { | 45 | vco2: clock-controller@4 { |
| 42 | compatible = "arm,impd1-vco2"; | 46 | compatible = "arm,impd1-vco2"; |
| 47 | reg = <0x04 0x04>; | ||
| 43 | #clock-cells = <0>; | 48 | #clock-cells = <0>; |
| 44 | lock-offset = <0x08>; | 49 | lock-offset = <0x08>; |
| 45 | vco-offset = <0x04>; | 50 | vco-offset = <0x04>; |
| @@ -88,8 +88,9 @@ · 87 unmodified lines | |||
| 88 | }; | 88 | }; |
| 89 | 89 | ||
| 90 | /* Oscillator on the core module, clocks the CPU core */ | 90 | /* Oscillator on the core module, clocks the CPU core */ |
| 91 | cmosc: cmosc@24M { | 91 | cmosc: clock-controller@8 { |
| 92 | compatible = "arm,syscon-icst525-integratorap-cm"; | 92 | compatible = "arm,syscon-icst525-integratorap-cm"; |
| 93 | reg = <0x08 0x04>; | ||
| 93 | #clock-cells = <0>; | 94 | #clock-cells = <0>; |
| 94 | lock-offset = <0x14>; | 95 | lock-offset = <0x14>; |
| 95 | vco-offset = <0x08>; | 96 | vco-offset = <0x08>; |
| @@ -97,8 +98,9 @@ · 1 unmodified line | |||
| 97 | }; | 98 | }; |
| 98 | 99 | ||
| 99 | /* Auxilary oscillator on the core module, 32.369MHz at boot */ | 100 | /* Auxilary oscillator on the core module, 32.369MHz at boot */ |
| 100 | auxosc: auxosc@24M { | 101 | auxosc: clock-controller@1c { |
| 101 | compatible = "arm,syscon-icst525"; | 102 | compatible = "arm,syscon-icst525"; |
| 103 | reg = <0x1c 0x04>; | ||
| 102 | #clock-cells = <0>; | 104 | #clock-cells = <0>; |
| 103 | lock-offset = <0x14>; | 105 | lock-offset = <0x14>; |
| 104 | vco-offset = <0x1c>; | 106 | vco-offset = <0x1c>; |
| @@ -109,13 +111,17 @@ · 4 unmodified lines | |||
| 109 | syscon { | 111 | syscon { |
| 110 | compatible = "arm,integrator-ap-syscon", "syscon"; | 112 | compatible = "arm,integrator-ap-syscon", "syscon"; |
| 111 | reg = <0x11000000 0x100>; | 113 | reg = <0x11000000 0x100>; |
| 114 | ranges = <0x0 0x11000000 0x100>; | ||
| 115 | #size-cells = <1>; | ||
| 116 | #address-cells = <1>; | ||
| 112 | 117 | ||
| 113 | /* | 118 | /* |
| 114 | * SYSCLK clocks PCIv3 bridge, system controller and the | 119 | * SYSCLK clocks PCIv3 bridge, system controller and the |
| 115 | * logic modules. | 120 | * logic modules. |
| 116 | */ | 121 | */ |
| 117 | sysclk: apsys@24M { | 122 | sysclk: clock-controller@4 { |
| 118 | compatible = "arm,syscon-icst525-integratorap-sys"; | 123 | compatible = "arm,syscon-icst525-integratorap-sys"; |
| 124 | reg = <0x04 0x04>; | ||
| 119 | #clock-cells = <0>; | 125 | #clock-cells = <0>; |
| 120 | lock-offset = <0x1c>; | 126 | lock-offset = <0x1c>; |
| 121 | vco-offset = <0x04>; | 127 | vco-offset = <0x04>; |
| @@ -123,8 +129,9 @@ · 1 unmodified line | |||
| 123 | }; | 129 | }; |
| 124 | 130 | ||
| 125 | /* One-bit control for the PCI bus clock (33 or 25 MHz) */ | 131 | /* One-bit control for the PCI bus clock (33 or 25 MHz) */ |
| 126 | pciclk: pciclk@24M { | 132 | pciclk: clock-controller@4,8 { |
| 127 | compatible = "arm,syscon-icst525-integratorap-pci"; | 133 | compatible = "arm,syscon-icst525-integratorap-pci"; |
| 134 | reg = <0x04 0x04>; | ||
| 128 | #clock-cells = <0>; | 135 | #clock-cells = <0>; |
| 129 | lock-offset = <0x1c>; | 136 | lock-offset = <0x1c>; |
| 130 | vco-offset = <0x04>; | 137 | vco-offset = <0x04>; |
| @@ -92,8 +92,9 @@ · 91 unmodified lines | |||
| 92 | }; | 92 | }; |
| 93 | 93 | ||
| 94 | /* Oscillator on the core module, clocks the CPU core */ | 94 | /* Oscillator on the core module, clocks the CPU core */ |
| 95 | cmcore: cmosc@24M { | 95 | cmcore: clock-controller@8 { |
| 96 | compatible = "arm,syscon-icst525-integratorcp-cm-core"; | 96 | compatible = "arm,syscon-icst525-integratorcp-cm-core"; |
| 97 | reg = <0x08 0x04>; | ||
| 97 | #clock-cells = <0>; | 98 | #clock-cells = <0>; |
| 98 | lock-offset = <0x14>; | 99 | lock-offset = <0x14>; |
| 99 | vco-offset = <0x08>; | 100 | vco-offset = <0x08>; |
| @@ -101,8 +102,9 @@ · 1 unmodified line | |||
| 101 | }; | 102 | }; |
| 102 | 103 | ||
| 103 | /* Oscillator on the core module, clocks the memory bus */ | 104 | /* Oscillator on the core module, clocks the memory bus */ |
| 104 | cmmem: cmosc@24M { | 105 | cmmem: clock-controller@8,12 { |
| 105 | compatible = "arm,syscon-icst525-integratorcp-cm-mem"; | 106 | compatible = "arm,syscon-icst525-integratorcp-cm-mem"; |
| 107 | reg = <0x08 0x04>; | ||
| 106 | #clock-cells = <0>; | 108 | #clock-cells = <0>; |
| 107 | lock-offset = <0x14>; | 109 | lock-offset = <0x14>; |
| 108 | vco-offset = <0x08>; | 110 | vco-offset = <0x08>; |
| @@ -110,8 +112,9 @@ · 1 unmodified line | |||
| 110 | }; | 112 | }; |
| 111 | 113 | ||
| 112 | /* Auxilary oscillator on the core module, clocks the CLCD */ | 114 | /* Auxilary oscillator on the core module, clocks the CLCD */ |
| 113 | auxosc: auxosc@24M { | 115 | auxosc: clock-controller@1c { |
| 114 | compatible = "arm,syscon-icst525"; | 116 | compatible = "arm,syscon-icst525"; |
| 117 | reg = <0x1c 0x04>; | ||
| 115 | #clock-cells = <0>; | 118 | #clock-cells = <0>; |
| 116 | lock-offset = <0x14>; | 119 | lock-offset = <0x14>; |
| 117 | vco-offset = <0x1c>; | 120 | vco-offset = <0x1c>; |
| @@ -63,6 +63,8 @@ · 62 unmodified lines | |||
| 63 | * We have slots (IDSEL) 1 and 2 with one assigned IRQ | 63 | * We have slots (IDSEL) 1 and 2 with one assigned IRQ |
| 64 | * each handling all IRQs. | 64 | * each handling all IRQs. |
| 65 | */ | 65 | */ |
| 66 | #interrupt-cells = <1>; | ||
| 67 | interrupt-map-mask = <0xf800 0 0 7>; | ||
| 66 | interrupt-map = | 68 | interrupt-map = |
| 67 | /* IDSEL 1 */ | 69 | /* IDSEL 1 */ |
| 68 | <0x0800 0 0 1 &gpio0 6 IRQ_TYPE_LEVEL_LOW>, /* INT A on slot 1 is irq 6 */ | 70 | <0x0800 0 0 1 &gpio0 6 IRQ_TYPE_LEVEL_LOW>, /* INT A on slot 1 is irq 6 */ |
| @@ -120,6 +120,8 @@ · 119 unmodified lines | |||
| 120 | * We have 2 slots (IDSEL) 1 and 2 with one dedicated interrupt | 120 | * We have 2 slots (IDSEL) 1 and 2 with one dedicated interrupt |
| 121 | * per slot. This interrupt is shared (OR:ed) by all four pins. | 121 | * per slot. This interrupt is shared (OR:ed) by all four pins. |
| 122 | */ | 122 | */ |
| 123 | #interrupt-cells = <1>; | ||
| 124 | interrupt-map-mask = <0xf800 0 0 7>; | ||
| 123 | interrupt-map = | 125 | interrupt-map = |
| 124 | /* IDSEL 1 */ | 126 | /* IDSEL 1 */ |
| 125 | <0x0800 0 0 1 &gpio0 2 IRQ_TYPE_LEVEL_LOW>, /* INT A on slot 1 is irq 2 */ | 127 | <0x0800 0 0 1 &gpio0 2 IRQ_TYPE_LEVEL_LOW>, /* INT A on slot 1 is irq 2 */ |
| @@ -129,6 +129,8 @@ · 128 unmodified lines | |||
| 129 | * We have slots (IDSEL) 1, 2, 3, 4 and pins 1, 2 and 3. | 129 | * We have slots (IDSEL) 1, 2, 3, 4 and pins 1, 2 and 3. |
| 130 | * Only slot 3 have three IRQs. | 130 | * Only slot 3 have three IRQs. |
| 131 | */ | 131 | */ |
| 132 | #interrupt-cells = <1>; | ||
| 133 | interrupt-map-mask = <0xf800 0 0 7>; | ||
| 132 | interrupt-map = | 134 | interrupt-map = |
| 133 | /* IDSEL 1 */ | 135 | /* IDSEL 1 */ |
| 134 | <0x0800 0 0 1 &gpio0 7 IRQ_TYPE_LEVEL_LOW>, /* INT E on slot 1 is irq 7 */ | 136 | <0x0800 0 0 1 &gpio0 7 IRQ_TYPE_LEVEL_LOW>, /* INT E on slot 1 is irq 7 */ |
| @@ -106,6 +106,8 @@ · 105 unmodified lines | |||
| 106 | * Written based on the FSG-3 PCI boardfile. | 106 | * Written based on the FSG-3 PCI boardfile. |
| 107 | * We have slots 12, 13 & 14 (IDSEL) with one IRQ each. | 107 | * We have slots 12, 13 & 14 (IDSEL) with one IRQ each. |
| 108 | */ | 108 | */ |
| 109 | #interrupt-cells = <1>; | ||
| 110 | interrupt-map-mask = <0xf800 0 0 7>; | ||
| 109 | interrupt-map = | 111 | interrupt-map = |
| 110 | /* IDSEL 12 */ | 112 | /* IDSEL 12 */ |
| 111 | <0x6000 0 0 1 &gpio0 5 IRQ_TYPE_LEVEL_LOW>, /* INT A on slot 12 is irq 5 */ | 113 | <0x6000 0 0 1 &gpio0 5 IRQ_TYPE_LEVEL_LOW>, /* INT A on slot 12 is irq 5 */ |
| @@ -115,6 +115,8 @@ · 114 unmodified lines | |||
| 115 | * | 115 | * |
| 116 | * We have up to 4 slots (IDSEL) with 4 swizzled IRQs. | 116 | * We have up to 4 slots (IDSEL) with 4 swizzled IRQs. |
| 117 | */ | 117 | */ |
| 118 | #interrupt-cells = <1>; | ||
| 119 | interrupt-map-mask = <0xf800 0 0 7>; | ||
| 118 | interrupt-map = | 120 | interrupt-map = |
| 119 | /* IDSEL 1 */ | 121 | /* IDSEL 1 */ |
| 120 | <0x0800 0 0 1 &gpio0 11 IRQ_TYPE_LEVEL_LOW>, /* INT A on slot 1 is irq 11 */ | 122 | <0x0800 0 0 1 &gpio0 11 IRQ_TYPE_LEVEL_LOW>, /* INT A on slot 1 is irq 11 */ |
| @@ -115,6 +115,8 @@ · 114 unmodified lines | |||
| 115 | * Taken from NAS 100D PCI boardfile (nas100d-pci.c) | 115 | * Taken from NAS 100D PCI boardfile (nas100d-pci.c) |
| 116 | * We have slots (IDSEL) 1, 2 and 3 and pins 1, 2 and 3. | 116 | * We have slots (IDSEL) 1, 2 and 3 and pins 1, 2 and 3. |
| 117 | */ | 117 | */ |
| 118 | #interrupt-cells = <1>; | ||
| 119 | interrupt-map-mask = <0xf800 0 0 7>; | ||
| 118 | interrupt-map = | 120 | interrupt-map = |
| 119 | /* IDSEL 1 */ | 121 | /* IDSEL 1 */ |
| 120 | <0x0800 0 0 1 &gpio0 11 IRQ_TYPE_LEVEL_LOW>, /* INT A on slot 1 is irq 11 */ | 122 | <0x0800 0 0 1 &gpio0 11 IRQ_TYPE_LEVEL_LOW>, /* INT A on slot 1 is irq 11 */ |
| @@ -68,6 +68,8 @@ · 67 unmodified lines | |||
| 68 | * We have slots (IDSEL) 12, 13 and 14 with one assigned IRQ | 68 | * We have slots (IDSEL) 12, 13 and 14 with one assigned IRQ |
| 69 | * for 12 & 13 and one for 14. | 69 | * for 12 & 13 and one for 14. |
| 70 | */ | 70 | */ |
| 71 | #interrupt-cells = <1>; | ||
| 72 | interrupt-map-mask = <0xf800 0 0 7>; | ||
| 71 | interrupt-map = | 73 | interrupt-map = |
| 72 | /* IDSEL 12 */ | 74 | /* IDSEL 12 */ |
| 73 | <0x6000 0 0 1 &gpio0 7 IRQ_TYPE_LEVEL_LOW>, /* INT A on slot 12 is irq 7 */ | 75 | <0x6000 0 0 1 &gpio0 7 IRQ_TYPE_LEVEL_LOW>, /* INT A on slot 12 is irq 7 */ |
| @@ -122,6 +122,8 @@ · 121 unmodified lines | |||
| 122 | * Taken from NSLU2 PCI boardfile, INT A, B, C swizzled D constant | 122 | * Taken from NSLU2 PCI boardfile, INT A, B, C swizzled D constant |
| 123 | * We have slots (IDSEL) 1, 2 and 3. | 123 | * We have slots (IDSEL) 1, 2 and 3. |
| 124 | */ | 124 | */ |
| 125 | #interrupt-cells = <1>; | ||
| 126 | interrupt-map-mask = <0xf800 0 0 7>; | ||
| 125 | interrupt-map = | 127 | interrupt-map = |
| 126 | /* IDSEL 1 */ | 128 | /* IDSEL 1 */ |
| 127 | <0x0800 0 0 1 &gpio0 11 IRQ_TYPE_LEVEL_LOW>, /* INT A on slot 1 is irq 11 */ | 129 | <0x0800 0 0 1 &gpio0 11 IRQ_TYPE_LEVEL_LOW>, /* INT A on slot 1 is irq 11 */ |
| @@ -123,6 +123,8 @@ · 122 unmodified lines | |||
| 123 | * We have up to 2 slots (IDSEL) with 2 swizzled IRQs. | 123 | * We have up to 2 slots (IDSEL) with 2 swizzled IRQs. |
| 124 | * Derived from the GTWX5715 PCI boardfile. | 124 | * Derived from the GTWX5715 PCI boardfile. |
| 125 | */ | 125 | */ |
| 126 | #interrupt-cells = <1>; | ||
| 127 | interrupt-map-mask = <0xf800 0 0 7>; | ||
| 126 | interrupt-map = | 128 | interrupt-map = |
| 127 | /* IDSEL 0 */ | 129 | /* IDSEL 0 */ |
| 128 | <0x0000 0 0 1 &gpio0 10 IRQ_TYPE_LEVEL_LOW>, /* INT A on slot 0 is irq 10 */ | 130 | <0x0000 0 0 1 &gpio0 10 IRQ_TYPE_LEVEL_LOW>, /* INT A on slot 0 is irq 10 */ |
| @@ -62,6 +62,8 @@ · 61 unmodified lines | |||
| 62 | * We have slots (IDSEL) 1 and 2 with one assigned IRQ | 62 | * We have slots (IDSEL) 1 and 2 with one assigned IRQ |
| 63 | * each handling all IRQs. | 63 | * each handling all IRQs. |
| 64 | */ | 64 | */ |
| 65 | #interrupt-cells = <1>; | ||
| 66 | interrupt-map-mask = <0xf800 0 0 7>; | ||
| 65 | interrupt-map = | 67 | interrupt-map = |
| 66 | /* IDSEL 1 */ | 68 | /* IDSEL 1 */ |
| 67 | <0x0800 0 0 1 &gpio0 8 IRQ_TYPE_LEVEL_LOW>, /* INT A on slot 1 is irq 8 */ | 69 | <0x0800 0 0 1 &gpio0 8 IRQ_TYPE_LEVEL_LOW>, /* INT A on slot 1 is irq 8 */ |
| @@ -131,6 +131,8 @@ · 130 unmodified lines | |||
| 131 | * have instead assumed that they are rotated (swizzled) like | 131 | * have instead assumed that they are rotated (swizzled) like |
| 132 | * this with 11, 10, 9, 8 for the 4 pins on IDSEL 1 etc. | 132 | * this with 11, 10, 9, 8 for the 4 pins on IDSEL 1 etc. |
| 133 | */ | 133 | */ |
| 134 | #interrupt-cells = <1>; | ||
| 135 | interrupt-map-mask = <0xf800 0 0 7>; | ||
| 134 | interrupt-map = | 136 | interrupt-map = |
| 135 | /* IDSEL 1 */ | 137 | /* IDSEL 1 */ |
| 136 | <0x0800 0 0 1 &gpio0 11 IRQ_TYPE_LEVEL_LOW>, /* INT A on slot 1 is irq 11 */ | 138 | <0x0800 0 0 1 &gpio0 11 IRQ_TYPE_LEVEL_LOW>, /* INT A on slot 1 is irq 11 */ |
| @@ -74,5 +74,13 @@ · 73 unmodified lines | |||
| 74 | queue-rx = <&qmgr 0>; | 74 | queue-rx = <&qmgr 0>; |
| 75 | queue-txready = <&qmgr 0>; | 75 | queue-txready = <&qmgr 0>; |
| 76 | }; | 76 | }; |
| 77 | |||
| 78 | ptp-timer@c8010000 { | ||
| 79 | compatible = "intel,ixp46x-ptp-timer"; | ||
| 80 | reg = <0xc8010000 0x1000>; | ||
| 81 | interrupt-parent = <&gpio0>; | ||
| 82 | interrupts = <8 IRQ_TYPE_EDGE_FALLING>, <7 IRQ_TYPE_EDGE_FALLING>; | ||
| 83 | interrupt-names = "master", "slave"; | ||
| 84 | }; | ||
| 77 | }; | 85 | }; |
| 78 | }; | 86 | }; |
| @@ -106,6 +106,8 @@ · 105 unmodified lines | |||
| 106 | * PCI slots on the BIXMB425BD base card. | 106 | * PCI slots on the BIXMB425BD base card. |
| 107 | * We have up to 4 slots (IDSEL) with 4 swizzled IRQs. | 107 | * We have up to 4 slots (IDSEL) with 4 swizzled IRQs. |
| 108 | */ | 108 | */ |
| 109 | #interrupt-cells = <1>; | ||
| 110 | interrupt-map-mask = <0xf800 0 0 7>; | ||
| 109 | interrupt-map = | 111 | interrupt-map = |
| 110 | /* IDSEL 1 */ | 112 | /* IDSEL 1 */ |
| 111 | <0x0800 0 0 1 &gpio0 11 IRQ_TYPE_LEVEL_LOW>, /* INT A on slot 1 is irq 11 */ | 113 | <0x0800 0 0 1 &gpio0 11 IRQ_TYPE_LEVEL_LOW>, /* INT A on slot 1 is irq 11 */ |
| @@ -78,8 +78,6 @@ · 77 unmodified lines | |||
| 78 | dma-ranges = | 78 | dma-ranges = |
| 79 | <0x02000000 0 0x00000000 0x00000000 0 0x04000000>; | 79 | <0x02000000 0 0x00000000 0x00000000 0 0x04000000>; |
| 80 | 80 | ||
| 81 | #interrupt-cells = <1>; | ||
| 82 | interrupt-map-mask = <0xf800 0 0 7>; | ||
| 83 | /* Each unique DTS using PCI must specify the swizzling */ | 81 | /* Each unique DTS using PCI must specify the swizzling */ |
| 84 | }; | 82 | }; |
| 85 | 83 | ||
| @@ -158,6 +158,8 @@ · 157 unmodified lines | |||
| 158 | status = "okay"; | 158 | status = "okay"; |
| 159 | 159 | ||
| 160 | phy3: ethernet-phy@3 { | 160 | phy3: ethernet-phy@3 { |
| 161 | compatible = "ethernet-phy-id0022.1622", | ||
| 162 | "ethernet-phy-ieee802.3-c22"; | ||
| 161 | reg = <3>; | 163 | reg = <3>; |
| 162 | micrel,led-mode = <1>; | 164 | micrel,led-mode = <1>; |
| 163 | }; | 165 | }; |
| @@ -1,49 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: (GPL-2.0+ OR MIT) | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 2013-2014 Freescale Semiconductor, Inc. | 3 | * Copyright 2013-2014 Freescale Semiconductor, Inc. |
| 3 | * Copyright 2018 NXP | 4 | * Copyright 2018 NXP |
| 4 | * | ||
| 5 | * This file is dual-licensed: you can use it either under the terms | ||
| 6 | * of the GPL or the X11 license, at your option. Note that this dual | ||
| 7 | * licensing only applies to this file, and not this project as a | ||
| 8 | * whole. | ||
| 9 | * | ||
| 10 | * a) This file is free software; you can redistribute it and/or | ||
| 11 | * modify it under the terms of the GNU General Public License as | ||
| 12 | * published by the Free Software Foundation; either version 2 of | ||
| 13 | * the License, or (at your option) any later version. | ||
| 14 | * | ||
| 15 | * This file is distributed in the hope that it will be useful, | ||
| 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 18 | * GNU General Public License for more details. | ||
| 19 | * | ||
| 20 | * You should have received a copy of the GNU General Public | ||
| 21 | * License along with this file; if not, write to the Free | ||
| 22 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, | ||
| 23 | * MA 02110-1301 USA | ||
| 24 | * | ||
| 25 | * Or, alternatively, | ||
| 26 | * | ||
| 27 | * b) Permission is hereby granted, free of charge, to any person | ||
| 28 | * obtaining a copy of this software and associated documentation | ||
| 29 | * files (the "Software"), to deal in the Software without | ||
| 30 | * restriction, including without limitation the rights to use, | ||
| 31 | * copy, modify, merge, publish, distribute, sublicense, and/or | ||
| 32 | * sell copies of the Software, and to permit persons to whom the | ||
| 33 | * Software is furnished to do so, subject to the following | ||
| 34 | * conditions: | ||
| 35 | * | ||
| 36 | * The above copyright notice and this permission notice shall be | ||
| 37 | * included in all copies or substantial portions of the Software. | ||
| 38 | * | ||
| 39 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
| 40 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES | ||
| 41 | * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
| 42 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT | ||
| 43 | * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, | ||
| 44 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | ||
| 45 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | ||
| 46 | * OTHER DEALINGS IN THE SOFTWARE. | ||
| 47 | */ | 5 | */ |
| 48 | 6 | ||
| 49 | /dts-v1/; | 7 | /dts-v1/; |
| @@ -67,19 +25,12 @@ · 17 unmodified lines | |||
| 67 | clock-frequency = <24576000>; | 25 | clock-frequency = <24576000>; |
| 68 | }; | 26 | }; |
| 69 | 27 | ||
| 70 | regulators { | 28 | reg_3p3v: regulator { |
| 71 | compatible = "simple-bus"; | 29 | compatible = "regulator-fixed"; |
| 72 | #address-cells = <1>; | 30 | regulator-name = "3P3V"; |
| 73 | #size-cells = <0>; | 31 | regulator-min-microvolt = <3300000>; |
| 74 | 32 | regulator-max-microvolt = <3300000>; | |
| 75 | reg_3p3v: regulator@0 { | 33 | regulator-always-on; |
| 76 | compatible = "regulator-fixed"; | ||
| 77 | reg = <0>; | ||
| 78 | regulator-name = "3P3V"; | ||
| 79 | regulator-min-microvolt = <3300000>; | ||
| 80 | regulator-max-microvolt = <3300000>; | ||
| 81 | regulator-always-on; | ||
| 82 | }; | ||
| 83 | }; | 34 | }; |
| 84 | 35 | ||
| 85 | sound { | 36 | sound { |
| @@ -231,9 +182,9 @@ · 145 unmodified lines | |||
| 231 | #address-cells = <2>; | 182 | #address-cells = <2>; |
| 232 | #size-cells = <1>; | 183 | #size-cells = <1>; |
| 233 | /* NOR, NAND Flashes and FPGA on board */ | 184 | /* NOR, NAND Flashes and FPGA on board */ |
| 234 | ranges = <0x0 0x0 0x0 0x60000000 0x08000000 | 185 | ranges = <0x0 0x0 0x0 0x60000000 0x08000000>, |
| 235 | 0x2 0x0 0x0 0x7e800000 0x00010000 | 186 | <0x2 0x0 0x0 0x7e800000 0x00010000>, |
| 236 | 0x3 0x0 0x0 0x7fb00000 0x00000100>; | 187 | <0x3 0x0 0x0 0x7fb00000 0x00000100>; |
| 237 | status = "okay"; | 188 | status = "okay"; |
| 238 | 189 | ||
| 239 | nor@0,0 { | 190 | nor@0,0 { |
| @@ -254,7 +205,7 @@ · 14 unmodified lines | |||
| 254 | fpga: board-control@3,0 { | 205 | fpga: board-control@3,0 { |
| 255 | #address-cells = <1>; | 206 | #address-cells = <1>; |
| 256 | #size-cells = <1>; | 207 | #size-cells = <1>; |
| 257 | compatible = "simple-bus"; | 208 | compatible = "simple-mfd"; |
| 258 | reg = <0x3 0x0 0x0000100>; | 209 | reg = <0x3 0x0 0x0000100>; |
| 259 | bank-width = <1>; | 210 | bank-width = <1>; |
| 260 | device-width = <1>; | 211 | device-width = <1>; |
| @@ -328,6 +279,20 @@ · 67 unmodified lines | |||
| 328 | }; | 279 | }; |
| 329 | }; | 280 | }; |
| 330 | 281 | ||
| 282 | &qspi { | ||
| 283 | status = "okay"; | ||
| 284 | |||
| 285 | flash@0 { | ||
| 286 | compatible = "jedec,spi-nor"; | ||
| 287 | #address-cells = <1>; | ||
| 288 | #size-cells = <1>; | ||
| 289 | spi-max-frequency = <20000000>; | ||
| 290 | reg = <0>; | ||
| 291 | spi-rx-bus-width = <4>; | ||
| 292 | spi-tx-bus-width = <4>; | ||
| 293 | }; | ||
| 294 | }; | ||
| 295 | |||
| 331 | &sai2 { | 296 | &sai2 { |
| 332 | status = "okay"; | 297 | status = "okay"; |
| 333 | }; | 298 | }; |
| @@ -8,6 +8,7 @@ · 7 unmodified lines | |||
| 8 | 8 | ||
| 9 | / { | 9 | / { |
| 10 | model = "NXP LS1021A-TSN Board"; | 10 | model = "NXP LS1021A-TSN Board"; |
| 11 | compatible = "fsl,ls1021a-tsn", "fsl,ls1021a"; | ||
| 11 | 12 | ||
| 12 | sys_mclk: clock-mclk { | 13 | sys_mclk: clock-mclk { |
| 13 | compatible = "fixed-clock"; | 14 | compatible = "fixed-clock"; |
| @@ -136,7 +137,6 @@ · 122 unmodified lines | |||
| 136 | /* 3 axis accelerometer */ | 137 | /* 3 axis accelerometer */ |
| 137 | accelerometer@1e { | 138 | accelerometer@1e { |
| 138 | compatible = "fsl,fxls8471"; | 139 | compatible = "fsl,fxls8471"; |
| 139 | position = <0>; | ||
| 140 | reg = <0x1e>; | 140 | reg = <0x1e>; |
| 141 | }; | 141 | }; |
| 142 | 142 | ||
| @@ -251,7 +251,7 @@ · 108 unmodified lines | |||
| 251 | 251 | ||
| 252 | flash@0 { | 252 | flash@0 { |
| 253 | /* Rev. A uses 64MB flash, Rev. B & C use 32MB flash */ | 253 | /* Rev. A uses 64MB flash, Rev. B & C use 32MB flash */ |
| 254 | compatible = "jedec,spi-nor", "s25fl256s1", "s25fl512s"; | 254 | compatible = "jedec,spi-nor"; |
| 255 | spi-max-frequency = <20000000>; | 255 | spi-max-frequency = <20000000>; |
| 256 | #address-cells = <1>; | 256 | #address-cells = <1>; |
| 257 | #size-cells = <1>; | 257 | #size-cells = <1>; |
| @@ -1,49 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: (GPL-2.0+ OR MIT) | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 2013-2014 Freescale Semiconductor, Inc. | 3 | * Copyright 2013-2014 Freescale Semiconductor, Inc. |
| 3 | * Copyright 2018 NXP | 4 | * Copyright 2018 NXP |
| 4 | * | ||
| 5 | * This file is dual-licensed: you can use it either under the terms | ||
| 6 | * of the GPL or the X11 license, at your option. Note that this dual | ||
| 7 | * licensing only applies to this file, and not this project as a | ||
| 8 | * whole. | ||
| 9 | * | ||
| 10 | * a) This file is free software; you can redistribute it and/or | ||
| 11 | * modify it under the terms of the GNU General Public License as | ||
| 12 | * published by the Free Software Foundation; either version 2 of | ||
| 13 | * the License, or (at your option) any later version. | ||
| 14 | * | ||
| 15 | * This file is distributed in the hope that it will be useful, | ||
| 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 18 | * GNU General Public License for more details. | ||
| 19 | * | ||
| 20 | * You should have received a copy of the GNU General Public | ||
| 21 | * License along with this file; if not, write to the Free | ||
| 22 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, | ||
| 23 | * MA 02110-1301 USA | ||
| 24 | * | ||
| 25 | * Or, alternatively, | ||
| 26 | * | ||
| 27 | * b) Permission is hereby granted, free of charge, to any person | ||
| 28 | * obtaining a copy of this software and associated documentation | ||
| 29 | * files (the "Software"), to deal in the Software without | ||
| 30 | * restriction, including without limitation the rights to use, | ||
| 31 | * copy, modify, merge, publish, distribute, sublicense, and/or | ||
| 32 | * sell copies of the Software, and to permit persons to whom the | ||
| 33 | * Software is furnished to do so, subject to the following | ||
| 34 | * conditions: | ||
| 35 | * | ||
| 36 | * The above copyright notice and this permission notice shall be | ||
| 37 | * included in all copies or substantial portions of the Software. | ||
| 38 | * | ||
| 39 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
| 40 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES | ||
| 41 | * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
| 42 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT | ||
| 43 | * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, | ||
| 44 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | ||
| 45 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | ||
| 46 | * OTHER DEALINGS IN THE SOFTWARE. | ||
| 47 | */ | 5 | */ |
| 48 | 6 | ||
| 49 | /dts-v1/; | 7 | /dts-v1/; |
| @@ -65,19 +23,12 @@ · 15 unmodified lines | |||
| 65 | clock-frequency = <24576000>; | 23 | clock-frequency = <24576000>; |
| 66 | }; | 24 | }; |
| 67 | 25 | ||
| 68 | regulators { | 26 | reg_3p3v: regulator { |
| 69 | compatible = "simple-bus"; | 27 | compatible = "regulator-fixed"; |
| 70 | #address-cells = <1>; | 28 | regulator-name = "3P3V"; |
| 71 | #size-cells = <0>; | 29 | regulator-min-microvolt = <3300000>; |
| 72 | 30 | regulator-max-microvolt = <3300000>; | |
| 73 | reg_3p3v: regulator@0 { | 31 | regulator-always-on; |
| 74 | compatible = "regulator-fixed"; | ||
| 75 | reg = <0>; | ||
| 76 | regulator-name = "3P3V"; | ||
| 77 | regulator-min-microvolt = <3300000>; | ||
| 78 | regulator-max-microvolt = <3300000>; | ||
| 79 | regulator-always-on; | ||
| 80 | }; | ||
| 81 | }; | 32 | }; |
| 82 | 33 | ||
| 83 | sound { | 34 | sound { |
| @@ -1,48 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: (GPL-2.0+ OR MIT) | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 2013-2014 Freescale Semiconductor, Inc. | 3 | * Copyright 2013-2014 Freescale Semiconductor, Inc. |
| 3 | * | ||
| 4 | * This file is dual-licensed: you can use it either under the terms | ||
| 5 | * of the GPL or the X11 license, at your option. Note that this dual | ||
| 6 | * licensing only applies to this file, and not this project as a | ||
| 7 | * whole. | ||
| 8 | * | ||
| 9 | * a) This file is free software; you can redistribute it and/or | ||
| 10 | * modify it under the terms of the GNU General Public License as | ||
| 11 | * published by the Free Software Foundation; either version 2 of | ||
| 12 | * the License, or (at your option) any later version. | ||
| 13 | * | ||
| 14 | * This file is distributed in the hope that it will be useful, | ||
| 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 17 | * GNU General Public License for more details. | ||
| 18 | * | ||
| 19 | * You should have received a copy of the GNU General Public | ||
| 20 | * License along with this file; if not, write to the Free | ||
| 21 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, | ||
| 22 | * MA 02110-1301 USA | ||
| 23 | * | ||
| 24 | * Or, alternatively, | ||
| 25 | * | ||
| 26 | * b) Permission is hereby granted, free of charge, to any person | ||
| 27 | * obtaining a copy of this software and associated documentation | ||
| 28 | * files (the "Software"), to deal in the Software without | ||
| 29 | * restriction, including without limitation the rights to use, | ||
| 30 | * copy, modify, merge, publish, distribute, sublicense, and/or | ||
| 31 | * sell copies of the Software, and to permit persons to whom the | ||
| 32 | * Software is furnished to do so, subject to the following | ||
| 33 | * conditions: | ||
| 34 | * | ||
| 35 | * The above copyright notice and this permission notice shall be | ||
| 36 | * included in all copies or substantial portions of the Software. | ||
| 37 | * | ||
| 38 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
| 39 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES | ||
| 40 | * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
| 41 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT | ||
| 42 | * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, | ||
| 43 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | ||
| 44 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | ||
| 45 | * OTHER DEALINGS IN THE SOFTWARE. | ||
| 46 | */ | 4 | */ |
| 47 | 5 | ||
| 48 | #include <dt-bindings/interrupt-controller/arm-gic.h> | 6 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
| @@ -51,7 +9,6 @@ · 2 unmodified lines | |||
| 51 | / { | 9 | / { |
| 52 | #address-cells = <2>; | 10 | #address-cells = <2>; |
| 53 | #size-cells = <2>; | 11 | #size-cells = <2>; |
| 54 | compatible = "fsl,ls1021a"; | ||
| 55 | interrupt-parent = <&gic>; | 12 | interrupt-parent = <&gic>; |
| 56 | 13 | ||
| 57 | aliases { | 14 | aliases { |
| @@ -90,7 +47,7 @@ · 32 unmodified lines | |||
| 90 | }; | 47 | }; |
| 91 | }; | 48 | }; |
| 92 | 49 | ||
| 93 | memory { | 50 | memory@0 { |
| 94 | device_type = "memory"; | 51 | device_type = "memory"; |
| 95 | reg = <0x0 0x0 0x0 0x0>; | 52 | reg = <0x0 0x0 0x0 0x0>; |
| 96 | }; | 53 | }; |
| @@ -169,6 +126,7 @@ · 72 unmodified lines | |||
| 169 | compatible = "fsl,ifc", "simple-bus"; | 126 | compatible = "fsl,ifc", "simple-bus"; |
| 170 | reg = <0x0 0x1530000 0x0 0x10000>; | 127 | reg = <0x0 0x1530000 0x0 0x10000>; |
| 171 | interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>; | 128 | interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>; |
| 129 | status = "disabled"; | ||
| 172 | }; | 130 | }; |
| 173 | 131 | ||
| 174 | dcfg: dcfg@1ee0000 { | 132 | dcfg: dcfg@1ee0000 { |
| @@ -290,78 +248,45 @@ · 115 unmodified lines | |||
| 290 | reg = <0x0 0x1f00000 0x0 0x10000>; | 248 | reg = <0x0 0x1f00000 0x0 0x10000>; |
| 291 | interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>; | 249 | interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>; |
| 292 | fsl,tmu-range = <0xb0000 0x9002c 0x6004e 0x30066>; | 250 | fsl,tmu-range = <0xb0000 0x9002c 0x6004e 0x30066>; |
| 293 | fsl,tmu-calibration = <0x00000000 0x00000020 | 251 | fsl,tmu-calibration = <0x00000000 0x00000020>, |
| 294 | 0x00000001 0x00000024 | 252 | <0x00000001 0x00000024>, |
| 295 | 0x00000002 0x0000002a | 253 | <0x00000002 0x0000002a>, |
| 296 | 0x00000003 0x00000032 | 254 | <0x00000003 0x00000032>, |
| 297 | 0x00000004 0x00000038 | 255 | <0x00000004 0x00000038>, |
| 298 | 0x00000005 0x0000003e | 256 | <0x00000005 0x0000003e>, |
| 299 | 0x00000006 0x00000043 | 257 | <0x00000006 0x00000043>, |
| 300 | 0x00000007 0x0000004a | 258 | <0x00000007 0x0000004a>, |
| 301 | 0x00000008 0x00000050 | 259 | <0x00000008 0x00000050>, |
| 302 | 0x00000009 0x00000059 | 260 | <0x00000009 0x00000059>, |
| 303 | 0x0000000a 0x0000005f | 261 | <0x0000000a 0x0000005f>, |
| 304 | 0x0000000b 0x00000066 | 262 | <0x0000000b 0x00000066>, |
| 305 | 263 | ||
| 306 | 0x00010000 0x00000023 | 264 | <0x00010000 0x00000023>, |
| 307 | 0x00010001 0x0000002b | 265 | <0x00010001 0x0000002b>, |
| 308 | 0x00010002 0x00000033 | 266 | <0x00010002 0x00000033>, |
| 309 | 0x00010003 0x0000003a | 267 | <0x00010003 0x0000003a>, |
| 310 | 0x00010004 0x00000042 | 268 | <0x00010004 0x00000042>, |
| 311 | 0x00010005 0x0000004a | 269 | <0x00010005 0x0000004a>, |
| 312 | 0x00010006 0x00000054 | 270 | <0x00010006 0x00000054>, |
| 313 | 0x00010007 0x0000005c | 271 | <0x00010007 0x0000005c>, |
| 314 | 0x00010008 0x00000065 | 272 | <0x00010008 0x00000065>, |
| 315 | 0x00010009 0x0000006f | 273 | <0x00010009 0x0000006f>, |
| 316 | 274 | ||
| 317 | 0x00020000 0x00000029 | 275 | <0x00020000 0x00000029>, |
| 318 | 0x00020001 0x00000033 | 276 | <0x00020001 0x00000033>, |
| 319 | 0x00020002 0x0000003d | 277 | <0x00020002 0x0000003d>, |
| 320 | 0x00020003 0x00000048 | 278 | <0x00020003 0x00000048>, |
| 321 | 0x00020004 0x00000054 | 279 | <0x00020004 0x00000054>, |
| 322 | 0x00020005 0x00000060 | 280 | <0x00020005 0x00000060>, |
| 323 | 0x00020006 0x0000006c | 281 | <0x00020006 0x0000006c>, |
| 324 | 282 | ||
| 325 | 0x00030000 0x00000025 | 283 | <0x00030000 0x00000025>, |
| 326 | 0x00030001 0x00000033 | 284 | <0x00030001 0x00000033>, |
| 327 | 0x00030002 0x00000043 | 285 | <0x00030002 0x00000043>, |
| 328 | 0x00030003 0x00000055>; | 286 | <0x00030003 0x00000055>; |
| 329 | #thermal-sensor-cells = <1>; | 287 | #thermal-sensor-cells = <1>; |
| 330 | }; | 288 | }; |
| 331 | 289 | ||
| 332 | thermal-zones { | ||
| 333 | cpu_thermal: cpu-thermal { | ||
| 334 | polling-delay-passive = <1000>; | ||
| 335 | polling-delay = <5000>; | ||
| 336 | |||
| 337 | thermal-sensors = <&tmu 0>; | ||
| 338 | |||
| 339 | trips { | ||
| 340 | cpu_alert: cpu-alert { | ||
| 341 | temperature = <85000>; | ||
| 342 | hysteresis = <2000>; | ||
| 343 | type = "passive"; | ||
| 344 | }; | ||
| 345 | cpu_crit: cpu-crit { | ||
| 346 | temperature = <95000>; | ||
| 347 | hysteresis = <2000>; | ||
| 348 | type = "critical"; | ||
| 349 | }; | ||
| 350 | }; | ||
| 351 | |||
| 352 | cooling-maps { | ||
| 353 | map0 { | ||
| 354 | trip = <&cpu_alert>; | ||
| 355 | cooling-device = | ||
| 356 | <&cpu0 THERMAL_NO_LIMIT | ||
| 357 | THERMAL_NO_LIMIT>, | ||
| 358 | <&cpu1 THERMAL_NO_LIMIT | ||
| 359 | THERMAL_NO_LIMIT>; | ||
| 360 | }; | ||
| 361 | }; | ||
| 362 | }; | ||
| 363 | }; | ||
| 364 | |||
| 365 | dspi0: spi@2100000 { | 290 | dspi0: spi@2100000 { |
| 366 | compatible = "fsl,ls1021a-v1.0-dspi"; | 291 | compatible = "fsl,ls1021a-v1.0-dspi"; |
| 367 | #address-cells = <1>; | 292 | #address-cells = <1>; |
| @@ -394,10 +319,9 @@ · 26 unmodified lines | |||
| 394 | #size-cells = <0>; | 319 | #size-cells = <0>; |
| 395 | reg = <0x0 0x2180000 0x0 0x10000>; | 320 | reg = <0x0 0x2180000 0x0 0x10000>; |
| 396 | interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>; | 321 | interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>; |
| 397 | clock-names = "i2c"; | ||
| 398 | clocks = <&clockgen 4 1>; | 322 | clocks = <&clockgen 4 1>; |
| 399 | dma-names = "tx", "rx"; | 323 | dma-names = "rx", "tx"; |
| 400 | dmas = <&edma0 1 39>, <&edma0 1 38>; | 324 | dmas = <&edma0 1 38>, <&edma0 1 39>; |
| 401 | status = "disabled"; | 325 | status = "disabled"; |
| 402 | }; | 326 | }; |
| 403 | 327 | ||
| @@ -407,10 +331,9 @@ · 3 unmodified lines | |||
| 407 | #size-cells = <0>; | 331 | #size-cells = <0>; |
| 408 | reg = <0x0 0x2190000 0x0 0x10000>; | 332 | reg = <0x0 0x2190000 0x0 0x10000>; |
| 409 | interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>; | 333 | interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>; |
| 410 | clock-names = "i2c"; | ||
| 411 | clocks = <&clockgen 4 1>; | 334 | clocks = <&clockgen 4 1>; |
| 412 | dma-names = "tx", "rx"; | 335 | dma-names = "rx", "tx"; |
| 413 | dmas = <&edma0 1 37>, <&edma0 1 36>; | 336 | dmas = <&edma0 1 36>, <&edma0 1 37>; |
| 414 | status = "disabled"; | 337 | status = "disabled"; |
| 415 | }; | 338 | }; |
| 416 | 339 | ||
| @@ -420,10 +343,9 @@ · 3 unmodified lines | |||
| 420 | #size-cells = <0>; | 343 | #size-cells = <0>; |
| 421 | reg = <0x0 0x21a0000 0x0 0x10000>; | 344 | reg = <0x0 0x21a0000 0x0 0x10000>; |
| 422 | interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>; | 345 | interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>; |
| 423 | clock-names = "i2c"; | ||
| 424 | clocks = <&clockgen 4 1>; | 346 | clocks = <&clockgen 4 1>; |
| 425 | dma-names = "tx", "rx"; | 347 | dma-names = "rx", "tx"; |
| 426 | dmas = <&edma0 1 35>, <&edma0 1 34>; | 348 | dmas = <&edma0 1 34>, <&edma0 1 35>; |
| 427 | status = "disabled"; | 349 | status = "disabled"; |
| 428 | }; | 350 | }; |
| 429 | 351 | ||
| @@ -884,8 +806,8 @@ · 454 unmodified lines | |||
| 884 | 806 | ||
| 885 | pcie@3400000 { | 807 | pcie@3400000 { |
| 886 | compatible = "fsl,ls1021a-pcie"; | 808 | compatible = "fsl,ls1021a-pcie"; |
| 887 | reg = <0x00 0x03400000 0x0 0x00010000 /* controller registers */ | 809 | reg = <0x00 0x03400000 0x0 0x00010000>, /* controller registers */ |
| 888 | 0x40 0x00000000 0x0 0x00002000>; /* configuration space */ | 810 | <0x40 0x00000000 0x0 0x00002000>; /* configuration space */ |
| 889 | reg-names = "regs", "config"; | 811 | reg-names = "regs", "config"; |
| 890 | interrupts = <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>; /* controller interrupt */ | 812 | interrupts = <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>; /* controller interrupt */ |
| 891 | fsl,pcie-scfg = <&scfg 0>; | 813 | fsl,pcie-scfg = <&scfg 0>; |
| @@ -894,8 +816,8 @@ · 2 unmodified lines | |||
| 894 | device_type = "pci"; | 816 | device_type = "pci"; |
| 895 | num-viewport = <6>; | 817 | num-viewport = <6>; |
| 896 | bus-range = <0x0 0xff>; | 818 | bus-range = <0x0 0xff>; |
| 897 | ranges = <0x81000000 0x0 0x00000000 0x40 0x00010000 0x0 0x00010000 /* downstream I/O */ | 819 | ranges = <0x81000000 0x0 0x00000000 0x40 0x00010000 0x0 0x00010000>, /* downstream I/O */ |
| 898 | 0x82000000 0x0 0x40000000 0x40 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ | 820 | <0x82000000 0x0 0x40000000 0x40 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ |
| 899 | msi-parent = <&msi1>, <&msi2>; | 821 | msi-parent = <&msi1>, <&msi2>; |
| 900 | #interrupt-cells = <1>; | 822 | #interrupt-cells = <1>; |
| 901 | interrupt-map-mask = <0 0 0 7>; | 823 | interrupt-map-mask = <0 0 0 7>; |
| @@ -908,8 +830,8 @@ · 6 unmodified lines | |||
| 908 | 830 | ||
| 909 | pcie@3500000 { | 831 | pcie@3500000 { |
| 910 | compatible = "fsl,ls1021a-pcie"; | 832 | compatible = "fsl,ls1021a-pcie"; |
| 911 | reg = <0x00 0x03500000 0x0 0x00010000 /* controller registers */ | 833 | reg = <0x00 0x03500000 0x0 0x00010000>, /* controller registers */ |
| 912 | 0x48 0x00000000 0x0 0x00002000>; /* configuration space */ | 834 | <0x48 0x00000000 0x0 0x00002000>; /* configuration space */ |
| 913 | reg-names = "regs", "config"; | 835 | reg-names = "regs", "config"; |
| 914 | interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>; | 836 | interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>; |
| 915 | fsl,pcie-scfg = <&scfg 1>; | 837 | fsl,pcie-scfg = <&scfg 1>; |
| @@ -918,8 +840,8 @@ · 2 unmodified lines | |||
| 918 | device_type = "pci"; | 840 | device_type = "pci"; |
| 919 | num-viewport = <6>; | 841 | num-viewport = <6>; |
| 920 | bus-range = <0x0 0xff>; | 842 | bus-range = <0x0 0xff>; |
| 921 | ranges = <0x81000000 0x0 0x00000000 0x48 0x00010000 0x0 0x00010000 /* downstream I/O */ | 843 | ranges = <0x81000000 0x0 0x00000000 0x48 0x00010000 0x0 0x00010000>, /* downstream I/O */ |
| 922 | 0x82000000 0x0 0x40000000 0x48 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ | 844 | <0x82000000 0x0 0x40000000 0x48 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ |
| 923 | msi-parent = <&msi1>, <&msi2>; | 845 | msi-parent = <&msi1>, <&msi2>; |
| 924 | #interrupt-cells = <1>; | 846 | #interrupt-cells = <1>; |
| 925 | interrupt-map-mask = <0 0 0 7>; | 847 | interrupt-map-mask = <0 0 0 7>; |
| @@ -992,6 +914,7 @@ · 66 unmodified lines | |||
| 992 | <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>; | 914 | <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>; |
| 993 | interrupt-names = "qdma-error", | 915 | interrupt-names = "qdma-error", |
| 994 | "qdma-queue0", "qdma-queue1"; | 916 | "qdma-queue0", "qdma-queue1"; |
| 917 | #dma-cells = <2>; | ||
| 995 | dma-channels = <8>; | 918 | dma-channels = <8>; |
| 996 | block-number = <1>; | 919 | block-number = <1>; |
| 997 | block-offset = <0x1000>; | 920 | block-offset = <0x1000>; |
| @@ -1005,6 +928,7 @@ · 7 unmodified lines | |||
| 1005 | compatible = "fsl,ls1021a-rcpm", "fsl,qoriq-rcpm-2.1+"; | 928 | compatible = "fsl,ls1021a-rcpm", "fsl,qoriq-rcpm-2.1+"; |
| 1006 | reg = <0x0 0x1ee2140 0x0 0x8>; | 929 | reg = <0x0 0x1ee2140 0x0 0x8>; |
| 1007 | #fsl,rcpm-wakeup-cells = <2>; | 930 | #fsl,rcpm-wakeup-cells = <2>; |
| 931 | #power-domain-cells = <0>; | ||
| 1008 | }; | 932 | }; |
| 1009 | 933 | ||
| 1010 | ftm_alarm0: timer0@29d0000 { | 934 | ftm_alarm0: timer0@29d0000 { |
| @@ -1016,4 +940,37 @@ · 5 unmodified lines | |||
| 1016 | big-endian; | 940 | big-endian; |
| 1017 | }; | 941 | }; |
| 1018 | }; | 942 | }; |
| 943 | |||
| 944 | thermal-zones { | ||
| 945 | cpu_thermal: cpu-thermal { | ||
| 946 | polling-delay-passive = <1000>; | ||
| 947 | polling-delay = <5000>; | ||
| 948 | |||
| 949 | thermal-sensors = <&tmu 0>; | ||
| 950 | |||
| 951 | trips { | ||
| 952 | cpu_alert: cpu-alert { | ||
| 953 | temperature = <85000>; | ||
| 954 | hysteresis = <2000>; | ||
| 955 | type = "passive"; | ||
| 956 | }; | ||
| 957 | cpu_crit: cpu-crit { | ||
| 958 | temperature = <95000>; | ||
| 959 | hysteresis = <2000>; | ||
| 960 | type = "critical"; | ||
| 961 | }; | ||
| 962 | }; | ||
| 963 | |||
| 964 | cooling-maps { | ||
| 965 | map0 { | ||
| 966 | trip = <&cpu_alert>; | ||
| 967 | cooling-device = | ||
| 968 | <&cpu0 THERMAL_NO_LIMIT | ||
| 969 | THERMAL_NO_LIMIT>, | ||
| 970 | <&cpu1 THERMAL_NO_LIMIT | ||
| 971 | THERMAL_NO_LIMIT>; | ||
| 972 | }; | ||
| 973 | }; | ||
| 974 | }; | ||
| 975 | }; | ||
| 1019 | }; | 976 | }; |
| @@ -216,8 +216,13 @@ · 215 unmodified lines | |||
| 216 | compatible = "syscon", "simple-mfd"; | 216 | compatible = "syscon", "simple-mfd"; |
| 217 | reg = <0x8000 0x10>; | 217 | reg = <0x8000 0x10>; |
| 218 | 218 | ||
| 219 | led0 { | 219 | ranges = <0x0 0x8000 0x10>; |
| 220 | #address-cells = <1>; | ||
| 221 | #size-cells = <1>; | ||
| 222 | |||
| 223 | led@0,0 { | ||
| 220 | compatible = "register-bit-led"; | 224 | compatible = "register-bit-led"; |
| 225 | reg = <0x00 0x04>; | ||
| 221 | offset = <0x0>; | 226 | offset = <0x0>; |
| 222 | mask = <0x01>; | 227 | mask = <0x01>; |
| 223 | label = "userled:0"; | 228 | label = "userled:0"; |
| @@ -225,8 +230,9 @@ · 1 unmodified line | |||
| 225 | default-state = "on"; | 230 | default-state = "on"; |
| 226 | }; | 231 | }; |
| 227 | 232 | ||
| 228 | led1 { | 233 | led@0,1 { |
| 229 | compatible = "register-bit-led"; | 234 | compatible = "register-bit-led"; |
| 235 | reg = <0x00 0x04>; | ||
| 230 | offset = <0x0>; | 236 | offset = <0x0>; |
| 231 | mask = <0x02>; | 237 | mask = <0x02>; |
| 232 | label = "userled:1"; | 238 | label = "userled:1"; |
| @@ -39,6 +39,7 @@ · 38 unmodified lines | |||
| 39 | * u-boot is broken | 39 | * u-boot is broken |
| 40 | */ | 40 | */ |
| 41 | clock-frequency = <6000000>; | 41 | clock-frequency = <6000000>; |
| 42 | arm,cpu-registers-not-fw-configured; | ||
| 42 | }; | 43 | }; |
| 43 | 44 | ||
| 44 | pmu: pmu { | 45 | pmu: pmu { |
| @@ -109,12 +110,20 @@ · 64 unmodified lines | |||
| 109 | mask = <0x79>; | 110 | mask = <0x79>; |
| 110 | }; | 111 | }; |
| 111 | 112 | ||
| 113 | rtc@2400 { | ||
| 114 | compatible = "mstar,msc313-rtc"; | ||
| 115 | reg = <0x2400 0x40>; | ||
| 116 | clocks = <&xtal_div2>; | ||
| 117 | interrupts-extended = <&intc_irq GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>; | ||
| 118 | }; | ||
| 119 | |||
| 112 | watchdog@6000 { | 120 | watchdog@6000 { |
| 113 | compatible = "mstar,msc313e-wdt"; | 121 | compatible = "mstar,msc313e-wdt"; |
| 114 | reg = <0x6000 0x1f>; | 122 | reg = <0x6000 0x1f>; |
| 115 | clocks = <&xtal_div2>; | 123 | clocks = <&xtal_div2>; |
| 116 | }; | 124 | }; |
| 117 | 125 | ||
| 126 | |||
| 118 | intc_fiq: interrupt-controller@201310 { | 127 | intc_fiq: interrupt-controller@201310 { |
| 119 | compatible = "mstar,mst-intc"; | 128 | compatible = "mstar,mst-intc"; |
| 120 | reg = <0x201310 0x40>; | 129 | reg = <0x201310 0x40>; |
| @@ -585,6 +585,39 @@ · 584 unmodified lines | |||
| 585 | status = "disabled"; | 585 | status = "disabled"; |
| 586 | }; | 586 | }; |
| 587 | 587 | ||
| 588 | usb0: usb@11200000 { | ||
| 589 | compatible = "mediatek,mt7623-musb", | ||
| 590 | "mediatek,mtk-musb"; | ||
| 591 | reg = <0 0x11200000 0 0x1000>; | ||
| 592 | interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_LOW>; | ||
| 593 | interrupt-names = "mc"; | ||
| 594 | phys = <&u2port2 PHY_TYPE_USB2>; | ||
| 595 | dr_mode = "otg"; | ||
| 596 | clocks = <&pericfg CLK_PERI_USB0>, | ||
| 597 | <&pericfg CLK_PERI_USB0_MCU>, | ||
| 598 | <&pericfg CLK_PERI_USB_SLV>; | ||
| 599 | clock-names = "main","mcu","univpll"; | ||
| 600 | power-domains = <&scpsys MT2701_POWER_DOMAIN_IFR_MSC>; | ||
| 601 | status = "disabled"; | ||
| 602 | }; | ||
| 603 | |||
| 604 | u2phy1: t-phy@11210000 { | ||
| 605 | compatible = "mediatek,mt7623-tphy", | ||
| 606 | "mediatek,generic-tphy-v1"; | ||
| 607 | reg = <0 0x11210000 0 0x0800>; | ||
| 608 | #address-cells = <2>; | ||
| 609 | #size-cells = <2>; | ||
| 610 | ranges; | ||
| 611 | status = "disabled"; | ||
| 612 | |||
| 613 | u2port2: usb-phy@11210800 { | ||
| 614 | reg = <0 0x11210800 0 0x0100>; | ||
| 615 | clocks = <&topckgen CLK_TOP_USB_PHY48M>; | ||
| 616 | clock-names = "ref"; | ||
| 617 | #phy-cells = <1>; | ||
| 618 | }; | ||
| 619 | }; | ||
| 620 | |||
| 588 | audsys: clock-controller@11220000 { | 621 | audsys: clock-controller@11220000 { |
| 589 | compatible = "mediatek,mt7623-audsys", | 622 | compatible = "mediatek,mt7623-audsys", |
| 590 | "mediatek,mt2701-audsys", | 623 | "mediatek,mt2701-audsys", |
| @@ -35,6 +35,10 @@ · 34 unmodified lines | |||
| 35 | clock-names = "ethif"; | 35 | clock-names = "ethif"; |
| 36 | }; | 36 | }; |
| 37 | 37 | ||
| 38 | &usb0 { | ||
| 39 | power-domains = <&scpsys MT7623A_POWER_DOMAIN_IFR_MSC>; | ||
| 40 | }; | ||
| 41 | |||
| 38 | &usb1 { | 42 | &usb1 { |
| 39 | power-domains = <&scpsys MT7623A_POWER_DOMAIN_HIF>; | 43 | power-domains = <&scpsys MT7623A_POWER_DOMAIN_HIF>; |
| 40 | }; | 44 | }; |
| @@ -366,6 +366,14 @@ · 365 unmodified lines | |||
| 366 | status = "okay"; | 366 | status = "okay"; |
| 367 | }; | 367 | }; |
| 368 | 368 | ||
| 369 | &pio { | ||
| 370 | musb_pins: musb { | ||
| 371 | pins-musb { | ||
| 372 | pinmux = <MT7623_PIN_237_EXT_SDIO2_FUNC_DRV_VBUS>; | ||
| 373 | }; | ||
| 374 | }; | ||
| 375 | }; | ||
| 376 | |||
| 369 | &pwm { | 377 | &pwm { |
| 370 | pinctrl-names = "default"; | 378 | pinctrl-names = "default"; |
| 371 | pinctrl-0 = <&pwm_pins_a>; | 379 | pinctrl-0 = <&pwm_pins_a>; |
| @@ -396,6 +404,19 @@ · 24 unmodified lines | |||
| 396 | status = "okay"; | 404 | status = "okay"; |
| 397 | }; | 405 | }; |
| 398 | 406 | ||
| 407 | &usb0 { | ||
| 408 | pinctrl-names = "default"; | ||
| 409 | pinctrl-0 = <&musb_pins>; | ||
| 410 | status = "okay"; | ||
| 411 | usb-role-switch; | ||
| 412 | |||
| 413 | connector { | ||
| 414 | compatible = "gpio-usb-b-connector", "usb-b-connector"; | ||
| 415 | type = "micro"; | ||
| 416 | id-gpios = <&pio 44 GPIO_ACTIVE_HIGH>; | ||
| 417 | }; | ||
| 418 | }; | ||
| 419 | |||
| 399 | &usb1 { | 420 | &usb1 { |
| 400 | vusb33-supply = <®_3p3v>; | 421 | vusb33-supply = <®_3p3v>; |
| 401 | vbus-supply = <®_5v>; | 422 | vbus-supply = <®_5v>; |
| @@ -408,6 +429,10 @@ · 6 unmodified lines | |||
| 408 | status = "okay"; | 429 | status = "okay"; |
| 409 | }; | 430 | }; |
| 410 | 431 | ||
| 432 | &u2phy1 { | ||
| 433 | status = "okay"; | ||
| 434 | }; | ||
| 435 | |||
| 411 | &u3phy1 { | 436 | &u3phy1 { |
| 412 | status = "okay"; | 437 | status = "okay"; |
| 413 | }; | 438 | }; |
| @@ -140,9 +140,10 @@ · 139 unmodified lines | |||
| 140 | }; | 140 | }; |
| 141 | }; | 141 | }; |
| 142 | 142 | ||
| 143 | &pcie { | 143 | &pcie1 { |
| 144 | pinctrl-names = "default"; | 144 | pinctrl-names = "default"; |
| 145 | pinctrl-0 = <&pcie_pins>; | 145 | pinctrl-0 = <&pcie_pins>; |
| 146 | status = "okay"; | ||
| 146 | }; | 147 | }; |
| 147 | 148 | ||
| 148 | &pciephy1 { | 149 | &pciephy1 { |
| @@ -361,16 +361,21 @@ · 360 unmodified lines | |||
| 361 | #reset-cells = <1>; | 361 | #reset-cells = <1>; |
| 362 | }; | 362 | }; |
| 363 | 363 | ||
| 364 | pcie: pcie@1a140000 { | 364 | pciecfg: pciecfg@1a140000 { |
| 365 | compatible = "mediatek,generic-pciecfg", "syscon"; | ||
| 366 | reg = <0x1a140000 0x1000>; | ||
| 367 | }; | ||
| 368 | |||
| 369 | pcie1: pcie@1a145000 { | ||
| 365 | compatible = "mediatek,mt7629-pcie"; | 370 | compatible = "mediatek,mt7629-pcie"; |
| 366 | device_type = "pci"; | 371 | device_type = "pci"; |
| 367 | reg = <0x1a140000 0x1000>, | 372 | reg = <0x1a145000 0x1000>; |
| 368 | <0x1a145000 0x1000>; | 373 | reg-names = "port1"; |
| 369 | reg-names = "subsys","port1"; | 374 | linux,pci-domain = <1>; |
| 370 | #address-cells = <3>; | 375 | #address-cells = <3>; |
| 371 | #size-cells = <2>; | 376 | #size-cells = <2>; |
| 372 | interrupts = <GIC_SPI 176 IRQ_TYPE_LEVEL_LOW>, | 377 | interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_LOW>; |
| 373 | <GIC_SPI 229 IRQ_TYPE_LEVEL_LOW>; | 378 | interrupt-names = "pcie_irq"; |
| 374 | clocks = <&pciesys CLK_PCIE_P1_MAC_EN>, | 379 | clocks = <&pciesys CLK_PCIE_P1_MAC_EN>, |
| 375 | <&pciesys CLK_PCIE_P0_AHB_EN>, | 380 | <&pciesys CLK_PCIE_P0_AHB_EN>, |
| 376 | <&pciesys CLK_PCIE_P1_AUX_EN>, | 381 | <&pciesys CLK_PCIE_P1_AUX_EN>, |
| @@ -391,26 +396,18 @@ · 14 unmodified lines | |||
| 391 | power-domains = <&scpsys MT7622_POWER_DOMAIN_HIF0>; | 396 | power-domains = <&scpsys MT7622_POWER_DOMAIN_HIF0>; |
| 392 | bus-range = <0x00 0xff>; | 397 | bus-range = <0x00 0xff>; |
| 393 | ranges = <0x82000000 0 0x20000000 0x20000000 0 0x10000000>; | 398 | ranges = <0x82000000 0 0x20000000 0x20000000 0 0x10000000>; |
| 399 | status = "disabled"; | ||
| 394 | 400 | ||
| 395 | pcie1: pcie@1,0 { | 401 | #interrupt-cells = <1>; |
| 396 | device_type = "pci"; | 402 | interrupt-map-mask = <0 0 0 7>; |
| 397 | reg = <0x0800 0 0 0 0>; | 403 | interrupt-map = <0 0 0 1 &pcie_intc1 0>, |
| 398 | #address-cells = <3>; | 404 | <0 0 0 2 &pcie_intc1 1>, |
| 399 | #size-cells = <2>; | 405 | <0 0 0 3 &pcie_intc1 2>, |
| 406 | <0 0 0 4 &pcie_intc1 3>; | ||
| 407 | pcie_intc1: interrupt-controller { | ||
| 408 | interrupt-controller; | ||
| 409 | #address-cells = <0>; | ||
| 400 | #interrupt-cells = <1>; | 410 | #interrupt-cells = <1>; |
| 401 | ranges; | ||
| 402 | num-lanes = <1>; | ||
| 403 | interrupt-map-mask = <0 0 0 7>; | ||
| 404 | interrupt-map = <0 0 0 1 &pcie_intc1 0>, | ||
| 405 | <0 0 0 2 &pcie_intc1 1>, | ||
| 406 | <0 0 0 3 &pcie_intc1 2>, | ||
| 407 | <0 0 0 4 &pcie_intc1 3>; | ||
| 408 | |||
| 409 | pcie_intc1: interrupt-controller { | ||
| 410 | interrupt-controller; | ||
| 411 | #address-cells = <0>; | ||
| 412 | #interrupt-cells = <1>; | ||
| 413 | }; | ||
| 414 | }; | 411 | }; |
| 415 | }; | 412 | }; |
| 416 | 413 | ||
| @@ -25,8 +25,8 @@ · 24 unmodified lines | |||
| 25 | compatible = "smsc,lan9221", "smsc,lan9115"; | 25 | compatible = "smsc,lan9221", "smsc,lan9115"; |
| 26 | bank-width = <2>; | 26 | bank-width = <2>; |
| 27 | gpmc,device-width = <1>; | 27 | gpmc,device-width = <1>; |
| 28 | gpmc,cycle2cycle-samecsen = <1>; | 28 | gpmc,cycle2cycle-samecsen; |
| 29 | gpmc,cycle2cycle-diffcsen = <1>; | 29 | gpmc,cycle2cycle-diffcsen; |
| 30 | gpmc,cs-on-ns = <5>; | 30 | gpmc,cs-on-ns = <5>; |
| 31 | gpmc,cs-rd-off-ns = <150>; | 31 | gpmc,cs-rd-off-ns = <150>; |
| 32 | gpmc,cs-wr-off-ns = <150>; | 32 | gpmc,cs-wr-off-ns = <150>; |
| @@ -29,7 +29,7 @@ · 28 unmodified lines | |||
| 29 | compatible = "smsc,lan9221","smsc,lan9115"; | 29 | compatible = "smsc,lan9221","smsc,lan9115"; |
| 30 | bank-width = <2>; | 30 | bank-width = <2>; |
| 31 | 31 | ||
| 32 | gpmc,mux-add-data; | 32 | gpmc,mux-add-data = <0>; |
| 33 | gpmc,cs-on-ns = <0>; | 33 | gpmc,cs-on-ns = <0>; |
| 34 | gpmc,cs-rd-off-ns = <42>; | 34 | gpmc,cs-rd-off-ns = <42>; |
| 35 | gpmc,cs-wr-off-ns = <36>; | 35 | gpmc,cs-wr-off-ns = <36>; |
| @@ -27,8 +27,8 @@ · 26 unmodified lines | |||
| 27 | gpmc,mux-add-data = <0>; | 27 | gpmc,mux-add-data = <0>; |
| 28 | gpmc,device-width = <1>; | 28 | gpmc,device-width = <1>; |
| 29 | gpmc,wait-pin = <1>; | 29 | gpmc,wait-pin = <1>; |
| 30 | gpmc,cycle2cycle-samecsen = <1>; | 30 | gpmc,cycle2cycle-samecsen; |
| 31 | gpmc,cycle2cycle-diffcsen = <1>; | 31 | gpmc,cycle2cycle-diffcsen; |
| 32 | gpmc,cs-on-ns = <5>; | 32 | gpmc,cs-on-ns = <5>; |
| 33 | gpmc,cs-rd-off-ns = <155>; | 33 | gpmc,cs-rd-off-ns = <155>; |
| 34 | gpmc,cs-wr-off-ns = <155>; | 34 | gpmc,cs-wr-off-ns = <155>; |
| @@ -43,8 +43,8 @@ · 42 unmodified lines | |||
| 43 | gpmc,sync-clk-ps = <0>; | 43 | gpmc,sync-clk-ps = <0>; |
| 44 | gpmc,mux-add-data = <2>; | 44 | gpmc,mux-add-data = <2>; |
| 45 | gpmc,device-width = <1>; | 45 | gpmc,device-width = <1>; |
| 46 | gpmc,cycle2cycle-samecsen = <1>; | 46 | gpmc,cycle2cycle-samecsen; |
| 47 | gpmc,cycle2cycle-diffcsen = <1>; | 47 | gpmc,cycle2cycle-diffcsen; |
| 48 | gpmc,cs-on-ns = <6>; | 48 | gpmc,cs-on-ns = <6>; |
| 49 | gpmc,cs-rd-off-ns = <187>; | 49 | gpmc,cs-rd-off-ns = <187>; |
| 50 | gpmc,cs-wr-off-ns = <187>; | 50 | gpmc,cs-wr-off-ns = <187>; |
| @@ -10,7 +10,7 @@ · 9 unmodified lines | |||
| 10 | 10 | ||
| 11 | #include <dt-bindings/thermal/thermal.h> | 11 | #include <dt-bindings/thermal/thermal.h> |
| 12 | 12 | ||
| 13 | cpu_thermal: cpu_thermal { | 13 | cpu_thermal: cpu-thermal { |
| 14 | polling-delay-passive = <250>; /* milliseconds */ | 14 | polling-delay-passive = <250>; /* milliseconds */ |
| 15 | polling-delay = <1000>; /* milliseconds */ | 15 | polling-delay = <1000>; /* milliseconds */ |
| 16 | coefficients = <0 20000>; | 16 | coefficients = <0 20000>; |
| @@ -267,8 +267,8 @@ · 266 unmodified lines | |||
| 267 | gpmc,mux-add-data = <0>; | 267 | gpmc,mux-add-data = <0>; |
| 268 | gpmc,device-width = <1>; | 268 | gpmc,device-width = <1>; |
| 269 | gpmc,wait-pin = <0>; | 269 | gpmc,wait-pin = <0>; |
| 270 | gpmc,cycle2cycle-samecsen = <1>; | 270 | gpmc,cycle2cycle-samecsen; |
| 271 | gpmc,cycle2cycle-diffcsen = <1>; | 271 | gpmc,cycle2cycle-diffcsen; |
| 272 | 272 | ||
| 273 | gpmc,cs-on-ns = <6>; | 273 | gpmc,cs-on-ns = <6>; |
| 274 | gpmc,cs-rd-off-ns = <180>; | 274 | gpmc,cs-rd-off-ns = <180>; |
| @@ -104,16 +104,16 @@ · 103 unmodified lines | |||
| 104 | #sound-dai-cells = <0>; | 104 | #sound-dai-cells = <0>; |
| 105 | }; | 105 | }; |
| 106 | 106 | ||
| 107 | spi_lcd: spi_lcd { | 107 | spi_lcd: spi { |
| 108 | compatible = "spi-gpio"; | 108 | compatible = "spi-gpio"; |
| 109 | #address-cells = <0x1>; | 109 | #address-cells = <0x1>; |
| 110 | #size-cells = <0x0>; | 110 | #size-cells = <0x0>; |
| 111 | pinctrl-names = "default"; | 111 | pinctrl-names = "default"; |
| 112 | pinctrl-0 = <&spi_gpio_pins>; | 112 | pinctrl-0 = <&spi_gpio_pins>; |
| 113 | 113 | ||
| 114 | gpio-sck = <&gpio1 12 GPIO_ACTIVE_HIGH>; | 114 | sck-gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>; |
| 115 | gpio-miso = <&gpio1 18 GPIO_ACTIVE_HIGH>; | 115 | miso-gpios = <&gpio1 18 GPIO_ACTIVE_HIGH>; |
| 116 | gpio-mosi = <&gpio1 20 GPIO_ACTIVE_HIGH>; | 116 | mosi-gpios = <&gpio1 20 GPIO_ACTIVE_HIGH>; |
| 117 | cs-gpios = <&gpio1 19 GPIO_ACTIVE_LOW>; | 117 | cs-gpios = <&gpio1 19 GPIO_ACTIVE_LOW>; |
| 118 | num-chipselects = <1>; | 118 | num-chipselects = <1>; |
| 119 | 119 | ||
| @@ -508,6 +508,8 @@ · 388 unmodified lines | |||
| 508 | pinctrl-0 = <&bmp085_pins>; | 508 | pinctrl-0 = <&bmp085_pins>; |
| 509 | interrupt-parent = <&gpio4>; | 509 | interrupt-parent = <&gpio4>; |
| 510 | interrupts = <17 IRQ_TYPE_EDGE_RISING>; /* GPIO_113 */ | 510 | interrupts = <17 IRQ_TYPE_EDGE_RISING>; /* GPIO_113 */ |
| 511 | vdda-supply = <&vio>; | ||
| 512 | vddd-supply = <&vio>; | ||
| 511 | }; | 513 | }; |
| 512 | 514 | ||
| 513 | /* accelerometer */ | 515 | /* accelerometer */ |
| @@ -515,7 +517,7 @@ · 1 unmodified line | |||
| 515 | compatible = "bosch,bma180"; | 517 | compatible = "bosch,bma180"; |
| 516 | reg = <0x41>; | 518 | reg = <0x41>; |
| 517 | pinctrl-names = "default"; | 519 | pinctrl-names = "default"; |
| 518 | pintcrl-0 = <&bma180_pins>; | 520 | pinctrl-0 = <&bma180_pins>; |
| 519 | interrupt-parent = <&gpio4>; | 521 | interrupt-parent = <&gpio4>; |
| 520 | interrupts = <19 IRQ_TYPE_LEVEL_HIGH>; /* GPIO_115 */ | 522 | interrupts = <19 IRQ_TYPE_LEVEL_HIGH>; /* GPIO_115 */ |
| 521 | }; | 523 | }; |
| @@ -540,28 +542,29 @@ · 18 unmodified lines | |||
| 540 | gpio-controller; | 542 | gpio-controller; |
| 541 | #gpio-cells = <2>; | 543 | #gpio-cells = <2>; |
| 542 | 544 | ||
| 543 | gta04_led0: red_aux@0 { | 545 | gta04_led0: led@0 { |
| 544 | label = "gta04:red:aux"; | 546 | label = "gta04:red:aux"; |
| 545 | reg = <0x0>; | 547 | reg = <0x0>; |
| 546 | }; | 548 | }; |
| 547 | 549 | ||
| 548 | gta04_led1: green_aux@1 { | 550 | gta04_led1: led@1 { |
| 549 | label = "gta04:green:aux"; | 551 | label = "gta04:green:aux"; |
| 550 | reg = <0x1>; | 552 | reg = <0x1>; |
| 551 | }; | 553 | }; |
| 552 | 554 | ||
| 553 | gta04_led3: red_power@3 { | 555 | gta04_led3: led@3 { |
| 554 | label = "gta04:red:power"; | 556 | label = "gta04:red:power"; |
| 555 | reg = <0x3>; | 557 | reg = <0x3>; |
| 556 | linux,default-trigger = "default-on"; | 558 | linux,default-trigger = "default-on"; |
| 557 | }; | 559 | }; |
| 558 | 560 | ||
| 559 | gta04_led4: green_power@4 { | 561 | gta04_led4: led@4 { |
| 560 | label = "gta04:green:power"; | 562 | label = "gta04:green:power"; |
| 561 | reg = <0x4>; | 563 | reg = <0x4>; |
| 562 | }; | 564 | }; |
| 563 | 565 | ||
| 564 | wifi_reset: wifi_reset@6 { /* reference as <&tca_gpios 0 0> since it is currently the only GPIO */ | 566 | wifi_reset: led@6 { |
| 567 | /* reference as <&tca_gpios 0 0> since it is currently the only GPIO */ | ||
| 565 | reg = <0x6>; | 568 | reg = <0x6>; |
| 566 | compatible = "gpio"; | 569 | compatible = "gpio"; |
| 567 | }; | 570 | }; |
| @@ -133,5 +133,7 @@ · 132 unmodified lines | |||
| 133 | bme280@76 { | 133 | bme280@76 { |
| 134 | compatible = "bosch,bme280"; | 134 | compatible = "bosch,bme280"; |
| 135 | reg = <0x76>; | 135 | reg = <0x76>; |
| 136 | vdda-supply = <&vio>; | ||
| 137 | vddd-supply = <&vio>; | ||
| 136 | }; | 138 | }; |
| 137 | }; | 139 | }; |
| @@ -22,7 +22,7 @@ · 21 unmodified lines | |||
| 22 | compatible = "smsc,lan9221","smsc,lan9115"; | 22 | compatible = "smsc,lan9221","smsc,lan9115"; |
| 23 | bank-width = <2>; | 23 | bank-width = <2>; |
| 24 | 24 | ||
| 25 | gpmc,mux-add-data; | 25 | gpmc,mux-add-data = <0>; |
| 26 | gpmc,cs-on-ns = <0>; | 26 | gpmc,cs-on-ns = <0>; |
| 27 | gpmc,cs-rd-off-ns = <42>; | 27 | gpmc,cs-rd-off-ns = <42>; |
| 28 | gpmc,cs-wr-off-ns = <36>; | 28 | gpmc,cs-wr-off-ns = <36>; |
| @@ -108,8 +108,8 @@ · 107 unmodified lines | |||
| 108 | reg = <4 0 0xff>; | 108 | reg = <4 0 0xff>; |
| 109 | bank-width = <2>; | 109 | bank-width = <2>; |
| 110 | gpmc,device-width = <1>; | 110 | gpmc,device-width = <1>; |
| 111 | gpmc,cycle2cycle-samecsen = <1>; | 111 | gpmc,cycle2cycle-samecsen; |
| 112 | gpmc,cycle2cycle-diffcsen = <1>; | 112 | gpmc,cycle2cycle-diffcsen; |
| 113 | gpmc,cs-on-ns = <5>; | 113 | gpmc,cs-on-ns = <5>; |
| 114 | gpmc,cs-rd-off-ns = <150>; | 114 | gpmc,cs-rd-off-ns = <150>; |
| 115 | gpmc,cs-wr-off-ns = <150>; | 115 | gpmc,cs-wr-off-ns = <150>; |
| @@ -0,0 +1,237 @@ | |||
| 1 | // SPDX-License-Identifier: BSD-3-Clause | ||
| 2 | /* | ||
| 3 | * Copyright (c) 2021, Luca Weiss <luca@z3ntu.xyz> | ||
| 4 | */ | ||
| 5 | |||
| 6 | /dts-v1/; | ||
| 7 | |||
| 8 | #include "qcom-msm8226.dtsi" | ||
| 9 | #include "qcom-pm8226.dtsi" | ||
| 10 | |||
| 11 | / { | ||
| 12 | model = "LG G Watch R"; | ||
| 13 | compatible = "lg,lenok", "qcom,apq8026"; | ||
| 14 | qcom,board-id = <132 0x0a>; | ||
| 15 | qcom,msm-id = <199 0x20000>; | ||
| 16 | |||
| 17 | aliases { | ||
| 18 | serial0 = &blsp1_uart3; | ||
| 19 | }; | ||
| 20 | |||
| 21 | chosen { | ||
| 22 | stdout-path = "serial0:115200n8"; | ||
| 23 | }; | ||
| 24 | }; | ||
| 25 | |||
| 26 | &blsp1_i2c5 { | ||
| 27 | status = "okay"; | ||
| 28 | clock-frequency = <384000>; | ||
| 29 | |||
| 30 | touchscreen@20 { | ||
| 31 | compatible = "syna,rmi4-i2c"; | ||
| 32 | reg = <0x20>; | ||
| 33 | |||
| 34 | interrupts-extended = <&tlmm 17 IRQ_TYPE_EDGE_FALLING>; | ||
| 35 | vdd-supply = <&pm8226_l15>; | ||
| 36 | vio-supply = <&pm8226_l22>; | ||
| 37 | |||
| 38 | pinctrl-names = "default"; | ||
| 39 | pinctrl-0 = <&touch_pins>; | ||
| 40 | |||
| 41 | #address-cells = <1>; | ||
| 42 | #size-cells = <0>; | ||
| 43 | |||
| 44 | rmi4-f01@1 { | ||
| 45 | reg = <0x1>; | ||
| 46 | syna,nosleep-mode = <1>; | ||
| 47 | }; | ||
| 48 | |||
| 49 | rmi4-f12@12 { | ||
| 50 | reg = <0x12>; | ||
| 51 | syna,sensor-type = <1>; | ||
| 52 | }; | ||
| 53 | }; | ||
| 54 | }; | ||
| 55 | |||
| 56 | &blsp1_uart3 { | ||
| 57 | status = "okay"; | ||
| 58 | }; | ||
| 59 | |||
| 60 | &rpm_requests { | ||
| 61 | pm8226-regulators { | ||
| 62 | compatible = "qcom,rpm-pm8226-regulators"; | ||
| 63 | |||
| 64 | pm8226_s1: s1 { | ||
| 65 | regulator-min-microvolt = <500000>; | ||
| 66 | regulator-max-microvolt = <1275000>; | ||
| 67 | }; | ||
| 68 | pm8226_s3: s3 { | ||
| 69 | regulator-min-microvolt = <1200000>; | ||
| 70 | regulator-max-microvolt = <1350000>; | ||
| 71 | }; | ||
| 72 | pm8226_s4: s4 { | ||
| 73 | regulator-min-microvolt = <1800000>; | ||
| 74 | regulator-max-microvolt = <2200000>; | ||
| 75 | }; | ||
| 76 | pm8226_s5: s5 { | ||
| 77 | regulator-min-microvolt = <1150000>; | ||
| 78 | regulator-max-microvolt = <1150000>; | ||
| 79 | }; | ||
| 80 | |||
| 81 | pm8226_l1: l1 { | ||
| 82 | regulator-min-microvolt = <1225000>; | ||
| 83 | regulator-max-microvolt = <1225000>; | ||
| 84 | }; | ||
| 85 | pm8226_l2: l2 { | ||
| 86 | regulator-min-microvolt = <1200000>; | ||
| 87 | regulator-max-microvolt = <1200000>; | ||
| 88 | }; | ||
| 89 | pm8226_l3: l3 { | ||
| 90 | regulator-min-microvolt = <750000>; | ||
| 91 | regulator-max-microvolt = <1337500>; | ||
| 92 | }; | ||
| 93 | pm8226_l4: l4 { | ||
| 94 | regulator-min-microvolt = <1200000>; | ||
| 95 | regulator-max-microvolt = <1200000>; | ||
| 96 | }; | ||
| 97 | pm8226_l5: l5 { | ||
| 98 | regulator-min-microvolt = <1200000>; | ||
| 99 | regulator-max-microvolt = <1200000>; | ||
| 100 | }; | ||
| 101 | pm8226_l6: l6 { | ||
| 102 | regulator-min-microvolt = <1800000>; | ||
| 103 | regulator-max-microvolt = <1800000>; | ||
| 104 | }; | ||
| 105 | pm8226_l7: l7 { | ||
| 106 | regulator-min-microvolt = <1850000>; | ||
| 107 | regulator-max-microvolt = <1850000>; | ||
| 108 | }; | ||
| 109 | pm8226_l8: l8 { | ||
| 110 | regulator-min-microvolt = <1800000>; | ||
| 111 | regulator-max-microvolt = <1800000>; | ||
| 112 | }; | ||
| 113 | pm8226_l9: l9 { | ||
| 114 | regulator-min-microvolt = <2050000>; | ||
| 115 | regulator-max-microvolt = <2050000>; | ||
| 116 | }; | ||
| 117 | pm8226_l10: l10 { | ||
| 118 | regulator-min-microvolt = <1800000>; | ||
| 119 | regulator-max-microvolt = <1800000>; | ||
| 120 | }; | ||
| 121 | pm8226_l12: l12 { | ||
| 122 | regulator-min-microvolt = <1800000>; | ||
| 123 | regulator-max-microvolt = <1800000>; | ||
| 124 | }; | ||
| 125 | pm8226_l14: l14 { | ||
| 126 | regulator-min-microvolt = <2750000>; | ||
| 127 | regulator-max-microvolt = <2750000>; | ||
| 128 | }; | ||
| 129 | pm8226_l15: l15 { | ||
| 130 | regulator-min-microvolt = <3300000>; | ||
| 131 | regulator-max-microvolt = <3300000>; | ||
| 132 | }; | ||
| 133 | pm8226_l16: l16 { | ||
| 134 | regulator-min-microvolt = <3000000>; | ||
| 135 | regulator-max-microvolt = <3350000>; | ||
| 136 | }; | ||
| 137 | pm8226_l17: l17 { | ||
| 138 | regulator-min-microvolt = <2950000>; | ||
| 139 | regulator-max-microvolt = <2950000>; | ||
| 140 | }; | ||
| 141 | pm8226_l18: l18 { | ||
| 142 | regulator-min-microvolt = <3000000>; | ||
| 143 | regulator-max-microvolt = <3300000>; | ||
| 144 | }; | ||
| 145 | pm8226_l19: l19 { | ||
| 146 | regulator-min-microvolt = <3000000>; | ||
| 147 | regulator-max-microvolt = <3000000>; | ||
| 148 | }; | ||
| 149 | pm8226_l20: l20 { | ||
| 150 | regulator-min-microvolt = <3075000>; | ||
| 151 | regulator-max-microvolt = <3075000>; | ||
| 152 | }; | ||
| 153 | pm8226_l21: l21 { | ||
| 154 | regulator-min-microvolt = <1800000>; | ||
| 155 | regulator-max-microvolt = <2950000>; | ||
| 156 | }; | ||
| 157 | pm8226_l22: l22 { | ||
| 158 | regulator-min-microvolt = <1800000>; | ||
| 159 | regulator-max-microvolt = <1800000>; | ||
| 160 | }; | ||
| 161 | pm8226_l23: l23 { | ||
| 162 | regulator-min-microvolt = <1800000>; | ||
| 163 | regulator-max-microvolt = <2950000>; | ||
| 164 | }; | ||
| 165 | pm8226_l24: l24 { | ||
| 166 | regulator-min-microvolt = <1300000>; | ||
| 167 | regulator-max-microvolt = <1350000>; | ||
| 168 | }; | ||
| 169 | pm8226_l25: l25 { | ||
| 170 | regulator-min-microvolt = <1775000>; | ||
| 171 | regulator-max-microvolt = <2125000>; | ||
| 172 | }; | ||
| 173 | pm8226_l26: l26 { | ||
| 174 | regulator-min-microvolt = <1225000>; | ||
| 175 | regulator-max-microvolt = <1225000>; | ||
| 176 | }; | ||
| 177 | pm8226_l27: l27 { | ||
| 178 | regulator-min-microvolt = <2050000>; | ||
| 179 | regulator-max-microvolt = <2050000>; | ||
| 180 | }; | ||
| 181 | pm8226_l28: l28 { | ||
| 182 | regulator-min-microvolt = <2700000>; | ||
| 183 | regulator-max-microvolt = <3000000>; | ||
| 184 | }; | ||
| 185 | |||
| 186 | pm8226_lvs1: lvs1 {}; | ||
| 187 | }; | ||
| 188 | }; | ||
| 189 | |||
| 190 | &sdhc_1 { | ||
| 191 | status = "okay"; | ||
| 192 | |||
| 193 | vmmc-supply = <&pm8226_l17>; | ||
| 194 | vqmmc-supply = <&pm8226_l6>; | ||
| 195 | |||
| 196 | bus-width = <8>; | ||
| 197 | non-removable; | ||
| 198 | |||
| 199 | pinctrl-names = "default"; | ||
| 200 | pinctrl-0 = <&sdhc1_pin_a>; | ||
| 201 | }; | ||
| 202 | |||
| 203 | &tlmm { | ||
| 204 | sdhc1_pin_a: sdhc1-pin-active { | ||
| 205 | clk { | ||
| 206 | pins = "sdc1_clk"; | ||
| 207 | drive-strength = <10>; | ||
| 208 | bias-disable; | ||
| 209 | }; | ||
| 210 | |||
| 211 | cmd-data { | ||
| 212 | pins = "sdc1_cmd", "sdc1_data"; | ||
| 213 | drive-strength = <10>; | ||
| 214 | bias-pull-up; | ||
| 215 | }; | ||
| 216 | }; | ||
| 217 | |||
| 218 | touch_pins: touch { | ||
| 219 | irq { | ||
| 220 | pins = "gpio17"; | ||
| 221 | function = "gpio"; | ||
| 222 | |||
| 223 | drive-strength = <8>; | ||
| 224 | bias-pull-down; | ||
| 225 | input-enable; | ||
| 226 | }; | ||
| 227 | |||
| 228 | reset { | ||
| 229 | pins = "gpio16"; | ||
| 230 | function = "gpio"; | ||
| 231 | |||
| 232 | drive-strength = <8>; | ||
| 233 | bias-disable; | ||
| 234 | output-high; | ||
| 235 | }; | ||
| 236 | }; | ||
| 237 | }; | ||
| @@ -357,8 +357,8 @@ · 356 unmodified lines | |||
| 357 | }; | 357 | }; |
| 358 | 358 | ||
| 359 | mpps@50 { | 359 | mpps@50 { |
| 360 | dragon_cm3605_mpps: cm3605-mpps { | 360 | dragon_cm3605_mpps: cm3605-mpps-state { |
| 361 | pinconf { | 361 | mpp5 { |
| 362 | pins = "mpp5"; | 362 | pins = "mpp5"; |
| 363 | function = "analog"; | 363 | function = "analog"; |
| 364 | input-enable; | 364 | input-enable; |
| @@ -899,7 +899,7 @@ · 534 unmodified lines | |||
| 899 | }; | 899 | }; |
| 900 | amba { | 900 | amba { |
| 901 | /* Internal 3.69 GiB eMMC */ | 901 | /* Internal 3.69 GiB eMMC */ |
| 902 | sdcc@12400000 { | 902 | mmc@12400000 { |
| 903 | status = "okay"; | 903 | status = "okay"; |
| 904 | pinctrl-names = "default"; | 904 | pinctrl-names = "default"; |
| 905 | pinctrl-0 = <&dragon_sdcc1_pins>; | 905 | pinctrl-0 = <&dragon_sdcc1_pins>; |
| @@ -908,7 +908,7 @@ · 2 unmodified lines | |||
| 908 | }; | 908 | }; |
| 909 | 909 | ||
| 910 | /* External micro SD card, directly connected, pulled up to 2.85 V */ | 910 | /* External micro SD card, directly connected, pulled up to 2.85 V */ |
| 911 | sdcc@12180000 { | 911 | mmc@12180000 { |
| 912 | status = "okay"; | 912 | status = "okay"; |
| 913 | /* Enable SSBI GPIO 22 as input, use for card detect */ | 913 | /* Enable SSBI GPIO 22 as input, use for card detect */ |
| 914 | pinctrl-names = "default"; | 914 | pinctrl-names = "default"; |
| @@ -922,7 +922,7 @@ · 7 unmodified lines | |||
| 922 | * Second external micro SD card, using two TXB104RGYR levelshifters | 922 | * Second external micro SD card, using two TXB104RGYR levelshifters |
| 923 | * to lift from 1.8 V to 2.85 V | 923 | * to lift from 1.8 V to 2.85 V |
| 924 | */ | 924 | */ |
| 925 | sdcc@12200000 { | 925 | mmc@12200000 { |
| 926 | status = "okay"; | 926 | status = "okay"; |
| 927 | /* Enable SSBI GPIO 26 as input, use for card detect */ | 927 | /* Enable SSBI GPIO 26 as input, use for card detect */ |
| 928 | pinctrl-names = "default"; | 928 | pinctrl-names = "default"; |
| @@ -335,7 +335,7 @@ · 334 unmodified lines | |||
| 335 | 335 | ||
| 336 | amba { | 336 | amba { |
| 337 | /* eMMC */ | 337 | /* eMMC */ |
| 338 | sdcc@12400000 { | 338 | mmc@12400000 { |
| 339 | status = "okay"; | 339 | status = "okay"; |
| 340 | vmmc-supply = <&pm8921_l5>; | 340 | vmmc-supply = <&pm8921_l5>; |
| 341 | vqmmc-supply = <&pm8921_s4>; | 341 | vqmmc-supply = <&pm8921_s4>; |
| @@ -220,14 +220,14 @@ · 219 unmodified lines | |||
| 220 | 220 | ||
| 221 | amba { | 221 | amba { |
| 222 | /* eMMC */ | 222 | /* eMMC */ |
| 223 | sdcc1: sdcc@12400000 { | 223 | sdcc1: mmc@12400000 { |
| 224 | status = "okay"; | 224 | status = "okay"; |
| 225 | vmmc-supply = <&pm8921_l5>; | 225 | vmmc-supply = <&pm8921_l5>; |
| 226 | vqmmc-supply = <&pm8921_s4>; | 226 | vqmmc-supply = <&pm8921_s4>; |
| 227 | }; | 227 | }; |
| 228 | 228 | ||
| 229 | /* External micro SD card */ | 229 | /* External micro SD card */ |
| 230 | sdcc3: sdcc@12180000 { | 230 | sdcc3: mmc@12180000 { |
| 231 | status = "okay"; | 231 | status = "okay"; |
| 232 | vmmc-supply = <&v3p3_fixed>; | 232 | vmmc-supply = <&v3p3_fixed>; |
| 233 | pinctrl-names = "default"; | 233 | pinctrl-names = "default"; |
| @@ -235,7 +235,7 @@ · 1 unmodified line | |||
| 235 | cd-gpios = <&tlmm_pinmux 26 GPIO_ACTIVE_LOW>; | 235 | cd-gpios = <&tlmm_pinmux 26 GPIO_ACTIVE_LOW>; |
| 236 | }; | 236 | }; |
| 237 | /* WLAN */ | 237 | /* WLAN */ |
| 238 | sdcc4: sdcc@121c0000 { | 238 | sdcc4: mmc@121c0000 { |
| 239 | status = "okay"; | 239 | status = "okay"; |
| 240 | vmmc-supply = <&v3p3_fixed>; | 240 | vmmc-supply = <&v3p3_fixed>; |
| 241 | vqmmc-supply = <&v3p3_fixed>; | 241 | vqmmc-supply = <&v3p3_fixed>; |
| @@ -314,14 +314,14 @@ · 313 unmodified lines | |||
| 314 | 314 | ||
| 315 | amba { | 315 | amba { |
| 316 | /* eMMC */ | 316 | /* eMMC */ |
| 317 | sdcc1: sdcc@12400000 { | 317 | sdcc1: mmc@12400000 { |
| 318 | status = "okay"; | 318 | status = "okay"; |
| 319 | vmmc-supply = <&pm8921_l5>; | 319 | vmmc-supply = <&pm8921_l5>; |
| 320 | vqmmc-supply = <&pm8921_s4>; | 320 | vqmmc-supply = <&pm8921_s4>; |
| 321 | }; | 321 | }; |
| 322 | 322 | ||
| 323 | /* External micro SD card */ | 323 | /* External micro SD card */ |
| 324 | sdcc3: sdcc@12180000 { | 324 | sdcc3: mmc@12180000 { |
| 325 | status = "okay"; | 325 | status = "okay"; |
| 326 | vmmc-supply = <&pm8921_l6>; | 326 | vmmc-supply = <&pm8921_l6>; |
| 327 | pinctrl-names = "default"; | 327 | pinctrl-names = "default"; |
| @@ -329,7 +329,7 @@ · 1 unmodified line | |||
| 329 | cd-gpios = <&tlmm_pinmux 26 GPIO_ACTIVE_LOW>; | 329 | cd-gpios = <&tlmm_pinmux 26 GPIO_ACTIVE_LOW>; |
| 330 | }; | 330 | }; |
| 331 | /* WLAN */ | 331 | /* WLAN */ |
| 332 | sdcc4: sdcc@121c0000 { | 332 | sdcc4: mmc@121c0000 { |
| 333 | status = "okay"; | 333 | status = "okay"; |
| 334 | vmmc-supply = <&ext_3p3v>; | 334 | vmmc-supply = <&ext_3p3v>; |
| 335 | vqmmc-supply = <&pm8921_lvs1>; | 335 | vqmmc-supply = <&pm8921_lvs1>; |
| @@ -374,14 +374,14 @@ · 373 unmodified lines | |||
| 374 | }; | 374 | }; |
| 375 | 375 | ||
| 376 | amba { | 376 | amba { |
| 377 | sdcc1: sdcc@12400000 { | 377 | sdcc1: mmc@12400000 { |
| 378 | status = "okay"; | 378 | status = "okay"; |
| 379 | 379 | ||
| 380 | vmmc-supply = <&pm8921_l5>; | 380 | vmmc-supply = <&pm8921_l5>; |
| 381 | vqmmc-supply = <&pm8921_s4>; | 381 | vqmmc-supply = <&pm8921_s4>; |
| 382 | }; | 382 | }; |
| 383 | 383 | ||
| 384 | sdcc3: sdcc@12180000 { | 384 | sdcc3: mmc@12180000 { |
| 385 | status = "okay"; | 385 | status = "okay"; |
| 386 | 386 | ||
| 387 | vmmc-supply = <&pm8921_l6>; | 387 | vmmc-supply = <&pm8921_l6>; |
| @@ -95,13 +95,13 @@ · 94 unmodified lines | |||
| 95 | }; | 95 | }; |
| 96 | }; | 96 | }; |
| 97 | 97 | ||
| 98 | memory { | 98 | memory@0 { |
| 99 | device_type = "memory"; | 99 | device_type = "memory"; |
| 100 | reg = <0x0 0x0>; | 100 | reg = <0x0 0x0>; |
| 101 | }; | 101 | }; |
| 102 | 102 | ||
| 103 | thermal-zones { | 103 | thermal-zones { |
| 104 | cpu-thermal0 { | 104 | cpu0-thermal { |
| 105 | polling-delay-passive = <250>; | 105 | polling-delay-passive = <250>; |
| 106 | polling-delay = <1000>; | 106 | polling-delay = <1000>; |
| 107 | 107 | ||
| @@ -122,7 +122,7 @@ · 14 unmodified lines | |||
| 122 | }; | 122 | }; |
| 123 | }; | 123 | }; |
| 124 | 124 | ||
| 125 | cpu-thermal1 { | 125 | cpu1-thermal { |
| 126 | polling-delay-passive = <250>; | 126 | polling-delay-passive = <250>; |
| 127 | polling-delay = <1000>; | 127 | polling-delay = <1000>; |
| 128 | 128 | ||
| @@ -143,7 +143,7 @@ · 14 unmodified lines | |||
| 143 | }; | 143 | }; |
| 144 | }; | 144 | }; |
| 145 | 145 | ||
| 146 | cpu-thermal2 { | 146 | cpu2-thermal { |
| 147 | polling-delay-passive = <250>; | 147 | polling-delay-passive = <250>; |
| 148 | polling-delay = <1000>; | 148 | polling-delay = <1000>; |
| 149 | 149 | ||
| @@ -164,7 +164,7 @@ · 14 unmodified lines | |||
| 164 | }; | 164 | }; |
| 165 | }; | 165 | }; |
| 166 | 166 | ||
| 167 | cpu-thermal3 { | 167 | cpu3-thermal { |
| 168 | polling-delay-passive = <250>; | 168 | polling-delay-passive = <250>; |
| 169 | polling-delay = <1000>; | 169 | polling-delay = <1000>; |
| 170 | 170 | ||
| @@ -683,12 +683,11 @@ · 512 unmodified lines | |||
| 683 | pm8821_mpps: mpps@50 { | 683 | pm8821_mpps: mpps@50 { |
| 684 | compatible = "qcom,pm8821-mpp", "qcom,ssbi-mpp"; | 684 | compatible = "qcom,pm8821-mpp", "qcom,ssbi-mpp"; |
| 685 | reg = <0x50>; | 685 | reg = <0x50>; |
| 686 | interrupts = <24 IRQ_TYPE_NONE>, | 686 | interrupt-controller; |
| 687 | <25 IRQ_TYPE_NONE>, | 687 | #interrupt-cells = <2>; |
| 688 | <26 IRQ_TYPE_NONE>, | ||
| 689 | <27 IRQ_TYPE_NONE>; | ||
| 690 | gpio-controller; | 688 | gpio-controller; |
| 691 | #gpio-cells = <2>; | 689 | #gpio-cells = <2>; |
| 690 | gpio-ranges = <&pm8821_mpps 0 0 4>; | ||
| 692 | }; | 691 | }; |
| 693 | }; | 692 | }; |
| 694 | }; | 693 | }; |
| @@ -726,19 +725,9 @@ · 31 unmodified lines | |||
| 726 | reg = <0x50>; | 725 | reg = <0x50>; |
| 727 | gpio-controller; | 726 | gpio-controller; |
| 728 | #gpio-cells = <2>; | 727 | #gpio-cells = <2>; |
| 729 | interrupts = | 728 | gpio-ranges = <&pm8921_mpps 0 0 12>; |
| 730 | <128 IRQ_TYPE_NONE>, | 729 | interrupt-controller; |
| 731 | <129 IRQ_TYPE_NONE>, | 730 | #interrupt-cells = <2>; |
| 732 | <130 IRQ_TYPE_NONE>, | ||
| 733 | <131 IRQ_TYPE_NONE>, | ||
| 734 | <132 IRQ_TYPE_NONE>, | ||
| 735 | <133 IRQ_TYPE_NONE>, | ||
| 736 | <134 IRQ_TYPE_NONE>, | ||
| 737 | <135 IRQ_TYPE_NONE>, | ||
| 738 | <136 IRQ_TYPE_NONE>, | ||
| 739 | <137 IRQ_TYPE_NONE>, | ||
| 740 | <138 IRQ_TYPE_NONE>, | ||
| 741 | <139 IRQ_TYPE_NONE>; | ||
| 742 | }; | 731 | }; |
| 743 | 732 | ||
| 744 | rtc@11d { | 733 | rtc@11d { |
| @@ -1084,7 +1073,7 @@ · 339 unmodified lines | |||
| 1084 | #address-cells = <1>; | 1073 | #address-cells = <1>; |
| 1085 | #size-cells = <1>; | 1074 | #size-cells = <1>; |
| 1086 | ranges; | 1075 | ranges; |
| 1087 | sdcc1: sdcc@12400000 { | 1076 | sdcc1: mmc@12400000 { |
| 1088 | status = "disabled"; | 1077 | status = "disabled"; |
| 1089 | compatible = "arm,pl18x", "arm,primecell"; | 1078 | compatible = "arm,pl18x", "arm,primecell"; |
| 1090 | pinctrl-names = "default"; | 1079 | pinctrl-names = "default"; |
| @@ -1104,7 +1093,7 @@ · 13 unmodified lines | |||
| 1104 | dma-names = "tx", "rx"; | 1093 | dma-names = "tx", "rx"; |
| 1105 | }; | 1094 | }; |
| 1106 | 1095 | ||
| 1107 | sdcc3: sdcc@12180000 { | 1096 | sdcc3: mmc@12180000 { |
| 1108 | compatible = "arm,pl18x", "arm,primecell"; | 1097 | compatible = "arm,pl18x", "arm,primecell"; |
| 1109 | arm,primecell-periphid = <0x00051180>; | 1098 | arm,primecell-periphid = <0x00051180>; |
| 1110 | status = "disabled"; | 1099 | status = "disabled"; |
| @@ -1122,7 +1111,7 @@ · 11 unmodified lines | |||
| 1122 | dma-names = "tx", "rx"; | 1111 | dma-names = "tx", "rx"; |
| 1123 | }; | 1112 | }; |
| 1124 | 1113 | ||
| 1125 | sdcc4: sdcc@121c0000 { | 1114 | sdcc4: mmc@121c0000 { |
| 1126 | compatible = "arm,pl18x", "arm,primecell"; | 1115 | compatible = "arm,pl18x", "arm,primecell"; |
| 1127 | arm,primecell-periphid = <0x00051180>; | 1116 | arm,primecell-periphid = <0x00051180>; |
| 1128 | status = "disabled"; | 1117 | status = "disabled"; |
| @@ -1229,13 +1218,17 @@ · 100 unmodified lines | |||
| 1229 | &gfx3d1 30 | 1218 | &gfx3d1 30 |
| 1230 | &gfx3d1 31>; | 1219 | &gfx3d1 31>; |
| 1231 | 1220 | ||
| 1232 | qcom,gpu-pwrlevels { | 1221 | operating-points-v2 = <&gpu_opp_table>; |
| 1233 | compatible = "qcom,gpu-pwrlevels"; | 1222 | |
| 1234 | qcom,gpu-pwrlevel@0 { | 1223 | gpu_opp_table: opp-table { |
| 1235 | qcom,gpu-freq = <450000000>; | 1224 | compatible = "operating-points-v2"; |
| 1225 | |||
| 1226 | opp-320000000 { | ||
| 1227 | opp-hz = /bits/ 64 <450000000>; | ||
| 1236 | }; | 1228 | }; |
| 1237 | qcom,gpu-pwrlevel@1 { | 1229 | |
| 1238 | qcom,gpu-freq = <27000000>; | 1230 | opp-27000000 { |
| 1231 | opp-hz = /bits/ 64 <27000000>; | ||
| 1239 | }; | 1232 | }; |
| 1240 | }; | 1233 | }; |
| 1241 | }; | 1234 | }; |
| @@ -1419,9 +1412,9 @@ · 177 unmodified lines | |||
| 1419 | clocks = <&mmcc HDMI_APP_CLK>, | 1412 | clocks = <&mmcc HDMI_APP_CLK>, |
| 1420 | <&mmcc HDMI_M_AHB_CLK>, | 1413 | <&mmcc HDMI_M_AHB_CLK>, |
| 1421 | <&mmcc HDMI_S_AHB_CLK>; | 1414 | <&mmcc HDMI_S_AHB_CLK>; |
| 1422 | clock-names = "core_clk", | 1415 | clock-names = "core", |
| 1423 | "master_iface_clk", | 1416 | "master_iface", |
| 1424 | "slave_iface_clk"; | 1417 | "slave_iface"; |
| 1425 | 1418 | ||
| 1426 | phys = <&hdmi_phy>; | 1419 | phys = <&hdmi_phy>; |
| 1427 | phy-names = "hdmi-phy"; | 1420 | phy-names = "hdmi-phy"; |
| @@ -1452,7 +1445,7 @@ · 24 unmodified lines | |||
| 1452 | "hdmi_pll"; | 1445 | "hdmi_pll"; |
| 1453 | 1446 | ||
| 1454 | clocks = <&mmcc HDMI_S_AHB_CLK>; | 1447 | clocks = <&mmcc HDMI_S_AHB_CLK>; |
| 1455 | clock-names = "slave_iface_clk"; | 1448 | clock-names = "slave_iface"; |
| 1456 | #phy-cells = <0>; | 1449 | #phy-cells = <0>; |
| 1457 | }; | 1450 | }; |
| 1458 | 1451 | ||
| @@ -102,7 +102,7 @@ · 101 unmodified lines | |||
| 102 | }; | 102 | }; |
| 103 | 103 | ||
| 104 | thermal-zones { | 104 | thermal-zones { |
| 105 | cpu-thermal0 { | 105 | cpu0-thermal { |
| 106 | polling-delay-passive = <250>; | 106 | polling-delay-passive = <250>; |
| 107 | polling-delay = <1000>; | 107 | polling-delay = <1000>; |
| 108 | 108 | ||
| @@ -122,7 +122,7 @@ · 13 unmodified lines | |||
| 122 | }; | 122 | }; |
| 123 | }; | 123 | }; |
| 124 | 124 | ||
| 125 | cpu-thermal1 { | 125 | cpu1-thermal { |
| 126 | polling-delay-passive = <250>; | 126 | polling-delay-passive = <250>; |
| 127 | polling-delay = <1000>; | 127 | polling-delay = <1000>; |
| 128 | 128 | ||
| @@ -142,7 +142,7 @@ · 13 unmodified lines | |||
| 142 | }; | 142 | }; |
| 143 | }; | 143 | }; |
| 144 | 144 | ||
| 145 | cpu-thermal2 { | 145 | cpu2-thermal { |
| 146 | polling-delay-passive = <250>; | 146 | polling-delay-passive = <250>; |
| 147 | polling-delay = <1000>; | 147 | polling-delay = <1000>; |
| 148 | 148 | ||
| @@ -162,7 +162,7 @@ · 13 unmodified lines | |||
| 162 | }; | 162 | }; |
| 163 | }; | 163 | }; |
| 164 | 164 | ||
| 165 | cpu-thermal3 { | 165 | cpu3-thermal { |
| 166 | polling-delay-passive = <250>; | 166 | polling-delay-passive = <250>; |
| 167 | polling-delay = <1000>; | 167 | polling-delay = <1000>; |
| 168 | 168 | ||
| @@ -18,5 +18,5 @@ · 17 unmodified lines | |||
| 18 | 18 | ||
| 19 | / { | 19 | / { |
| 20 | model = "Qualcomm Technologies, Inc. IPQ40xx/AP-DK01.1-C1"; | 20 | model = "Qualcomm Technologies, Inc. IPQ40xx/AP-DK01.1-C1"; |
| 21 | 21 | compatible = "qcom,ipq4019-ap-dk01.1-c1", "qcom,ipq4019"; | |
| 22 | }; | 22 | }; |
| @@ -18,7 +18,6 @@ · 17 unmodified lines | |||
| 18 | 18 | ||
| 19 | / { | 19 | / { |
| 20 | model = "Qualcomm Technologies, Inc. IPQ4019/AP-DK01.1"; | 20 | model = "Qualcomm Technologies, Inc. IPQ4019/AP-DK01.1"; |
| 21 | compatible = "qcom,ipq4019"; | ||
| 22 | 21 | ||
| 23 | aliases { | 22 | aliases { |
| 24 | serial0 = &blsp1_uart1; | 23 | serial0 = &blsp1_uart1; |
| @@ -5,7 +5,7 @@ · 4 unmodified lines | |||
| 5 | 5 | ||
| 6 | / { | 6 | / { |
| 7 | model = "Qualcomm Technologies, Inc. IPQ4019/AP-DK04.1-C1"; | 7 | model = "Qualcomm Technologies, Inc. IPQ4019/AP-DK04.1-C1"; |
| 8 | compatible = "qcom,ipq4019-dk04.1-c1"; | 8 | compatible = "qcom,ipq4019-dk04.1-c1", "qcom,ipq4019"; |
| 9 | 9 | ||
| 10 | soc { | 10 | soc { |
| 11 | dma@7984000 { | 11 | dma@7984000 { |
| @@ -5,5 +5,5 @@ · 4 unmodified lines | |||
| 5 | 5 | ||
| 6 | / { | 6 | / { |
| 7 | model = "Qualcomm Technologies, Inc. IPQ4019/AP-DK04.1-C3"; | 7 | model = "Qualcomm Technologies, Inc. IPQ4019/AP-DK04.1-C3"; |
| 8 | compatible = "qcom,ipq4019-ap-dk04.1-c3"; | 8 | compatible = "qcom,ipq4019-ap-dk04.1-c3", "qcom,ipq4019"; |
| 9 | }; | 9 | }; |
| @@ -5,7 +5,7 @@ · 4 unmodified lines | |||
| 5 | 5 | ||
| 6 | / { | 6 | / { |
| 7 | model = "Qualcomm Technologies, Inc. IPQ4019/AP-DK07.1-C1"; | 7 | model = "Qualcomm Technologies, Inc. IPQ4019/AP-DK07.1-C1"; |
| 8 | compatible = "qcom,ipq4019-ap-dk07.1-c1"; | 8 | compatible = "qcom,ipq4019-ap-dk07.1-c1", "qcom,ipq4019"; |
| 9 | 9 | ||
| 10 | soc { | 10 | soc { |
| 11 | pci@40000000 { | 11 | pci@40000000 { |
| @@ -5,7 +5,7 @@ · 4 unmodified lines | |||
| 5 | 5 | ||
| 6 | / { | 6 | / { |
| 7 | model = "Qualcomm Technologies, Inc. IPQ4019/AP-DK07.1-C2"; | 7 | model = "Qualcomm Technologies, Inc. IPQ4019/AP-DK07.1-C2"; |
| 8 | compatible = "qcom,ipq4019-ap-dk07.1-c2"; | 8 | compatible = "qcom,ipq4019-ap-dk07.1-c2", "qcom,ipq4019"; |
| 9 | 9 | ||
| 10 | soc { | 10 | soc { |
| 11 | pinctrl@1000000 { | 11 | pinctrl@1000000 { |
| @@ -3,7 +3,7 @@ · 2 unmodified lines | |||
| 3 | 3 | ||
| 4 | / { | 4 | / { |
| 5 | model = "Qualcomm Technologies, Inc. IPQ8064/AP-148"; | 5 | model = "Qualcomm Technologies, Inc. IPQ8064/AP-148"; |
| 6 | compatible = "qcom,ipq8064-ap148"; | 6 | compatible = "qcom,ipq8064-ap148", "qcom,ipq8064"; |
| 7 | 7 | ||
| 8 | soc { | 8 | soc { |
| 9 | pinmux@800000 { | 9 | pinmux@800000 { |
| @@ -19,12 +19,12 @@ · 18 unmodified lines | |||
| 19 | stdout-path = "serial0:115200n8"; | 19 | stdout-path = "serial0:115200n8"; |
| 20 | }; | 20 | }; |
| 21 | 21 | ||
| 22 | memory@0 { | 22 | memory@42000000 { |
| 23 | reg = <0x42000000 0x3e000000>; | 23 | reg = <0x42000000 0x3e000000>; |
| 24 | device_type = "memory"; | 24 | device_type = "memory"; |
| 25 | }; | 25 | }; |
| 26 | 26 | ||
| 27 | mdio0: mdio@0 { | 27 | mdio0: mdio-0 { |
| 28 | status = "okay"; | 28 | status = "okay"; |
| 29 | compatible = "virtual,mdio-gpio"; | 29 | compatible = "virtual,mdio-gpio"; |
| 30 | gpios = <&qcom_pinmux 1 GPIO_ACTIVE_HIGH>, | 30 | gpios = <&qcom_pinmux 1 GPIO_ACTIVE_HIGH>, |
| @@ -91,7 +91,7 @@ · 60 unmodified lines | |||
| 91 | }; | 91 | }; |
| 92 | }; | 92 | }; |
| 93 | 93 | ||
| 94 | mdio1: mdio@1 { | 94 | mdio1: mdio-1 { |
| 95 | status = "okay"; | 95 | status = "okay"; |
| 96 | compatible = "virtual,mdio-gpio"; | 96 | compatible = "virtual,mdio-gpio"; |
| 97 | gpios = <&qcom_pinmux 11 GPIO_ACTIVE_HIGH>, | 97 | gpios = <&qcom_pinmux 11 GPIO_ACTIVE_HIGH>, |
| @@ -172,7 +172,7 @@ · 74 unmodified lines | |||
| 172 | 172 | ||
| 173 | cs-gpios = <&qcom_pinmux 20 GPIO_ACTIVE_HIGH>; | 173 | cs-gpios = <&qcom_pinmux 20 GPIO_ACTIVE_HIGH>; |
| 174 | 174 | ||
| 175 | norflash: s25fl016k@0 { | 175 | norflash: flash@0 { |
| 176 | compatible = "jedec,spi-nor"; | 176 | compatible = "jedec,spi-nor"; |
| 177 | #address-cells = <1>; | 177 | #address-cells = <1>; |
| 178 | #size-cells = <1>; | 178 | #size-cells = <1>; |
| @@ -49,7 +49,7 @@ · 48 unmodified lines | |||
| 49 | }; | 49 | }; |
| 50 | 50 | ||
| 51 | thermal-zones { | 51 | thermal-zones { |
| 52 | tsens_tz_sensor0 { | 52 | sensor0-thermal { |
| 53 | polling-delay-passive = <0>; | 53 | polling-delay-passive = <0>; |
| 54 | polling-delay = <0>; | 54 | polling-delay = <0>; |
| 55 | thermal-sensors = <&tsens 0>; | 55 | thermal-sensors = <&tsens 0>; |
| @@ -69,7 +69,7 @@ · 13 unmodified lines | |||
| 69 | }; | 69 | }; |
| 70 | }; | 70 | }; |
| 71 | 71 | ||
| 72 | tsens_tz_sensor1 { | 72 | sensor1-thermal { |
| 73 | polling-delay-passive = <0>; | 73 | polling-delay-passive = <0>; |
| 74 | polling-delay = <0>; | 74 | polling-delay = <0>; |
| 75 | thermal-sensors = <&tsens 1>; | 75 | thermal-sensors = <&tsens 1>; |
| @@ -89,7 +89,7 @@ · 13 unmodified lines | |||
| 89 | }; | 89 | }; |
| 90 | }; | 90 | }; |
| 91 | 91 | ||
| 92 | tsens_tz_sensor2 { | 92 | sensor2-thermal { |
| 93 | polling-delay-passive = <0>; | 93 | polling-delay-passive = <0>; |
| 94 | polling-delay = <0>; | 94 | polling-delay = <0>; |
| 95 | thermal-sensors = <&tsens 2>; | 95 | thermal-sensors = <&tsens 2>; |
| @@ -109,7 +109,7 @@ · 13 unmodified lines | |||
| 109 | }; | 109 | }; |
| 110 | }; | 110 | }; |
| 111 | 111 | ||
| 112 | tsens_tz_sensor3 { | 112 | sensor3-thermal { |
| 113 | polling-delay-passive = <0>; | 113 | polling-delay-passive = <0>; |
| 114 | polling-delay = <0>; | 114 | polling-delay = <0>; |
| 115 | thermal-sensors = <&tsens 3>; | 115 | thermal-sensors = <&tsens 3>; |
| @@ -129,7 +129,7 @@ · 13 unmodified lines | |||
| 129 | }; | 129 | }; |
| 130 | }; | 130 | }; |
| 131 | 131 | ||
| 132 | tsens_tz_sensor4 { | 132 | sensor4-thermal { |
| 133 | polling-delay-passive = <0>; | 133 | polling-delay-passive = <0>; |
| 134 | polling-delay = <0>; | 134 | polling-delay = <0>; |
| 135 | thermal-sensors = <&tsens 4>; | 135 | thermal-sensors = <&tsens 4>; |
| @@ -149,7 +149,7 @@ · 13 unmodified lines | |||
| 149 | }; | 149 | }; |
| 150 | }; | 150 | }; |
| 151 | 151 | ||
| 152 | tsens_tz_sensor5 { | 152 | sensor5-thermal { |
| 153 | polling-delay-passive = <0>; | 153 | polling-delay-passive = <0>; |
| 154 | polling-delay = <0>; | 154 | polling-delay = <0>; |
| 155 | thermal-sensors = <&tsens 5>; | 155 | thermal-sensors = <&tsens 5>; |
| @@ -169,7 +169,7 @@ · 13 unmodified lines | |||
| 169 | }; | 169 | }; |
| 170 | }; | 170 | }; |
| 171 | 171 | ||
| 172 | tsens_tz_sensor6 { | 172 | sensor6-thermal { |
| 173 | polling-delay-passive = <0>; | 173 | polling-delay-passive = <0>; |
| 174 | polling-delay = <0>; | 174 | polling-delay = <0>; |
| 175 | thermal-sensors = <&tsens 6>; | 175 | thermal-sensors = <&tsens 6>; |
| @@ -189,7 +189,7 @@ · 13 unmodified lines | |||
| 189 | }; | 189 | }; |
| 190 | }; | 190 | }; |
| 191 | 191 | ||
| 192 | tsens_tz_sensor7 { | 192 | sensor7-thermal { |
| 193 | polling-delay-passive = <0>; | 193 | polling-delay-passive = <0>; |
| 194 | polling-delay = <0>; | 194 | polling-delay = <0>; |
| 195 | thermal-sensors = <&tsens 7>; | 195 | thermal-sensors = <&tsens 7>; |
| @@ -209,7 +209,7 @@ · 13 unmodified lines | |||
| 209 | }; | 209 | }; |
| 210 | }; | 210 | }; |
| 211 | 211 | ||
| 212 | tsens_tz_sensor8 { | 212 | sensor8-thermal { |
| 213 | polling-delay-passive = <0>; | 213 | polling-delay-passive = <0>; |
| 214 | polling-delay = <0>; | 214 | polling-delay = <0>; |
| 215 | thermal-sensors = <&tsens 8>; | 215 | thermal-sensors = <&tsens 8>; |
| @@ -229,7 +229,7 @@ · 13 unmodified lines | |||
| 229 | }; | 229 | }; |
| 230 | }; | 230 | }; |
| 231 | 231 | ||
| 232 | tsens_tz_sensor9 { | 232 | sensor9-thermal { |
| 233 | polling-delay-passive = <0>; | 233 | polling-delay-passive = <0>; |
| 234 | polling-delay = <0>; | 234 | polling-delay = <0>; |
| 235 | thermal-sensors = <&tsens 9>; | 235 | thermal-sensors = <&tsens 9>; |
| @@ -249,7 +249,7 @@ · 13 unmodified lines | |||
| 249 | }; | 249 | }; |
| 250 | }; | 250 | }; |
| 251 | 251 | ||
| 252 | tsens_tz_sensor10 { | 252 | sensor10-thermal { |
| 253 | polling-delay-passive = <0>; | 253 | polling-delay-passive = <0>; |
| 254 | polling-delay = <0>; | 254 | polling-delay = <0>; |
| 255 | thermal-sensors = <&tsens 10>; | 255 | thermal-sensors = <&tsens 10>; |
| @@ -1181,7 +1181,7 @@ · 925 unmodified lines | |||
| 1181 | #size-cells = <1>; | 1181 | #size-cells = <1>; |
| 1182 | ranges; | 1182 | ranges; |
| 1183 | 1183 | ||
| 1184 | sdcc1: sdcc@12400000 { | 1184 | sdcc1: mmc@12400000 { |
| 1185 | status = "disabled"; | 1185 | status = "disabled"; |
| 1186 | compatible = "arm,pl18x", "arm,primecell"; | 1186 | compatible = "arm,pl18x", "arm,primecell"; |
| 1187 | arm,primecell-periphid = <0x00051180>; | 1187 | arm,primecell-periphid = <0x00051180>; |
| @@ -1201,7 +1201,7 @@ · 13 unmodified lines | |||
| 1201 | dma-names = "tx", "rx"; | 1201 | dma-names = "tx", "rx"; |
| 1202 | }; | 1202 | }; |
| 1203 | 1203 | ||
| 1204 | sdcc3: sdcc@12180000 { | 1204 | sdcc3: mmc@12180000 { |
| 1205 | compatible = "arm,pl18x", "arm,primecell"; | 1205 | compatible = "arm,pl18x", "arm,primecell"; |
| 1206 | arm,primecell-periphid = <0x00051180>; | 1206 | arm,primecell-periphid = <0x00051180>; |
| 1207 | status = "disabled"; | 1207 | status = "disabled"; |
| @@ -49,7 +49,7 @@ · 48 unmodified lines | |||
| 49 | model = "Sierra Wireless WP8548 Module"; | 49 | model = "Sierra Wireless WP8548 Module"; |
| 50 | compatible = "swir,wp8548", "qcom,mdm9615"; | 50 | compatible = "swir,wp8548", "qcom,mdm9615"; |
| 51 | 51 | ||
| 52 | memory { | 52 | memory@48000000 { |
| 53 | device_type = "memory"; | 53 | device_type = "memory"; |
| 54 | reg = <0x48000000 0x7F00000>; | 54 | reg = <0x48000000 0x7F00000>; |
| 55 | }; | 55 | }; |
| @@ -300,18 +300,14 @@ · 299 unmodified lines | |||
| 300 | pull-up; | 300 | pull-up; |
| 301 | }; | 301 | }; |
| 302 | 302 | ||
| 303 | pmicmpp: mpp@50 { | 303 | pmicmpp: mpps@50 { |
| 304 | compatible = "qcom,pm8018-mpp", "qcom,ssbi-mpp"; | 304 | compatible = "qcom,pm8018-mpp", "qcom,ssbi-mpp"; |
| 305 | interrupt-parent = <&pmicintc>; | 305 | interrupt-controller; |
| 306 | interrupts = <24 IRQ_TYPE_NONE>, | 306 | #interrupt-cells = <2>; |
| 307 | <25 IRQ_TYPE_NONE>, | ||
| 308 | <26 IRQ_TYPE_NONE>, | ||
| 309 | <27 IRQ_TYPE_NONE>, | ||
| 310 | <28 IRQ_TYPE_NONE>, | ||
| 311 | <29 IRQ_TYPE_NONE>; | ||
| 312 | reg = <0x50>; | 307 | reg = <0x50>; |
| 313 | gpio-controller; | 308 | gpio-controller; |
| 314 | #gpio-cells = <2>; | 309 | #gpio-cells = <2>; |
| 310 | gpio-ranges = <&pmicmpp 0 0 6>; | ||
| 315 | }; | 311 | }; |
| 316 | 312 | ||
| 317 | rtc@11d { | 313 | rtc@11d { |
| @@ -358,7 +354,7 @@ · 40 unmodified lines | |||
| 358 | #address-cells = <1>; | 354 | #address-cells = <1>; |
| 359 | #size-cells = <1>; | 355 | #size-cells = <1>; |
| 360 | ranges; | 356 | ranges; |
| 361 | sdcc1: sdcc@12180000 { | 357 | sdcc1: mmc@12180000 { |
| 362 | status = "disabled"; | 358 | status = "disabled"; |
| 363 | compatible = "arm,pl18x", "arm,primecell"; | 359 | compatible = "arm,pl18x", "arm,primecell"; |
| 364 | arm,primecell-periphid = <0x00051180>; | 360 | arm,primecell-periphid = <0x00051180>; |
| @@ -378,7 +374,7 @@ · 13 unmodified lines | |||
| 378 | assigned-clock-rates = <400000>; | 374 | assigned-clock-rates = <400000>; |
| 379 | }; | 375 | }; |
| 380 | 376 | ||
| 381 | sdcc2: sdcc@12140000 { | 377 | sdcc2: mmc@12140000 { |
| 382 | compatible = "arm,pl18x", "arm,primecell"; | 378 | compatible = "arm,pl18x", "arm,primecell"; |
| 383 | arm,primecell-periphid = <0x00051180>; | 379 | arm,primecell-periphid = <0x00051180>; |
| 384 | status = "disabled"; | 380 | status = "disabled"; |
| @@ -7,6 +7,7 @@ · 6 unmodified lines | |||
| 7 | 7 | ||
| 8 | #include <dt-bindings/interrupt-controller/arm-gic.h> | 8 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
| 9 | #include <dt-bindings/clock/qcom,gcc-msm8974.h> | 9 | #include <dt-bindings/clock/qcom,gcc-msm8974.h> |
| 10 | #include <dt-bindings/gpio/gpio.h> | ||
| 10 | 11 | ||
| 11 | / { | 12 | / { |
| 12 | #address-cells = <1>; | 13 | #address-cells = <1>; |
| @@ -20,6 +21,70 @@ · 7 unmodified lines | |||
| 20 | reg = <0x0 0x0>; | 21 | reg = <0x0 0x0>; |
| 21 | }; | 22 | }; |
| 22 | 23 | ||
| 24 | clocks { | ||
| 25 | xo_board: xo_board { | ||
| 26 | compatible = "fixed-clock"; | ||
| 27 | #clock-cells = <0>; | ||
| 28 | clock-frequency = <19200000>; | ||
| 29 | }; | ||
| 30 | |||
| 31 | sleep_clk: sleep_clk { | ||
| 32 | compatible = "fixed-clock"; | ||
| 33 | #clock-cells = <0>; | ||
| 34 | clock-frequency = <32768>; | ||
| 35 | }; | ||
| 36 | }; | ||
| 37 | |||
| 38 | firmware { | ||
| 39 | scm { | ||
| 40 | compatible = "qcom,scm-msm8226", "qcom,scm"; | ||
| 41 | clocks = <&gcc GCC_CE1_CLK>, <&gcc GCC_CE1_AXI_CLK>, <&gcc GCC_CE1_AHB_CLK>; | ||
| 42 | clock-names = "core", "bus", "iface"; | ||
| 43 | }; | ||
| 44 | }; | ||
| 45 | |||
| 46 | tcsr_mutex: hwlock { | ||
| 47 | compatible = "qcom,tcsr-mutex"; | ||
| 48 | syscon = <&tcsr_mutex_block 0 0x80>; | ||
| 49 | |||
| 50 | #hwlock-cells = <1>; | ||
| 51 | }; | ||
| 52 | |||
| 53 | reserved-memory { | ||
| 54 | #address-cells = <1>; | ||
| 55 | #size-cells = <1>; | ||
| 56 | ranges; | ||
| 57 | |||
| 58 | smem_region: smem@3000000 { | ||
| 59 | reg = <0x3000000 0x100000>; | ||
| 60 | no-map; | ||
| 61 | }; | ||
| 62 | }; | ||
| 63 | |||
| 64 | smd { | ||
| 65 | compatible = "qcom,smd"; | ||
| 66 | |||
| 67 | rpm { | ||
| 68 | interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>; | ||
| 69 | qcom,ipc = <&apcs 8 0>; | ||
| 70 | qcom,smd-edge = <15>; | ||
| 71 | |||
| 72 | rpm_requests: rpm-requests { | ||
| 73 | compatible = "qcom,rpm-msm8226"; | ||
| 74 | qcom,smd-channels = "rpm_requests"; | ||
| 75 | }; | ||
| 76 | }; | ||
| 77 | }; | ||
| 78 | |||
| 79 | smem { | ||
| 80 | compatible = "qcom,smem"; | ||
| 81 | |||
| 82 | memory-region = <&smem_region>; | ||
| 83 | qcom,rpm-msg-ram = <&rpm_msg_ram>; | ||
| 84 | |||
| 85 | hwlocks = <&tcsr_mutex 3>; | ||
| 86 | }; | ||
| 87 | |||
| 23 | soc: soc { | 88 | soc: soc { |
| 24 | compatible = "simple-bus"; | 89 | compatible = "simple-bus"; |
| 25 | #address-cells = <1>; | 90 | #address-cells = <1>; |
| @@ -34,6 +99,136 @@ · 8 unmodified lines | |||
| 34 | #interrupt-cells = <3>; | 99 | #interrupt-cells = <3>; |
| 35 | }; | 100 | }; |
| 36 | 101 | ||
| 102 | apcs: syscon@f9011000 { | ||
| 103 | compatible = "syscon"; | ||
| 104 | reg = <0xf9011000 0x1000>; | ||
| 105 | }; | ||
| 106 | |||
| 107 | sdhc_1: sdhci@f9824900 { | ||
| 108 | compatible = "qcom,msm8226-sdhci", "qcom,sdhci-msm-v4"; | ||
| 109 | reg = <0xf9824900 0x11c>, <0xf9824000 0x800>; | ||
| 110 | reg-names = "hc_mem", "core_mem"; | ||
| 111 | interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, | ||
| 112 | <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>; | ||
| 113 | interrupt-names = "hc_irq", "pwr_irq"; | ||
| 114 | clocks = <&gcc GCC_SDCC1_APPS_CLK>, | ||
| 115 | <&gcc GCC_SDCC1_AHB_CLK>, | ||
| 116 | <&xo_board>; | ||
| 117 | clock-names = "core", "iface", "xo"; | ||
| 118 | status = "disabled"; | ||
| 119 | }; | ||
| 120 | |||
| 121 | sdhc_2: sdhci@f98a4900 { | ||
| 122 | compatible = "qcom,msm8226-sdhci", "qcom,sdhci-msm-v4"; | ||
| 123 | reg = <0xf98a4900 0x11c>, <0xf98a4000 0x800>; | ||
| 124 | reg-names = "hc_mem", "core_mem"; | ||
| 125 | interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>, | ||
| 126 | <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>; | ||
| 127 | interrupt-names = "hc_irq", "pwr_irq"; | ||
| 128 | clocks = <&gcc GCC_SDCC2_APPS_CLK>, | ||
| 129 | <&gcc GCC_SDCC2_AHB_CLK>, | ||
| 130 | <&xo_board>; | ||
| 131 | clock-names = "core", "iface", "xo"; | ||
| 132 | status = "disabled"; | ||
| 133 | }; | ||
| 134 | |||
| 135 | sdhc_3: sdhci@f9864900 { | ||
| 136 | compatible = "qcom,msm8226-sdhci", "qcom,sdhci-msm-v4"; | ||
| 137 | reg = <0xf9864900 0x11c>, <0xf9864000 0x800>; | ||
| 138 | reg-names = "hc_mem", "core_mem"; | ||
| 139 | interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>, | ||
| 140 | <GIC_SPI 224 IRQ_TYPE_LEVEL_HIGH>; | ||
| 141 | interrupt-names = "hc_irq", "pwr_irq"; | ||
| 142 | clocks = <&gcc GCC_SDCC3_APPS_CLK>, | ||
| 143 | <&gcc GCC_SDCC3_AHB_CLK>, | ||
| 144 | <&xo_board>; | ||
| 145 | clock-names = "core", "iface", "xo"; | ||
| 146 | status = "disabled"; | ||
| 147 | }; | ||
| 148 | |||
| 149 | blsp1_uart3: serial@f991f000 { | ||
| 150 | compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; | ||
| 151 | reg = <0xf991f000 0x1000>; | ||
| 152 | interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>; | ||
| 153 | clocks = <&gcc GCC_BLSP1_UART3_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>; | ||
| 154 | clock-names = "core", "iface"; | ||
| 155 | status = "disabled"; | ||
| 156 | }; | ||
| 157 | |||
| 158 | blsp1_uart4: serial@f9920000 { | ||
| 159 | compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; | ||
| 160 | reg = <0xf9920000 0x1000>; | ||
| 161 | interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>; | ||
| 162 | clocks = <&gcc GCC_BLSP1_UART4_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>; | ||
| 163 | clock-names = "core", "iface"; | ||
| 164 | status = "disabled"; | ||
| 165 | }; | ||
| 166 | |||
| 167 | blsp1_i2c1: i2c@f9923000 { | ||
| 168 | status = "disabled"; | ||
| 169 | compatible = "qcom,i2c-qup-v2.1.1"; | ||
| 170 | reg = <0xf9923000 0x1000>; | ||
| 171 | interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>; | ||
| 172 | clocks = <&gcc GCC_BLSP1_QUP1_I2C_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>; | ||
| 173 | clock-names = "core", "iface"; | ||
| 174 | pinctrl-names = "default"; | ||
| 175 | pinctrl-0 = <&blsp1_i2c1_pins>; | ||
| 176 | #address-cells = <1>; | ||
| 177 | #size-cells = <0>; | ||
| 178 | }; | ||
| 179 | |||
| 180 | blsp1_i2c2: i2c@f9924000 { | ||
| 181 | status = "disabled"; | ||
| 182 | compatible = "qcom,i2c-qup-v2.1.1"; | ||
| 183 | reg = <0xf9924000 0x1000>; | ||
| 184 | interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>; | ||
| 185 | clocks = <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>; | ||
| 186 | clock-names = "core", "iface"; | ||
| 187 | pinctrl-names = "default"; | ||
| 188 | pinctrl-0 = <&blsp1_i2c2_pins>; | ||
| 189 | #address-cells = <1>; | ||
| 190 | #size-cells = <0>; | ||
| 191 | }; | ||
| 192 | |||
| 193 | blsp1_i2c3: i2c@f9925000 { | ||
| 194 | status = "disabled"; | ||
| 195 | compatible = "qcom,i2c-qup-v2.1.1"; | ||
| 196 | reg = <0xf9925000 0x1000>; | ||
| 197 | interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>; | ||
| 198 | clocks = <&gcc GCC_BLSP1_QUP3_I2C_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>; | ||
| 199 | clock-names = "core", "iface"; | ||
| 200 | pinctrl-names = "default"; | ||
| 201 | pinctrl-0 = <&blsp1_i2c3_pins>; | ||
| 202 | #address-cells = <1>; | ||
| 203 | #size-cells = <0>; | ||
| 204 | }; | ||
| 205 | |||
| 206 | blsp1_i2c4: i2c@f9926000 { | ||
| 207 | status = "disabled"; | ||
| 208 | compatible = "qcom,i2c-qup-v2.1.1"; | ||
| 209 | reg = <0xf9926000 0x1000>; | ||
| 210 | interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>; | ||
| 211 | clocks = <&gcc GCC_BLSP1_QUP4_I2C_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>; | ||
| 212 | clock-names = "core", "iface"; | ||
| 213 | pinctrl-names = "default"; | ||
| 214 | pinctrl-0 = <&blsp1_i2c4_pins>; | ||
| 215 | #address-cells = <1>; | ||
| 216 | #size-cells = <0>; | ||
| 217 | }; | ||
| 218 | |||
| 219 | blsp1_i2c5: i2c@f9927000 { | ||
| 220 | status = "disabled"; | ||
| 221 | compatible = "qcom,i2c-qup-v2.1.1"; | ||
| 222 | reg = <0xf9927000 0x1000>; | ||
| 223 | interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>; | ||
| 224 | clocks = <&gcc GCC_BLSP1_QUP5_I2C_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>; | ||
| 225 | clock-names = "core", "iface"; | ||
| 226 | pinctrl-names = "default"; | ||
| 227 | pinctrl-0 = <&blsp1_i2c5_pins>; | ||
| 228 | #address-cells = <1>; | ||
| 229 | #size-cells = <0>; | ||
| 230 | }; | ||
| 231 | |||
| 37 | gcc: clock-controller@fc400000 { | 232 | gcc: clock-controller@fc400000 { |
| 38 | compatible = "qcom,gcc-msm8226"; | 233 | compatible = "qcom,gcc-msm8226"; |
| 39 | reg = <0xfc400000 0x4000>; | 234 | reg = <0xfc400000 0x4000>; |
| @@ -51,15 +246,41 @@ · 11 unmodified lines | |||
| 51 | interrupt-controller; | 246 | interrupt-controller; |
| 52 | #interrupt-cells = <2>; | 247 | #interrupt-cells = <2>; |
| 53 | interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>; | 248 | interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>; |
| 54 | }; | ||
| 55 | 249 | ||
| 56 | blsp1_uart3: serial@f991f000 { | 250 | blsp1_i2c1_pins: blsp1-i2c1 { |
| 57 | compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; | 251 | pins = "gpio2", "gpio3"; |
| 58 | reg = <0xf991f000 0x1000>; | 252 | function = "blsp_i2c1"; |
| 59 | interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>; | 253 | drive-strength = <2>; |
| 60 | clocks = <&gcc GCC_BLSP1_UART3_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>; | 254 | bias-disable; |
| 61 | clock-names = "core", "iface"; | 255 | }; |
| 62 | status = "disabled"; | 256 | |
| 257 | blsp1_i2c2_pins: blsp1-i2c2 { | ||
| 258 | pins = "gpio6", "gpio7"; | ||
| 259 | function = "blsp_i2c2"; | ||
| 260 | drive-strength = <2>; | ||
| 261 | bias-disable; | ||
| 262 | }; | ||
| 263 | |||
| 264 | blsp1_i2c3_pins: blsp1-i2c3 { | ||
| 265 | pins = "gpio10", "gpio11"; | ||
| 266 | function = "blsp_i2c3"; | ||
| 267 | drive-strength = <2>; | ||
| 268 | bias-disable; | ||
| 269 | }; | ||
| 270 | |||
| 271 | blsp1_i2c4_pins: blsp1-i2c4 { | ||
| 272 | pins = "gpio14", "gpio15"; | ||
| 273 | function = "blsp_i2c4"; | ||
| 274 | drive-strength = <2>; | ||
| 275 | bias-disable; | ||
| 276 | }; | ||
| 277 | |||
| 278 | blsp1_i2c5_pins: blsp1-i2c5 { | ||
| 279 | pins = "gpio18", "gpio19"; | ||
| 280 | function = "blsp_i2c5"; | ||
| 281 | drive-strength = <2>; | ||
| 282 | bias-disable; | ||
| 283 | }; | ||
| 63 | }; | 284 | }; |
| 64 | 285 | ||
| 65 | restart@fc4ab000 { | 286 | restart@fc4ab000 { |
| @@ -67,6 +288,22 @@ · 1 unmodified line | |||
| 67 | reg = <0xfc4ab000 0x4>; | 288 | reg = <0xfc4ab000 0x4>; |
| 68 | }; | 289 | }; |
| 69 | 290 | ||
| 291 | spmi_bus: spmi@fc4cf000 { | ||
| 292 | compatible = "qcom,spmi-pmic-arb"; | ||
| 293 | reg-names = "core", "intr", "cnfg"; | ||
| 294 | reg = <0xfc4cf000 0x1000>, | ||
| 295 | <0xfc4cb000 0x1000>, | ||
| 296 | <0xfc4ca000 0x1000>; | ||
| 297 | interrupt-names = "periph_irq"; | ||
| 298 | interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>; | ||
| 299 | qcom,ee = <0>; | ||
| 300 | qcom,channel = <0>; | ||
| 301 | #address-cells = <2>; | ||
| 302 | #size-cells = <0>; | ||
| 303 | interrupt-controller; | ||
| 304 | #interrupt-cells = <4>; | ||
| 305 | }; | ||
| 306 | |||
| 70 | rng@f9bff000 { | 307 | rng@f9bff000 { |
| 71 | compatible = "qcom,prng"; | 308 | compatible = "qcom,prng"; |
| 72 | reg = <0xf9bff000 0x200>; | 309 | reg = <0xf9bff000 0x200>; |
| @@ -131,6 +368,16 @@ · 58 unmodified lines | |||
| 131 | status = "disabled"; | 368 | status = "disabled"; |
| 132 | }; | 369 | }; |
| 133 | }; | 370 | }; |
| 371 | |||
| 372 | rpm_msg_ram: memory@fc428000 { | ||
| 373 | compatible = "qcom,rpm-msg-ram"; | ||
| 374 | reg = <0xfc428000 0x4000>; | ||
| 375 | }; | ||
| 376 | |||
| 377 | tcsr_mutex_block: syscon@fd484000 { | ||
| 378 | compatible = "syscon"; | ||
| 379 | reg = <0xfd484000 0x2000>; | ||
| 380 | }; | ||
| 134 | }; | 381 | }; |
| 135 | 382 | ||
| 136 | timer { | 383 | timer { |
| @@ -35,13 +35,13 @@ · 34 unmodified lines | |||
| 35 | 35 | ||
| 36 | amba { | 36 | amba { |
| 37 | /* eMMC */ | 37 | /* eMMC */ |
| 38 | sdcc1: sdcc@12400000 { | 38 | sdcc1: mmc@12400000 { |
| 39 | status = "okay"; | 39 | status = "okay"; |
| 40 | vmmc-supply = <&vsdcc_fixed>; | 40 | vmmc-supply = <&vsdcc_fixed>; |
| 41 | }; | 41 | }; |
| 42 | 42 | ||
| 43 | /* External micro SD card */ | 43 | /* External micro SD card */ |
| 44 | sdcc3: sdcc@12180000 { | 44 | sdcc3: mmc@12180000 { |
| 45 | status = "okay"; | 45 | status = "okay"; |
| 46 | vmmc-supply = <&vsdcc_fixed>; | 46 | vmmc-supply = <&vsdcc_fixed>; |
| 47 | }; | 47 | }; |
| @@ -307,20 +307,9 @@ · 306 unmodified lines | |||
| 307 | reg = <0x50>; | 307 | reg = <0x50>; |
| 308 | gpio-controller; | 308 | gpio-controller; |
| 309 | #gpio-cells = <2>; | 309 | #gpio-cells = <2>; |
| 310 | interrupt-parent = <&pm8058>; | 310 | gpio-ranges = <&pm8058_mpps 0 0 12>; |
| 311 | interrupts = | 311 | interrupt-controller; |
| 312 | <128 IRQ_TYPE_NONE>, | 312 | #interrupt-cells = <2>; |
| 313 | <129 IRQ_TYPE_NONE>, | ||
| 314 | <130 IRQ_TYPE_NONE>, | ||
| 315 | <131 IRQ_TYPE_NONE>, | ||
| 316 | <132 IRQ_TYPE_NONE>, | ||
| 317 | <133 IRQ_TYPE_NONE>, | ||
| 318 | <134 IRQ_TYPE_NONE>, | ||
| 319 | <135 IRQ_TYPE_NONE>, | ||
| 320 | <136 IRQ_TYPE_NONE>, | ||
| 321 | <137 IRQ_TYPE_NONE>, | ||
| 322 | <138 IRQ_TYPE_NONE>, | ||
| 323 | <139 IRQ_TYPE_NONE>; | ||
| 324 | }; | 313 | }; |
| 325 | 314 | ||
| 326 | pwrkey@1c { | 315 | pwrkey@1c { |
| @@ -494,7 +483,7 @@ · 167 unmodified lines | |||
| 494 | #address-cells = <1>; | 483 | #address-cells = <1>; |
| 495 | #size-cells = <1>; | 484 | #size-cells = <1>; |
| 496 | ranges; | 485 | ranges; |
| 497 | sdcc1: sdcc@12400000 { | 486 | sdcc1: mmc@12400000 { |
| 498 | status = "disabled"; | 487 | status = "disabled"; |
| 499 | compatible = "arm,pl18x", "arm,primecell"; | 488 | compatible = "arm,pl18x", "arm,primecell"; |
| 500 | arm,primecell-periphid = <0x00051180>; | 489 | arm,primecell-periphid = <0x00051180>; |
| @@ -510,7 +499,7 @@ · 9 unmodified lines | |||
| 510 | cap-mmc-highspeed; | 499 | cap-mmc-highspeed; |
| 511 | }; | 500 | }; |
| 512 | 501 | ||
| 513 | sdcc2: sdcc@12140000 { | 502 | sdcc2: mmc@12140000 { |
| 514 | status = "disabled"; | 503 | status = "disabled"; |
| 515 | compatible = "arm,pl18x", "arm,primecell"; | 504 | compatible = "arm,pl18x", "arm,primecell"; |
| 516 | arm,primecell-periphid = <0x00051180>; | 505 | arm,primecell-periphid = <0x00051180>; |
| @@ -525,7 +514,7 @@ · 8 unmodified lines | |||
| 525 | cap-mmc-highspeed; | 514 | cap-mmc-highspeed; |
| 526 | }; | 515 | }; |
| 527 | 516 | ||
| 528 | sdcc3: sdcc@12180000 { | 517 | sdcc3: mmc@12180000 { |
| 529 | compatible = "arm,pl18x", "arm,primecell"; | 518 | compatible = "arm,pl18x", "arm,primecell"; |
| 530 | arm,primecell-periphid = <0x00051180>; | 519 | arm,primecell-periphid = <0x00051180>; |
| 531 | status = "disabled"; | 520 | status = "disabled"; |
| @@ -541,7 +530,7 @@ · 9 unmodified lines | |||
| 541 | no-1-8-v; | 530 | no-1-8-v; |
| 542 | }; | 531 | }; |
| 543 | 532 | ||
| 544 | sdcc4: sdcc@121c0000 { | 533 | sdcc4: mmc@121c0000 { |
| 545 | compatible = "arm,pl18x", "arm,primecell"; | 534 | compatible = "arm,pl18x", "arm,primecell"; |
| 546 | arm,primecell-periphid = <0x00051180>; | 535 | arm,primecell-periphid = <0x00051180>; |
| 547 | status = "disabled"; | 536 | status = "disabled"; |
| @@ -556,7 +545,7 @@ · 8 unmodified lines | |||
| 556 | cap-mmc-highspeed; | 545 | cap-mmc-highspeed; |
| 557 | }; | 546 | }; |
| 558 | 547 | ||
| 559 | sdcc5: sdcc@12200000 { | 548 | sdcc5: mmc@12200000 { |
| 560 | compatible = "arm,pl18x", "arm,primecell"; | 549 | compatible = "arm,pl18x", "arm,primecell"; |
| 561 | arm,primecell-periphid = <0x00051180>; | 550 | arm,primecell-periphid = <0x00051180>; |
| 562 | status = "disabled"; | 551 | status = "disabled"; |
| @@ -0,0 +1,3 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 2 | #include "arm64/qcom/msm8916-samsung-serranove.dts" | ||
| 3 | #include "qcom-msm8916-smp.dtsi" | ||
| @@ -0,0 +1,62 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 2 | |||
| 3 | / { | ||
| 4 | cpus { | ||
| 5 | cpu@0 { | ||
| 6 | enable-method = "qcom,msm8916-smp"; | ||
| 7 | }; | ||
| 8 | cpu@1 { | ||
| 9 | enable-method = "qcom,msm8916-smp"; | ||
| 10 | }; | ||
| 11 | cpu@2 { | ||
| 12 | enable-method = "qcom,msm8916-smp"; | ||
| 13 | }; | ||
| 14 | cpu@3 { | ||
| 15 | enable-method = "qcom,msm8916-smp"; | ||
| 16 | }; | ||
| 17 | |||
| 18 | idle-states { | ||
| 19 | /delete-property/ entry-method; | ||
| 20 | }; | ||
| 21 | }; | ||
| 22 | |||
| 23 | psci { | ||
| 24 | status = "disabled"; | ||
| 25 | }; | ||
| 26 | }; | ||
| 27 | |||
| 28 | &CPU_SLEEP_0 { | ||
| 29 | compatible = "qcom,idle-state-spc"; | ||
| 30 | }; | ||
| 31 | |||
| 32 | &cpu0_acc { | ||
| 33 | status = "okay"; | ||
| 34 | }; | ||
| 35 | |||
| 36 | &cpu0_saw { | ||
| 37 | status = "okay"; | ||
| 38 | }; | ||
| 39 | |||
| 40 | &cpu1_acc { | ||
| 41 | status = "okay"; | ||
| 42 | }; | ||
| 43 | |||
| 44 | &cpu1_saw { | ||
| 45 | status = "okay"; | ||
| 46 | }; | ||
| 47 | |||
| 48 | &cpu2_acc { | ||
| 49 | status = "okay"; | ||
| 50 | }; | ||
| 51 | |||
| 52 | &cpu2_saw { | ||
| 53 | status = "okay"; | ||
| 54 | }; | ||
| 55 | |||
| 56 | &cpu3_acc { | ||
| 57 | status = "okay"; | ||
| 58 | }; | ||
| 59 | |||
| 60 | &cpu3_saw { | ||
| 61 | status = "okay"; | ||
| 62 | }; | ||
| @@ -26,12 +26,12 @@ · 25 unmodified lines | |||
| 26 | 26 | ||
| 27 | amba { | 27 | amba { |
| 28 | /* eMMC */ | 28 | /* eMMC */ |
| 29 | sdcc1: sdcc@12400000 { | 29 | sdcc1: mmc@12400000 { |
| 30 | status = "okay"; | 30 | status = "okay"; |
| 31 | }; | 31 | }; |
| 32 | 32 | ||
| 33 | /* External micro SD card */ | 33 | /* External micro SD card */ |
| 34 | sdcc3: sdcc@12180000 { | 34 | sdcc3: mmc@12180000 { |
| 35 | status = "okay"; | 35 | status = "okay"; |
| 36 | }; | 36 | }; |
| 37 | }; | 37 | }; |
| @@ -263,7 +263,7 @@ · 262 unmodified lines | |||
| 263 | #address-cells = <1>; | 263 | #address-cells = <1>; |
| 264 | #size-cells = <1>; | 264 | #size-cells = <1>; |
| 265 | ranges; | 265 | ranges; |
| 266 | sdcc1: sdcc@12400000 { | 266 | sdcc1: mmc@12400000 { |
| 267 | status = "disabled"; | 267 | status = "disabled"; |
| 268 | compatible = "arm,pl18x", "arm,primecell"; | 268 | compatible = "arm,pl18x", "arm,primecell"; |
| 269 | arm,primecell-periphid = <0x00051180>; | 269 | arm,primecell-periphid = <0x00051180>; |
| @@ -280,7 +280,7 @@ · 10 unmodified lines | |||
| 280 | vmmc-supply = <&vsdcc_fixed>; | 280 | vmmc-supply = <&vsdcc_fixed>; |
| 281 | }; | 281 | }; |
| 282 | 282 | ||
| 283 | sdcc3: sdcc@12180000 { | 283 | sdcc3: mmc@12180000 { |
| 284 | compatible = "arm,pl18x", "arm,primecell"; | 284 | compatible = "arm,pl18x", "arm,primecell"; |
| 285 | arm,primecell-periphid = <0x00051180>; | 285 | arm,primecell-periphid = <0x00051180>; |
| 286 | status = "disabled"; | 286 | status = "disabled"; |
| @@ -142,7 +142,7 @@ · 141 unmodified lines | |||
| 142 | }; | 142 | }; |
| 143 | 143 | ||
| 144 | thermal-zones { | 144 | thermal-zones { |
| 145 | cpu-thermal0 { | 145 | cpu0-thermal { |
| 146 | polling-delay-passive = <250>; | 146 | polling-delay-passive = <250>; |
| 147 | polling-delay = <1000>; | 147 | polling-delay = <1000>; |
| 148 | 148 | ||
| @@ -162,7 +162,7 @@ · 13 unmodified lines | |||
| 162 | }; | 162 | }; |
| 163 | }; | 163 | }; |
| 164 | 164 | ||
| 165 | cpu-thermal1 { | 165 | cpu1-thermal { |
| 166 | polling-delay-passive = <250>; | 166 | polling-delay-passive = <250>; |
| 167 | polling-delay = <1000>; | 167 | polling-delay = <1000>; |
| 168 | 168 | ||
| @@ -182,7 +182,7 @@ · 13 unmodified lines | |||
| 182 | }; | 182 | }; |
| 183 | }; | 183 | }; |
| 184 | 184 | ||
| 185 | cpu-thermal2 { | 185 | cpu2-thermal { |
| 186 | polling-delay-passive = <250>; | 186 | polling-delay-passive = <250>; |
| 187 | polling-delay = <1000>; | 187 | polling-delay = <1000>; |
| 188 | 188 | ||
| @@ -202,7 +202,7 @@ · 13 unmodified lines | |||
| 202 | }; | 202 | }; |
| 203 | }; | 203 | }; |
| 204 | 204 | ||
| 205 | cpu-thermal3 { | 205 | cpu3-thermal { |
| 206 | polling-delay-passive = <250>; | 206 | polling-delay-passive = <250>; |
| 207 | polling-delay = <1000>; | 207 | polling-delay = <1000>; |
| 208 | 208 | ||
| @@ -282,7 +282,7 @@ · 73 unmodified lines | |||
| 282 | }; | 282 | }; |
| 283 | }; | 283 | }; |
| 284 | 284 | ||
| 285 | gpu-thermal-top { | 285 | gpu-top-thermal { |
| 286 | polling-delay-passive = <250>; | 286 | polling-delay-passive = <250>; |
| 287 | polling-delay = <1000>; | 287 | polling-delay = <1000>; |
| 288 | 288 | ||
| @@ -297,7 +297,7 @@ · 8 unmodified lines | |||
| 297 | }; | 297 | }; |
| 298 | }; | 298 | }; |
| 299 | 299 | ||
| 300 | gpu-thermal-bottom { | 300 | gpu-bottom-thermal { |
| 301 | polling-delay-passive = <250>; | 301 | polling-delay-passive = <250>; |
| 302 | polling-delay = <1000>; | 302 | polling-delay = <1000>; |
| 303 | 303 | ||
| @@ -1589,8 +1589,8 @@ · 1285 unmodified lines | |||
| 1589 | #phy-cells = <0>; | 1589 | #phy-cells = <0>; |
| 1590 | qcom,dsi-phy-index = <0>; | 1590 | qcom,dsi-phy-index = <0>; |
| 1591 | 1591 | ||
| 1592 | clocks = <&mmcc MDSS_AHB_CLK>; | 1592 | clocks = <&mmcc MDSS_AHB_CLK>, <&xo_board>; |
| 1593 | clock-names = "iface"; | 1593 | clock-names = "iface", "ref"; |
| 1594 | }; | 1594 | }; |
| 1595 | }; | 1595 | }; |
| 1596 | 1596 | ||
| @@ -0,0 +1,27 @@ | |||
| 1 | // SPDX-License-Identifier: BSD-3-Clause | ||
| 2 | #include <dt-bindings/interrupt-controller/irq.h> | ||
| 3 | #include <dt-bindings/spmi/spmi.h> | ||
| 4 | |||
| 5 | &spmi_bus { | ||
| 6 | pm8226_0: pm8226@0 { | ||
| 7 | compatible = "qcom,pm8226", "qcom,spmi-pmic"; | ||
| 8 | reg = <0x0 SPMI_USID>; | ||
| 9 | #address-cells = <1>; | ||
| 10 | #size-cells = <0>; | ||
| 11 | |||
| 12 | pwrkey@800 { | ||
| 13 | compatible = "qcom,pm8941-pwrkey"; | ||
| 14 | reg = <0x800>; | ||
| 15 | interrupts = <0x0 0x8 0 IRQ_TYPE_EDGE_BOTH>; | ||
| 16 | debounce = <15625>; | ||
| 17 | bias-pull-up; | ||
| 18 | }; | ||
| 19 | }; | ||
| 20 | |||
| 21 | pm8226_1: pm8226@1 { | ||
| 22 | compatible = "qcom,pm8226", "qcom,spmi-pmic"; | ||
| 23 | reg = <0x1 SPMI_USID>; | ||
| 24 | #address-cells = <1>; | ||
| 25 | #size-cells = <0>; | ||
| 26 | }; | ||
| 27 | }; | ||
| @@ -15,10 +15,9 @@ · 14 unmodified lines | |||
| 15 | reg = <0xa000>; | 15 | reg = <0xa000>; |
| 16 | gpio-controller; | 16 | gpio-controller; |
| 17 | #gpio-cells = <2>; | 17 | #gpio-cells = <2>; |
| 18 | interrupts = <4 0xa0 0 IRQ_TYPE_NONE>, | 18 | gpio-ranges = <&pm8841_mpps 0 0 4>; |
| 19 | <4 0xa1 0 IRQ_TYPE_NONE>, | 19 | interrupt-controller; |
| 20 | <4 0xa2 0 IRQ_TYPE_NONE>, | 20 | #interrupt-cells = <2>; |
| 21 | <4 0xa3 0 IRQ_TYPE_NONE>; | ||
| 22 | }; | 21 | }; |
| 23 | 22 | ||
| 24 | temp-alarm@2400 { | 23 | temp-alarm@2400 { |
| @@ -79,14 +79,9 @@ · 78 unmodified lines | |||
| 79 | reg = <0xa000>; | 79 | reg = <0xa000>; |
| 80 | gpio-controller; | 80 | gpio-controller; |
| 81 | #gpio-cells = <2>; | 81 | #gpio-cells = <2>; |
| 82 | interrupts = <0 0xa0 0 IRQ_TYPE_NONE>, | 82 | gpio-ranges = <&pm8941_mpps 0 0 8>; |
| 83 | <0 0xa1 0 IRQ_TYPE_NONE>, | 83 | interrupt-controller; |
| 84 | <0 0xa2 0 IRQ_TYPE_NONE>, | 84 | #interrupt-cells = <2>; |
| 85 | <0 0xa3 0 IRQ_TYPE_NONE>, | ||
| 86 | <0 0xa4 0 IRQ_TYPE_NONE>, | ||
| 87 | <0 0xa5 0 IRQ_TYPE_NONE>, | ||
| 88 | <0 0xa6 0 IRQ_TYPE_NONE>, | ||
| 89 | <0 0xa7 0 IRQ_TYPE_NONE>; | ||
| 90 | }; | 85 | }; |
| 91 | 86 | ||
| 92 | pm8941_temp: temp-alarm@2400 { | 87 | pm8941_temp: temp-alarm@2400 { |
| @@ -42,14 +42,9 @@ · 41 unmodified lines | |||
| 42 | reg = <0xa000>; | 42 | reg = <0xa000>; |
| 43 | gpio-controller; | 43 | gpio-controller; |
| 44 | #gpio-cells = <2>; | 44 | #gpio-cells = <2>; |
| 45 | interrupts = <0 0xa0 0 IRQ_TYPE_NONE>, | 45 | gpio-ranges = <&pma8084_mpps 0 0 8>; |
| 46 | <0 0xa1 0 IRQ_TYPE_NONE>, | 46 | interrupt-controller; |
| 47 | <0 0xa2 0 IRQ_TYPE_NONE>, | 47 | #interrupt-cells = <2>; |
| 48 | <0 0xa3 0 IRQ_TYPE_NONE>, | ||
| 49 | <0 0xa4 0 IRQ_TYPE_NONE>, | ||
| 50 | <0 0xa5 0 IRQ_TYPE_NONE>, | ||
| 51 | <0 0xa6 0 IRQ_TYPE_NONE>, | ||
| 52 | <0 0xa7 0 IRQ_TYPE_NONE>; | ||
| 53 | }; | 48 | }; |
| 54 | 49 | ||
| 55 | pma8084_temp: temp-alarm@2400 { | 50 | pma8084_temp: temp-alarm@2400 { |
| @@ -228,7 +228,6 @@ · 227 unmodified lines | |||
| 228 | compatible = "qcom,sdx55-qmp-usb3-uni-phy"; | 228 | compatible = "qcom,sdx55-qmp-usb3-uni-phy"; |
| 229 | reg = <0x00ff6000 0x1c0>; | 229 | reg = <0x00ff6000 0x1c0>; |
| 230 | status = "disabled"; | 230 | status = "disabled"; |
| 231 | #clock-cells = <1>; | ||
| 232 | #address-cells = <1>; | 231 | #address-cells = <1>; |
| 233 | #size-cells = <1>; | 232 | #size-cells = <1>; |
| 234 | ranges; | 233 | ranges; |
| @@ -108,6 +108,8 @@ · 107 unmodified lines | |||
| 108 | renesas,no-ether-link; | 108 | renesas,no-ether-link; |
| 109 | phy-handle = <&phy0>; | 109 | phy-handle = <&phy0>; |
| 110 | phy0: ethernet-phy@0 { | 110 | phy0: ethernet-phy@0 { |
| 111 | compatible = "ethernet-phy-idb824.2814", | ||
| 112 | "ethernet-phy-ieee802.3-c22"; | ||
| 111 | reg = <0>; | 113 | reg = <0>; |
| 112 | }; | 114 | }; |
| 113 | }; | 115 | }; |
| @@ -129,6 +129,8 @@ · 128 unmodified lines | |||
| 129 | phy-handle = <&phy0>; | 129 | phy-handle = <&phy0>; |
| 130 | 130 | ||
| 131 | phy0: ethernet-phy@0 { | 131 | phy0: ethernet-phy@0 { |
| 132 | compatible = "ethernet-phy-id0007.c0f0", | ||
| 133 | "ethernet-phy-ieee802.3-c22"; | ||
| 132 | reg = <0>; | 134 | reg = <0>; |
| 133 | 135 | ||
| 134 | reset-gpios = <&port4 2 GPIO_ACTIVE_LOW>; | 136 | reset-gpios = <&port4 2 GPIO_ACTIVE_LOW>; |
| @@ -192,6 +192,8 @@ · 191 unmodified lines | |||
| 192 | renesas,no-ether-link; | 192 | renesas,no-ether-link; |
| 193 | phy-handle = <&phy0>; | 193 | phy-handle = <&phy0>; |
| 194 | phy0: ethernet-phy@0 { | 194 | phy0: ethernet-phy@0 { |
| 195 | compatible = "ethernet-phy-idb824.2814", | ||
| 196 | "ethernet-phy-ieee802.3-c22"; | ||
| 195 | reg = <0>; | 197 | reg = <0>; |
| 196 | }; | 198 | }; |
| 197 | }; | 199 | }; |
| @@ -100,6 +100,8 @@ · 99 unmodified lines | |||
| 100 | renesas,no-ether-link; | 100 | renesas,no-ether-link; |
| 101 | phy-handle = <&phy1>; | 101 | phy-handle = <&phy1>; |
| 102 | phy1: ethernet-phy@1 { | 102 | phy1: ethernet-phy@1 { |
| 103 | compatible = "ethernet-phy-id001c.c816", | ||
| 104 | "ethernet-phy-ieee802.3-c22"; | ||
| 103 | reg = <0>; | 105 | reg = <0>; |
| 104 | }; | 106 | }; |
| 105 | }; | 107 | }; |
| @@ -109,6 +111,20 @@ · 3 unmodified lines | |||
| 109 | clock-frequency = <24000000>; /* 24MHz */ | 111 | clock-frequency = <24000000>; /* 24MHz */ |
| 110 | }; | 112 | }; |
| 111 | 113 | ||
| 114 | &i2c3 { | ||
| 115 | status = "okay"; | ||
| 116 | clock-frequency = <400000>; | ||
| 117 | |||
| 118 | pinctrl-names = "default"; | ||
| 119 | pinctrl-0 = <&i2c3_pins>; | ||
| 120 | |||
| 121 | eeprom@50 { | ||
| 122 | compatible = "renesas,r1ex24128", "atmel,24c128"; | ||
| 123 | reg = <0x50>; | ||
| 124 | pagesize = <64>; | ||
| 125 | }; | ||
| 126 | }; | ||
| 127 | |||
| 112 | /* High resolution System tick timers */ | 128 | /* High resolution System tick timers */ |
| 113 | &ostm0 { | 129 | &ostm0 { |
| 114 | status = "okay"; | 130 | status = "okay"; |
| @@ -147,6 +163,11 @@ · 32 unmodified lines | |||
| 147 | <RZA2_PINMUX(PORTL, 1, 5)>; /* IRQ5 */ | 163 | <RZA2_PINMUX(PORTL, 1, 5)>; /* IRQ5 */ |
| 148 | }; | 164 | }; |
| 149 | 165 | ||
| 166 | i2c3_pins: i2c3 { | ||
| 167 | pinmux = <RZA2_PINMUX(PORTD, 6, 1)>, /* RIIC3SCL */ | ||
| 168 | <RZA2_PINMUX(PORTD, 7, 1)>; /* RIIC3SDA */ | ||
| 169 | }; | ||
| 170 | |||
| 150 | keyboard_pins: keyboard { | 171 | keyboard_pins: keyboard { |
| 151 | pinmux = <RZA2_PINMUX(PORTJ, 1, 6)>; /* IRQ0 */ | 172 | pinmux = <RZA2_PINMUX(PORTJ, 1, 6)>; /* IRQ0 */ |
| 152 | }; | 173 | }; |
| @@ -199,6 +199,7 @@ · 198 unmodified lines | |||
| 199 | reg-io-width = <4>; | 199 | reg-io-width = <4>; |
| 200 | smsc,irq-active-high; | 200 | smsc,irq-active-high; |
| 201 | smsc,irq-push-pull; | 201 | smsc,irq-push-pull; |
| 202 | reset-gpios = <&pfc 270 GPIO_ACTIVE_LOW>; | ||
| 202 | vdd33a-supply = <&ape6evm_fixed_3v3>; | 203 | vdd33a-supply = <&ape6evm_fixed_3v3>; |
| 203 | vddvario-supply = <&ape6evm_fixed_1v8>; | 204 | vddvario-supply = <&ape6evm_fixed_1v8>; |
| 204 | }; | 205 | }; |
| @@ -170,7 +170,10 @@ · 169 unmodified lines | |||
| 170 | status = "okay"; | 170 | status = "okay"; |
| 171 | 171 | ||
| 172 | phy0: ethernet-phy@0 { | 172 | phy0: ethernet-phy@0 { |
| 173 | compatible = "ethernet-phy-id0007.c0f1", | ||
| 174 | "ethernet-phy-ieee802.3-c22"; | ||
| 173 | reg = <0>; | 175 | reg = <0>; |
| 176 | reset-gpios = <&pfc 18 GPIO_ACTIVE_LOW>; | ||
| 174 | }; | 177 | }; |
| 175 | }; | 178 | }; |
| 176 | 179 | ||
| @@ -66,6 +66,8 @@ · 65 unmodified lines | |||
| 66 | status = "okay"; | 66 | status = "okay"; |
| 67 | 67 | ||
| 68 | phy1: ethernet-phy@1 { | 68 | phy1: ethernet-phy@1 { |
| 69 | compatible = "ethernet-phy-id0022.1560", | ||
| 70 | "ethernet-phy-ieee802.3-c22"; | ||
| 69 | reg = <1>; | 71 | reg = <1>; |
| 70 | micrel,led-mode = <1>; | 72 | micrel,led-mode = <1>; |
| 71 | }; | 73 | }; |
| @@ -175,6 +175,8 @@ · 174 unmodified lines | |||
| 175 | status = "okay"; | 175 | status = "okay"; |
| 176 | 176 | ||
| 177 | phy3: ethernet-phy@3 { | 177 | phy3: ethernet-phy@3 { |
| 178 | compatible = "ethernet-phy-id0022.1622", | ||
| 179 | "ethernet-phy-ieee802.3-c22"; | ||
| 178 | reg = <3>; | 180 | reg = <3>; |
| 179 | micrel,led-mode = <1>; | 181 | micrel,led-mode = <1>; |
| 180 | }; | 182 | }; |
| @@ -7,6 +7,7 @@ · 6 unmodified lines | |||
| 7 | 7 | ||
| 8 | /dts-v1/; | 8 | /dts-v1/; |
| 9 | #include "r8a7743.dtsi" | 9 | #include "r8a7743.dtsi" |
| 10 | #include <dt-bindings/gpio/gpio.h> | ||
| 10 | 11 | ||
| 11 | / { | 12 | / { |
| 12 | model = "SK-RZG1M"; | 13 | model = "SK-RZG1M"; |
| @@ -69,9 +70,12 @@ · 56 unmodified lines | |||
| 69 | status = "okay"; | 70 | status = "okay"; |
| 70 | 71 | ||
| 71 | phy1: ethernet-phy@1 { | 72 | phy1: ethernet-phy@1 { |
| 73 | compatible = "ethernet-phy-id0022.1537", | ||
| 74 | "ethernet-phy-ieee802.3-c22"; | ||
| 72 | reg = <1>; | 75 | reg = <1>; |
| 73 | interrupt-parent = <&irqc>; | 76 | interrupt-parent = <&irqc>; |
| 74 | interrupts = <0 IRQ_TYPE_LEVEL_LOW>; | 77 | interrupts = <0 IRQ_TYPE_LEVEL_LOW>; |
| 75 | micrel,led-mode = <1>; | 78 | micrel,led-mode = <1>; |
| 79 | reset-gpios = <&gpio5 22 GPIO_ACTIVE_LOW>; | ||
| 76 | }; | 80 | }; |
| 77 | }; | 81 | }; |
| @@ -123,6 +123,8 @@ · 122 unmodified lines | |||
| 123 | * On some older versions of the platform (before R4.0) the phy address | 123 | * On some older versions of the platform (before R4.0) the phy address |
| 124 | * may be 1 or 3. The address is fixed to 3 for R4.0 onwards. | 124 | * may be 1 or 3. The address is fixed to 3 for R4.0 onwards. |
| 125 | */ | 125 | */ |
| 126 | compatible = "ethernet-phy-id0022.1622", | ||
| 127 | "ethernet-phy-ieee802.3-c22"; | ||
| 126 | reg = <3>; | 128 | reg = <3>; |
| 127 | micrel,led-mode = <1>; | 129 | micrel,led-mode = <1>; |
| 128 | }; | 130 | }; |
| @@ -7,6 +7,7 @@ · 6 unmodified lines | |||
| 7 | 7 | ||
| 8 | /dts-v1/; | 8 | /dts-v1/; |
| 9 | #include "r8a7745.dtsi" | 9 | #include "r8a7745.dtsi" |
| 10 | #include <dt-bindings/gpio/gpio.h> | ||
| 10 | 11 | ||
| 11 | / { | 12 | / { |
| 12 | model = "SK-RZG1E"; | 13 | model = "SK-RZG1E"; |
| @@ -64,9 +65,12 @@ · 51 unmodified lines | |||
| 64 | status = "okay"; | 65 | status = "okay"; |
| 65 | 66 | ||
| 66 | phy1: ethernet-phy@1 { | 67 | phy1: ethernet-phy@1 { |
| 68 | compatible = "ethernet-phy-id0022.1537", | ||
| 69 | "ethernet-phy-ieee802.3-c22"; | ||
| 67 | reg = <1>; | 70 | reg = <1>; |
| 68 | interrupt-parent = <&irqc>; | 71 | interrupt-parent = <&irqc>; |
| 69 | interrupts = <8 IRQ_TYPE_LEVEL_LOW>; | 72 | interrupts = <8 IRQ_TYPE_LEVEL_LOW>; |
| 70 | micrel,led-mode = <1>; | 73 | micrel,led-mode = <1>; |
| 74 | reset-gpios = <&gpio1 24 GPIO_ACTIVE_LOW>; | ||
| 71 | }; | 75 | }; |
| 72 | }; | 76 | }; |
| @@ -79,6 +79,8 @@ · 78 unmodified lines | |||
| 79 | status = "okay"; | 79 | status = "okay"; |
| 80 | 80 | ||
| 81 | phy3: ethernet-phy@3 { | 81 | phy3: ethernet-phy@3 { |
| 82 | compatible = "ethernet-phy-id0022.1622", | ||
| 83 | "ethernet-phy-ieee802.3-c22"; | ||
| 82 | reg = <3>; | 84 | reg = <3>; |
| 83 | interrupt-parent = <&gpio5>; | 85 | interrupt-parent = <&gpio5>; |
| 84 | interrupts = <16 IRQ_TYPE_LEVEL_LOW>; | 86 | interrupts = <16 IRQ_TYPE_LEVEL_LOW>; |
| @@ -63,7 +63,7 @@ · 62 unmodified lines | |||
| 63 | 63 | ||
| 64 | &bsc { | 64 | &bsc { |
| 65 | ethernet@18300000 { | 65 | ethernet@18300000 { |
| 66 | compatible = "smsc,lan9220", "smsc,lan9115"; | 66 | compatible = "smsc,lan89218", "smsc,lan9115"; |
| 67 | reg = <0x18300000 0x1000>; | 67 | reg = <0x18300000 0x1000>; |
| 68 | 68 | ||
| 69 | phy-mode = "mii"; | 69 | phy-mode = "mii"; |
| @@ -52,7 +52,7 @@ · 51 unmodified lines | |||
| 52 | }; | 52 | }; |
| 53 | 53 | ||
| 54 | ethernet@18000000 { | 54 | ethernet@18000000 { |
| 55 | compatible = "smsc,lan9220", "smsc,lan9115"; | 55 | compatible = "smsc,lan89218", "smsc,lan9115"; |
| 56 | reg = <0x18000000 0x100>; | 56 | reg = <0x18000000 0x100>; |
| 57 | pinctrl-0 = <ðernet_pins>; | 57 | pinctrl-0 = <ðernet_pins>; |
| 58 | pinctrl-names = "default"; | 58 | pinctrl-names = "default"; |
| @@ -678,6 +678,8 @@ · 677 unmodified lines | |||
| 678 | status = "okay"; | 678 | status = "okay"; |
| 679 | 679 | ||
| 680 | phy1: ethernet-phy@1 { | 680 | phy1: ethernet-phy@1 { |
| 681 | compatible = "ethernet-phy-id0022.1537", | ||
| 682 | "ethernet-phy-ieee802.3-c22"; | ||
| 681 | reg = <1>; | 683 | reg = <1>; |
| 682 | interrupt-parent = <&irqc0>; | 684 | interrupt-parent = <&irqc0>; |
| 683 | interrupts = <0 IRQ_TYPE_LEVEL_LOW>; | 685 | interrupts = <0 IRQ_TYPE_LEVEL_LOW>; |
| @@ -199,6 +199,8 @@ · 198 unmodified lines | |||
| 199 | status = "okay"; | 199 | status = "okay"; |
| 200 | 200 | ||
| 201 | phy1: ethernet-phy@1 { | 201 | phy1: ethernet-phy@1 { |
| 202 | compatible = "ethernet-phy-id0022.1537", | ||
| 203 | "ethernet-phy-ieee802.3-c22"; | ||
| 202 | reg = <1>; | 204 | reg = <1>; |
| 203 | interrupt-parent = <&irqc0>; | 205 | interrupt-parent = <&irqc0>; |
| 204 | interrupts = <1 IRQ_TYPE_LEVEL_LOW>; | 206 | interrupts = <1 IRQ_TYPE_LEVEL_LOW>; |
| @@ -637,6 +637,8 @@ · 636 unmodified lines | |||
| 637 | status = "okay"; | 637 | status = "okay"; |
| 638 | 638 | ||
| 639 | phy1: ethernet-phy@1 { | 639 | phy1: ethernet-phy@1 { |
| 640 | compatible = "ethernet-phy-id0022.1537", | ||
| 641 | "ethernet-phy-ieee802.3-c22"; | ||
| 640 | reg = <1>; | 642 | reg = <1>; |
| 641 | interrupt-parent = <&irqc0>; | 643 | interrupt-parent = <&irqc0>; |
| 642 | interrupts = <0 IRQ_TYPE_LEVEL_LOW>; | 644 | interrupts = <0 IRQ_TYPE_LEVEL_LOW>; |
| @@ -302,6 +302,8 @@ · 301 unmodified lines | |||
| 302 | status = "okay"; | 302 | status = "okay"; |
| 303 | 303 | ||
| 304 | phy1: ethernet-phy@1 { | 304 | phy1: ethernet-phy@1 { |
| 305 | compatible = "ethernet-phy-id0022.1537", | ||
| 306 | "ethernet-phy-ieee802.3-c22"; | ||
| 305 | reg = <1>; | 307 | reg = <1>; |
| 306 | interrupt-parent = <&irqc0>; | 308 | interrupt-parent = <&irqc0>; |
| 307 | interrupts = <0 IRQ_TYPE_LEVEL_LOW>; | 309 | interrupts = <0 IRQ_TYPE_LEVEL_LOW>; |
| @@ -595,6 +595,8 @@ · 594 unmodified lines | |||
| 595 | status = "okay"; | 595 | status = "okay"; |
| 596 | 596 | ||
| 597 | phy1: ethernet-phy@1 { | 597 | phy1: ethernet-phy@1 { |
| 598 | compatible = "ethernet-phy-id0022.1537", | ||
| 599 | "ethernet-phy-ieee802.3-c22"; | ||
| 598 | reg = <1>; | 600 | reg = <1>; |
| 599 | interrupt-parent = <&irqc0>; | 601 | interrupt-parent = <&irqc0>; |
| 600 | interrupts = <0 IRQ_TYPE_LEVEL_LOW>; | 602 | interrupts = <0 IRQ_TYPE_LEVEL_LOW>; |
| @@ -383,6 +383,8 @@ · 382 unmodified lines | |||
| 383 | status = "okay"; | 383 | status = "okay"; |
| 384 | 384 | ||
| 385 | phy1: ethernet-phy@1 { | 385 | phy1: ethernet-phy@1 { |
| 386 | compatible = "ethernet-phy-id0022.1537", | ||
| 387 | "ethernet-phy-ieee802.3-c22"; | ||
| 386 | reg = <1>; | 388 | reg = <1>; |
| 387 | interrupt-parent = <&irqc0>; | 389 | interrupt-parent = <&irqc0>; |
| 388 | interrupts = <8 IRQ_TYPE_LEVEL_LOW>; | 390 | interrupts = <8 IRQ_TYPE_LEVEL_LOW>; |
| @@ -397,6 +397,8 @@ · 396 unmodified lines | |||
| 397 | status = "okay"; | 397 | status = "okay"; |
| 398 | 398 | ||
| 399 | phy1: ethernet-phy@1 { | 399 | phy1: ethernet-phy@1 { |
| 400 | compatible = "ethernet-phy-id0022.1537", | ||
| 401 | "ethernet-phy-ieee802.3-c22"; | ||
| 400 | reg = <1>; | 402 | reg = <1>; |
| 401 | interrupt-parent = <&irqc0>; | 403 | interrupt-parent = <&irqc0>; |
| 402 | interrupts = <8 IRQ_TYPE_LEVEL_LOW>; | 404 | interrupts = <8 IRQ_TYPE_LEVEL_LOW>; |
| @@ -416,8 +416,8 @@ · 415 unmodified lines | |||
| 416 | compatible = "rockchip,rk3036-timer", "rockchip,rk3288-timer"; | 416 | compatible = "rockchip,rk3036-timer", "rockchip,rk3288-timer"; |
| 417 | reg = <0x20044000 0x20>; | 417 | reg = <0x20044000 0x20>; |
| 418 | interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>; | 418 | interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>; |
| 419 | clocks = <&xin24m>, <&cru PCLK_TIMER>; | 419 | clocks = <&cru PCLK_TIMER>, <&xin24m>; |
| 420 | clock-names = "timer", "pclk"; | 420 | clock-names = "pclk", "timer"; |
| 421 | }; | 421 | }; |
| 422 | 422 | ||
| 423 | pwm0: pwm@20050000 { | 423 | pwm0: pwm@20050000 { |
| @@ -575,7 +575,7 @@ · 151 unmodified lines | |||
| 575 | #size-cells = <1>; | 575 | #size-cells = <1>; |
| 576 | ranges; | 576 | ranges; |
| 577 | 577 | ||
| 578 | gpio0: gpio0@2007c000 { | 578 | gpio0: gpio@2007c000 { |
| 579 | compatible = "rockchip,gpio-bank"; | 579 | compatible = "rockchip,gpio-bank"; |
| 580 | reg = <0x2007c000 0x100>; | 580 | reg = <0x2007c000 0x100>; |
| 581 | interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>; | 581 | interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -588,7 +588,7 @@ · 6 unmodified lines | |||
| 588 | #interrupt-cells = <2>; | 588 | #interrupt-cells = <2>; |
| 589 | }; | 589 | }; |
| 590 | 590 | ||
| 591 | gpio1: gpio1@20080000 { | 591 | gpio1: gpio@20080000 { |
| 592 | compatible = "rockchip,gpio-bank"; | 592 | compatible = "rockchip,gpio-bank"; |
| 593 | reg = <0x20080000 0x100>; | 593 | reg = <0x20080000 0x100>; |
| 594 | interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; | 594 | interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -601,7 +601,7 @@ · 6 unmodified lines | |||
| 601 | #interrupt-cells = <2>; | 601 | #interrupt-cells = <2>; |
| 602 | }; | 602 | }; |
| 603 | 603 | ||
| 604 | gpio2: gpio2@20084000 { | 604 | gpio2: gpio@20084000 { |
| 605 | compatible = "rockchip,gpio-bank"; | 605 | compatible = "rockchip,gpio-bank"; |
| 606 | reg = <0x20084000 0x100>; | 606 | reg = <0x20084000 0x100>; |
| 607 | interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>; | 607 | interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -4,6 +4,7 @@ · 3 unmodified lines | |||
| 4 | */ | 4 | */ |
| 5 | 5 | ||
| 6 | /dts-v1/; | 6 | /dts-v1/; |
| 7 | #include <dt-bindings/input/input.h> | ||
| 7 | #include "rk3066a.dtsi" | 8 | #include "rk3066a.dtsi" |
| 8 | 9 | ||
| 9 | / { | 10 | / { |
| @@ -24,6 +25,20 @@ · 14 unmodified lines | |||
| 24 | device_type = "memory"; | 25 | device_type = "memory"; |
| 25 | }; | 26 | }; |
| 26 | 27 | ||
| 28 | adc-keys { | ||
| 29 | compatible = "adc-keys"; | ||
| 30 | io-channels = <&saradc 1>; | ||
| 31 | io-channel-names = "buttons"; | ||
| 32 | keyup-threshold-microvolt = <2500000>; | ||
| 33 | poll-interval = <100>; | ||
| 34 | |||
| 35 | recovery { | ||
| 36 | label = "recovery"; | ||
| 37 | linux,code = <KEY_VENDOR>; | ||
| 38 | press-threshold-microvolt = <0>; | ||
| 39 | }; | ||
| 40 | }; | ||
| 41 | |||
| 27 | gpio-leds { | 42 | gpio-leds { |
| 28 | compatible = "gpio-leds"; | 43 | compatible = "gpio-leds"; |
| 29 | 44 | ||
| @@ -46,6 +61,13 @@ · 16 unmodified lines | |||
| 46 | }; | 61 | }; |
| 47 | }; | 62 | }; |
| 48 | 63 | ||
| 64 | vcc_2v5: vcc-2v5 { | ||
| 65 | compatible = "regulator-fixed"; | ||
| 66 | regulator-name = "vcc_2v5"; | ||
| 67 | regulator-min-microvolt = <2500000>; | ||
| 68 | regulator-max-microvolt = <2500000>; | ||
| 69 | }; | ||
| 70 | |||
| 49 | vcc_io: vcc-io { | 71 | vcc_io: vcc-io { |
| 50 | compatible = "regulator-fixed"; | 72 | compatible = "regulator-fixed"; |
| 51 | regulator-name = "vcc_io"; | 73 | regulator-name = "vcc_io"; |
| @@ -164,6 +186,11 @@ · 112 unmodified lines | |||
| 164 | }; | 186 | }; |
| 165 | }; | 187 | }; |
| 166 | 188 | ||
| 189 | &saradc { | ||
| 190 | vref-supply = <&vcc_2v5>; | ||
| 191 | status = "okay"; | ||
| 192 | }; | ||
| 193 | |||
| 167 | &uart2 { | 194 | &uart2 { |
| 168 | status = "okay"; | 195 | status = "okay"; |
| 169 | }; | 196 | }; |
| @@ -23,16 +23,15 @@ · 22 unmodified lines | |||
| 23 | compatible = "arm,cortex-a9"; | 23 | compatible = "arm,cortex-a9"; |
| 24 | next-level-cache = <&L2>; | 24 | next-level-cache = <&L2>; |
| 25 | reg = <0x0>; | 25 | reg = <0x0>; |
| 26 | operating-points = < | 26 | operating-points = |
| 27 | /* kHz uV */ | 27 | /* kHz uV */ |
| 28 | 1416000 1300000 | 28 | <1416000 1300000>, |
| 29 | 1200000 1175000 | 29 | <1200000 1175000>, |
| 30 | 1008000 1125000 | 30 | <1008000 1125000>, |
| 31 | 816000 1125000 | 31 | <816000 1125000>, |
| 32 | 600000 1100000 | 32 | <600000 1100000>, |
| 33 | 504000 1100000 | 33 | <504000 1100000>, |
| 34 | 312000 1075000 | 34 | <312000 1075000>; |
| 35 | >; | ||
| 36 | clock-latency = <40000>; | 35 | clock-latency = <40000>; |
| 37 | clocks = <&cru ARMCLK>; | 36 | clocks = <&cru ARMCLK>; |
| 38 | }; | 37 | }; |
| @@ -273,7 +272,7 @@ · 234 unmodified lines | |||
| 273 | #size-cells = <1>; | 272 | #size-cells = <1>; |
| 274 | ranges; | 273 | ranges; |
| 275 | 274 | ||
| 276 | gpio0: gpio0@20034000 { | 275 | gpio0: gpio@20034000 { |
| 277 | compatible = "rockchip,gpio-bank"; | 276 | compatible = "rockchip,gpio-bank"; |
| 278 | reg = <0x20034000 0x100>; | 277 | reg = <0x20034000 0x100>; |
| 279 | interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>; | 278 | interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -286,7 +285,7 @@ · 6 unmodified lines | |||
| 286 | #interrupt-cells = <2>; | 285 | #interrupt-cells = <2>; |
| 287 | }; | 286 | }; |
| 288 | 287 | ||
| 289 | gpio1: gpio1@2003c000 { | 288 | gpio1: gpio@2003c000 { |
| 290 | compatible = "rockchip,gpio-bank"; | 289 | compatible = "rockchip,gpio-bank"; |
| 291 | reg = <0x2003c000 0x100>; | 290 | reg = <0x2003c000 0x100>; |
| 292 | interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>; | 291 | interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -299,7 +298,7 @@ · 6 unmodified lines | |||
| 299 | #interrupt-cells = <2>; | 298 | #interrupt-cells = <2>; |
| 300 | }; | 299 | }; |
| 301 | 300 | ||
| 302 | gpio2: gpio2@2003e000 { | 301 | gpio2: gpio@2003e000 { |
| 303 | compatible = "rockchip,gpio-bank"; | 302 | compatible = "rockchip,gpio-bank"; |
| 304 | reg = <0x2003e000 0x100>; | 303 | reg = <0x2003e000 0x100>; |
| 305 | interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>; | 304 | interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -312,7 +311,7 @@ · 6 unmodified lines | |||
| 312 | #interrupt-cells = <2>; | 311 | #interrupt-cells = <2>; |
| 313 | }; | 312 | }; |
| 314 | 313 | ||
| 315 | gpio3: gpio3@20080000 { | 314 | gpio3: gpio@20080000 { |
| 316 | compatible = "rockchip,gpio-bank"; | 315 | compatible = "rockchip,gpio-bank"; |
| 317 | reg = <0x20080000 0x100>; | 316 | reg = <0x20080000 0x100>; |
| 318 | interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>; | 317 | interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -325,7 +324,7 @@ · 6 unmodified lines | |||
| 325 | #interrupt-cells = <2>; | 324 | #interrupt-cells = <2>; |
| 326 | }; | 325 | }; |
| 327 | 326 | ||
| 328 | gpio4: gpio4@20084000 { | 327 | gpio4: gpio@20084000 { |
| 329 | compatible = "rockchip,gpio-bank"; | 328 | compatible = "rockchip,gpio-bank"; |
| 330 | reg = <0x20084000 0x100>; | 329 | reg = <0x20084000 0x100>; |
| 331 | interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>; | 330 | interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -338,7 +337,7 @@ · 6 unmodified lines | |||
| 338 | #interrupt-cells = <2>; | 337 | #interrupt-cells = <2>; |
| 339 | }; | 338 | }; |
| 340 | 339 | ||
| 341 | gpio6: gpio6@2000a000 { | 340 | gpio6: gpio@2000a000 { |
| 342 | compatible = "rockchip,gpio-bank"; | 341 | compatible = "rockchip,gpio-bank"; |
| 343 | reg = <0x2000a000 0x100>; | 342 | reg = <0x2000a000 0x100>; |
| 344 | interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>; | 343 | interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -682,8 +681,7 @@ · 337 unmodified lines | |||
| 682 | compatible = "rockchip,rk3066-grf", "syscon", "simple-mfd"; | 681 | compatible = "rockchip,rk3066-grf", "syscon", "simple-mfd"; |
| 683 | 682 | ||
| 684 | usbphy: usbphy { | 683 | usbphy: usbphy { |
| 685 | compatible = "rockchip,rk3066a-usb-phy", | 684 | compatible = "rockchip,rk3066a-usb-phy"; |
| 686 | "rockchip,rk3288-usb-phy"; | ||
| 687 | #address-cells = <1>; | 685 | #address-cells = <1>; |
| 688 | #size-cells = <0>; | 686 | #size-cells = <0>; |
| 689 | status = "disabled"; | 687 | status = "disabled"; |
| @@ -54,7 +54,7 @@ · 53 unmodified lines | |||
| 54 | }; | 54 | }; |
| 55 | }; | 55 | }; |
| 56 | 56 | ||
| 57 | cpu0_opp_table: opp_table0 { | 57 | cpu0_opp_table: opp-table-0 { |
| 58 | compatible = "operating-points-v2"; | 58 | compatible = "operating-points-v2"; |
| 59 | opp-shared; | 59 | opp-shared; |
| 60 | 60 | ||
| @@ -223,7 +223,7 @@ · 162 unmodified lines | |||
| 223 | #size-cells = <1>; | 223 | #size-cells = <1>; |
| 224 | ranges; | 224 | ranges; |
| 225 | 225 | ||
| 226 | gpio0: gpio0@2000a000 { | 226 | gpio0: gpio@2000a000 { |
| 227 | compatible = "rockchip,rk3188-gpio-bank0"; | 227 | compatible = "rockchip,rk3188-gpio-bank0"; |
| 228 | reg = <0x2000a000 0x100>; | 228 | reg = <0x2000a000 0x100>; |
| 229 | interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>; | 229 | interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -236,7 +236,7 @@ · 6 unmodified lines | |||
| 236 | #interrupt-cells = <2>; | 236 | #interrupt-cells = <2>; |
| 237 | }; | 237 | }; |
| 238 | 238 | ||
| 239 | gpio1: gpio1@2003c000 { | 239 | gpio1: gpio@2003c000 { |
| 240 | compatible = "rockchip,gpio-bank"; | 240 | compatible = "rockchip,gpio-bank"; |
| 241 | reg = <0x2003c000 0x100>; | 241 | reg = <0x2003c000 0x100>; |
| 242 | interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>; | 242 | interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -249,7 +249,7 @@ · 6 unmodified lines | |||
| 249 | #interrupt-cells = <2>; | 249 | #interrupt-cells = <2>; |
| 250 | }; | 250 | }; |
| 251 | 251 | ||
| 252 | gpio2: gpio2@2003e000 { | 252 | gpio2: gpio@2003e000 { |
| 253 | compatible = "rockchip,gpio-bank"; | 253 | compatible = "rockchip,gpio-bank"; |
| 254 | reg = <0x2003e000 0x100>; | 254 | reg = <0x2003e000 0x100>; |
| 255 | interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>; | 255 | interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -262,7 +262,7 @@ · 6 unmodified lines | |||
| 262 | #interrupt-cells = <2>; | 262 | #interrupt-cells = <2>; |
| 263 | }; | 263 | }; |
| 264 | 264 | ||
| 265 | gpio3: gpio3@20080000 { | 265 | gpio3: gpio@20080000 { |
| 266 | compatible = "rockchip,gpio-bank"; | 266 | compatible = "rockchip,gpio-bank"; |
| 267 | reg = <0x20080000 0x100>; | 267 | reg = <0x20080000 0x100>; |
| 268 | interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>; | 268 | interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -647,8 +647,7 @@ · 378 unmodified lines | |||
| 647 | }; | 647 | }; |
| 648 | 648 | ||
| 649 | usbphy: usbphy { | 649 | usbphy: usbphy { |
| 650 | compatible = "rockchip,rk3188-usb-phy", | 650 | compatible = "rockchip,rk3188-usb-phy"; |
| 651 | "rockchip,rk3288-usb-phy"; | ||
| 652 | #address-cells = <1>; | 651 | #address-cells = <1>; |
| 653 | #size-cells = <0>; | 652 | #size-cells = <0>; |
| 654 | status = "disabled"; | 653 | status = "disabled"; |
| @@ -10,7 +10,7 @@ · 9 unmodified lines | |||
| 10 | 10 | ||
| 11 | /delete-node/ opp-table0; | 11 | /delete-node/ opp-table0; |
| 12 | 12 | ||
| 13 | cpu0_opp_table: opp_table0 { | 13 | cpu0_opp_table: opp-table-0 { |
| 14 | compatible = "operating-points-v2"; | 14 | compatible = "operating-points-v2"; |
| 15 | opp-shared; | 15 | opp-shared; |
| 16 | 16 | ||
| @@ -68,7 +68,7 @@ · 67 unmodified lines | |||
| 68 | }; | 68 | }; |
| 69 | }; | 69 | }; |
| 70 | 70 | ||
| 71 | cpu0_opp_table: opp_table0 { | 71 | cpu0_opp_table: opp-table-0 { |
| 72 | compatible = "operating-points-v2"; | 72 | compatible = "operating-points-v2"; |
| 73 | opp-shared; | 73 | opp-shared; |
| 74 | 74 | ||
| @@ -477,8 +477,8 @@ · 402 unmodified lines | |||
| 477 | compatible = "rockchip,rk3228-timer", "rockchip,rk3288-timer"; | 477 | compatible = "rockchip,rk3228-timer", "rockchip,rk3288-timer"; |
| 478 | reg = <0x110c0000 0x20>; | 478 | reg = <0x110c0000 0x20>; |
| 479 | interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>; | 479 | interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>; |
| 480 | clocks = <&xin24m>, <&cru PCLK_TIMER>; | 480 | clocks = <&cru PCLK_TIMER>, <&xin24m>; |
| 481 | clock-names = "timer", "pclk"; | 481 | clock-names = "pclk", "timer"; |
| 482 | }; | 482 | }; |
| 483 | 483 | ||
| 484 | cru: clock-controller@110e0000 { | 484 | cru: clock-controller@110e0000 { |
| @@ -946,7 +946,7 @@ · 461 unmodified lines | |||
| 946 | #size-cells = <1>; | 946 | #size-cells = <1>; |
| 947 | ranges; | 947 | ranges; |
| 948 | 948 | ||
| 949 | gpio0: gpio0@11110000 { | 949 | gpio0: gpio@11110000 { |
| 950 | compatible = "rockchip,gpio-bank"; | 950 | compatible = "rockchip,gpio-bank"; |
| 951 | reg = <0x11110000 0x100>; | 951 | reg = <0x11110000 0x100>; |
| 952 | interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>; | 952 | interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -959,7 +959,7 @@ · 6 unmodified lines | |||
| 959 | #interrupt-cells = <2>; | 959 | #interrupt-cells = <2>; |
| 960 | }; | 960 | }; |
| 961 | 961 | ||
| 962 | gpio1: gpio1@11120000 { | 962 | gpio1: gpio@11120000 { |
| 963 | compatible = "rockchip,gpio-bank"; | 963 | compatible = "rockchip,gpio-bank"; |
| 964 | reg = <0x11120000 0x100>; | 964 | reg = <0x11120000 0x100>; |
| 965 | interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>; | 965 | interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -972,7 +972,7 @@ · 6 unmodified lines | |||
| 972 | #interrupt-cells = <2>; | 972 | #interrupt-cells = <2>; |
| 973 | }; | 973 | }; |
| 974 | 974 | ||
| 975 | gpio2: gpio2@11130000 { | 975 | gpio2: gpio@11130000 { |
| 976 | compatible = "rockchip,gpio-bank"; | 976 | compatible = "rockchip,gpio-bank"; |
| 977 | reg = <0x11130000 0x100>; | 977 | reg = <0x11130000 0x100>; |
| 978 | interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>; | 978 | interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -985,7 +985,7 @@ · 6 unmodified lines | |||
| 985 | #interrupt-cells = <2>; | 985 | #interrupt-cells = <2>; |
| 986 | }; | 986 | }; |
| 987 | 987 | ||
| 988 | gpio3: gpio3@11140000 { | 988 | gpio3: gpio@11140000 { |
| 989 | compatible = "rockchip,gpio-bank"; | 989 | compatible = "rockchip,gpio-bank"; |
| 990 | reg = <0x11140000 0x100>; | 990 | reg = <0x11140000 0x100>; |
| 991 | interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>; | 991 | interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -100,7 +100,7 @@ · 99 unmodified lines | |||
| 100 | }; | 100 | }; |
| 101 | }; | 101 | }; |
| 102 | 102 | ||
| 103 | cpu_opp_table: cpu-opp-table { | 103 | cpu_opp_table: opp-table-0 { |
| 104 | compatible = "operating-points-v2"; | 104 | compatible = "operating-points-v2"; |
| 105 | opp-shared; | 105 | opp-shared; |
| 106 | 106 | ||
| @@ -1278,7 +1278,7 @@ · 1171 unmodified lines | |||
| 1278 | status = "disabled"; | 1278 | status = "disabled"; |
| 1279 | }; | 1279 | }; |
| 1280 | 1280 | ||
| 1281 | gpu_opp_table: gpu-opp-table { | 1281 | gpu_opp_table: opp-table-1 { |
| 1282 | compatible = "operating-points-v2"; | 1282 | compatible = "operating-points-v2"; |
| 1283 | 1283 | ||
| 1284 | opp-100000000 { | 1284 | opp-100000000 { |
| @@ -1422,7 +1422,7 @@ · 137 unmodified lines | |||
| 1422 | #size-cells = <2>; | 1422 | #size-cells = <2>; |
| 1423 | ranges; | 1423 | ranges; |
| 1424 | 1424 | ||
| 1425 | gpio0: gpio0@ff750000 { | 1425 | gpio0: gpio@ff750000 { |
| 1426 | compatible = "rockchip,gpio-bank"; | 1426 | compatible = "rockchip,gpio-bank"; |
| 1427 | reg = <0x0 0xff750000 0x0 0x100>; | 1427 | reg = <0x0 0xff750000 0x0 0x100>; |
| 1428 | interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>; | 1428 | interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -1435,7 +1435,7 @@ · 6 unmodified lines | |||
| 1435 | #interrupt-cells = <2>; | 1435 | #interrupt-cells = <2>; |
| 1436 | }; | 1436 | }; |
| 1437 | 1437 | ||
| 1438 | gpio1: gpio1@ff780000 { | 1438 | gpio1: gpio@ff780000 { |
| 1439 | compatible = "rockchip,gpio-bank"; | 1439 | compatible = "rockchip,gpio-bank"; |
| 1440 | reg = <0x0 0xff780000 0x0 0x100>; | 1440 | reg = <0x0 0xff780000 0x0 0x100>; |
| 1441 | interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>; | 1441 | interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -1448,7 +1448,7 @@ · 6 unmodified lines | |||
| 1448 | #interrupt-cells = <2>; | 1448 | #interrupt-cells = <2>; |
| 1449 | }; | 1449 | }; |
| 1450 | 1450 | ||
| 1451 | gpio2: gpio2@ff790000 { | 1451 | gpio2: gpio@ff790000 { |
| 1452 | compatible = "rockchip,gpio-bank"; | 1452 | compatible = "rockchip,gpio-bank"; |
| 1453 | reg = <0x0 0xff790000 0x0 0x100>; | 1453 | reg = <0x0 0xff790000 0x0 0x100>; |
| 1454 | interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>; | 1454 | interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -1461,7 +1461,7 @@ · 6 unmodified lines | |||
| 1461 | #interrupt-cells = <2>; | 1461 | #interrupt-cells = <2>; |
| 1462 | }; | 1462 | }; |
| 1463 | 1463 | ||
| 1464 | gpio3: gpio3@ff7a0000 { | 1464 | gpio3: gpio@ff7a0000 { |
| 1465 | compatible = "rockchip,gpio-bank"; | 1465 | compatible = "rockchip,gpio-bank"; |
| 1466 | reg = <0x0 0xff7a0000 0x0 0x100>; | 1466 | reg = <0x0 0xff7a0000 0x0 0x100>; |
| 1467 | interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>; | 1467 | interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -1474,7 +1474,7 @@ · 6 unmodified lines | |||
| 1474 | #interrupt-cells = <2>; | 1474 | #interrupt-cells = <2>; |
| 1475 | }; | 1475 | }; |
| 1476 | 1476 | ||
| 1477 | gpio4: gpio4@ff7b0000 { | 1477 | gpio4: gpio@ff7b0000 { |
| 1478 | compatible = "rockchip,gpio-bank"; | 1478 | compatible = "rockchip,gpio-bank"; |
| 1479 | reg = <0x0 0xff7b0000 0x0 0x100>; | 1479 | reg = <0x0 0xff7b0000 0x0 0x100>; |
| 1480 | interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>; | 1480 | interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -1487,7 +1487,7 @@ · 6 unmodified lines | |||
| 1487 | #interrupt-cells = <2>; | 1487 | #interrupt-cells = <2>; |
| 1488 | }; | 1488 | }; |
| 1489 | 1489 | ||
| 1490 | gpio5: gpio5@ff7c0000 { | 1490 | gpio5: gpio@ff7c0000 { |
| 1491 | compatible = "rockchip,gpio-bank"; | 1491 | compatible = "rockchip,gpio-bank"; |
| 1492 | reg = <0x0 0xff7c0000 0x0 0x100>; | 1492 | reg = <0x0 0xff7c0000 0x0 0x100>; |
| 1493 | interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; | 1493 | interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -1500,7 +1500,7 @@ · 6 unmodified lines | |||
| 1500 | #interrupt-cells = <2>; | 1500 | #interrupt-cells = <2>; |
| 1501 | }; | 1501 | }; |
| 1502 | 1502 | ||
| 1503 | gpio6: gpio6@ff7d0000 { | 1503 | gpio6: gpio@ff7d0000 { |
| 1504 | compatible = "rockchip,gpio-bank"; | 1504 | compatible = "rockchip,gpio-bank"; |
| 1505 | reg = <0x0 0xff7d0000 0x0 0x100>; | 1505 | reg = <0x0 0xff7d0000 0x0 0x100>; |
| 1506 | interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>; | 1506 | interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -1513,7 +1513,7 @@ · 6 unmodified lines | |||
| 1513 | #interrupt-cells = <2>; | 1513 | #interrupt-cells = <2>; |
| 1514 | }; | 1514 | }; |
| 1515 | 1515 | ||
| 1516 | gpio7: gpio7@ff7e0000 { | 1516 | gpio7: gpio@ff7e0000 { |
| 1517 | compatible = "rockchip,gpio-bank"; | 1517 | compatible = "rockchip,gpio-bank"; |
| 1518 | reg = <0x0 0xff7e0000 0x0 0x100>; | 1518 | reg = <0x0 0xff7e0000 0x0 0x100>; |
| 1519 | interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>; | 1519 | interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -1526,7 +1526,7 @@ · 6 unmodified lines | |||
| 1526 | #interrupt-cells = <2>; | 1526 | #interrupt-cells = <2>; |
| 1527 | }; | 1527 | }; |
| 1528 | 1528 | ||
| 1529 | gpio8: gpio8@ff7f0000 { | 1529 | gpio8: gpio@ff7f0000 { |
| 1530 | compatible = "rockchip,gpio-bank"; | 1530 | compatible = "rockchip,gpio-bank"; |
| 1531 | reg = <0x0 0xff7f0000 0x0 0x100>; | 1531 | reg = <0x0 0xff7f0000 0x0 0x100>; |
| 1532 | interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>; | 1532 | interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -40,7 +40,7 @@ · 39 unmodified lines | |||
| 40 | }; | 40 | }; |
| 41 | }; | 41 | }; |
| 42 | 42 | ||
| 43 | cpu_opp_table: opp_table { | 43 | cpu_opp_table: opp-table-0 { |
| 44 | compatible = "operating-points-v2"; | 44 | compatible = "operating-points-v2"; |
| 45 | 45 | ||
| 46 | opp-408000000 { | 46 | opp-408000000 { |
| @@ -300,8 +300,8 @@ · 253 unmodified lines | |||
| 300 | compatible = "rockchip,rv1108-timer", "rockchip,rk3288-timer"; | 300 | compatible = "rockchip,rv1108-timer", "rockchip,rk3288-timer"; |
| 301 | reg = <0x10350000 0x20>; | 301 | reg = <0x10350000 0x20>; |
| 302 | interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; | 302 | interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; |
| 303 | clocks = <&xin24m>, <&cru PCLK_TIMER>; | 303 | clocks = <&cru PCLK_TIMER>, <&xin24m>; |
| 304 | clock-names = "timer", "pclk"; | 304 | clock-names = "pclk", "timer"; |
| 305 | }; | 305 | }; |
| 306 | 306 | ||
| 307 | watchdog: watchdog@10360000 { | 307 | watchdog: watchdog@10360000 { |
| @@ -557,7 +557,7 @@ · 249 unmodified lines | |||
| 557 | status = "disabled"; | 557 | status = "disabled"; |
| 558 | }; | 558 | }; |
| 559 | 559 | ||
| 560 | gmac: eth@30200000 { | 560 | gmac: ethernet@30200000 { |
| 561 | compatible = "rockchip,rv1108-gmac"; | 561 | compatible = "rockchip,rv1108-gmac"; |
| 562 | reg = <0x30200000 0x10000>; | 562 | reg = <0x30200000 0x10000>; |
| 563 | interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>, | 563 | interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>, |
| @@ -600,7 +600,7 @@ · 36 unmodified lines | |||
| 600 | #size-cells = <1>; | 600 | #size-cells = <1>; |
| 601 | ranges; | 601 | ranges; |
| 602 | 602 | ||
| 603 | gpio0: gpio0@20030000 { | 603 | gpio0: gpio@20030000 { |
| 604 | compatible = "rockchip,gpio-bank"; | 604 | compatible = "rockchip,gpio-bank"; |
| 605 | reg = <0x20030000 0x100>; | 605 | reg = <0x20030000 0x100>; |
| 606 | interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>; | 606 | interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -613,7 +613,7 @@ · 6 unmodified lines | |||
| 613 | #interrupt-cells = <2>; | 613 | #interrupt-cells = <2>; |
| 614 | }; | 614 | }; |
| 615 | 615 | ||
| 616 | gpio1: gpio1@10310000 { | 616 | gpio1: gpio@10310000 { |
| 617 | compatible = "rockchip,gpio-bank"; | 617 | compatible = "rockchip,gpio-bank"; |
| 618 | reg = <0x10310000 0x100>; | 618 | reg = <0x10310000 0x100>; |
| 619 | interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; | 619 | interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -626,7 +626,7 @@ · 6 unmodified lines | |||
| 626 | #interrupt-cells = <2>; | 626 | #interrupt-cells = <2>; |
| 627 | }; | 627 | }; |
| 628 | 628 | ||
| 629 | gpio2: gpio2@10320000 { | 629 | gpio2: gpio@10320000 { |
| 630 | compatible = "rockchip,gpio-bank"; | 630 | compatible = "rockchip,gpio-bank"; |
| 631 | reg = <0x10320000 0x100>; | 631 | reg = <0x10320000 0x100>; |
| 632 | interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>; | 632 | interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -639,7 +639,7 @@ · 6 unmodified lines | |||
| 639 | #interrupt-cells = <2>; | 639 | #interrupt-cells = <2>; |
| 640 | }; | 640 | }; |
| 641 | 641 | ||
| 642 | gpio3: gpio3@10330000 { | 642 | gpio3: gpio@10330000 { |
| 643 | compatible = "rockchip,gpio-bank"; | 643 | compatible = "rockchip,gpio-bank"; |
| 644 | reg = <0x10330000 0x100>; | 644 | reg = <0x10330000 0x100>; |
| 645 | interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>; | 645 | interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -8,6 +8,7 @@ · 7 unmodified lines | |||
| 8 | / { | 8 | / { |
| 9 | model = "Samsung Galaxy S Fascinate 4G (SGH-T959P) based on S5PV210"; | 9 | model = "Samsung Galaxy S Fascinate 4G (SGH-T959P) based on S5PV210"; |
| 10 | compatible = "samsung,fascinate4g", "samsung,aries", "samsung,s5pv210"; | 10 | compatible = "samsung,fascinate4g", "samsung,aries", "samsung,s5pv210"; |
| 11 | chassis-type = "handset"; | ||
| 11 | 12 | ||
| 12 | chosen { | 13 | chosen { |
| 13 | stdout-path = &uart2; | 14 | stdout-path = &uart2; |
| @@ -8,6 +8,7 @@ · 7 unmodified lines | |||
| 8 | / { | 8 | / { |
| 9 | model = "Samsung Galaxy S1 (GT-I9000) based on S5PV210"; | 9 | model = "Samsung Galaxy S1 (GT-I9000) based on S5PV210"; |
| 10 | compatible = "samsung,galaxys", "samsung,aries", "samsung,s5pv210"; | 10 | compatible = "samsung,galaxys", "samsung,aries", "samsung,s5pv210"; |
| 11 | chassis-type = "handset"; | ||
| 11 | 12 | ||
| 12 | chosen { | 13 | chosen { |
| 13 | stdout-path = &uart2; | 14 | stdout-path = &uart2; |
| @@ -0,0 +1,16 @@ | |||
| 1 | // SPDX-License-Identifier: (GPL-2.0+ OR MIT) | ||
| 2 | /* | ||
| 3 | * sama5d29.dtsi - Device Tree Include file for SAMA5D29 SoC of the SAMA5D2 | ||
| 4 | * family. | ||
| 5 | * | ||
| 6 | * Copyright (C) 2021 Microchip Technology, Inc. and its subsidiaries | ||
| 7 | * | ||
| 8 | * Author: Hari Prasath <Hari.PrasathGE@microchip.com> | ||
| 9 | * | ||
| 10 | */ | ||
| 11 | |||
| 12 | #include "sama5d2.dtsi" | ||
| 13 | |||
| 14 | &macb0 { | ||
| 15 | compatible = "atmel,sama5d29-gem"; | ||
| 16 | }; | ||
| @@ -152,6 +152,13 @@ · 151 unmodified lines | |||
| 152 | reg = <0xe001d060 0x48>; | 152 | reg = <0xe001d060 0x48>; |
| 153 | }; | 153 | }; |
| 154 | 154 | ||
| 155 | rtc: rtc@e001d0a8 { | ||
| 156 | compatible = "microchip,sama7g5-rtc", "microchip,sam9x60-rtc"; | ||
| 157 | reg = <0xe001d0a8 0x30>; | ||
| 158 | interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; | ||
| 159 | clocks = <&clk32k 1>; | ||
| 160 | }; | ||
| 161 | |||
| 155 | ps_wdt: watchdog@e001d180 { | 162 | ps_wdt: watchdog@e001d180 { |
| 156 | compatible = "microchip,sama7g5-wdt"; | 163 | compatible = "microchip,sama7g5-wdt"; |
| 157 | reg = <0xe001d180 0x24>; | 164 | reg = <0xe001d180 0x24>; |
| @@ -164,6 +171,32 @@ · 6 unmodified lines | |||
| 164 | reg = <0xe0020000 0x8>; | 171 | reg = <0xe0020000 0x8>; |
| 165 | }; | 172 | }; |
| 166 | 173 | ||
| 174 | tcb1: timer@e0800000 { | ||
| 175 | compatible = "atmel,sama5d2-tcb", "simple-mfd", "syscon"; | ||
| 176 | #address-cells = <1>; | ||
| 177 | #size-cells = <0>; | ||
| 178 | reg = <0xe0800000 0x100>; | ||
| 179 | interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>; | ||
| 180 | clocks = <&pmc PMC_TYPE_PERIPHERAL 91>, <&pmc PMC_TYPE_PERIPHERAL 92>, <&pmc PMC_TYPE_PERIPHERAL 93>, <&clk32k 1>; | ||
| 181 | clock-names = "t0_clk", "t1_clk", "t2_clk", "slow_clk"; | ||
| 182 | }; | ||
| 183 | |||
| 184 | adc: adc@e1000000 { | ||
| 185 | compatible = "microchip,sama7g5-adc"; | ||
| 186 | reg = <0xe1000000 0x200>; | ||
| 187 | interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>; | ||
| 188 | clocks = <&pmc PMC_TYPE_GCK 26>; | ||
| 189 | assigned-clocks = <&pmc PMC_TYPE_GCK 26>; | ||
| 190 | assigned-clock-rates = <100000000>; | ||
| 191 | clock-names = "adc_clk"; | ||
| 192 | dmas = <&dma0 AT91_XDMAC_DT_PERID(0)>; | ||
| 193 | dma-names = "rx"; | ||
| 194 | atmel,min-sample-rate-hz = <200000>; | ||
| 195 | atmel,max-sample-rate-hz = <20000000>; | ||
| 196 | atmel,startup-time-ms = <4>; | ||
| 197 | status = "disabled"; | ||
| 198 | }; | ||
| 199 | |||
| 167 | sdmmc0: mmc@e1204000 { | 200 | sdmmc0: mmc@e1204000 { |
| 168 | compatible = "microchip,sama7g5-sdhci", "microchip,sam9x60-sdhci"; | 201 | compatible = "microchip,sama7g5-sdhci", "microchip,sam9x60-sdhci"; |
| 169 | reg = <0xe1204000 0x4000>; | 202 | reg = <0xe1204000 0x4000>; |
| @@ -465,6 +498,16 @@ · 295 unmodified lines | |||
| 465 | status = "disabled"; | 498 | status = "disabled"; |
| 466 | }; | 499 | }; |
| 467 | 500 | ||
| 501 | tcb0: timer@e2814000 { | ||
| 502 | compatible = "atmel,sama5d2-tcb", "simple-mfd", "syscon"; | ||
| 503 | #address-cells = <1>; | ||
| 504 | #size-cells = <0>; | ||
| 505 | reg = <0xe2814000 0x100>; | ||
| 506 | interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>; | ||
| 507 | clocks = <&pmc PMC_TYPE_PERIPHERAL 88>, <&pmc PMC_TYPE_PERIPHERAL 89>, <&pmc PMC_TYPE_PERIPHERAL 90>, <&clk32k 1>; | ||
| 508 | clock-names = "t0_clk", "t1_clk", "t2_clk", "slow_clk"; | ||
| 509 | }; | ||
| 510 | |||
| 468 | flx8: flexcom@e2818000 { | 511 | flx8: flexcom@e2818000 { |
| 469 | compatible = "atmel,sama5d2-flexcom"; | 512 | compatible = "atmel,sama5d2-flexcom"; |
| 470 | reg = <0xe2818000 0x200>; | 513 | reg = <0xe2818000 0x200>; |
| @@ -169,7 +169,7 @@ · 168 unmodified lines | |||
| 169 | 169 | ||
| 170 | &bsc { | 170 | &bsc { |
| 171 | ethernet@10000000 { | 171 | ethernet@10000000 { |
| 172 | compatible = "smsc,lan9220", "smsc,lan9115"; | 172 | compatible = "smsc,lan9221", "smsc,lan9115"; |
| 173 | reg = <0x10000000 0x100>; | 173 | reg = <0x10000000 0x100>; |
| 174 | phy-mode = "mii"; | 174 | phy-mode = "mii"; |
| 175 | interrupt-parent = <&irqpin0>; | 175 | interrupt-parent = <&irqpin0>; |
| @@ -0,0 +1,112 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0 | ||
| 2 | /dts-v1/; | ||
| 3 | |||
| 4 | #include "socfpga_arria10.dtsi" | ||
| 5 | |||
| 6 | / { | ||
| 7 | |||
| 8 | model = "Enclustra Mercury AA1"; | ||
| 9 | compatible = "altr,socfpga-arria10", "altr,socfpga"; | ||
| 10 | |||
| 11 | aliases { | ||
| 12 | ethernet0 = &gmac0; | ||
| 13 | serial1 = &uart1; | ||
| 14 | i2c0 = &i2c0; | ||
| 15 | i2c1 = &i2c1; | ||
| 16 | }; | ||
| 17 | |||
| 18 | memory@0 { | ||
| 19 | name = "memory"; | ||
| 20 | device_type = "memory"; | ||
| 21 | reg = <0x0 0x80000000>; /* 2GB */ | ||
| 22 | }; | ||
| 23 | |||
| 24 | chosen { | ||
| 25 | stdout-path = "serial1:115200n8"; | ||
| 26 | }; | ||
| 27 | }; | ||
| 28 | |||
| 29 | &eccmgr { | ||
| 30 | sdmmca-ecc@ff8c2c00 { | ||
| 31 | compatible = "altr,socfpga-sdmmc-ecc"; | ||
| 32 | reg = <0xff8c2c00 0x400>; | ||
| 33 | altr,ecc-parent = <&mmc>; | ||
| 34 | interrupts = <15 IRQ_TYPE_LEVEL_HIGH>, | ||
| 35 | <47 IRQ_TYPE_LEVEL_HIGH>, | ||
| 36 | <16 IRQ_TYPE_LEVEL_HIGH>, | ||
| 37 | <48 IRQ_TYPE_LEVEL_HIGH>; | ||
| 38 | }; | ||
| 39 | }; | ||
| 40 | |||
| 41 | &gmac0 { | ||
| 42 | phy-mode = "rgmii"; | ||
| 43 | phy-addr = <0xffffffff>; /* probe for phy addr */ | ||
| 44 | |||
| 45 | max-frame-size = <3800>; | ||
| 46 | status = "okay"; | ||
| 47 | |||
| 48 | phy-handle = <&phy3>; | ||
| 49 | |||
| 50 | mdio { | ||
| 51 | #address-cells = <1>; | ||
| 52 | #size-cells = <0>; | ||
| 53 | compatible = "snps,dwmac-mdio"; | ||
| 54 | phy3: ethernet-phy@3 { | ||
| 55 | txd0-skew-ps = <0>; /* -420ps */ | ||
| 56 | txd1-skew-ps = <0>; /* -420ps */ | ||
| 57 | txd2-skew-ps = <0>; /* -420ps */ | ||
| 58 | txd3-skew-ps = <0>; /* -420ps */ | ||
| 59 | rxd0-skew-ps = <420>; /* 0ps */ | ||
| 60 | rxd1-skew-ps = <420>; /* 0ps */ | ||
| 61 | rxd2-skew-ps = <420>; /* 0ps */ | ||
| 62 | rxd3-skew-ps = <420>; /* 0ps */ | ||
| 63 | txen-skew-ps = <0>; /* -420ps */ | ||
| 64 | txc-skew-ps = <1860>; /* 960ps */ | ||
| 65 | rxdv-skew-ps = <420>; /* 0ps */ | ||
| 66 | rxc-skew-ps = <1680>; /* 780ps */ | ||
| 67 | reg = <3>; | ||
| 68 | }; | ||
| 69 | }; | ||
| 70 | }; | ||
| 71 | |||
| 72 | &gpio0 { | ||
| 73 | status = "okay"; | ||
| 74 | }; | ||
| 75 | |||
| 76 | &gpio1 { | ||
| 77 | status = "okay"; | ||
| 78 | }; | ||
| 79 | |||
| 80 | &gpio2 { | ||
| 81 | status = "okay"; | ||
| 82 | }; | ||
| 83 | |||
| 84 | &i2c1 { | ||
| 85 | status = "okay"; | ||
| 86 | isl12022: isl12022@6f { | ||
| 87 | status = "okay"; | ||
| 88 | compatible = "isil,isl12022"; | ||
| 89 | reg = <0x6f>; | ||
| 90 | }; | ||
| 91 | }; | ||
| 92 | |||
| 93 | /* Following mappings are taken from arria10 socdk dts */ | ||
| 94 | &mmc { | ||
| 95 | status = "okay"; | ||
| 96 | cap-sd-highspeed; | ||
| 97 | broken-cd; | ||
| 98 | bus-width = <4>; | ||
| 99 | }; | ||
| 100 | |||
| 101 | &osc1 { | ||
| 102 | clock-frequency = <33330000>; | ||
| 103 | }; | ||
| 104 | |||
| 105 | &uart1 { | ||
| 106 | status = "okay"; | ||
| 107 | }; | ||
| 108 | |||
| 109 | &usb0 { | ||
| 110 | status = "okay"; | ||
| 111 | dr_mode = "host"; | ||
| 112 | }; | ||
| @@ -82,8 +82,6 @@ · 81 unmodified lines | |||
| 82 | reg = <0xb1000000 0x4000>, <0x80000000 0x20000>; | 82 | reg = <0xb1000000 0x4000>, <0x80000000 0x20000>; |
| 83 | reg-names = "dbi", "config"; | 83 | reg-names = "dbi", "config"; |
| 84 | interrupts = <0 68 0x4>; | 84 | interrupts = <0 68 0x4>; |
| 85 | interrupt-map-mask = <0 0 0 0>; | ||
| 86 | interrupt-map = <0x0 0 &gic 0 68 0x4>; | ||
| 87 | num-lanes = <1>; | 85 | num-lanes = <1>; |
| 88 | phys = <&miphy0 1>; | 86 | phys = <&miphy0 1>; |
| 89 | phy-names = "pcie-phy"; | 87 | phy-names = "pcie-phy"; |
| @@ -101,8 +99,6 @@ · 11 unmodified lines | |||
| 101 | reg = <0xb1800000 0x4000>, <0x90000000 0x20000>; | 99 | reg = <0xb1800000 0x4000>, <0x90000000 0x20000>; |
| 102 | reg-names = "dbi", "config"; | 100 | reg-names = "dbi", "config"; |
| 103 | interrupts = <0 69 0x4>; | 101 | interrupts = <0 69 0x4>; |
| 104 | interrupt-map-mask = <0 0 0 0>; | ||
| 105 | interrupt-map = <0x0 0 &gic 0 69 0x4>; | ||
| 106 | num-lanes = <1>; | 102 | num-lanes = <1>; |
| 107 | phys = <&miphy1 1>; | 103 | phys = <&miphy1 1>; |
| 108 | phy-names = "pcie-phy"; | 104 | phy-names = "pcie-phy"; |
| @@ -120,8 +116,6 @@ · 11 unmodified lines | |||
| 120 | reg = <0xb4000000 0x4000>, <0xc0000000 0x20000>; | 116 | reg = <0xb4000000 0x4000>, <0xc0000000 0x20000>; |
| 121 | reg-names = "dbi", "config"; | 117 | reg-names = "dbi", "config"; |
| 122 | interrupts = <0 70 0x4>; | 118 | interrupts = <0 70 0x4>; |
| 123 | interrupt-map-mask = <0 0 0 0>; | ||
| 124 | interrupt-map = <0x0 0 &gic 0 70 0x4>; | ||
| 125 | num-lanes = <1>; | 119 | num-lanes = <1>; |
| 126 | phys = <&miphy2 1>; | 120 | phys = <&miphy2 1>; |
| 127 | phy-names = "pcie-phy"; | 121 | phy-names = "pcie-phy"; |
| @@ -47,8 +47,6 @@ · 46 unmodified lines | |||
| 47 | reg = <0xb1000000 0x4000>, <0x80000000 0x20000>; | 47 | reg = <0xb1000000 0x4000>, <0x80000000 0x20000>; |
| 48 | reg-names = "dbi", "config"; | 48 | reg-names = "dbi", "config"; |
| 49 | interrupts = <0 68 0x4>; | 49 | interrupts = <0 68 0x4>; |
| 50 | interrupt-map-mask = <0 0 0 0>; | ||
| 51 | interrupt-map = <0x0 0 &gic 0 68 0x4>; | ||
| 52 | num-lanes = <1>; | 50 | num-lanes = <1>; |
| 53 | phys = <&miphy0 1>; | 51 | phys = <&miphy0 1>; |
| 54 | phy-names = "pcie-phy"; | 52 | phy-names = "pcie-phy"; |
| @@ -129,11 +129,6 @@ · 128 unmodified lines | |||
| 129 | io-channel-names = "aux1", "aux2"; | 129 | io-channel-names = "aux1", "aux2"; |
| 130 | }; | 130 | }; |
| 131 | 131 | ||
| 132 | ab8500_battery: ab8500_battery { | ||
| 133 | stericsson,battery-type = "LIPO"; | ||
| 134 | thermistor-on-batctrl; | ||
| 135 | }; | ||
| 136 | |||
| 137 | ab8500_fg { | 132 | ab8500_fg { |
| 138 | compatible = "stericsson,ab8500-fg"; | 133 | compatible = "stericsson,ab8500-fg"; |
| 139 | interrupts = <24 IRQ_TYPE_LEVEL_HIGH>, | 134 | interrupts = <24 IRQ_TYPE_LEVEL_HIGH>, |
| @@ -146,7 +141,7 @@ · 6 unmodified lines | |||
| 146 | "LOW_BAT_F", | 141 | "LOW_BAT_F", |
| 147 | "CC_INT_CALIB", | 142 | "CC_INT_CALIB", |
| 148 | "CCEOC"; | 143 | "CCEOC"; |
| 149 | battery = <&ab8500_battery>; | 144 | monitored-battery = <&battery>; |
| 150 | io-channels = <&gpadc 0x08>; | 145 | io-channels = <&gpadc 0x08>; |
| 151 | io-channel-names = "main_bat_v"; | 146 | io-channel-names = "main_bat_v"; |
| 152 | }; | 147 | }; |
| @@ -163,7 +158,7 @@ · 10 unmodified lines | |||
| 163 | "BTEMP_HIGH", | 158 | "BTEMP_HIGH", |
| 164 | "BTEMP_LOW_MEDIUM", | 159 | "BTEMP_LOW_MEDIUM", |
| 165 | "BTEMP_MEDIUM_HIGH"; | 160 | "BTEMP_MEDIUM_HIGH"; |
| 166 | battery = <&ab8500_battery>; | 161 | monitored-battery = <&battery>; |
| 167 | io-channels = <&gpadc 0x02>, | 162 | io-channels = <&gpadc 0x02>, |
| 168 | <&gpadc 0x01>; | 163 | <&gpadc 0x01>; |
| 169 | io-channel-names = "btemp_ball", | 164 | io-channel-names = "btemp_ball", |
| @@ -200,7 +195,7 @@ · 30 unmodified lines | |||
| 200 | "VBUS_OVV", | 195 | "VBUS_OVV", |
| 201 | "CH_WD_EXP", | 196 | "CH_WD_EXP", |
| 202 | "VBUS_CH_DROP_END"; | 197 | "VBUS_CH_DROP_END"; |
| 203 | battery = <&ab8500_battery>; | 198 | monitored-battery = <&battery>; |
| 204 | vddadc-supply = <&ab8500_ldo_tvout_reg>; | 199 | vddadc-supply = <&ab8500_ldo_tvout_reg>; |
| 205 | io-channels = <&gpadc 0x03>, | 200 | io-channels = <&gpadc 0x03>, |
| 206 | <&gpadc 0x0a>, | 201 | <&gpadc 0x0a>, |
| @@ -214,7 +209,7 @@ · 7 unmodified lines | |||
| 214 | 209 | ||
| 215 | ab8500_chargalg { | 210 | ab8500_chargalg { |
| 216 | compatible = "stericsson,ab8500-chargalg"; | 211 | compatible = "stericsson,ab8500-chargalg"; |
| 217 | battery = <&ab8500_battery>; | 212 | monitored-battery = <&battery>; |
| 218 | }; | 213 | }; |
| 219 | 214 | ||
| 220 | ab8500_usb: ab8500_usb { | 215 | ab8500_usb: ab8500_usb { |
| @@ -92,11 +92,6 @@ · 91 unmodified lines | |||
| 92 | }; | 92 | }; |
| 93 | }; | 93 | }; |
| 94 | 94 | ||
| 95 | ab8500_battery: ab8500_battery { | ||
| 96 | stericsson,battery-type = "LIPO"; | ||
| 97 | thermistor-on-batctrl; | ||
| 98 | }; | ||
| 99 | |||
| 100 | ab8500_fg { | 95 | ab8500_fg { |
| 101 | status = "disabled"; | 96 | status = "disabled"; |
| 102 | compatible = "stericsson,ab8500-fg"; | 97 | compatible = "stericsson,ab8500-fg"; |
| @@ -110,7 +105,7 @@ · 7 unmodified lines | |||
| 110 | "LOW_BAT_F", | 105 | "LOW_BAT_F", |
| 111 | "CC_INT_CALIB", | 106 | "CC_INT_CALIB", |
| 112 | "CCEOC"; | 107 | "CCEOC"; |
| 113 | battery = <&ab8500_battery>; | 108 | monitored-battery = <&battery>; |
| 114 | io-channels = <&gpadc 0x08>; | 109 | io-channels = <&gpadc 0x08>; |
| 115 | io-channel-names = "main_bat_v"; | 110 | io-channel-names = "main_bat_v"; |
| 116 | }; | 111 | }; |
| @@ -128,7 +123,7 @@ · 11 unmodified lines | |||
| 128 | "BTEMP_HIGH", | 123 | "BTEMP_HIGH", |
| 129 | "BTEMP_LOW_MEDIUM", | 124 | "BTEMP_LOW_MEDIUM", |
| 130 | "BTEMP_MEDIUM_HIGH"; | 125 | "BTEMP_MEDIUM_HIGH"; |
| 131 | battery = <&ab8500_battery>; | 126 | monitored-battery = <&battery>; |
| 132 | io-channels = <&gpadc 0x02>, | 127 | io-channels = <&gpadc 0x02>, |
| 133 | <&gpadc 0x01>; | 128 | <&gpadc 0x01>; |
| 134 | io-channel-names = "btemp_ball", | 129 | io-channel-names = "btemp_ball", |
| @@ -166,7 +161,7 @@ · 31 unmodified lines | |||
| 166 | "VBUS_OVV", | 161 | "VBUS_OVV", |
| 167 | "CH_WD_EXP", | 162 | "CH_WD_EXP", |
| 168 | "VBUS_CH_DROP_END"; | 163 | "VBUS_CH_DROP_END"; |
| 169 | battery = <&ab8500_battery>; | 164 | monitored-battery = <&battery>; |
| 170 | vddadc-supply = <&ab8500_ldo_adc_reg>; | 165 | vddadc-supply = <&ab8500_ldo_adc_reg>; |
| 171 | io-channels = <&gpadc 0x09>, | 166 | io-channels = <&gpadc 0x09>, |
| 172 | <&gpadc 0x0b>; | 167 | <&gpadc 0x0b>; |
| @@ -177,7 +172,7 @@ · 4 unmodified lines | |||
| 177 | ab8500_chargalg { | 172 | ab8500_chargalg { |
| 178 | status = "disabled"; | 173 | status = "disabled"; |
| 179 | compatible = "stericsson,ab8500-chargalg"; | 174 | compatible = "stericsson,ab8500-chargalg"; |
| 180 | battery = <&ab8500_battery>; | 175 | monitored-battery = <&battery>; |
| 181 | }; | 176 | }; |
| 182 | 177 | ||
| 183 | ab8500_usb: ab8500_usb { | 178 | ab8500_usb: ab8500_usb { |
| @@ -13,6 +13,12 @@ · 12 unmodified lines | |||
| 13 | reg = <0x00000000 0x20000000>; | 13 | reg = <0x00000000 0x20000000>; |
| 14 | }; | 14 | }; |
| 15 | 15 | ||
| 16 | battery: battery { | ||
| 17 | compatible = "simple-battery"; | ||
| 18 | battery-type = "lithium-ion-polymer"; | ||
| 19 | thermistor-on-batctrl; | ||
| 20 | }; | ||
| 21 | |||
| 16 | soc { | 22 | soc { |
| 17 | uart@80120000 { | 23 | uart@80120000 { |
| 18 | pinctrl-names = "default", "sleep"; | 24 | pinctrl-names = "default", "sleep"; |
| @@ -17,6 +17,12 @@ · 16 unmodified lines | |||
| 17 | reg = <0x00000000 0x20000000>; | 17 | reg = <0x00000000 0x20000000>; |
| 18 | }; | 18 | }; |
| 19 | 19 | ||
| 20 | battery: battery { | ||
| 21 | compatible = "simple-battery"; | ||
| 22 | battery-type = "lithium-ion-polymer"; | ||
| 23 | thermistor-on-batctrl; | ||
| 24 | }; | ||
| 25 | |||
| 20 | en_3v3_reg: en_3v3 { | 26 | en_3v3_reg: en_3v3 { |
| 21 | compatible = "regulator-fixed"; | 27 | compatible = "regulator-fixed"; |
| 22 | regulator-name = "en-3v3-fixed-supply"; | 28 | regulator-name = "en-3v3-fixed-supply"; |
| @@ -43,6 +43,10 @@ · 42 unmodified lines | |||
| 43 | stdout-path = &serial2; | 43 | stdout-path = &serial2; |
| 44 | }; | 44 | }; |
| 45 | 45 | ||
| 46 | battery: battery { | ||
| 47 | compatible = "samsung,eb425161lu"; | ||
| 48 | }; | ||
| 49 | |||
| 46 | /* TI TXS0206 level translator for 2.9 V */ | 50 | /* TI TXS0206 level translator for 2.9 V */ |
| 47 | sd_level_translator: regulator-gpio { | 51 | sd_level_translator: regulator-gpio { |
| 48 | compatible = "regulator-fixed"; | 52 | compatible = "regulator-fixed"; |
| @@ -20,6 +20,10 @@ · 19 unmodified lines | |||
| 20 | stdout-path = &serial2; | 20 | stdout-path = &serial2; |
| 21 | }; | 21 | }; |
| 22 | 22 | ||
| 23 | battery: battery { | ||
| 24 | compatible = "samsung,eb585157lu"; | ||
| 25 | }; | ||
| 26 | |||
| 23 | /* TI TXS0206 level translator for 2.9 V */ | 27 | /* TI TXS0206 level translator for 2.9 V */ |
| 24 | sd_level_translator: regulator-gpio { | 28 | sd_level_translator: regulator-gpio { |
| 25 | compatible = "regulator-fixed"; | 29 | compatible = "regulator-fixed"; |
| @@ -25,6 +25,10 @@ · 24 unmodified lines | |||
| 25 | stdout-path = &serial2; | 25 | stdout-path = &serial2; |
| 26 | }; | 26 | }; |
| 27 | 27 | ||
| 28 | battery: battery { | ||
| 29 | compatible = "samsung,eb-l1m7flu"; | ||
| 30 | }; | ||
| 31 | |||
| 28 | i2c-gpio-0 { | 32 | i2c-gpio-0 { |
| 29 | compatible = "i2c-gpio"; | 33 | compatible = "i2c-gpio"; |
| 30 | sda-gpios = <&gpio2 14 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; | 34 | sda-gpios = <&gpio2 14 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; |
| @@ -20,6 +20,10 @@ · 19 unmodified lines | |||
| 20 | stdout-path = &serial2; | 20 | stdout-path = &serial2; |
| 21 | }; | 21 | }; |
| 22 | 22 | ||
| 23 | battery: battery { | ||
| 24 | compatible = "samsung,eb535151vu"; | ||
| 25 | }; | ||
| 26 | |||
| 23 | /* External LDO for eMMC LDO VMEM_3V3 controlled by GPIO6 */ | 27 | /* External LDO for eMMC LDO VMEM_3V3 controlled by GPIO6 */ |
| 24 | ldo_3v3_reg: regulator-gpio-ldo-3v3 { | 28 | ldo_3v3_reg: regulator-gpio-ldo-3v3 { |
| 25 | compatible = "regulator-fixed"; | 29 | compatible = "regulator-fixed"; |
| @@ -266,6 +270,9 @@ · 240 unmodified lines | |||
| 266 | pinctrl-names = "default"; | 270 | pinctrl-names = "default"; |
| 267 | pinctrl-0 = <&panel_default_mode>; | 271 | pinctrl-0 = <&panel_default_mode>; |
| 268 | spi-3wire; | 272 | spi-3wire; |
| 273 | /* TYPE 3: inverse clock polarity and phase */ | ||
| 274 | spi-cpha; | ||
| 275 | spi-cpol; | ||
| 269 | 276 | ||
| 270 | port { | 277 | port { |
| 271 | panel_in: endpoint { | 278 | panel_in: endpoint { |
| @@ -24,6 +24,10 @@ · 23 unmodified lines | |||
| 24 | stdout-path = &serial2; | 24 | stdout-path = &serial2; |
| 25 | }; | 25 | }; |
| 26 | 26 | ||
| 27 | battery: battery { | ||
| 28 | compatible = "samsung,eb425161la"; | ||
| 29 | }; | ||
| 30 | |||
| 27 | /* TI TXS0206 level translator for 2.9 V */ | 31 | /* TI TXS0206 level translator for 2.9 V */ |
| 28 | sd_level_translator: regulator-gpio { | 32 | sd_level_translator: regulator-gpio { |
| 29 | compatible = "regulator-fixed"; | 33 | compatible = "regulator-fixed"; |
| @@ -20,6 +20,10 @@ · 19 unmodified lines | |||
| 20 | stdout-path = &serial2; | 20 | stdout-path = &serial2; |
| 21 | }; | 21 | }; |
| 22 | 22 | ||
| 23 | battery: battery { | ||
| 24 | compatible = "samsung,eb485159lu"; | ||
| 25 | }; | ||
| 26 | |||
| 23 | /* TI TXS0206 level translator for 2.9 V */ | 27 | /* TI TXS0206 level translator for 2.9 V */ |
| 24 | sd_level_translator: regulator-gpio { | 28 | sd_level_translator: regulator-gpio { |
| 25 | compatible = "regulator-fixed"; | 29 | compatible = "regulator-fixed"; |
| @@ -222,7 +226,9 @@ · 196 unmodified lines | |||
| 222 | }; | 226 | }; |
| 223 | }; | 227 | }; |
| 224 | 228 | ||
| 225 | // eMMC | 229 | /* |
| 230 | * eMMC seems to be mostly Samsung KLM4G1YE4C "4YMD1R" | ||
| 231 | */ | ||
| 226 | mmc@80005000 { | 232 | mmc@80005000 { |
| 227 | arm,primecell-periphid = <0x10480180>; | 233 | arm,primecell-periphid = <0x10480180>; |
| 228 | max-frequency = <100000000>; | 234 | max-frequency = <100000000>; |
| @@ -232,6 +238,8 @@ · 3 unmodified lines | |||
| 232 | mmc-ddr-1_8v; | 238 | mmc-ddr-1_8v; |
| 233 | no-sdio; | 239 | no-sdio; |
| 234 | no-sd; | 240 | no-sd; |
| 241 | /* From datasheet page 26 figure 9: 300 ms set-up time for 4GB */ | ||
| 242 | post-power-on-delay-ms = <300>; | ||
| 235 | vmmc-supply = <&ldo_3v3_reg>; | 243 | vmmc-supply = <&ldo_3v3_reg>; |
| 236 | pinctrl-names = "default", "sleep"; | 244 | pinctrl-names = "default", "sleep"; |
| 237 | pinctrl-0 = <&mc2_a_1_default>; | 245 | pinctrl-0 = <&mc2_a_1_default>; |
| @@ -292,10 +300,10 @@ · 54 unmodified lines | |||
| 292 | }; | 300 | }; |
| 293 | 301 | ||
| 294 | ab8500_ldo_aux2 { | 302 | ab8500_ldo_aux2 { |
| 295 | /* Supplies the Cypress TMA140 touchscreen only with 3.3V */ | 303 | /* Supplies the Cypress TMA140 touchscreen only with 3.0V */ |
| 296 | regulator-name = "AUX2"; | 304 | regulator-name = "AUX2"; |
| 297 | regulator-min-microvolt = <3300000>; | 305 | regulator-min-microvolt = <3000000>; |
| 298 | regulator-max-microvolt = <3300000>; | 306 | regulator-max-microvolt = <3000000>; |
| 299 | }; | 307 | }; |
| 300 | 308 | ||
| 301 | ab8500_ldo_aux3 { | 309 | ab8500_ldo_aux3 { |
| @@ -314,9 +322,9 @@ · 12 unmodified lines | |||
| 314 | 322 | ||
| 315 | ab8500_ldo_aux5 { | 323 | ab8500_ldo_aux5 { |
| 316 | regulator-name = "AUX5"; | 324 | regulator-name = "AUX5"; |
| 325 | /* Intended for 1V8 for touchscreen but actually left unused */ | ||
| 317 | regulator-min-microvolt = <1050000>; | 326 | regulator-min-microvolt = <1050000>; |
| 318 | regulator-max-microvolt = <2790000>; | 327 | regulator-max-microvolt = <2790000>; |
| 319 | regulator-always-on; | ||
| 320 | }; | 328 | }; |
| 321 | 329 | ||
| 322 | ab8500_ldo_aux6 { | 330 | ab8500_ldo_aux6 { |
| @@ -444,31 +452,21 @@ · 121 unmodified lines | |||
| 444 | }; | 452 | }; |
| 445 | 453 | ||
| 446 | &pinctrl { | 454 | &pinctrl { |
| 447 | /* | ||
| 448 | * This extends the MC0 default config to include DAT32DIR | ||
| 449 | * which is used by this machine. If we don't do this the | ||
| 450 | * SD card does not work. | ||
| 451 | */ | ||
| 452 | sdi0 { | 455 | sdi0 { |
| 453 | mc0_a_1_default { | 456 | mc0_a_1_default { |
| 454 | default_mux { | 457 | default_cfg1 { |
| 455 | function = "mc0"; | 458 | /* GPIO18, 19 & 20 unused so pull down */ |
| 456 | /* This machine uses the DAT31 pin */ | 459 | ste,config = <&gpio_in_pd>; |
| 457 | groups = "mc0_a_1", "mc0dat31dir_a_1"; | ||
| 458 | }; | ||
| 459 | default_cfg5 { | ||
| 460 | pins = "GPIO21_AB3"; /* DAT31DIR */ | ||
| 461 | ste,config = <&out_hi>; | ||
| 462 | }; | 460 | }; |
| 463 | }; | 461 | }; |
| 464 | }; | 462 | }; |
| 465 | 463 | ||
| 466 | /* The unused FBCLK needs to be pulled down on this machine */ | 464 | /* This is a reset line for the eMMC */ |
| 467 | sdi2 { | 465 | sdi2 { |
| 468 | mc2_a_1_default { | 466 | mc2_a_1_default { |
| 469 | default_cfg2 { | 467 | default_cfg2 { |
| 470 | pins = "GPIO130_C8"; /* FBCLK */ | 468 | pins = "GPIO130_C8"; /* FBCLK */ |
| 471 | ste,config = <&in_pd>; | 469 | ste,config = <&gpio_in_pd>; |
| 472 | }; | 470 | }; |
| 473 | }; | 471 | }; |
| 474 | }; | 472 | }; |
| @@ -0,0 +1,64 @@ | |||
| 1 | // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) | ||
| 2 | /* | ||
| 3 | * Copyright (C) STMicroelectronics 2021 - All Rights Reserved | ||
| 4 | * Author: Alexandre Torgue <alexandre.torgue@foss.st.com> | ||
| 5 | */ | ||
| 6 | #include <dt-bindings/pinctrl/stm32-pinfunc.h> | ||
| 7 | |||
| 8 | &pinctrl { | ||
| 9 | sdmmc1_b4_pins_a: sdmmc1-b4-0 { | ||
| 10 | pins1 { | ||
| 11 | pinmux = <STM32_PINMUX('C', 8, AF12)>, /* SDMMC1_D0 */ | ||
| 12 | <STM32_PINMUX('C', 9, AF12)>, /* SDMMC1_D1 */ | ||
| 13 | <STM32_PINMUX('C', 10, AF12)>, /* SDMMC1_D2 */ | ||
| 14 | <STM32_PINMUX('C', 11, AF12)>, /* SDMMC1_D3 */ | ||
| 15 | <STM32_PINMUX('D', 2, AF12)>; /* SDMMC1_CMD */ | ||
| 16 | slew-rate = <1>; | ||
| 17 | drive-push-pull; | ||
| 18 | bias-disable; | ||
| 19 | }; | ||
| 20 | pins2 { | ||
| 21 | pinmux = <STM32_PINMUX('C', 12, AF12)>; /* SDMMC1_CK */ | ||
| 22 | slew-rate = <2>; | ||
| 23 | drive-push-pull; | ||
| 24 | bias-disable; | ||
| 25 | }; | ||
| 26 | }; | ||
| 27 | |||
| 28 | sdmmc1_b4_od_pins_a: sdmmc1-b4-od-0 { | ||
| 29 | pins1 { | ||
| 30 | pinmux = <STM32_PINMUX('C', 8, AF12)>, /* SDMMC1_D0 */ | ||
| 31 | <STM32_PINMUX('C', 9, AF12)>, /* SDMMC1_D1 */ | ||
| 32 | <STM32_PINMUX('C', 10, AF12)>, /* SDMMC1_D2 */ | ||
| 33 | <STM32_PINMUX('C', 11, AF12)>; /* SDMMC1_D3 */ | ||
| 34 | slew-rate = <1>; | ||
| 35 | drive-push-pull; | ||
| 36 | bias-disable; | ||
| 37 | }; | ||
| 38 | pins2 { | ||
| 39 | pinmux = <STM32_PINMUX('C', 12, AF12)>; /* SDMMC1_CK */ | ||
| 40 | slew-rate = <2>; | ||
| 41 | drive-push-pull; | ||
| 42 | bias-disable; | ||
| 43 | }; | ||
| 44 | pins3 { | ||
| 45 | pinmux = <STM32_PINMUX('D', 2, AF12)>; /* SDMMC1_CMD */ | ||
| 46 | slew-rate = <1>; | ||
| 47 | drive-open-drain; | ||
| 48 | bias-disable; | ||
| 49 | }; | ||
| 50 | }; | ||
| 51 | |||
| 52 | uart4_pins_a: uart4-0 { | ||
| 53 | pins1 { | ||
| 54 | pinmux = <STM32_PINMUX('D', 6, AF8)>; /* UART4_TX */ | ||
| 55 | bias-disable; | ||
| 56 | drive-push-pull; | ||
| 57 | slew-rate = <0>; | ||
| 58 | }; | ||
| 59 | pins2 { | ||
| 60 | pinmux = <STM32_PINMUX('D', 8, AF8)>; /* UART4_RX */ | ||
| 61 | bias-disable; | ||
| 62 | }; | ||
| 63 | }; | ||
| 64 | }; | ||
| @@ -0,0 +1,283 @@ | |||
| 1 | // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) | ||
| 2 | /* | ||
| 3 | * Copyright (C) STMicroelectronics 2021 - All Rights Reserved | ||
| 4 | * Author: Alexandre Torgue <alexandre.torgue@foss.st.com> for STMicroelectronics. | ||
| 5 | */ | ||
| 6 | #include <dt-bindings/interrupt-controller/arm-gic.h> | ||
| 7 | |||
| 8 | / { | ||
| 9 | #address-cells = <1>; | ||
| 10 | #size-cells = <1>; | ||
| 11 | |||
| 12 | cpus { | ||
| 13 | #address-cells = <1>; | ||
| 14 | #size-cells = <0>; | ||
| 15 | |||
| 16 | cpu0: cpu@0 { | ||
| 17 | compatible = "arm,cortex-a7"; | ||
| 18 | device_type = "cpu"; | ||
| 19 | reg = <0>; | ||
| 20 | }; | ||
| 21 | }; | ||
| 22 | |||
| 23 | arm-pmu { | ||
| 24 | compatible = "arm,cortex-a7-pmu"; | ||
| 25 | interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>; | ||
| 26 | interrupt-affinity = <&cpu0>; | ||
| 27 | interrupt-parent = <&intc>; | ||
| 28 | }; | ||
| 29 | |||
| 30 | clocks { | ||
| 31 | clk_axi: clk-axi { | ||
| 32 | #clock-cells = <0>; | ||
| 33 | compatible = "fixed-clock"; | ||
| 34 | clock-frequency = <266500000>; | ||
| 35 | }; | ||
| 36 | |||
| 37 | clk_hse: clk-hse { | ||
| 38 | #clock-cells = <0>; | ||
| 39 | compatible = "fixed-clock"; | ||
| 40 | clock-frequency = <24000000>; | ||
| 41 | }; | ||
| 42 | |||
| 43 | clk_hsi: clk-hsi { | ||
| 44 | #clock-cells = <0>; | ||
| 45 | compatible = "fixed-clock"; | ||
| 46 | clock-frequency = <64000000>; | ||
| 47 | }; | ||
| 48 | |||
| 49 | clk_lsi: clk-lsi { | ||
| 50 | #clock-cells = <0>; | ||
| 51 | compatible = "fixed-clock"; | ||
| 52 | clock-frequency = <32000>; | ||
| 53 | }; | ||
| 54 | |||
| 55 | clk_pclk3: clk-pclk3 { | ||
| 56 | #clock-cells = <0>; | ||
| 57 | compatible = "fixed-clock"; | ||
| 58 | clock-frequency = <104438965>; | ||
| 59 | }; | ||
| 60 | |||
| 61 | clk_pclk4: clk-pclk4 { | ||
| 62 | #clock-cells = <0>; | ||
| 63 | compatible = "fixed-clock"; | ||
| 64 | clock-frequency = <133250000>; | ||
| 65 | }; | ||
| 66 | |||
| 67 | clk_pll4_p: clk-pll4_p { | ||
| 68 | #clock-cells = <0>; | ||
| 69 | compatible = "fixed-clock"; | ||
| 70 | clock-frequency = <50000000>; | ||
| 71 | }; | ||
| 72 | |||
| 73 | clk_pll4_r: clk-pll4_r { | ||
| 74 | #clock-cells = <0>; | ||
| 75 | compatible = "fixed-clock"; | ||
| 76 | clock-frequency = <99000000>; | ||
| 77 | }; | ||
| 78 | }; | ||
| 79 | |||
| 80 | intc: interrupt-controller@a0021000 { | ||
| 81 | compatible = "arm,cortex-a7-gic"; | ||
| 82 | #interrupt-cells = <3>; | ||
| 83 | interrupt-controller; | ||
| 84 | reg = <0xa0021000 0x1000>, | ||
| 85 | <0xa0022000 0x2000>; | ||
| 86 | }; | ||
| 87 | |||
| 88 | psci { | ||
| 89 | compatible = "arm,psci-1.0"; | ||
| 90 | method = "smc"; | ||
| 91 | }; | ||
| 92 | |||
| 93 | timer { | ||
| 94 | compatible = "arm,armv7-timer"; | ||
| 95 | interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, | ||
| 96 | <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, | ||
| 97 | <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, | ||
| 98 | <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; | ||
| 99 | interrupt-parent = <&intc>; | ||
| 100 | always-on; | ||
| 101 | }; | ||
| 102 | |||
| 103 | soc { | ||
| 104 | compatible = "simple-bus"; | ||
| 105 | #address-cells = <1>; | ||
| 106 | #size-cells = <1>; | ||
| 107 | interrupt-parent = <&intc>; | ||
| 108 | ranges; | ||
| 109 | |||
| 110 | uart4: serial@40010000 { | ||
| 111 | compatible = "st,stm32h7-uart"; | ||
| 112 | reg = <0x40010000 0x400>; | ||
| 113 | interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>; | ||
| 114 | clocks = <&clk_hsi>; | ||
| 115 | status = "disabled"; | ||
| 116 | }; | ||
| 117 | |||
| 118 | syscfg: syscon@50020000 { | ||
| 119 | compatible = "st,stm32mp157-syscfg", "syscon"; | ||
| 120 | reg = <0x50020000 0x400>; | ||
| 121 | clocks = <&clk_pclk3>; | ||
| 122 | }; | ||
| 123 | |||
| 124 | sdmmc1: mmc@58005000 { | ||
| 125 | compatible = "arm,pl18x", "arm,primecell"; | ||
| 126 | arm,primecell-periphid = <0x00253180>; | ||
| 127 | reg = <0x58005000 0x1000>, <0x58006000 0x1000>; | ||
| 128 | interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>; | ||
| 129 | interrupt-names = "cmd_irq"; | ||
| 130 | clocks = <&clk_pll4_p>; | ||
| 131 | clock-names = "apb_pclk"; | ||
| 132 | cap-sd-highspeed; | ||
| 133 | cap-mmc-highspeed; | ||
| 134 | max-frequency = <120000000>; | ||
| 135 | status = "disabled"; | ||
| 136 | }; | ||
| 137 | |||
| 138 | iwdg2: watchdog@5a002000 { | ||
| 139 | compatible = "st,stm32mp1-iwdg"; | ||
| 140 | reg = <0x5a002000 0x400>; | ||
| 141 | clocks = <&clk_pclk4>, <&clk_lsi>; | ||
| 142 | clock-names = "pclk", "lsi"; | ||
| 143 | status = "disabled"; | ||
| 144 | }; | ||
| 145 | |||
| 146 | bsec: efuse@5c005000 { | ||
| 147 | compatible = "st,stm32mp15-bsec"; | ||
| 148 | reg = <0x5c005000 0x400>; | ||
| 149 | #address-cells = <1>; | ||
| 150 | #size-cells = <1>; | ||
| 151 | |||
| 152 | part_number_otp: part_number_otp@4 { | ||
| 153 | reg = <0x4 0x2>; | ||
| 154 | }; | ||
| 155 | ts_cal1: calib@5c { | ||
| 156 | reg = <0x5c 0x2>; | ||
| 157 | }; | ||
| 158 | ts_cal2: calib@5e { | ||
| 159 | reg = <0x5e 0x2>; | ||
| 160 | }; | ||
| 161 | }; | ||
| 162 | |||
| 163 | /* | ||
| 164 | * Break node order to solve dependency probe issue between | ||
| 165 | * pinctrl and exti. | ||
| 166 | */ | ||
| 167 | pinctrl: pin-controller@50002000 { | ||
| 168 | #address-cells = <1>; | ||
| 169 | #size-cells = <1>; | ||
| 170 | compatible = "st,stm32mp135-pinctrl"; | ||
| 171 | ranges = <0 0x50002000 0x8400>; | ||
| 172 | pins-are-numbered; | ||
| 173 | |||
| 174 | gpioa: gpio@50002000 { | ||
| 175 | gpio-controller; | ||
| 176 | #gpio-cells = <2>; | ||
| 177 | interrupt-controller; | ||
| 178 | #interrupt-cells = <2>; | ||
| 179 | reg = <0x0 0x400>; | ||
| 180 | clocks = <&clk_pclk4>; | ||
| 181 | st,bank-name = "GPIOA"; | ||
| 182 | ngpios = <16>; | ||
| 183 | gpio-ranges = <&pinctrl 0 0 16>; | ||
| 184 | }; | ||
| 185 | |||
| 186 | gpiob: gpio@50003000 { | ||
| 187 | gpio-controller; | ||
| 188 | #gpio-cells = <2>; | ||
| 189 | interrupt-controller; | ||
| 190 | #interrupt-cells = <2>; | ||
| 191 | reg = <0x1000 0x400>; | ||
| 192 | clocks = <&clk_pclk4>; | ||
| 193 | st,bank-name = "GPIOB"; | ||
| 194 | ngpios = <16>; | ||
| 195 | gpio-ranges = <&pinctrl 0 16 16>; | ||
| 196 | }; | ||
| 197 | |||
| 198 | gpioc: gpio@50004000 { | ||
| 199 | gpio-controller; | ||
| 200 | #gpio-cells = <2>; | ||
| 201 | interrupt-controller; | ||
| 202 | #interrupt-cells = <2>; | ||
| 203 | reg = <0x2000 0x400>; | ||
| 204 | clocks = <&clk_pclk4>; | ||
| 205 | st,bank-name = "GPIOC"; | ||
| 206 | ngpios = <16>; | ||
| 207 | gpio-ranges = <&pinctrl 0 32 16>; | ||
| 208 | }; | ||
| 209 | |||
| 210 | gpiod: gpio@50005000 { | ||
| 211 | gpio-controller; | ||
| 212 | #gpio-cells = <2>; | ||
| 213 | interrupt-controller; | ||
| 214 | #interrupt-cells = <2>; | ||
| 215 | reg = <0x3000 0x400>; | ||
| 216 | clocks = <&clk_pclk4>; | ||
| 217 | st,bank-name = "GPIOD"; | ||
| 218 | ngpios = <16>; | ||
| 219 | gpio-ranges = <&pinctrl 0 48 16>; | ||
| 220 | }; | ||
| 221 | |||
| 222 | gpioe: gpio@50006000 { | ||
| 223 | gpio-controller; | ||
| 224 | #gpio-cells = <2>; | ||
| 225 | interrupt-controller; | ||
| 226 | #interrupt-cells = <2>; | ||
| 227 | reg = <0x4000 0x400>; | ||
| 228 | clocks = <&clk_pclk4>; | ||
| 229 | st,bank-name = "GPIOE"; | ||
| 230 | ngpios = <16>; | ||
| 231 | gpio-ranges = <&pinctrl 0 64 16>; | ||
| 232 | }; | ||
| 233 | |||
| 234 | gpiof: gpio@50007000 { | ||
| 235 | gpio-controller; | ||
| 236 | #gpio-cells = <2>; | ||
| 237 | interrupt-controller; | ||
| 238 | #interrupt-cells = <2>; | ||
| 239 | reg = <0x5000 0x400>; | ||
| 240 | clocks = <&clk_pclk4>; | ||
| 241 | st,bank-name = "GPIOF"; | ||
| 242 | ngpios = <16>; | ||
| 243 | gpio-ranges = <&pinctrl 0 80 16>; | ||
| 244 | }; | ||
| 245 | |||
| 246 | gpiog: gpio@50008000 { | ||
| 247 | gpio-controller; | ||
| 248 | #gpio-cells = <2>; | ||
| 249 | interrupt-controller; | ||
| 250 | #interrupt-cells = <2>; | ||
| 251 | reg = <0x6000 0x400>; | ||
| 252 | clocks = <&clk_pclk4>; | ||
| 253 | st,bank-name = "GPIOG"; | ||
| 254 | ngpios = <16>; | ||
| 255 | gpio-ranges = <&pinctrl 0 96 16>; | ||
| 256 | }; | ||
| 257 | |||
| 258 | gpioh: gpio@50009000 { | ||
| 259 | gpio-controller; | ||
| 260 | #gpio-cells = <2>; | ||
| 261 | interrupt-controller; | ||
| 262 | #interrupt-cells = <2>; | ||
| 263 | reg = <0x7000 0x400>; | ||
| 264 | clocks = <&clk_pclk4>; | ||
| 265 | st,bank-name = "GPIOH"; | ||
| 266 | ngpios = <15>; | ||
| 267 | gpio-ranges = <&pinctrl 0 112 15>; | ||
| 268 | }; | ||
| 269 | |||
| 270 | gpioi: gpio@5000a000 { | ||
| 271 | gpio-controller; | ||
| 272 | #gpio-cells = <2>; | ||
| 273 | interrupt-controller; | ||
| 274 | #interrupt-cells = <2>; | ||
| 275 | reg = <0x8000 0x400>; | ||
| 276 | clocks = <&clk_pclk4>; | ||
| 277 | st,bank-name = "GPIOI"; | ||
| 278 | ngpios = <8>; | ||
| 279 | gpio-ranges = <&pinctrl 0 128 8>; | ||
| 280 | }; | ||
| 281 | }; | ||
| 282 | }; | ||
| 283 | }; | ||
| @@ -0,0 +1,37 @@ | |||
| 1 | // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) | ||
| 2 | /* | ||
| 3 | * Copyright (C) STMicroelectronics 2021 - All Rights Reserved | ||
| 4 | * Author: Alexandre Torgue <alexandre.torgue@foss.st.com> for STMicroelectronics. | ||
| 5 | */ | ||
| 6 | |||
| 7 | #include "stm32mp131.dtsi" | ||
| 8 | |||
| 9 | / { | ||
| 10 | soc { | ||
| 11 | m_can1: can@4400e000 { | ||
| 12 | compatible = "bosch,m_can"; | ||
| 13 | reg = <0x4400e000 0x400>, <0x44011000 0x1400>; | ||
| 14 | reg-names = "m_can", "message_ram"; | ||
| 15 | interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>, | ||
| 16 | <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>; | ||
| 17 | interrupt-names = "int0", "int1"; | ||
| 18 | clocks = <&clk_hse>, <&clk_pll4_r>; | ||
| 19 | clock-names = "hclk", "cclk"; | ||
| 20 | bosch,mram-cfg = <0x0 0 0 32 0 0 2 2>; | ||
| 21 | status = "disabled"; | ||
| 22 | }; | ||
| 23 | |||
| 24 | m_can2: can@4400f000 { | ||
| 25 | compatible = "bosch,m_can"; | ||
| 26 | reg = <0x4400f000 0x400>, <0x44011000 0x2800>; | ||
| 27 | reg-names = "m_can", "message_ram"; | ||
| 28 | interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>, | ||
| 29 | <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>; | ||
| 30 | interrupt-names = "int0", "int1"; | ||
| 31 | clocks = <&clk_hse>, <&clk_pll4_r>; | ||
| 32 | clock-names = "hclk", "cclk"; | ||
| 33 | bosch,mram-cfg = <0x1400 0 0 32 0 0 2 2>; | ||
| 34 | status = "disabled"; | ||
| 35 | }; | ||
| 36 | }; | ||
| 37 | }; | ||
| @@ -0,0 +1,12 @@ | |||
| 1 | // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) | ||
| 2 | /* | ||
| 3 | * Copyright (C) STMicroelectronics 2021 - All Rights Reserved | ||
| 4 | * Author: Alexandre Torgue <alexandre.torgue@foss.st.com> for STMicroelectronics. | ||
| 5 | */ | ||
| 6 | |||
| 7 | #include "stm32mp133.dtsi" | ||
| 8 | |||
| 9 | / { | ||
| 10 | soc { | ||
| 11 | }; | ||
| 12 | }; | ||
| @@ -0,0 +1,56 @@ | |||
| 1 | // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) | ||
| 2 | /* | ||
| 3 | * Copyright (C) STMicroelectronics 2021 - All Rights Reserved | ||
| 4 | * Author: Alexandre Torgue <alexandre.torgue@foss.st.com> for STMicroelectronics. | ||
| 5 | */ | ||
| 6 | |||
| 7 | /dts-v1/; | ||
| 8 | |||
| 9 | #include "stm32mp135.dtsi" | ||
| 10 | #include "stm32mp13xf.dtsi" | ||
| 11 | #include "stm32mp13-pinctrl.dtsi" | ||
| 12 | |||
| 13 | / { | ||
| 14 | model = "STMicroelectronics STM32MP135F-DK Discovery Board"; | ||
| 15 | compatible = "st,stm32mp135f-dk", "st,stm32mp135"; | ||
| 16 | |||
| 17 | aliases { | ||
| 18 | serial0 = &uart4; | ||
| 19 | }; | ||
| 20 | |||
| 21 | memory@c0000000 { | ||
| 22 | device_type = "memory"; | ||
| 23 | reg = <0xc0000000 0x20000000>; | ||
| 24 | }; | ||
| 25 | |||
| 26 | vdd_sd: vdd-sd { | ||
| 27 | compatible = "regulator-fixed"; | ||
| 28 | regulator-name = "vdd_sd"; | ||
| 29 | regulator-min-microvolt = <2900000>; | ||
| 30 | regulator-max-microvolt = <2900000>; | ||
| 31 | regulator-always-on; | ||
| 32 | }; | ||
| 33 | }; | ||
| 34 | |||
| 35 | &iwdg2 { | ||
| 36 | timeout-sec = <32>; | ||
| 37 | status = "okay"; | ||
| 38 | }; | ||
| 39 | |||
| 40 | &sdmmc1 { | ||
| 41 | pinctrl-names = "default", "opendrain"; | ||
| 42 | pinctrl-0 = <&sdmmc1_b4_pins_a>; | ||
| 43 | pinctrl-1 = <&sdmmc1_b4_od_pins_a>; | ||
| 44 | broken-cd; | ||
| 45 | disable-wp; | ||
| 46 | st,neg-edge; | ||
| 47 | bus-width = <4>; | ||
| 48 | vmmc-supply = <&vdd_sd>; | ||
| 49 | status = "okay"; | ||
| 50 | }; | ||
| 51 | |||
| 52 | &uart4 { | ||
| 53 | pinctrl-names = "default"; | ||
| 54 | pinctrl-0 = <&uart4_pins_a>; | ||
| 55 | status = "okay"; | ||
| 56 | }; | ||
| @@ -0,0 +1,17 @@ | |||
| 1 | // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) | ||
| 2 | /* | ||
| 3 | * Copyright (C) STMicroelectronics 2021 - All Rights Reserved | ||
| 4 | * Author: Alexandre Torgue <alexandre.torgue@foss.st.com> for STMicroelectronics. | ||
| 5 | */ | ||
| 6 | |||
| 7 | / { | ||
| 8 | soc { | ||
| 9 | cryp: crypto@54002000 { | ||
| 10 | compatible = "st,stm32mp1-cryp"; | ||
| 11 | reg = <0x54002000 0x400>; | ||
| 12 | interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>; | ||
| 13 | clocks = <&clk_axi>; | ||
| 14 | status = "disabled"; | ||
| 15 | }; | ||
| 16 | }; | ||
| 17 | }; | ||
| @@ -0,0 +1,17 @@ | |||
| 1 | // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) | ||
| 2 | /* | ||
| 3 | * Copyright (C) STMicroelectronics 2021 - All Rights Reserved | ||
| 4 | * Author: Alexandre Torgue <alexandre.torgue@foss.st.com> for STMicroelectronics. | ||
| 5 | */ | ||
| 6 | |||
| 7 | / { | ||
| 8 | soc { | ||
| 9 | cryp: crypto@54002000 { | ||
| 10 | compatible = "st,stm32mp1-cryp"; | ||
| 11 | reg = <0x54002000 0x400>; | ||
| 12 | interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>; | ||
| 13 | clocks = <&clk_axi>; | ||
| 14 | status = "disabled"; | ||
| 15 | }; | ||
| 16 | }; | ||
| 17 | }; | ||
| @@ -1179,7 +1179,7 @@ · 1178 unmodified lines | |||
| 1179 | }; | 1179 | }; |
| 1180 | }; | 1180 | }; |
| 1181 | 1181 | ||
| 1182 | sai2a_pins_c: sai2a-4 { | 1182 | sai2a_pins_c: sai2a-2 { |
| 1183 | pins { | 1183 | pins { |
| 1184 | pinmux = <STM32_PINMUX('D', 13, AF10)>, /* SAI2_SCK_A */ | 1184 | pinmux = <STM32_PINMUX('D', 13, AF10)>, /* SAI2_SCK_A */ |
| 1185 | <STM32_PINMUX('D', 11, AF10)>, /* SAI2_SD_A */ | 1185 | <STM32_PINMUX('D', 11, AF10)>, /* SAI2_SD_A */ |
| @@ -1190,7 +1190,7 @@ · 4 unmodified lines | |||
| 1190 | }; | 1190 | }; |
| 1191 | }; | 1191 | }; |
| 1192 | 1192 | ||
| 1193 | sai2a_sleep_pins_c: sai2a-5 { | 1193 | sai2a_sleep_pins_c: sai2a-2 { |
| 1194 | pins { | 1194 | pins { |
| 1195 | pinmux = <STM32_PINMUX('D', 13, ANALOG)>, /* SAI2_SCK_A */ | 1195 | pinmux = <STM32_PINMUX('D', 13, ANALOG)>, /* SAI2_SCK_A */ |
| 1196 | <STM32_PINMUX('D', 11, ANALOG)>, /* SAI2_SD_A */ | 1196 | <STM32_PINMUX('D', 11, ANALOG)>, /* SAI2_SD_A */ |
| @@ -1235,14 +1235,14 @@ · 38 unmodified lines | |||
| 1235 | }; | 1235 | }; |
| 1236 | }; | 1236 | }; |
| 1237 | 1237 | ||
| 1238 | sai2b_pins_c: sai2a-4 { | 1238 | sai2b_pins_c: sai2b-2 { |
| 1239 | pins1 { | 1239 | pins1 { |
| 1240 | pinmux = <STM32_PINMUX('F', 11, AF10)>; /* SAI2_SD_B */ | 1240 | pinmux = <STM32_PINMUX('F', 11, AF10)>; /* SAI2_SD_B */ |
| 1241 | bias-disable; | 1241 | bias-disable; |
| 1242 | }; | 1242 | }; |
| 1243 | }; | 1243 | }; |
| 1244 | 1244 | ||
| 1245 | sai2b_sleep_pins_c: sai2a-sleep-5 { | 1245 | sai2b_sleep_pins_c: sai2b-sleep-2 { |
| 1246 | pins { | 1246 | pins { |
| 1247 | pinmux = <STM32_PINMUX('F', 11, ANALOG)>; /* SAI2_SD_B */ | 1247 | pinmux = <STM32_PINMUX('F', 11, ANALOG)>; /* SAI2_SD_B */ |
| 1248 | }; | 1248 | }; |
| @@ -824,7 +824,7 @@ · 823 unmodified lines | |||
| 824 | #sound-dai-cells = <0>; | 824 | #sound-dai-cells = <0>; |
| 825 | 825 | ||
| 826 | compatible = "st,stm32-sai-sub-a"; | 826 | compatible = "st,stm32-sai-sub-a"; |
| 827 | reg = <0x4 0x1c>; | 827 | reg = <0x4 0x20>; |
| 828 | clocks = <&rcc SAI1_K>; | 828 | clocks = <&rcc SAI1_K>; |
| 829 | clock-names = "sai_ck"; | 829 | clock-names = "sai_ck"; |
| 830 | dmas = <&dmamux1 87 0x400 0x01>; | 830 | dmas = <&dmamux1 87 0x400 0x01>; |
| @@ -834,7 +834,7 @@ · 3 unmodified lines | |||
| 834 | sai1b: audio-controller@4400a024 { | 834 | sai1b: audio-controller@4400a024 { |
| 835 | #sound-dai-cells = <0>; | 835 | #sound-dai-cells = <0>; |
| 836 | compatible = "st,stm32-sai-sub-b"; | 836 | compatible = "st,stm32-sai-sub-b"; |
| 837 | reg = <0x24 0x1c>; | 837 | reg = <0x24 0x20>; |
| 838 | clocks = <&rcc SAI1_K>; | 838 | clocks = <&rcc SAI1_K>; |
| 839 | clock-names = "sai_ck"; | 839 | clock-names = "sai_ck"; |
| 840 | dmas = <&dmamux1 88 0x400 0x01>; | 840 | dmas = <&dmamux1 88 0x400 0x01>; |
| @@ -855,7 +855,7 @@ · 14 unmodified lines | |||
| 855 | sai2a: audio-controller@4400b004 { | 855 | sai2a: audio-controller@4400b004 { |
| 856 | #sound-dai-cells = <0>; | 856 | #sound-dai-cells = <0>; |
| 857 | compatible = "st,stm32-sai-sub-a"; | 857 | compatible = "st,stm32-sai-sub-a"; |
| 858 | reg = <0x4 0x1c>; | 858 | reg = <0x4 0x20>; |
| 859 | clocks = <&rcc SAI2_K>; | 859 | clocks = <&rcc SAI2_K>; |
| 860 | clock-names = "sai_ck"; | 860 | clock-names = "sai_ck"; |
| 861 | dmas = <&dmamux1 89 0x400 0x01>; | 861 | dmas = <&dmamux1 89 0x400 0x01>; |
| @@ -865,7 +865,7 @@ · 3 unmodified lines | |||
| 865 | sai2b: audio-controller@4400b024 { | 865 | sai2b: audio-controller@4400b024 { |
| 866 | #sound-dai-cells = <0>; | 866 | #sound-dai-cells = <0>; |
| 867 | compatible = "st,stm32-sai-sub-b"; | 867 | compatible = "st,stm32-sai-sub-b"; |
| 868 | reg = <0x24 0x1c>; | 868 | reg = <0x24 0x20>; |
| 869 | clocks = <&rcc SAI2_K>; | 869 | clocks = <&rcc SAI2_K>; |
| 870 | clock-names = "sai_ck"; | 870 | clock-names = "sai_ck"; |
| 871 | dmas = <&dmamux1 90 0x400 0x01>; | 871 | dmas = <&dmamux1 90 0x400 0x01>; |
| @@ -886,7 +886,7 @@ · 14 unmodified lines | |||
| 886 | sai3a: audio-controller@4400c004 { | 886 | sai3a: audio-controller@4400c004 { |
| 887 | #sound-dai-cells = <0>; | 887 | #sound-dai-cells = <0>; |
| 888 | compatible = "st,stm32-sai-sub-a"; | 888 | compatible = "st,stm32-sai-sub-a"; |
| 889 | reg = <0x04 0x1c>; | 889 | reg = <0x04 0x20>; |
| 890 | clocks = <&rcc SAI3_K>; | 890 | clocks = <&rcc SAI3_K>; |
| 891 | clock-names = "sai_ck"; | 891 | clock-names = "sai_ck"; |
| 892 | dmas = <&dmamux1 113 0x400 0x01>; | 892 | dmas = <&dmamux1 113 0x400 0x01>; |
| @@ -896,7 +896,7 @@ · 3 unmodified lines | |||
| 896 | sai3b: audio-controller@4400c024 { | 896 | sai3b: audio-controller@4400c024 { |
| 897 | #sound-dai-cells = <0>; | 897 | #sound-dai-cells = <0>; |
| 898 | compatible = "st,stm32-sai-sub-b"; | 898 | compatible = "st,stm32-sai-sub-b"; |
| 899 | reg = <0x24 0x1c>; | 899 | reg = <0x24 0x20>; |
| 900 | clocks = <&rcc SAI3_K>; | 900 | clocks = <&rcc SAI3_K>; |
| 901 | clock-names = "sai_ck"; | 901 | clock-names = "sai_ck"; |
| 902 | dmas = <&dmamux1 114 0x400 0x01>; | 902 | dmas = <&dmamux1 114 0x400 0x01>; |
| @@ -1271,7 +1271,7 @@ · 368 unmodified lines | |||
| 1271 | sai4a: audio-controller@50027004 { | 1271 | sai4a: audio-controller@50027004 { |
| 1272 | #sound-dai-cells = <0>; | 1272 | #sound-dai-cells = <0>; |
| 1273 | compatible = "st,stm32-sai-sub-a"; | 1273 | compatible = "st,stm32-sai-sub-a"; |
| 1274 | reg = <0x04 0x1c>; | 1274 | reg = <0x04 0x20>; |
| 1275 | clocks = <&rcc SAI4_K>; | 1275 | clocks = <&rcc SAI4_K>; |
| 1276 | clock-names = "sai_ck"; | 1276 | clock-names = "sai_ck"; |
| 1277 | dmas = <&dmamux1 99 0x400 0x01>; | 1277 | dmas = <&dmamux1 99 0x400 0x01>; |
| @@ -1281,7 +1281,7 @@ · 3 unmodified lines | |||
| 1281 | sai4b: audio-controller@50027024 { | 1281 | sai4b: audio-controller@50027024 { |
| 1282 | #sound-dai-cells = <0>; | 1282 | #sound-dai-cells = <0>; |
| 1283 | compatible = "st,stm32-sai-sub-b"; | 1283 | compatible = "st,stm32-sai-sub-b"; |
| 1284 | reg = <0x24 0x1c>; | 1284 | reg = <0x24 0x20>; |
| 1285 | clocks = <&rcc SAI4_K>; | 1285 | clocks = <&rcc SAI4_K>; |
| 1286 | clock-names = "sai_ck"; | 1286 | clock-names = "sai_ck"; |
| 1287 | dmas = <&dmamux1 100 0x400 0x01>; | 1287 | dmas = <&dmamux1 100 0x400 0x01>; |
| @@ -1452,7 +1452,7 @@ · 164 unmodified lines | |||
| 1452 | usbh_ohci: usb@5800c000 { | 1452 | usbh_ohci: usb@5800c000 { |
| 1453 | compatible = "generic-ohci"; | 1453 | compatible = "generic-ohci"; |
| 1454 | reg = <0x5800c000 0x1000>; | 1454 | reg = <0x5800c000 0x1000>; |
| 1455 | clocks = <&rcc USBH>; | 1455 | clocks = <&rcc USBH>, <&usbphyc>; |
| 1456 | resets = <&rcc USBH_R>; | 1456 | resets = <&rcc USBH_R>; |
| 1457 | interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>; | 1457 | interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>; |
| 1458 | status = "disabled"; | 1458 | status = "disabled"; |
| @@ -22,6 +22,12 @@ · 21 unmodified lines | |||
| 22 | }; | 22 | }; |
| 23 | }; | 23 | }; |
| 24 | 24 | ||
| 25 | &dcmi { | ||
| 26 | pinctrl-names = "default", "sleep"; | ||
| 27 | pinctrl-0 = <&dcmi_pins_b>; | ||
| 28 | pinctrl-1 = <&dcmi_sleep_pins_b>; | ||
| 29 | }; | ||
| 30 | |||
| 25 | ðernet0 { | 31 | ðernet0 { |
| 26 | status = "okay"; | 32 | status = "okay"; |
| 27 | pinctrl-0 = <ðernet0_rgmii_pins_a>; | 33 | pinctrl-0 = <ðernet0_rgmii_pins_a>; |
| @@ -202,7 +202,7 @@ · 201 unmodified lines | |||
| 202 | compatible = "jedec,spi-nor"; | 202 | compatible = "jedec,spi-nor"; |
| 203 | reg = <0>; | 203 | reg = <0>; |
| 204 | spi-rx-bus-width = <4>; | 204 | spi-rx-bus-width = <4>; |
| 205 | spi-max-frequency = <108000000>; | 205 | spi-max-frequency = <50000000>; |
| 206 | #address-cells = <1>; | 206 | #address-cells = <1>; |
| 207 | #size-cells = <1>; | 207 | #size-cells = <1>; |
| 208 | }; | 208 | }; |
| @@ -249,7 +249,7 @@ · 248 unmodified lines | |||
| 249 | stusb1600@28 { | 249 | stusb1600@28 { |
| 250 | compatible = "st,stusb1600"; | 250 | compatible = "st,stusb1600"; |
| 251 | reg = <0x28>; | 251 | reg = <0x28>; |
| 252 | interrupts = <11 IRQ_TYPE_EDGE_FALLING>; | 252 | interrupts = <11 IRQ_TYPE_LEVEL_LOW>; |
| 253 | interrupt-parent = <&gpioi>; | 253 | interrupt-parent = <&gpioi>; |
| 254 | pinctrl-names = "default"; | 254 | pinctrl-names = "default"; |
| 255 | pinctrl-0 = <&stusb1600_pins_a>; | 255 | pinctrl-0 = <&stusb1600_pins_a>; |
| @@ -91,12 +91,11 @@ · 90 unmodified lines | |||
| 91 | /* | 91 | /* |
| 92 | * The A10-Lime is known to be unstable when running at 1008 MHz | 92 | * The A10-Lime is known to be unstable when running at 1008 MHz |
| 93 | */ | 93 | */ |
| 94 | operating-points = < | 94 | operating-points = |
| 95 | /* kHz uV */ | 95 | /* kHz uV */ |
| 96 | 912000 1350000 | 96 | <912000 1350000>, |
| 97 | 864000 1300000 | 97 | <864000 1300000>, |
| 98 | 624000 1250000 | 98 | <624000 1250000>; |
| 99 | >; | ||
| 100 | }; | 99 | }; |
| 101 | 100 | ||
| 102 | &de { | 101 | &de { |
| @@ -115,13 +115,12 @@ · 114 unmodified lines | |||
| 115 | reg = <0x0>; | 115 | reg = <0x0>; |
| 116 | clocks = <&ccu CLK_CPU>; | 116 | clocks = <&ccu CLK_CPU>; |
| 117 | clock-latency = <244144>; /* 8 32k periods */ | 117 | clock-latency = <244144>; /* 8 32k periods */ |
| 118 | operating-points = < | 118 | operating-points = |
| 119 | /* kHz uV */ | 119 | /* kHz uV */ |
| 120 | 1008000 1400000 | 120 | <1008000 1400000>, |
| 121 | 912000 1350000 | 121 | <912000 1350000>, |
| 122 | 864000 1300000 | 122 | <864000 1300000>, |
| 123 | 624000 1250000 | 123 | <624000 1250000>; |
| 124 | >; | ||
| 125 | #cooling-cells = <2>; | 124 | #cooling-cells = <2>; |
| 126 | }; | 125 | }; |
| 127 | }; | 126 | }; |
| @@ -102,15 +102,14 @@ · 101 unmodified lines | |||
| 102 | 102 | ||
| 103 | &cpu0 { | 103 | &cpu0 { |
| 104 | clock-latency = <244144>; /* 8 32k periods */ | 104 | clock-latency = <244144>; /* 8 32k periods */ |
| 105 | operating-points = < | 105 | operating-points = |
| 106 | /* kHz uV */ | 106 | /* kHz uV */ |
| 107 | 1008000 1400000 | 107 | <1008000 1400000>, |
| 108 | 912000 1350000 | 108 | <912000 1350000>, |
| 109 | 864000 1300000 | 109 | <864000 1300000>, |
| 110 | 624000 1200000 | 110 | <624000 1200000>, |
| 111 | 576000 1200000 | 111 | <576000 1200000>, |
| 112 | 432000 1200000 | 112 | <432000 1200000>; |
| 113 | >; | ||
| 114 | #cooling-cells = <2>; | 113 | #cooling-cells = <2>; |
| 115 | }; | 114 | }; |
| 116 | 115 | ||
| @@ -105,13 +105,12 @@ · 104 unmodified lines | |||
| 105 | reg = <0>; | 105 | reg = <0>; |
| 106 | clocks = <&ccu CLK_CPU>; | 106 | clocks = <&ccu CLK_CPU>; |
| 107 | clock-latency = <244144>; /* 8 32k periods */ | 107 | clock-latency = <244144>; /* 8 32k periods */ |
| 108 | operating-points = < | 108 | operating-points = |
| 109 | /* kHz uV */ | 109 | /* kHz uV */ |
| 110 | 1008000 1200000 | 110 | <1008000 1200000>, |
| 111 | 864000 1200000 | 111 | <864000 1200000>, |
| 112 | 720000 1100000 | 112 | <720000 1100000>, |
| 113 | 480000 1000000 | 113 | <480000 1000000>; |
| 114 | >; | ||
| 115 | #cooling-cells = <2>; | 114 | #cooling-cells = <2>; |
| 116 | }; | 115 | }; |
| 117 | 116 | ||
| @@ -121,13 +120,12 @@ · 3 unmodified lines | |||
| 121 | reg = <1>; | 120 | reg = <1>; |
| 122 | clocks = <&ccu CLK_CPU>; | 121 | clocks = <&ccu CLK_CPU>; |
| 123 | clock-latency = <244144>; /* 8 32k periods */ | 122 | clock-latency = <244144>; /* 8 32k periods */ |
| 124 | operating-points = < | 123 | operating-points = |
| 125 | /* kHz uV */ | 124 | /* kHz uV */ |
| 126 | 1008000 1200000 | 125 | <1008000 1200000>, |
| 127 | 864000 1200000 | 126 | <864000 1200000>, |
| 128 | 720000 1100000 | 127 | <720000 1100000>, |
| 129 | 480000 1000000 | 128 | <480000 1000000>; |
| 130 | >; | ||
| 131 | #cooling-cells = <2>; | 129 | #cooling-cells = <2>; |
| 132 | }; | 130 | }; |
| 133 | 131 | ||
| @@ -137,13 +135,12 @@ · 3 unmodified lines | |||
| 137 | reg = <2>; | 135 | reg = <2>; |
| 138 | clocks = <&ccu CLK_CPU>; | 136 | clocks = <&ccu CLK_CPU>; |
| 139 | clock-latency = <244144>; /* 8 32k periods */ | 137 | clock-latency = <244144>; /* 8 32k periods */ |
| 140 | operating-points = < | 138 | operating-points = |
| 141 | /* kHz uV */ | 139 | /* kHz uV */ |
| 142 | 1008000 1200000 | 140 | <1008000 1200000>, |
| 143 | 864000 1200000 | 141 | <864000 1200000>, |
| 144 | 720000 1100000 | 142 | <720000 1100000>, |
| 145 | 480000 1000000 | 143 | <480000 1000000>; |
| 146 | >; | ||
| 147 | #cooling-cells = <2>; | 144 | #cooling-cells = <2>; |
| 148 | }; | 145 | }; |
| 149 | 146 | ||
| @@ -153,13 +150,12 @@ · 3 unmodified lines | |||
| 153 | reg = <3>; | 150 | reg = <3>; |
| 154 | clocks = <&ccu CLK_CPU>; | 151 | clocks = <&ccu CLK_CPU>; |
| 155 | clock-latency = <244144>; /* 8 32k periods */ | 152 | clock-latency = <244144>; /* 8 32k periods */ |
| 156 | operating-points = < | 153 | operating-points = |
| 157 | /* kHz uV */ | 154 | /* kHz uV */ |
| 158 | 1008000 1200000 | 155 | <1008000 1200000>, |
| 159 | 864000 1200000 | 156 | <864000 1200000>, |
| 160 | 720000 1100000 | 157 | <720000 1100000>, |
| 161 | 480000 1000000 | 158 | <480000 1000000>; |
| 162 | >; | ||
| 163 | #cooling-cells = <2>; | 159 | #cooling-cells = <2>; |
| 164 | }; | 160 | }; |
| 165 | }; | 161 | }; |
| @@ -104,16 +104,15 @@ · 103 unmodified lines | |||
| 104 | 104 | ||
| 105 | &cpu0 { | 105 | &cpu0 { |
| 106 | cpu-supply = <®_dcdc2>; | 106 | cpu-supply = <®_dcdc2>; |
| 107 | operating-points = < | 107 | operating-points = |
| 108 | /* kHz uV */ | 108 | /* kHz uV */ |
| 109 | 960000 1400000 | 109 | <960000 1400000>, |
| 110 | 912000 1400000 | 110 | <912000 1400000>, |
| 111 | 864000 1350000 | 111 | <864000 1350000>, |
| 112 | 720000 1250000 | 112 | <720000 1250000>, |
| 113 | 528000 1150000 | 113 | <528000 1150000>, |
| 114 | 312000 1100000 | 114 | <312000 1100000>, |
| 115 | 144000 1050000 | 115 | <144000 1050000>; |
| 116 | >; | ||
| 117 | }; | 116 | }; |
| 118 | 117 | ||
| 119 | &de { | 118 | &de { |
| @@ -106,16 +106,15 @@ · 105 unmodified lines | |||
| 106 | reg = <0>; | 106 | reg = <0>; |
| 107 | clocks = <&ccu CLK_CPU>; | 107 | clocks = <&ccu CLK_CPU>; |
| 108 | clock-latency = <244144>; /* 8 32k periods */ | 108 | clock-latency = <244144>; /* 8 32k periods */ |
| 109 | operating-points = < | 109 | operating-points = |
| 110 | /* kHz uV */ | 110 | /* kHz uV */ |
| 111 | 960000 1400000 | 111 | <960000 1400000>, |
| 112 | 912000 1400000 | 112 | <912000 1400000>, |
| 113 | 864000 1300000 | 113 | <864000 1300000>, |
| 114 | 720000 1200000 | 114 | <720000 1200000>, |
| 115 | 528000 1100000 | 115 | <528000 1100000>, |
| 116 | 312000 1000000 | 116 | <312000 1000000>, |
| 117 | 144000 1000000 | 117 | <144000 1000000>; |
| 118 | >; | ||
| 119 | #cooling-cells = <2>; | 118 | #cooling-cells = <2>; |
| 120 | }; | 119 | }; |
| 121 | 120 | ||
| @@ -125,16 +124,15 @@ · 3 unmodified lines | |||
| 125 | reg = <1>; | 124 | reg = <1>; |
| 126 | clocks = <&ccu CLK_CPU>; | 125 | clocks = <&ccu CLK_CPU>; |
| 127 | clock-latency = <244144>; /* 8 32k periods */ | 126 | clock-latency = <244144>; /* 8 32k periods */ |
| 128 | operating-points = < | 127 | operating-points = |
| 129 | /* kHz uV */ | 128 | /* kHz uV */ |
| 130 | 960000 1400000 | 129 | <960000 1400000>, |
| 131 | 912000 1400000 | 130 | <912000 1400000>, |
| 132 | 864000 1300000 | 131 | <864000 1300000>, |
| 133 | 720000 1200000 | 132 | <720000 1200000>, |
| 134 | 528000 1100000 | 133 | <528000 1100000>, |
| 135 | 312000 1000000 | 134 | <312000 1000000>, |
| 136 | 144000 1000000 | 135 | <144000 1000000>; |
| 137 | >; | ||
| 138 | #cooling-cells = <2>; | 136 | #cooling-cells = <2>; |
| 139 | }; | 137 | }; |
| 140 | }; | 138 | }; |
| @@ -46,7 +46,7 @@ · 45 unmodified lines | |||
| 46 | #include <dt-bindings/thermal/thermal.h> | 46 | #include <dt-bindings/thermal/thermal.h> |
| 47 | 47 | ||
| 48 | / { | 48 | / { |
| 49 | cpu0_opp_table: opp_table0 { | 49 | cpu0_opp_table: opp-table-cpu { |
| 50 | compatible = "operating-points-v2"; | 50 | compatible = "operating-points-v2"; |
| 51 | opp-shared; | 51 | opp-shared; |
| 52 | 52 | ||
| @@ -164,7 +164,7 @@ · 111 unmodified lines | |||
| 164 | io-channels = <&ths>; | 164 | io-channels = <&ths>; |
| 165 | }; | 165 | }; |
| 166 | 166 | ||
| 167 | mali_opp_table: gpu-opp-table { | 167 | mali_opp_table: opp-table-gpu { |
| 168 | compatible = "operating-points-v2"; | 168 | compatible = "operating-points-v2"; |
| 169 | 169 | ||
| 170 | opp-144000000 { | 170 | opp-144000000 { |
| @@ -169,7 +169,7 @@ · 168 unmodified lines | |||
| 169 | status = "okay"; | 169 | status = "okay"; |
| 170 | 170 | ||
| 171 | touchscreen@38 { | 171 | touchscreen@38 { |
| 172 | compatible = "edt,edt-ft5x06"; | 172 | compatible = "edt,edt-ft5206"; |
| 173 | reg = <0x38>; | 173 | reg = <0x38>; |
| 174 | interrupt-parent = <&r_pio>; | 174 | interrupt-parent = <&r_pio>; |
| 175 | interrupts = <0 7 IRQ_TYPE_EDGE_FALLING>; /* PL7 */ | 175 | interrupts = <0 7 IRQ_TYPE_EDGE_FALLING>; /* PL7 */ |
| @@ -200,7 +200,7 @@ · 199 unmodified lines | |||
| 200 | status = "disabled"; | 200 | status = "disabled"; |
| 201 | }; | 201 | }; |
| 202 | 202 | ||
| 203 | cpu0_opp_table: opp_table0 { | 203 | cpu0_opp_table: opp-table-cluster0 { |
| 204 | compatible = "operating-points-v2"; | 204 | compatible = "operating-points-v2"; |
| 205 | opp-shared; | 205 | opp-shared; |
| 206 | 206 | ||
| @@ -253,7 +253,7 @@ · 46 unmodified lines | |||
| 253 | }; | 253 | }; |
| 254 | }; | 254 | }; |
| 255 | 255 | ||
| 256 | cpu1_opp_table: opp_table1 { | 256 | cpu1_opp_table: opp-table-cluster1 { |
| 257 | compatible = "operating-points-v2"; | 257 | compatible = "operating-points-v2"; |
| 258 | opp-shared; | 258 | opp-shared; |
| 259 | 259 | ||
| @@ -44,7 +44,7 @@ · 43 unmodified lines | |||
| 44 | #include <dt-bindings/thermal/thermal.h> | 44 | #include <dt-bindings/thermal/thermal.h> |
| 45 | 45 | ||
| 46 | / { | 46 | / { |
| 47 | cpu0_opp_table: opp_table0 { | 47 | cpu0_opp_table: opp-table-cpu { |
| 48 | compatible = "operating-points-v2"; | 48 | compatible = "operating-points-v2"; |
| 49 | opp-shared; | 49 | opp-shared; |
| 50 | 50 | ||
| @@ -112,7 +112,7 @@ · 61 unmodified lines | |||
| 112 | }; | 112 | }; |
| 113 | }; | 113 | }; |
| 114 | 114 | ||
| 115 | gpu_opp_table: gpu-opp-table { | 115 | gpu_opp_table: opp-table-gpu { |
| 116 | compatible = "operating-points-v2"; | 116 | compatible = "operating-points-v2"; |
| 117 | 117 | ||
| 118 | opp-120000000 { | 118 | opp-120000000 { |
| @@ -736,6 +736,45 @@ · 735 unmodified lines | |||
| 736 | status = "disabled"; | 736 | status = "disabled"; |
| 737 | }; | 737 | }; |
| 738 | 738 | ||
| 739 | i2s0: i2s@1c22000 { | ||
| 740 | #sound-dai-cells = <0>; | ||
| 741 | compatible = "allwinner,sun8i-r40-i2s", | ||
| 742 | "allwinner,sun8i-h3-i2s"; | ||
| 743 | reg = <0x01c22000 0x400>; | ||
| 744 | interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>; | ||
| 745 | clocks = <&ccu CLK_BUS_I2S0>, <&ccu CLK_I2S0>; | ||
| 746 | clock-names = "apb", "mod"; | ||
| 747 | resets = <&ccu RST_BUS_I2S0>; | ||
| 748 | dmas = <&dma 3>, <&dma 3>; | ||
| 749 | dma-names = "rx", "tx"; | ||
| 750 | }; | ||
| 751 | |||
| 752 | i2s1: i2s@1c22400 { | ||
| 753 | #sound-dai-cells = <0>; | ||
| 754 | compatible = "allwinner,sun8i-r40-i2s", | ||
| 755 | "allwinner,sun8i-h3-i2s"; | ||
| 756 | reg = <0x01c22400 0x400>; | ||
| 757 | interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>; | ||
| 758 | clocks = <&ccu CLK_BUS_I2S1>, <&ccu CLK_I2S1>; | ||
| 759 | clock-names = "apb", "mod"; | ||
| 760 | resets = <&ccu RST_BUS_I2S1>; | ||
| 761 | dmas = <&dma 4>, <&dma 4>; | ||
| 762 | dma-names = "rx", "tx"; | ||
| 763 | }; | ||
| 764 | |||
| 765 | i2s2: i2s@1c22800 { | ||
| 766 | #sound-dai-cells = <0>; | ||
| 767 | compatible = "allwinner,sun8i-r40-i2s", | ||
| 768 | "allwinner,sun8i-h3-i2s"; | ||
| 769 | reg = <0x01c22800 0x400>; | ||
| 770 | interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>; | ||
| 771 | clocks = <&ccu CLK_BUS_I2S2>, <&ccu CLK_I2S2>; | ||
| 772 | clock-names = "apb", "mod"; | ||
| 773 | resets = <&ccu RST_BUS_I2S2>; | ||
| 774 | dmas = <&dma 6>, <&dma 6>; | ||
| 775 | dma-names = "rx", "tx"; | ||
| 776 | }; | ||
| 777 | |||
| 739 | ths: thermal-sensor@1c24c00 { | 778 | ths: thermal-sensor@1c24c00 { |
| 740 | compatible = "allwinner,sun8i-r40-ths"; | 779 | compatible = "allwinner,sun8i-r40-ths"; |
| 741 | reg = <0x01c24c00 0x100>; | 780 | reg = <0x01c24c00 0x100>; |
| @@ -115,7 +115,7 @@ · 114 unmodified lines | |||
| 115 | &spi0 { | 115 | &spi0 { |
| 116 | status = "okay"; | 116 | status = "okay"; |
| 117 | 117 | ||
| 118 | spi-flash@0 { | 118 | flash@0 { |
| 119 | reg = <0>; | 119 | reg = <0>; |
| 120 | compatible = "jedec,spi-nor"; | 120 | compatible = "jedec,spi-nor"; |
| 121 | spi-max-frequency = <50000000>; | 121 | spi-max-frequency = <50000000>; |
| @@ -87,7 +87,7 @@ · 86 unmodified lines | |||
| 87 | }; | 87 | }; |
| 88 | 88 | ||
| 89 | vga-dac { | 89 | vga-dac { |
| 90 | compatible = "corpro,gm7123", "adi,adv7123", "dumb-vga-dac"; | 90 | compatible = "corpro,gm7123", "adi,adv7123"; |
| 91 | vdd-supply = <®_dcdc1>; | 91 | vdd-supply = <®_dcdc1>; |
| 92 | 92 | ||
| 93 | ports { | 93 | ports { |
| @@ -156,7 +156,7 @@ · 155 unmodified lines | |||
| 156 | &spi0 { | 156 | &spi0 { |
| 157 | status = "okay"; | 157 | status = "okay"; |
| 158 | 158 | ||
| 159 | spiflash@0 { | 159 | flash@0 { |
| 160 | compatible = "jedec,spi-nor"; | 160 | compatible = "jedec,spi-nor"; |
| 161 | reg = <0>; | 161 | reg = <0>; |
| 162 | spi-max-frequency = <50000000>; | 162 | spi-max-frequency = <50000000>; |
| @@ -691,7 +691,7 @@ · 690 unmodified lines | |||
| 691 | }; | 691 | }; |
| 692 | 692 | ||
| 693 | usb@7d000000 { | 693 | usb@7d000000 { |
| 694 | compatible = "nvidia,tegra114-ehci", "nvidia,tegra30-ehci", "usb-ehci"; | 694 | compatible = "nvidia,tegra114-ehci", "nvidia,tegra30-ehci"; |
| 695 | reg = <0x7d000000 0x4000>; | 695 | reg = <0x7d000000 0x4000>; |
| 696 | interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; | 696 | interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; |
| 697 | phy_type = "utmi"; | 697 | phy_type = "utmi"; |
| @@ -706,6 +706,7 @@ · 8 unmodified lines | |||
| 706 | compatible = "nvidia,tegra114-usb-phy", "nvidia,tegra30-usb-phy"; | 706 | compatible = "nvidia,tegra114-usb-phy", "nvidia,tegra30-usb-phy"; |
| 707 | reg = <0x7d000000 0x4000>, | 707 | reg = <0x7d000000 0x4000>, |
| 708 | <0x7d000000 0x4000>; | 708 | <0x7d000000 0x4000>; |
| 709 | interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; | ||
| 709 | phy_type = "utmi"; | 710 | phy_type = "utmi"; |
| 710 | clocks = <&tegra_car TEGRA114_CLK_USBD>, | 711 | clocks = <&tegra_car TEGRA114_CLK_USBD>, |
| 711 | <&tegra_car TEGRA114_CLK_PLL_U>, | 712 | <&tegra_car TEGRA114_CLK_PLL_U>, |
| @@ -725,11 +726,12 @@ · 13 unmodified lines | |||
| 725 | nvidia,hsdiscon-level = <5>; | 726 | nvidia,hsdiscon-level = <5>; |
| 726 | nvidia,xcvr-hsslew = <12>; | 727 | nvidia,xcvr-hsslew = <12>; |
| 727 | nvidia,has-utmi-pad-registers; | 728 | nvidia,has-utmi-pad-registers; |
| 729 | nvidia,pmc = <&tegra_pmc 0>; | ||
| 728 | status = "disabled"; | 730 | status = "disabled"; |
| 729 | }; | 731 | }; |
| 730 | 732 | ||
| 731 | usb@7d008000 { | 733 | usb@7d008000 { |
| 732 | compatible = "nvidia,tegra114-ehci", "nvidia,tegra30-ehci", "usb-ehci"; | 734 | compatible = "nvidia,tegra114-ehci", "nvidia,tegra30-ehci"; |
| 733 | reg = <0x7d008000 0x4000>; | 735 | reg = <0x7d008000 0x4000>; |
| 734 | interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>; | 736 | interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>; |
| 735 | phy_type = "utmi"; | 737 | phy_type = "utmi"; |
| @@ -744,6 +746,7 @@ · 8 unmodified lines | |||
| 744 | compatible = "nvidia,tegra114-usb-phy", "nvidia,tegra30-usb-phy"; | 746 | compatible = "nvidia,tegra114-usb-phy", "nvidia,tegra30-usb-phy"; |
| 745 | reg = <0x7d008000 0x4000>, | 747 | reg = <0x7d008000 0x4000>, |
| 746 | <0x7d000000 0x4000>; | 748 | <0x7d000000 0x4000>; |
| 749 | interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>; | ||
| 747 | phy_type = "utmi"; | 750 | phy_type = "utmi"; |
| 748 | clocks = <&tegra_car TEGRA114_CLK_USB3>, | 751 | clocks = <&tegra_car TEGRA114_CLK_USB3>, |
| 749 | <&tegra_car TEGRA114_CLK_PLL_U>, | 752 | <&tegra_car TEGRA114_CLK_PLL_U>, |
| @@ -762,6 +765,7 @@ · 12 unmodified lines | |||
| 762 | nvidia,hssquelch-level = <2>; | 765 | nvidia,hssquelch-level = <2>; |
| 763 | nvidia,hsdiscon-level = <5>; | 766 | nvidia,hsdiscon-level = <5>; |
| 764 | nvidia,xcvr-hsslew = <12>; | 767 | nvidia,xcvr-hsslew = <12>; |
| 768 | nvidia,pmc = <&tegra_pmc 2>; | ||
| 765 | status = "disabled"; | 769 | status = "disabled"; |
| 766 | }; | 770 | }; |
| 767 | 771 | ||
| @@ -1079,7 +1079,7 @@ · 1078 unmodified lines | |||
| 1079 | }; | 1079 | }; |
| 1080 | 1080 | ||
| 1081 | usb@7d000000 { | 1081 | usb@7d000000 { |
| 1082 | compatible = "nvidia,tegra124-ehci", "nvidia,tegra30-ehci", "usb-ehci"; | 1082 | compatible = "nvidia,tegra124-ehci", "nvidia,tegra30-ehci"; |
| 1083 | reg = <0x0 0x7d000000 0x0 0x4000>; | 1083 | reg = <0x0 0x7d000000 0x0 0x4000>; |
| 1084 | interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; | 1084 | interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; |
| 1085 | phy_type = "utmi"; | 1085 | phy_type = "utmi"; |
| @@ -1094,6 +1094,7 @@ · 8 unmodified lines | |||
| 1094 | compatible = "nvidia,tegra124-usb-phy", "nvidia,tegra30-usb-phy"; | 1094 | compatible = "nvidia,tegra124-usb-phy", "nvidia,tegra30-usb-phy"; |
| 1095 | reg = <0x0 0x7d000000 0x0 0x4000>, | 1095 | reg = <0x0 0x7d000000 0x0 0x4000>, |
| 1096 | <0x0 0x7d000000 0x0 0x4000>; | 1096 | <0x0 0x7d000000 0x0 0x4000>; |
| 1097 | interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; | ||
| 1097 | phy_type = "utmi"; | 1098 | phy_type = "utmi"; |
| 1098 | clocks = <&tegra_car TEGRA124_CLK_USBD>, | 1099 | clocks = <&tegra_car TEGRA124_CLK_USBD>, |
| 1099 | <&tegra_car TEGRA124_CLK_PLL_U>, | 1100 | <&tegra_car TEGRA124_CLK_PLL_U>, |
| @@ -1113,11 +1114,12 @@ · 13 unmodified lines | |||
| 1113 | nvidia,hsdiscon-level = <5>; | 1114 | nvidia,hsdiscon-level = <5>; |
| 1114 | nvidia,xcvr-hsslew = <12>; | 1115 | nvidia,xcvr-hsslew = <12>; |
| 1115 | nvidia,has-utmi-pad-registers; | 1116 | nvidia,has-utmi-pad-registers; |
| 1117 | nvidia,pmc = <&tegra_pmc 0>; | ||
| 1116 | status = "disabled"; | 1118 | status = "disabled"; |
| 1117 | }; | 1119 | }; |
| 1118 | 1120 | ||
| 1119 | usb@7d004000 { | 1121 | usb@7d004000 { |
| 1120 | compatible = "nvidia,tegra124-ehci", "nvidia,tegra30-ehci", "usb-ehci"; | 1122 | compatible = "nvidia,tegra124-ehci", "nvidia,tegra30-ehci"; |
| 1121 | reg = <0x0 0x7d004000 0x0 0x4000>; | 1123 | reg = <0x0 0x7d004000 0x0 0x4000>; |
| 1122 | interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>; | 1124 | interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>; |
| 1123 | phy_type = "utmi"; | 1125 | phy_type = "utmi"; |
| @@ -1132,6 +1134,7 @@ · 8 unmodified lines | |||
| 1132 | compatible = "nvidia,tegra124-usb-phy", "nvidia,tegra30-usb-phy"; | 1134 | compatible = "nvidia,tegra124-usb-phy", "nvidia,tegra30-usb-phy"; |
| 1133 | reg = <0x0 0x7d004000 0x0 0x4000>, | 1135 | reg = <0x0 0x7d004000 0x0 0x4000>, |
| 1134 | <0x0 0x7d000000 0x0 0x4000>; | 1136 | <0x0 0x7d000000 0x0 0x4000>; |
| 1137 | interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>; | ||
| 1135 | phy_type = "utmi"; | 1138 | phy_type = "utmi"; |
| 1136 | clocks = <&tegra_car TEGRA124_CLK_USB2>, | 1139 | clocks = <&tegra_car TEGRA124_CLK_USB2>, |
| 1137 | <&tegra_car TEGRA124_CLK_PLL_U>, | 1140 | <&tegra_car TEGRA124_CLK_PLL_U>, |
| @@ -1150,11 +1153,12 @@ · 12 unmodified lines | |||
| 1150 | nvidia,hssquelch-level = <2>; | 1153 | nvidia,hssquelch-level = <2>; |
| 1151 | nvidia,hsdiscon-level = <5>; | 1154 | nvidia,hsdiscon-level = <5>; |
| 1152 | nvidia,xcvr-hsslew = <12>; | 1155 | nvidia,xcvr-hsslew = <12>; |
| 1156 | nvidia,pmc = <&tegra_pmc 1>; | ||
| 1153 | status = "disabled"; | 1157 | status = "disabled"; |
| 1154 | }; | 1158 | }; |
| 1155 | 1159 | ||
| 1156 | usb@7d008000 { | 1160 | usb@7d008000 { |
| 1157 | compatible = "nvidia,tegra124-ehci", "nvidia,tegra30-ehci", "usb-ehci"; | 1161 | compatible = "nvidia,tegra124-ehci", "nvidia,tegra30-ehci"; |
| 1158 | reg = <0x0 0x7d008000 0x0 0x4000>; | 1162 | reg = <0x0 0x7d008000 0x0 0x4000>; |
| 1159 | interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>; | 1163 | interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>; |
| 1160 | phy_type = "utmi"; | 1164 | phy_type = "utmi"; |
| @@ -1169,6 +1173,7 @@ · 8 unmodified lines | |||
| 1169 | compatible = "nvidia,tegra124-usb-phy", "nvidia,tegra30-usb-phy"; | 1173 | compatible = "nvidia,tegra124-usb-phy", "nvidia,tegra30-usb-phy"; |
| 1170 | reg = <0x0 0x7d008000 0x0 0x4000>, | 1174 | reg = <0x0 0x7d008000 0x0 0x4000>, |
| 1171 | <0x0 0x7d000000 0x0 0x4000>; | 1175 | <0x0 0x7d000000 0x0 0x4000>; |
| 1176 | interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>; | ||
| 1172 | phy_type = "utmi"; | 1177 | phy_type = "utmi"; |
| 1173 | clocks = <&tegra_car TEGRA124_CLK_USB3>, | 1178 | clocks = <&tegra_car TEGRA124_CLK_USB3>, |
| 1174 | <&tegra_car TEGRA124_CLK_PLL_U>, | 1179 | <&tegra_car TEGRA124_CLK_PLL_U>, |
| @@ -1187,6 +1192,7 @@ · 12 unmodified lines | |||
| 1187 | nvidia,hssquelch-level = <2>; | 1192 | nvidia,hssquelch-level = <2>; |
| 1188 | nvidia,hsdiscon-level = <5>; | 1193 | nvidia,hsdiscon-level = <5>; |
| 1189 | nvidia,xcvr-hsslew = <12>; | 1194 | nvidia,xcvr-hsslew = <12>; |
| 1195 | nvidia,pmc = <&tegra_pmc 2>; | ||
| 1190 | status = "disabled"; | 1196 | status = "disabled"; |
| 1191 | }; | 1197 | }; |
| 1192 | 1198 | ||
| @@ -393,6 +393,10 @@ · 392 unmodified lines | |||
| 393 | bluetooth { | 393 | bluetooth { |
| 394 | compatible = "brcm,bcm4329-bt"; | 394 | compatible = "brcm,bcm4329-bt"; |
| 395 | 395 | ||
| 396 | interrupt-parent = <&gpio>; | ||
| 397 | interrupts = <TEGRA_GPIO(U, 6) IRQ_TYPE_EDGE_RISING>; | ||
| 398 | interrupt-names = "host-wakeup"; | ||
| 399 | |||
| 396 | /* PLLP 216MHz / 16 / 4 */ | 400 | /* PLLP 216MHz / 16 / 4 */ |
| 397 | max-speed = <3375000>; | 401 | max-speed = <3375000>; |
| 398 | 402 | ||
| @@ -403,7 +407,6 @@ · 4 unmodified lines | |||
| 403 | vddio-supply = <&vdd_1v8_sys>; | 407 | vddio-supply = <&vdd_1v8_sys>; |
| 404 | 408 | ||
| 405 | device-wakeup-gpios = <&gpio TEGRA_GPIO(U, 1) GPIO_ACTIVE_HIGH>; | 409 | device-wakeup-gpios = <&gpio TEGRA_GPIO(U, 1) GPIO_ACTIVE_HIGH>; |
| 406 | host-wakeup-gpios = <&gpio TEGRA_GPIO(U, 6) GPIO_ACTIVE_HIGH>; | ||
| 407 | shutdown-gpios = <&gpio TEGRA_GPIO(U, 0) GPIO_ACTIVE_HIGH>; | 410 | shutdown-gpios = <&gpio TEGRA_GPIO(U, 0) GPIO_ACTIVE_HIGH>; |
| 408 | }; | 411 | }; |
| 409 | }; | 412 | }; |
| @@ -543,7 +546,7 @@ · 133 unmodified lines | |||
| 543 | status = "okay"; | 546 | status = "okay"; |
| 544 | 547 | ||
| 545 | magnetometer@c { | 548 | magnetometer@c { |
| 546 | compatible = "ak,ak8975"; | 549 | compatible = "asahi-kasei,ak8975"; |
| 547 | reg = <0x0c>; | 550 | reg = <0x0c>; |
| 548 | 551 | ||
| 549 | interrupt-parent = <&gpio>; | 552 | interrupt-parent = <&gpio>; |
| @@ -573,8 +573,6 @@ · 572 unmodified lines | |||
| 573 | 573 | ||
| 574 | brightness-levels = <0 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 255>; | 574 | brightness-levels = <0 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 255>; |
| 575 | default-brightness-level = <10>; | 575 | default-brightness-level = <10>; |
| 576 | |||
| 577 | backlight-boot-off; | ||
| 578 | }; | 576 | }; |
| 579 | 577 | ||
| 580 | clk32k_in: clock@0 { | 578 | clk32k_in: clock@0 { |
| @@ -744,11 +744,10 @@ · 743 unmodified lines | |||
| 744 | }; | 744 | }; |
| 745 | 745 | ||
| 746 | usb@c5000000 { | 746 | usb@c5000000 { |
| 747 | compatible = "nvidia,tegra20-ehci", "usb-ehci"; | 747 | compatible = "nvidia,tegra20-ehci"; |
| 748 | reg = <0xc5000000 0x4000>; | 748 | reg = <0xc5000000 0x4000>; |
| 749 | interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; | 749 | interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; |
| 750 | phy_type = "utmi"; | 750 | phy_type = "utmi"; |
| 751 | nvidia,has-legacy-mode; | ||
| 752 | clocks = <&tegra_car TEGRA20_CLK_USBD>; | 751 | clocks = <&tegra_car TEGRA20_CLK_USBD>; |
| 753 | resets = <&tegra_car 22>; | 752 | resets = <&tegra_car 22>; |
| 754 | reset-names = "usb"; | 753 | reset-names = "usb"; |
| @@ -761,6 +760,7 @@ · 6 unmodified lines | |||
| 761 | compatible = "nvidia,tegra20-usb-phy"; | 760 | compatible = "nvidia,tegra20-usb-phy"; |
| 762 | reg = <0xc5000000 0x4000>, | 761 | reg = <0xc5000000 0x4000>, |
| 763 | <0xc5000000 0x4000>; | 762 | <0xc5000000 0x4000>; |
| 763 | interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; | ||
| 764 | phy_type = "utmi"; | 764 | phy_type = "utmi"; |
| 765 | clocks = <&tegra_car TEGRA20_CLK_USBD>, | 765 | clocks = <&tegra_car TEGRA20_CLK_USBD>, |
| 766 | <&tegra_car TEGRA20_CLK_PLL_U>, | 766 | <&tegra_car TEGRA20_CLK_PLL_U>, |
| @@ -779,11 +779,12 @@ · 12 unmodified lines | |||
| 779 | nvidia,xcvr-lsfslew = <1>; | 779 | nvidia,xcvr-lsfslew = <1>; |
| 780 | nvidia,xcvr-lsrslew = <1>; | 780 | nvidia,xcvr-lsrslew = <1>; |
| 781 | nvidia,has-utmi-pad-registers; | 781 | nvidia,has-utmi-pad-registers; |
| 782 | nvidia,pmc = <&tegra_pmc 0>; | ||
| 782 | status = "disabled"; | 783 | status = "disabled"; |
| 783 | }; | 784 | }; |
| 784 | 785 | ||
| 785 | usb@c5004000 { | 786 | usb@c5004000 { |
| 786 | compatible = "nvidia,tegra20-ehci", "usb-ehci"; | 787 | compatible = "nvidia,tegra20-ehci"; |
| 787 | reg = <0xc5004000 0x4000>; | 788 | reg = <0xc5004000 0x4000>; |
| 788 | interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>; | 789 | interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>; |
| 789 | phy_type = "ulpi"; | 790 | phy_type = "ulpi"; |
| @@ -797,6 +798,7 @@ · 7 unmodified lines | |||
| 797 | phy2: usb-phy@c5004000 { | 798 | phy2: usb-phy@c5004000 { |
| 798 | compatible = "nvidia,tegra20-usb-phy"; | 799 | compatible = "nvidia,tegra20-usb-phy"; |
| 799 | reg = <0xc5004000 0x4000>; | 800 | reg = <0xc5004000 0x4000>; |
| 801 | interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>; | ||
| 800 | phy_type = "ulpi"; | 802 | phy_type = "ulpi"; |
| 801 | clocks = <&tegra_car TEGRA20_CLK_USB2>, | 803 | clocks = <&tegra_car TEGRA20_CLK_USB2>, |
| 802 | <&tegra_car TEGRA20_CLK_PLL_U>, | 804 | <&tegra_car TEGRA20_CLK_PLL_U>, |
| @@ -805,11 +807,12 @@ · 2 unmodified lines | |||
| 805 | resets = <&tegra_car 58>, <&tegra_car 22>; | 807 | resets = <&tegra_car 58>, <&tegra_car 22>; |
| 806 | reset-names = "usb", "utmi-pads"; | 808 | reset-names = "usb", "utmi-pads"; |
| 807 | #phy-cells = <0>; | 809 | #phy-cells = <0>; |
| 810 | nvidia,pmc = <&tegra_pmc 1>; | ||
| 808 | status = "disabled"; | 811 | status = "disabled"; |
| 809 | }; | 812 | }; |
| 810 | 813 | ||
| 811 | usb@c5008000 { | 814 | usb@c5008000 { |
| 812 | compatible = "nvidia,tegra20-ehci", "usb-ehci"; | 815 | compatible = "nvidia,tegra20-ehci"; |
| 813 | reg = <0xc5008000 0x4000>; | 816 | reg = <0xc5008000 0x4000>; |
| 814 | interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>; | 817 | interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>; |
| 815 | phy_type = "utmi"; | 818 | phy_type = "utmi"; |
| @@ -824,6 +827,7 @@ · 8 unmodified lines | |||
| 824 | compatible = "nvidia,tegra20-usb-phy"; | 827 | compatible = "nvidia,tegra20-usb-phy"; |
| 825 | reg = <0xc5008000 0x4000>, | 828 | reg = <0xc5008000 0x4000>, |
| 826 | <0xc5000000 0x4000>; | 829 | <0xc5000000 0x4000>; |
| 830 | interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>; | ||
| 827 | phy_type = "utmi"; | 831 | phy_type = "utmi"; |
| 828 | clocks = <&tegra_car TEGRA20_CLK_USB3>, | 832 | clocks = <&tegra_car TEGRA20_CLK_USB3>, |
| 829 | <&tegra_car TEGRA20_CLK_PLL_U>, | 833 | <&tegra_car TEGRA20_CLK_PLL_U>, |
| @@ -840,6 +844,7 @@ · 10 unmodified lines | |||
| 840 | nvidia,xcvr-setup = <9>; | 844 | nvidia,xcvr-setup = <9>; |
| 841 | nvidia,xcvr-lsfslew = <2>; | 845 | nvidia,xcvr-lsfslew = <2>; |
| 842 | nvidia,xcvr-lsrslew = <2>; | 846 | nvidia,xcvr-lsrslew = <2>; |
| 847 | nvidia,pmc = <&tegra_pmc 2>; | ||
| 843 | status = "disabled"; | 848 | status = "disabled"; |
| 844 | }; | 849 | }; |
| 845 | 850 | ||
| @@ -819,6 +819,10 @@ · 818 unmodified lines | |||
| 819 | bluetooth { | 819 | bluetooth { |
| 820 | compatible = "brcm,bcm4330-bt"; | 820 | compatible = "brcm,bcm4330-bt"; |
| 821 | 821 | ||
| 822 | interrupt-parent = <&gpio>; | ||
| 823 | interrupts = <TEGRA_GPIO(U, 6) IRQ_TYPE_EDGE_RISING>; | ||
| 824 | interrupt-names = "host-wakeup"; | ||
| 825 | |||
| 822 | max-speed = <4000000>; | 826 | max-speed = <4000000>; |
| 823 | 827 | ||
| 824 | clocks = <&tegra_pmc TEGRA_PMC_CLK_BLINK>; | 828 | clocks = <&tegra_pmc TEGRA_PMC_CLK_BLINK>; |
| @@ -828,7 +832,6 @@ · 3 unmodified lines | |||
| 828 | vddio-supply = <&vdd_1v8>; | 832 | vddio-supply = <&vdd_1v8>; |
| 829 | 833 | ||
| 830 | device-wakeup-gpios = <&gpio TEGRA_GPIO(U, 1) GPIO_ACTIVE_HIGH>; | 834 | device-wakeup-gpios = <&gpio TEGRA_GPIO(U, 1) GPIO_ACTIVE_HIGH>; |
| 831 | host-wakeup-gpios = <&gpio TEGRA_GPIO(U, 6) GPIO_ACTIVE_HIGH>; | ||
| 832 | shutdown-gpios = <&gpio TEGRA_GPIO(U, 0) GPIO_ACTIVE_HIGH>; | 835 | shutdown-gpios = <&gpio TEGRA_GPIO(U, 0) GPIO_ACTIVE_HIGH>; |
| 833 | }; | 836 | }; |
| 834 | }; | 837 | }; |
| @@ -941,9 +944,29 @@ · 106 unmodified lines | |||
| 941 | interrupts = <TEGRA_GPIO(V, 1) IRQ_TYPE_EDGE_BOTH>; | 944 | interrupts = <TEGRA_GPIO(V, 1) IRQ_TYPE_EDGE_BOTH>; |
| 942 | 945 | ||
| 943 | summit,enable-charge-control = <SMB3XX_CHG_ENABLE_PIN_ACTIVE_LOW>; | 946 | summit,enable-charge-control = <SMB3XX_CHG_ENABLE_PIN_ACTIVE_LOW>; |
| 947 | summit,inok-polarity = <SMB3XX_SYSOK_INOK_ACTIVE_LOW>; | ||
| 944 | summit,enable-usb-charging; | 948 | summit,enable-usb-charging; |
| 945 | 949 | ||
| 946 | monitored-battery = <&battery_cell>; | 950 | monitored-battery = <&battery_cell>; |
| 951 | |||
| 952 | usb_vbus: usb-vbus { | ||
| 953 | regulator-name = "usb_vbus"; | ||
| 954 | regulator-min-microvolt = <5000000>; | ||
| 955 | regulator-max-microvolt = <5000000>; | ||
| 956 | regulator-min-microamp = <750000>; | ||
| 957 | regulator-max-microamp = <750000>; | ||
| 958 | |||
| 959 | /* | ||
| 960 | * SMB347 INOK input pin is connected to PMIC's | ||
| 961 | * ACOK output, which is fixed to ACTIVE_LOW as | ||
| 962 | * long as battery voltage is in a good range. | ||
| 963 | * | ||
| 964 | * Active INOK disables SMB347 output, so polarity | ||
| 965 | * needs to be toggled when we want to get the | ||
| 966 | * output. | ||
| 967 | */ | ||
| 968 | summit,needs-inok-toggle; | ||
| 969 | }; | ||
| 947 | }; | 970 | }; |
| 948 | }; | 971 | }; |
| 949 | 972 | ||
| @@ -1016,12 +1039,13 @@ · 66 unmodified lines | |||
| 1016 | usb@7d000000 { | 1039 | usb@7d000000 { |
| 1017 | compatible = "nvidia,tegra30-udc"; | 1040 | compatible = "nvidia,tegra30-udc"; |
| 1018 | status = "okay"; | 1041 | status = "okay"; |
| 1019 | dr_mode = "peripheral"; | 1042 | dr_mode = "otg"; |
| 1043 | vbus-supply = <&usb_vbus>; | ||
| 1020 | }; | 1044 | }; |
| 1021 | 1045 | ||
| 1022 | usb-phy@7d000000 { | 1046 | usb-phy@7d000000 { |
| 1023 | status = "okay"; | 1047 | status = "okay"; |
| 1024 | dr_mode = "peripheral"; | 1048 | dr_mode = "otg"; |
| 1025 | nvidia,hssync-start-delay = <0>; | 1049 | nvidia,hssync-start-delay = <0>; |
| 1026 | nvidia,xcvr-lsfslew = <2>; | 1050 | nvidia,xcvr-lsfslew = <2>; |
| 1027 | nvidia,xcvr-lsrslew = <2>; | 1051 | nvidia,xcvr-lsrslew = <2>; |
| @@ -93,6 +93,10 @@ · 92 unmodified lines | |||
| 93 | bluetooth { | 93 | bluetooth { |
| 94 | compatible = "brcm,bcm4330-bt"; | 94 | compatible = "brcm,bcm4330-bt"; |
| 95 | 95 | ||
| 96 | interrupt-parent = <&gpio>; | ||
| 97 | interrupts = <TEGRA_GPIO(U, 6) IRQ_TYPE_EDGE_RISING>; | ||
| 98 | interrupt-names = "host-wakeup"; | ||
| 99 | |||
| 96 | max-speed = <4000000>; | 100 | max-speed = <4000000>; |
| 97 | 101 | ||
| 98 | clocks = <&tegra_pmc TEGRA_PMC_CLK_BLINK>; | 102 | clocks = <&tegra_pmc TEGRA_PMC_CLK_BLINK>; |
| @@ -103,7 +107,6 @@ · 4 unmodified lines | |||
| 103 | 107 | ||
| 104 | shutdown-gpios = <&gpio TEGRA_GPIO(U, 0) GPIO_ACTIVE_HIGH>; | 108 | shutdown-gpios = <&gpio TEGRA_GPIO(U, 0) GPIO_ACTIVE_HIGH>; |
| 105 | device-wakeup-gpios = <&gpio TEGRA_GPIO(U, 1) GPIO_ACTIVE_HIGH>; | 109 | device-wakeup-gpios = <&gpio TEGRA_GPIO(U, 1) GPIO_ACTIVE_HIGH>; |
| 106 | host-wakeup-gpios = <&gpio TEGRA_GPIO(U, 6) GPIO_ACTIVE_HIGH>; | ||
| 107 | }; | 110 | }; |
| 108 | }; | 111 | }; |
| 109 | 112 | ||
| @@ -958,7 +958,7 @@ · 957 unmodified lines | |||
| 958 | }; | 958 | }; |
| 959 | 959 | ||
| 960 | usb@7d000000 { | 960 | usb@7d000000 { |
| 961 | compatible = "nvidia,tegra30-ehci", "usb-ehci"; | 961 | compatible = "nvidia,tegra30-ehci"; |
| 962 | reg = <0x7d000000 0x4000>; | 962 | reg = <0x7d000000 0x4000>; |
| 963 | interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; | 963 | interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; |
| 964 | phy_type = "utmi"; | 964 | phy_type = "utmi"; |
| @@ -974,6 +974,7 @@ · 9 unmodified lines | |||
| 974 | compatible = "nvidia,tegra30-usb-phy"; | 974 | compatible = "nvidia,tegra30-usb-phy"; |
| 975 | reg = <0x7d000000 0x4000>, | 975 | reg = <0x7d000000 0x4000>, |
| 976 | <0x7d000000 0x4000>; | 976 | <0x7d000000 0x4000>; |
| 977 | interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; | ||
| 977 | phy_type = "utmi"; | 978 | phy_type = "utmi"; |
| 978 | clocks = <&tegra_car TEGRA30_CLK_USBD>, | 979 | clocks = <&tegra_car TEGRA30_CLK_USBD>, |
| 979 | <&tegra_car TEGRA30_CLK_PLL_U>, | 980 | <&tegra_car TEGRA30_CLK_PLL_U>, |
| @@ -994,11 +995,12 @@ · 14 unmodified lines | |||
| 994 | nvidia,hssquelch-level = <2>; | 995 | nvidia,hssquelch-level = <2>; |
| 995 | nvidia,hsdiscon-level = <5>; | 996 | nvidia,hsdiscon-level = <5>; |
| 996 | nvidia,has-utmi-pad-registers; | 997 | nvidia,has-utmi-pad-registers; |
| 998 | nvidia,pmc = <&tegra_pmc 0>; | ||
| 997 | status = "disabled"; | 999 | status = "disabled"; |
| 998 | }; | 1000 | }; |
| 999 | 1001 | ||
| 1000 | usb@7d004000 { | 1002 | usb@7d004000 { |
| 1001 | compatible = "nvidia,tegra30-ehci", "usb-ehci"; | 1003 | compatible = "nvidia,tegra30-ehci"; |
| 1002 | reg = <0x7d004000 0x4000>; | 1004 | reg = <0x7d004000 0x4000>; |
| 1003 | interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>; | 1005 | interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>; |
| 1004 | phy_type = "utmi"; | 1006 | phy_type = "utmi"; |
| @@ -1013,6 +1015,7 @@ · 8 unmodified lines | |||
| 1013 | compatible = "nvidia,tegra30-usb-phy"; | 1015 | compatible = "nvidia,tegra30-usb-phy"; |
| 1014 | reg = <0x7d004000 0x4000>, | 1016 | reg = <0x7d004000 0x4000>, |
| 1015 | <0x7d000000 0x4000>; | 1017 | <0x7d000000 0x4000>; |
| 1018 | interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>; | ||
| 1016 | phy_type = "utmi"; | 1019 | phy_type = "utmi"; |
| 1017 | clocks = <&tegra_car TEGRA30_CLK_USB2>, | 1020 | clocks = <&tegra_car TEGRA30_CLK_USB2>, |
| 1018 | <&tegra_car TEGRA30_CLK_PLL_U>, | 1021 | <&tegra_car TEGRA30_CLK_PLL_U>, |
| @@ -1032,11 +1035,12 @@ · 13 unmodified lines | |||
| 1032 | nvidia,xcvr-hsslew = <32>; | 1035 | nvidia,xcvr-hsslew = <32>; |
| 1033 | nvidia,hssquelch-level = <2>; | 1036 | nvidia,hssquelch-level = <2>; |
| 1034 | nvidia,hsdiscon-level = <5>; | 1037 | nvidia,hsdiscon-level = <5>; |
| 1038 | nvidia,pmc = <&tegra_pmc 2>; | ||
| 1035 | status = "disabled"; | 1039 | status = "disabled"; |
| 1036 | }; | 1040 | }; |
| 1037 | 1041 | ||
| 1038 | usb@7d008000 { | 1042 | usb@7d008000 { |
| 1039 | compatible = "nvidia,tegra30-ehci", "usb-ehci"; | 1043 | compatible = "nvidia,tegra30-ehci"; |
| 1040 | reg = <0x7d008000 0x4000>; | 1044 | reg = <0x7d008000 0x4000>; |
| 1041 | interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>; | 1045 | interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>; |
| 1042 | phy_type = "utmi"; | 1046 | phy_type = "utmi"; |
| @@ -1051,6 +1055,7 @@ · 8 unmodified lines | |||
| 1051 | compatible = "nvidia,tegra30-usb-phy"; | 1055 | compatible = "nvidia,tegra30-usb-phy"; |
| 1052 | reg = <0x7d008000 0x4000>, | 1056 | reg = <0x7d008000 0x4000>, |
| 1053 | <0x7d000000 0x4000>; | 1057 | <0x7d000000 0x4000>; |
| 1058 | interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>; | ||
| 1054 | phy_type = "utmi"; | 1059 | phy_type = "utmi"; |
| 1055 | clocks = <&tegra_car TEGRA30_CLK_USB3>, | 1060 | clocks = <&tegra_car TEGRA30_CLK_USB3>, |
| 1056 | <&tegra_car TEGRA30_CLK_PLL_U>, | 1061 | <&tegra_car TEGRA30_CLK_PLL_U>, |
| @@ -1070,6 +1075,7 @@ · 13 unmodified lines | |||
| 1070 | nvidia,xcvr-hsslew = <32>; | 1075 | nvidia,xcvr-hsslew = <32>; |
| 1071 | nvidia,hssquelch-level = <2>; | 1076 | nvidia,hssquelch-level = <2>; |
| 1072 | nvidia,hsdiscon-level = <5>; | 1077 | nvidia,hsdiscon-level = <5>; |
| 1078 | nvidia,pmc = <&tegra_pmc 1>; | ||
| 1073 | status = "disabled"; | 1079 | status = "disabled"; |
| 1074 | }; | 1080 | }; |
| 1075 | 1081 | ||
| @@ -13,9 +13,13 @@ · 12 unmodified lines | |||
| 13 | syscon@27000000 { | 13 | syscon@27000000 { |
| 14 | compatible = "arm,versatile-ib2-syscon", "syscon", "simple-mfd"; | 14 | compatible = "arm,versatile-ib2-syscon", "syscon", "simple-mfd"; |
| 15 | reg = <0x27000000 0x4>; | 15 | reg = <0x27000000 0x4>; |
| 16 | ranges = <0x0 0x27000000 0x4>; | ||
| 17 | #address-cells = <1>; | ||
| 18 | #size-cells = <1>; | ||
| 16 | 19 | ||
| 17 | led@00.4 { | 20 | led@0,4 { |
| 18 | compatible = "register-bit-led"; | 21 | compatible = "register-bit-led"; |
| 22 | reg = <0x00 0x04>; | ||
| 19 | offset = <0x00>; | 23 | offset = <0x00>; |
| 20 | mask = <0x10>; | 24 | mask = <0x10>; |
| 21 | label = "versatile-ib2:0"; | 25 | label = "versatile-ib2:0"; |
| @@ -70,61 +70,72 @@ · 69 unmodified lines | |||
| 70 | core-module@10000000 { | 70 | core-module@10000000 { |
| 71 | compatible = "arm,core-module-versatile", "syscon", "simple-mfd"; | 71 | compatible = "arm,core-module-versatile", "syscon", "simple-mfd"; |
| 72 | reg = <0x10000000 0x200>; | 72 | reg = <0x10000000 0x200>; |
| 73 | ranges = <0x0 0x10000000 0x200>; | ||
| 74 | #address-cells = <1>; | ||
| 75 | #size-cells = <1>; | ||
| 73 | 76 | ||
| 74 | led@08.0 { | 77 | led@8,0 { |
| 75 | compatible = "register-bit-led"; | 78 | compatible = "register-bit-led"; |
| 79 | reg = <0x08 0x04>; | ||
| 76 | offset = <0x08>; | 80 | offset = <0x08>; |
| 77 | mask = <0x01>; | 81 | mask = <0x01>; |
| 78 | label = "versatile:0"; | 82 | label = "versatile:0"; |
| 79 | linux,default-trigger = "heartbeat"; | 83 | linux,default-trigger = "heartbeat"; |
| 80 | default-state = "on"; | 84 | default-state = "on"; |
| 81 | }; | 85 | }; |
| 82 | led@08.1 { | 86 | led@8,1 { |
| 83 | compatible = "register-bit-led"; | 87 | compatible = "register-bit-led"; |
| 88 | reg = <0x08 0x04>; | ||
| 84 | offset = <0x08>; | 89 | offset = <0x08>; |
| 85 | mask = <0x02>; | 90 | mask = <0x02>; |
| 86 | label = "versatile:1"; | 91 | label = "versatile:1"; |
| 87 | linux,default-trigger = "mmc0"; | 92 | linux,default-trigger = "mmc0"; |
| 88 | default-state = "off"; | 93 | default-state = "off"; |
| 89 | }; | 94 | }; |
| 90 | led@08.2 { | 95 | led@8,2 { |
| 91 | compatible = "register-bit-led"; | 96 | compatible = "register-bit-led"; |
| 97 | reg = <0x08 0x04>; | ||
| 92 | offset = <0x08>; | 98 | offset = <0x08>; |
| 93 | mask = <0x04>; | 99 | mask = <0x04>; |
| 94 | label = "versatile:2"; | 100 | label = "versatile:2"; |
| 95 | linux,default-trigger = "cpu0"; | 101 | linux,default-trigger = "cpu0"; |
| 96 | default-state = "off"; | 102 | default-state = "off"; |
| 97 | }; | 103 | }; |
| 98 | led@08.3 { | 104 | led@8,3 { |
| 99 | compatible = "register-bit-led"; | 105 | compatible = "register-bit-led"; |
| 106 | reg = <0x08 0x04>; | ||
| 100 | offset = <0x08>; | 107 | offset = <0x08>; |
| 101 | mask = <0x08>; | 108 | mask = <0x08>; |
| 102 | label = "versatile:3"; | 109 | label = "versatile:3"; |
| 103 | default-state = "off"; | 110 | default-state = "off"; |
| 104 | }; | 111 | }; |
| 105 | led@08.4 { | 112 | led@8,4 { |
| 106 | compatible = "register-bit-led"; | 113 | compatible = "register-bit-led"; |
| 114 | reg = <0x08 0x04>; | ||
| 107 | offset = <0x08>; | 115 | offset = <0x08>; |
| 108 | mask = <0x10>; | 116 | mask = <0x10>; |
| 109 | label = "versatile:4"; | 117 | label = "versatile:4"; |
| 110 | default-state = "off"; | 118 | default-state = "off"; |
| 111 | }; | 119 | }; |
| 112 | led@08.5 { | 120 | led@8,5 { |
| 113 | compatible = "register-bit-led"; | 121 | compatible = "register-bit-led"; |
| 122 | reg = <0x08 0x04>; | ||
| 114 | offset = <0x08>; | 123 | offset = <0x08>; |
| 115 | mask = <0x20>; | 124 | mask = <0x20>; |
| 116 | label = "versatile:5"; | 125 | label = "versatile:5"; |
| 117 | default-state = "off"; | 126 | default-state = "off"; |
| 118 | }; | 127 | }; |
| 119 | led@08.6 { | 128 | led@8,6 { |
| 120 | compatible = "register-bit-led"; | 129 | compatible = "register-bit-led"; |
| 130 | reg = <0x08 0x04>; | ||
| 121 | offset = <0x08>; | 131 | offset = <0x08>; |
| 122 | mask = <0x40>; | 132 | mask = <0x40>; |
| 123 | label = "versatile:6"; | 133 | label = "versatile:6"; |
| 124 | default-state = "off"; | 134 | default-state = "off"; |
| 125 | }; | 135 | }; |
| 126 | led@08.7 { | 136 | led@8,7 { |
| 127 | compatible = "register-bit-led"; | 137 | compatible = "register-bit-led"; |
| 138 | reg = <0x08 0x04>; | ||
| 128 | offset = <0x08>; | 139 | offset = <0x08>; |
| 129 | mask = <0x80>; | 140 | mask = <0x80>; |
| 130 | label = "versatile:7"; | 141 | label = "versatile:7"; |
| @@ -21,6 +21,16 @@ config ARCH_MSM8X60 · 20 unmodified lines | |||
| 21 | bool "Enable support for MSM8X60" | 21 | bool "Enable support for MSM8X60" |
| 22 | select CLKSRC_QCOM | 22 | select CLKSRC_QCOM |
| 23 | 23 | ||
| 24 | config ARCH_MSM8916 | ||
| 25 | bool "Enable support for MSM8916" | ||
| 26 | select HAVE_ARM_ARCH_TIMER | ||
| 27 | help | ||
| 28 | Enable support for the Qualcomm Snapdragon 410 (MSM8916/APQ8016). | ||
| 29 | |||
| 30 | Note that ARM64 is the main supported architecture for MSM8916. | ||
| 31 | The ARM32 option is intended for a few devices with signed firmware | ||
| 32 | that does not allow booting ARM64 kernels. | ||
| 33 | |||
| 24 | config ARCH_MSM8960 | 34 | config ARCH_MSM8960 |
| 25 | bool "Enable support for MSM8960" | 35 | bool "Enable support for MSM8960" |
| 26 | select CLKSRC_QCOM | 36 | select CLKSRC_QCOM |
| @@ -10,7 +10,7 @@ · 9 unmodified lines | |||
| 10 | interrupt-controller; | 10 | interrupt-controller; |
| 11 | #interrupt-cells = <1>; | 11 | #interrupt-cells = <1>; |
| 12 | 12 | ||
| 13 | ac_power_supply: ac-power-supply { | 13 | ac_power_supply: ac-power { |
| 14 | compatible = "x-powers,axp803-ac-power-supply", | 14 | compatible = "x-powers,axp803-ac-power-supply", |
| 15 | "x-powers,axp813-ac-power-supply"; | 15 | "x-powers,axp813-ac-power-supply"; |
| 16 | status = "disabled"; | 16 | status = "disabled"; |
| @@ -26,18 +26,18 @@ · 9 unmodified lines | |||
| 26 | gpio-controller; | 26 | gpio-controller; |
| 27 | #gpio-cells = <2>; | 27 | #gpio-cells = <2>; |
| 28 | 28 | ||
| 29 | gpio0_ldo: gpio0-ldo { | 29 | gpio0_ldo: gpio0-ldo-pin { |
| 30 | pins = "GPIO0"; | 30 | pins = "GPIO0"; |
| 31 | function = "ldo"; | 31 | function = "ldo"; |
| 32 | }; | 32 | }; |
| 33 | 33 | ||
| 34 | gpio1_ldo: gpio1-ldo { | 34 | gpio1_ldo: gpio1-ldo-pin { |
| 35 | pins = "GPIO1"; | 35 | pins = "GPIO1"; |
| 36 | function = "ldo"; | 36 | function = "ldo"; |
| 37 | }; | 37 | }; |
| 38 | }; | 38 | }; |
| 39 | 39 | ||
| 40 | battery_power_supply: battery-power-supply { | 40 | battery_power_supply: battery-power { |
| 41 | compatible = "x-powers,axp803-battery-power-supply", | 41 | compatible = "x-powers,axp803-battery-power-supply", |
| 42 | "x-powers,axp813-battery-power-supply"; | 42 | "x-powers,axp813-battery-power-supply"; |
| 43 | status = "disabled"; | 43 | status = "disabled"; |
| @@ -147,7 +147,7 @@ · 103 unmodified lines | |||
| 147 | }; | 147 | }; |
| 148 | }; | 148 | }; |
| 149 | 149 | ||
| 150 | usb_power_supply: usb-power-supply { | 150 | usb_power_supply: usb-power { |
| 151 | compatible = "x-powers,axp803-usb-power-supply", | 151 | compatible = "x-powers,axp803-usb-power-supply", |
| 152 | "x-powers,axp813-usb-power-supply"; | 152 | "x-powers,axp813-usb-power-supply"; |
| 153 | status = "disabled"; | 153 | status = "disabled"; |
| @@ -343,19 +343,19 @@ · 342 unmodified lines | |||
| 343 | }; | 343 | }; |
| 344 | 344 | ||
| 345 | thermal-zones { | 345 | thermal-zones { |
| 346 | cpu-thermal-zone { | 346 | cpu-thermal { |
| 347 | polling-delay-passive = <0>; | 347 | polling-delay-passive = <0>; |
| 348 | polling-delay = <0>; | 348 | polling-delay = <0>; |
| 349 | thermal-sensors = <&ths 0>; | 349 | thermal-sensors = <&ths 0>; |
| 350 | }; | 350 | }; |
| 351 | 351 | ||
| 352 | ddr-thermal-zone { | 352 | ddr-thermal { |
| 353 | polling-delay-passive = <0>; | 353 | polling-delay-passive = <0>; |
| 354 | polling-delay = <0>; | 354 | polling-delay = <0>; |
| 355 | thermal-sensors = <&ths 2>; | 355 | thermal-sensors = <&ths 2>; |
| 356 | }; | 356 | }; |
| 357 | 357 | ||
| 358 | gpu-thermal-zone { | 358 | gpu-thermal { |
| 359 | polling-delay-passive = <0>; | 359 | polling-delay-passive = <0>; |
| 360 | polling-delay = <0>; | 360 | polling-delay = <0>; |
| 361 | thermal-sensors = <&ths 1>; | 361 | thermal-sensors = <&ths 1>; |
| @@ -4,7 +4,7 @@ · 3 unmodified lines | |||
| 4 | */ | 4 | */ |
| 5 | 5 | ||
| 6 | / { | 6 | / { |
| 7 | cpu0_opp_table: opp_table0 { | 7 | cpu0_opp_table: opp-table-cpu { |
| 8 | compatible = "operating-points-v2"; | 8 | compatible = "operating-points-v2"; |
| 9 | opp-shared; | 9 | opp-shared; |
| 10 | 10 | ||
| @@ -343,7 +343,7 @@ · 342 unmodified lines | |||
| 343 | &spi0 { | 343 | &spi0 { |
| 344 | status = "okay"; | 344 | status = "okay"; |
| 345 | 345 | ||
| 346 | spi-flash@0 { | 346 | flash@0 { |
| 347 | compatible = "mxicy,mx25l1606e", "jedec,spi-nor"; | 347 | compatible = "mxicy,mx25l1606e", "jedec,spi-nor"; |
| 348 | reg = <0>; | 348 | reg = <0>; |
| 349 | spi-max-frequency = <80000000>; | 349 | spi-max-frequency = <80000000>; |
| @@ -35,6 +35,17 @@ · 34 unmodified lines | |||
| 35 | stdout-path = "serial0:115200n8"; | 35 | stdout-path = "serial0:115200n8"; |
| 36 | }; | 36 | }; |
| 37 | 37 | ||
| 38 | hdmi-connector { | ||
| 39 | compatible = "hdmi-connector"; | ||
| 40 | type = "c"; | ||
| 41 | |||
| 42 | port { | ||
| 43 | hdmi_con_in: endpoint { | ||
| 44 | remote-endpoint = <&hdmi_out_con>; | ||
| 45 | }; | ||
| 46 | }; | ||
| 47 | }; | ||
| 48 | |||
| 38 | i2c-csi { | 49 | i2c-csi { |
| 39 | compatible = "i2c-gpio"; | 50 | compatible = "i2c-gpio"; |
| 40 | sda-gpios = <&pio 4 13 GPIO_ACTIVE_HIGH>; /* PE13 */ | 51 | sda-gpios = <&pio 4 13 GPIO_ACTIVE_HIGH>; /* PE13 */ |
| @@ -77,7 +88,7 @@ · 36 unmodified lines | |||
| 77 | sound-name-prefix = "Speaker Amp"; | 88 | sound-name-prefix = "Speaker Amp"; |
| 78 | }; | 89 | }; |
| 79 | 90 | ||
| 80 | vdd_bl: regulator@0 { | 91 | vdd_bl: regulator { |
| 81 | compatible = "regulator-fixed"; | 92 | compatible = "regulator-fixed"; |
| 82 | regulator-name = "bl-3v3"; | 93 | regulator-name = "bl-3v3"; |
| 83 | regulator-min-microvolt = <3300000>; | 94 | regulator-min-microvolt = <3300000>; |
| @@ -410,6 +421,21 @@ · 326 unmodified lines | |||
| 410 | regulator-name = "vcc-rtc"; | 421 | regulator-name = "vcc-rtc"; |
| 411 | }; | 422 | }; |
| 412 | 423 | ||
| 424 | &simplefb_hdmi { | ||
| 425 | vcc-hdmi-supply = <®_dldo1>; | ||
| 426 | }; | ||
| 427 | |||
| 428 | &hdmi { | ||
| 429 | hvcc-supply = <®_dldo1>; | ||
| 430 | status = "okay"; | ||
| 431 | }; | ||
| 432 | |||
| 433 | &hdmi_out { | ||
| 434 | hdmi_out_con: endpoint { | ||
| 435 | remote-endpoint = <&hdmi_con_in>; | ||
| 436 | }; | ||
| 437 | }; | ||
| 438 | |||
| 413 | &sound { | 439 | &sound { |
| 414 | status = "okay"; | 440 | status = "okay"; |
| 415 | simple-audio-card,aux-devs = <&codec_analog>, <&speaker_amp>; | 441 | simple-audio-card,aux-devs = <&codec_analog>, <&speaker_amp>; |
| @@ -139,6 +139,8 @@ · 138 unmodified lines | |||
| 139 | #size-cells = <0>; | 139 | #size-cells = <0>; |
| 140 | 140 | ||
| 141 | port@0 { | 141 | port@0 { |
| 142 | reg = <0>; | ||
| 143 | |||
| 142 | anx6345_in: endpoint { | 144 | anx6345_in: endpoint { |
| 143 | remote-endpoint = <&tcon0_out_anx6345>; | 145 | remote-endpoint = <&tcon0_out_anx6345>; |
| 144 | }; | 146 | }; |
| @@ -206,7 +208,6 @@ · 61 unmodified lines | |||
| 206 | reg = <0x3a3>; | 208 | reg = <0x3a3>; |
| 207 | interrupt-parent = <&r_intc>; | 209 | interrupt-parent = <&r_intc>; |
| 208 | interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_LOW>; | 210 | interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_LOW>; |
| 209 | wakeup-source; | ||
| 210 | }; | 211 | }; |
| 211 | }; | 212 | }; |
| 212 | 213 | ||
| @@ -102,6 +102,22 @@ · 101 unmodified lines | |||
| 102 | status = "disabled"; | 102 | status = "disabled"; |
| 103 | }; | 103 | }; |
| 104 | 104 | ||
| 105 | gpu_opp_table: opp-table-gpu { | ||
| 106 | compatible = "operating-points-v2"; | ||
| 107 | |||
| 108 | opp-120000000 { | ||
| 109 | opp-hz = /bits/ 64 <120000000>; | ||
| 110 | }; | ||
| 111 | |||
| 112 | opp-312000000 { | ||
| 113 | opp-hz = /bits/ 64 <312000000>; | ||
| 114 | }; | ||
| 115 | |||
| 116 | opp-432000000 { | ||
| 117 | opp-hz = /bits/ 64 <432000000>; | ||
| 118 | }; | ||
| 119 | }; | ||
| 120 | |||
| 105 | osc24M: osc24M_clk { | 121 | osc24M: osc24M_clk { |
| 106 | #clock-cells = <0>; | 122 | #clock-cells = <0>; |
| 107 | compatible = "fixed-clock"; | 123 | compatible = "fixed-clock"; |
| @@ -1103,6 +1119,7 @@ · 995 unmodified lines | |||
| 1103 | clocks = <&ccu CLK_BUS_GPU>, <&ccu CLK_GPU>; | 1119 | clocks = <&ccu CLK_BUS_GPU>, <&ccu CLK_GPU>; |
| 1104 | clock-names = "bus", "core"; | 1120 | clock-names = "bus", "core"; |
| 1105 | resets = <&ccu RST_BUS_GPU>; | 1121 | resets = <&ccu RST_BUS_GPU>; |
| 1122 | operating-points-v2 = <&gpu_opp_table>; | ||
| 1106 | }; | 1123 | }; |
| 1107 | 1124 | ||
| 1108 | gic: interrupt-controller@1c81000 { | 1125 | gic: interrupt-controller@1c81000 { |
| @@ -2,7 +2,7 @@ · 1 unmodified line | |||
| 2 | // Copyright (C) 2020 Chen-Yu Tsai <wens@csie.org> | 2 | // Copyright (C) 2020 Chen-Yu Tsai <wens@csie.org> |
| 3 | 3 | ||
| 4 | / { | 4 | / { |
| 5 | cpu_opp_table: cpu-opp-table { | 5 | cpu_opp_table: opp-table-cpu { |
| 6 | compatible = "operating-points-v2"; | 6 | compatible = "operating-points-v2"; |
| 7 | opp-shared; | 7 | opp-shared; |
| 8 | 8 | ||
| @@ -142,9 +142,16 @@ · 141 unmodified lines | |||
| 142 | status = "okay"; | 142 | status = "okay"; |
| 143 | 143 | ||
| 144 | eeprom@51 { | 144 | eeprom@51 { |
| 145 | compatible = "microchip,24c02"; | 145 | compatible = "microchip,24c02", "atmel,24c02"; |
| 146 | reg = <0x51>; | 146 | reg = <0x51>; |
| 147 | pagesize = <16>; | 147 | pagesize = <16>; |
| 148 | read-only; | ||
| 149 | #address-cells = <1>; | ||
| 150 | #size-cells = <1>; | ||
| 151 | |||
| 152 | eth_mac1: mac-address@fa { | ||
| 153 | reg = <0xfa 0x06>; | ||
| 154 | }; | ||
| 148 | }; | 155 | }; |
| 149 | }; | 156 | }; |
| 150 | 157 | ||
| @@ -217,7 +217,7 @@ · 216 unmodified lines | |||
| 217 | }; | 217 | }; |
| 218 | }; | 218 | }; |
| 219 | 219 | ||
| 220 | gpu_thermal { | 220 | gpu-thermal { |
| 221 | polling-delay-passive = <0>; | 221 | polling-delay-passive = <0>; |
| 222 | polling-delay = <0>; | 222 | polling-delay = <0>; |
| 223 | thermal-sensors = <&ths 1>; | 223 | thermal-sensors = <&ths 1>; |
| @@ -3,7 +3,7 @@ · 2 unmodified lines | |||
| 3 | // Copyright (C) 2020 Clément Péron <peron.clem@gmail.com> | 3 | // Copyright (C) 2020 Clément Péron <peron.clem@gmail.com> |
| 4 | 4 | ||
| 5 | / { | 5 | / { |
| 6 | cpu_opp_table: cpu-opp-table { | 6 | cpu_opp_table: opp-table-cpu { |
| 7 | compatible = "allwinner,sun50i-h6-operating-points"; | 7 | compatible = "allwinner,sun50i-h6-operating-points"; |
| 8 | nvmem-cells = <&cpu_speed_grade>; | 8 | nvmem-cells = <&cpu_speed_grade>; |
| 9 | opp-shared; | 9 | opp-shared; |
| @@ -119,10 +119,10 @@ · 118 unmodified lines | |||
| 119 | display_clocks: clock@0 { | 119 | display_clocks: clock@0 { |
| 120 | compatible = "allwinner,sun50i-h6-de3-clk"; | 120 | compatible = "allwinner,sun50i-h6-de3-clk"; |
| 121 | reg = <0x0 0x10000>; | 121 | reg = <0x0 0x10000>; |
| 122 | clocks = <&ccu CLK_DE>, | 122 | clocks = <&ccu CLK_BUS_DE>, |
| 123 | <&ccu CLK_BUS_DE>; | 123 | <&ccu CLK_DE>; |
| 124 | clock-names = "mod", | 124 | clock-names = "bus", |
| 125 | "bus"; | 125 | "mod"; |
| 126 | resets = <&ccu RST_BUS_DE>; | 126 | resets = <&ccu RST_BUS_DE>; |
| 127 | #clock-cells = <1>; | 127 | #clock-cells = <1>; |
| 128 | #reset-cells = <1>; | 128 | #reset-cells = <1>; |
| @@ -1,5 +1,7 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0 | 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | dtb-$(CONFIG_ARCH_MESON) += meson-axg-s400.dtb | 2 | dtb-$(CONFIG_ARCH_MESON) += meson-axg-s400.dtb |
| 3 | dtb-$(CONFIG_ARCH_MESON) += meson-axg-jethome-jethub-j100.dtb | ||
| 4 | dtb-$(CONFIG_ARCH_MESON) += meson-g12a-radxa-zero.dtb | ||
| 3 | dtb-$(CONFIG_ARCH_MESON) += meson-g12a-sei510.dtb | 5 | dtb-$(CONFIG_ARCH_MESON) += meson-g12a-sei510.dtb |
| 4 | dtb-$(CONFIG_ARCH_MESON) += meson-g12a-u200.dtb | 6 | dtb-$(CONFIG_ARCH_MESON) += meson-g12a-u200.dtb |
| 5 | dtb-$(CONFIG_ARCH_MESON) += meson-g12a-x96-max.dtb | 7 | dtb-$(CONFIG_ARCH_MESON) += meson-g12a-x96-max.dtb |
| @@ -38,6 +40,7 @@ dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s805x-p241.dtb · 32 unmodified lines | |||
| 38 | dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905w-p281.dtb | 40 | dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905w-p281.dtb |
| 39 | dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905w-tx3-mini.dtb | 41 | dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905w-tx3-mini.dtb |
| 40 | dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-libretech-pc.dtb | 42 | dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-libretech-pc.dtb |
| 43 | dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905w-jethome-jethub-j80.dtb | ||
| 41 | dtb-$(CONFIG_ARCH_MESON) += meson-gxm-khadas-vim2.dtb | 44 | dtb-$(CONFIG_ARCH_MESON) += meson-gxm-khadas-vim2.dtb |
| 42 | dtb-$(CONFIG_ARCH_MESON) += meson-gxm-mecool-kiii-pro.dtb | 45 | dtb-$(CONFIG_ARCH_MESON) += meson-gxm-mecool-kiii-pro.dtb |
| 43 | dtb-$(CONFIG_ARCH_MESON) += meson-gxm-minix-neo-u9h.dtb | 46 | dtb-$(CONFIG_ARCH_MESON) += meson-gxm-minix-neo-u9h.dtb |
| @@ -0,0 +1,362 @@ | |||
| 1 | // SPDX-License-Identifier: (GPL-2.0+ OR MIT) | ||
| 2 | /* | ||
| 3 | * Copyright (c) 2021 Vyacheslav Bocharov <adeep@lexina.in> | ||
| 4 | * Copyright (c) 2020 JetHome | ||
| 5 | * Author: Aleksandr Kazantsev <ak@tvip.ru> | ||
| 6 | * Author: Alexey Shevelkin <ash@tvip.ru> | ||
| 7 | * Author: Vyacheslav Bocharov <adeep@lexina.in> | ||
| 8 | */ | ||
| 9 | |||
| 10 | /dts-v1/; | ||
| 11 | |||
| 12 | #include "meson-axg.dtsi" | ||
| 13 | #include <dt-bindings/input/input.h> | ||
| 14 | #include <dt-bindings/thermal/thermal.h> | ||
| 15 | |||
| 16 | / { | ||
| 17 | compatible = "jethome,jethub-j100", "amlogic,a113d", "amlogic,meson-axg"; | ||
| 18 | model = "JetHome JetHub J100"; | ||
| 19 | aliases { | ||
| 20 | serial0 = &uart_AO; /* Console */ | ||
| 21 | serial1 = &uart_AO_B; /* External UART (Wireless Module) */ | ||
| 22 | ethernet0 = ðmac; | ||
| 23 | }; | ||
| 24 | |||
| 25 | chosen { | ||
| 26 | stdout-path = "serial0:115200n8"; | ||
| 27 | }; | ||
| 28 | |||
| 29 | /* 1024MB RAM */ | ||
| 30 | memory@0 { | ||
| 31 | device_type = "memory"; | ||
| 32 | reg = <0x0 0x0 0x0 0x40000000>; | ||
| 33 | }; | ||
| 34 | |||
| 35 | reserved-memory { | ||
| 36 | linux,cma { | ||
| 37 | size = <0x0 0x400000>; | ||
| 38 | }; | ||
| 39 | }; | ||
| 40 | |||
| 41 | emmc_pwrseq: emmc-pwrseq { | ||
| 42 | compatible = "mmc-pwrseq-emmc"; | ||
| 43 | reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>; | ||
| 44 | }; | ||
| 45 | |||
| 46 | vcc_3v3: regulator-vcc_3v3 { | ||
| 47 | compatible = "regulator-fixed"; | ||
| 48 | regulator-name = "VCC_3V3"; | ||
| 49 | regulator-min-microvolt = <3300000>; | ||
| 50 | regulator-max-microvolt = <3300000>; | ||
| 51 | vin-supply = <&vddao_3v3>; | ||
| 52 | regulator-always-on; | ||
| 53 | }; | ||
| 54 | |||
| 55 | vcc_5v: regulator-vcc_5v { | ||
| 56 | compatible = "regulator-fixed"; | ||
| 57 | regulator-name = "VCC5V"; | ||
| 58 | regulator-min-microvolt = <5000000>; | ||
| 59 | regulator-max-microvolt = <5000000>; | ||
| 60 | regulator-always-on; | ||
| 61 | }; | ||
| 62 | |||
| 63 | vddao_3v3: regulator-vddao_3v3 { | ||
| 64 | compatible = "regulator-fixed"; | ||
| 65 | regulator-name = "VDDAO_3V3"; | ||
| 66 | regulator-min-microvolt = <3300000>; | ||
| 67 | regulator-max-microvolt = <3300000>; | ||
| 68 | vin-supply = <&vcc_5v>; | ||
| 69 | regulator-always-on; | ||
| 70 | }; | ||
| 71 | |||
| 72 | vddio_ao18: regulator-vddio_ao18 { | ||
| 73 | compatible = "regulator-fixed"; | ||
| 74 | regulator-name = "VDDIO_AO18"; | ||
| 75 | regulator-min-microvolt = <1800000>; | ||
| 76 | regulator-max-microvolt = <1800000>; | ||
| 77 | vin-supply = <&vddao_3v3>; | ||
| 78 | regulator-always-on; | ||
| 79 | }; | ||
| 80 | |||
| 81 | vddio_boot: regulator-vddio_boot { | ||
| 82 | compatible = "regulator-fixed"; | ||
| 83 | regulator-name = "VDDIO_BOOT"; | ||
| 84 | regulator-min-microvolt = <1800000>; | ||
| 85 | regulator-max-microvolt = <1800000>; | ||
| 86 | vin-supply = <&vddao_3v3>; | ||
| 87 | regulator-always-on; | ||
| 88 | }; | ||
| 89 | |||
| 90 | usb_pwr: regulator-usb_pwr { | ||
| 91 | compatible = "regulator-fixed"; | ||
| 92 | regulator-name = "USB_PWR"; | ||
| 93 | regulator-min-microvolt = <5000000>; | ||
| 94 | regulator-max-microvolt = <5000000>; | ||
| 95 | vin-supply = <&vcc_5v>; | ||
| 96 | regulator-always-on; | ||
| 97 | }; | ||
| 98 | |||
| 99 | sdio_pwrseq: sdio-pwrseq { | ||
| 100 | compatible = "mmc-pwrseq-simple"; | ||
| 101 | reset-gpios = <&gpio GPIOX_7 GPIO_ACTIVE_LOW>; | ||
| 102 | clocks = <&wifi32k>; | ||
| 103 | clock-names = "ext_clock"; | ||
| 104 | }; | ||
| 105 | |||
| 106 | wifi32k: wifi32k { | ||
| 107 | compatible = "pwm-clock"; | ||
| 108 | #clock-cells = <0>; | ||
| 109 | clock-frequency = <32768>; | ||
| 110 | pwms = <&pwm_ab 0 30518 0>; /* PWM_A at 32.768KHz */ | ||
| 111 | }; | ||
| 112 | |||
| 113 | thermal-zones { | ||
| 114 | cpu_thermal: cpu-thermal { | ||
| 115 | polling-delay-passive = <250>; | ||
| 116 | polling-delay = <1000>; | ||
| 117 | thermal-sensors = <&scpi_sensors 0>; | ||
| 118 | trips { | ||
| 119 | cpu_passive: cpu-passive { | ||
| 120 | temperature = <70000>; /* millicelsius */ | ||
| 121 | hysteresis = <2000>; /* millicelsius */ | ||
| 122 | type = "passive"; | ||
| 123 | }; | ||
| 124 | |||
| 125 | cpu_hot: cpu-hot { | ||
| 126 | temperature = <80000>; /* millicelsius */ | ||
| 127 | hysteresis = <2000>; /* millicelsius */ | ||
| 128 | type = "hot"; | ||
| 129 | }; | ||
| 130 | |||
| 131 | cpu_critical: cpu-critical { | ||
| 132 | temperature = <100000>; /* millicelsius */ | ||
| 133 | hysteresis = <2000>; /* millicelsius */ | ||
| 134 | type = "critical"; | ||
| 135 | }; | ||
| 136 | }; | ||
| 137 | }; | ||
| 138 | |||
| 139 | cpu_cooling_maps: cooling-maps { | ||
| 140 | map0 { | ||
| 141 | trip = <&cpu_passive>; | ||
| 142 | cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, | ||
| 143 | <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, | ||
| 144 | <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, | ||
| 145 | <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; | ||
| 146 | }; | ||
| 147 | |||
| 148 | map1 { | ||
| 149 | trip = <&cpu_hot>; | ||
| 150 | cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, | ||
| 151 | <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, | ||
| 152 | <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, | ||
| 153 | <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; | ||
| 154 | }; | ||
| 155 | }; | ||
| 156 | }; | ||
| 157 | |||
| 158 | onewire { | ||
| 159 | compatible = "w1-gpio"; | ||
| 160 | gpios = <&gpio GPIOA_14 GPIO_ACTIVE_HIGH>; | ||
| 161 | #gpio-cells = <1>; | ||
| 162 | }; | ||
| 163 | }; | ||
| 164 | |||
| 165 | &efuse { | ||
| 166 | sn: sn@32 { | ||
| 167 | reg = <0x32 0x20>; | ||
| 168 | }; | ||
| 169 | |||
| 170 | eth_mac: eth_mac@0 { | ||
| 171 | reg = <0x0 0x6>; | ||
| 172 | }; | ||
| 173 | |||
| 174 | bt_mac: bt_mac@6 { | ||
| 175 | reg = <0x6 0x6>; | ||
| 176 | }; | ||
| 177 | |||
| 178 | wifi_mac: wifi_mac@c { | ||
| 179 | reg = <0xc 0x6>; | ||
| 180 | }; | ||
| 181 | |||
| 182 | bid: bid@12 { | ||
| 183 | reg = <0x12 0x20>; | ||
| 184 | }; | ||
| 185 | }; | ||
| 186 | |||
| 187 | ðmac { | ||
| 188 | status = "okay"; | ||
| 189 | pinctrl-0 = <ð_rmii_x_pins>; | ||
| 190 | pinctrl-names = "default"; | ||
| 191 | phy-handle = <ð_phy0>; | ||
| 192 | phy-mode = "rmii"; | ||
| 193 | |||
| 194 | mdio { | ||
| 195 | compatible = "snps,dwmac-mdio"; | ||
| 196 | #address-cells = <1>; | ||
| 197 | #size-cells = <0>; | ||
| 198 | |||
| 199 | /* ICPlus IP101A/G Ethernet PHY (vendor_id=0x0243, model_id=0x0c54) */ | ||
| 200 | eth_phy0: ethernet-phy@0 { | ||
| 201 | /* compatible = "ethernet-phy-id0243.0c54";*/ | ||
| 202 | max-speed = <100>; | ||
| 203 | reg = <0>; | ||
| 204 | |||
| 205 | reset-assert-us = <10000>; | ||
| 206 | reset-deassert-us = <10000>; | ||
| 207 | reset-gpios = <&gpio GPIOZ_5 GPIO_ACTIVE_LOW>; | ||
| 208 | }; | ||
| 209 | }; | ||
| 210 | }; | ||
| 211 | |||
| 212 | /* Internal I2C bus (on CPU module) */ | ||
| 213 | &i2c1 { | ||
| 214 | status = "okay"; | ||
| 215 | pinctrl-0 = <&i2c1_z_pins>; | ||
| 216 | pinctrl-names = "default"; | ||
| 217 | |||
| 218 | /* RTC */ | ||
| 219 | pcf8563: pcf8563@51 { | ||
| 220 | compatible = "nxp,pcf8563"; | ||
| 221 | reg = <0x51>; | ||
| 222 | status = "okay"; | ||
| 223 | }; | ||
| 224 | }; | ||
| 225 | |||
| 226 | /* Peripheral I2C bus (on motherboard) */ | ||
| 227 | &i2c_AO { | ||
| 228 | status = "okay"; | ||
| 229 | pinctrl-0 = <&i2c_ao_sck_10_pins>, <&i2c_ao_sda_11_pins>; | ||
| 230 | pinctrl-names = "default"; | ||
| 231 | }; | ||
| 232 | |||
| 233 | &pwm_ab { | ||
| 234 | status = "okay"; | ||
| 235 | pinctrl-0 = <&pwm_a_x20_pins>; | ||
| 236 | pinctrl-names = "default"; | ||
| 237 | }; | ||
| 238 | |||
| 239 | /* wifi module */ | ||
| 240 | &sd_emmc_b { | ||
| 241 | status = "okay"; | ||
| 242 | #address-cells = <1>; | ||
| 243 | #size-cells = <0>; | ||
| 244 | |||
| 245 | pinctrl-0 = <&sdio_pins>; | ||
| 246 | pinctrl-1 = <&sdio_clk_gate_pins>; | ||
| 247 | pinctrl-names = "default", "clk-gate"; | ||
| 248 | |||
| 249 | bus-width = <4>; | ||
| 250 | cap-sd-highspeed; | ||
| 251 | sd-uhs-sdr104; | ||
| 252 | max-frequency = <200000000>; | ||
| 253 | non-removable; | ||
| 254 | disable-wp; | ||
| 255 | |||
| 256 | mmc-pwrseq = <&sdio_pwrseq>; | ||
| 257 | |||
| 258 | vmmc-supply = <&vddao_3v3>; | ||
| 259 | vqmmc-supply = <&vddio_boot>; | ||
| 260 | |||
| 261 | brcmf: wifi@1 { | ||
| 262 | reg = <1>; | ||
| 263 | compatible = "brcm,bcm4329-fmac"; | ||
| 264 | }; | ||
| 265 | }; | ||
| 266 | |||
| 267 | /* emmc storage */ | ||
| 268 | &sd_emmc_c { | ||
| 269 | status = "okay"; | ||
| 270 | pinctrl-0 = <&emmc_pins>, <&emmc_ds_pins>; | ||
| 271 | pinctrl-1 = <&emmc_clk_gate_pins>; | ||
| 272 | pinctrl-names = "default", "clk-gate"; | ||
| 273 | |||
| 274 | bus-width = <8>; | ||
| 275 | cap-mmc-highspeed; | ||
| 276 | max-frequency = <200000000>; | ||
| 277 | non-removable; | ||
| 278 | disable-wp; | ||
| 279 | mmc-ddr-1_8v; | ||
| 280 | mmc-hs200-1_8v; | ||
| 281 | |||
| 282 | mmc-pwrseq = <&emmc_pwrseq>; | ||
| 283 | |||
| 284 | vmmc-supply = <&vcc_3v3>; | ||
| 285 | vqmmc-supply = <&vddio_boot>; | ||
| 286 | }; | ||
| 287 | |||
| 288 | /* UART Bluetooth */ | ||
| 289 | &uart_B { | ||
| 290 | status = "okay"; | ||
| 291 | pinctrl-0 = <&uart_b_z_pins>, <&uart_b_z_cts_rts_pins>; | ||
| 292 | pinctrl-names = "default"; | ||
| 293 | uart-has-rtscts; | ||
| 294 | |||
| 295 | bluetooth { | ||
| 296 | compatible = "brcm,bcm43438-bt"; | ||
| 297 | shutdown-gpios = <&gpio GPIOZ_7 GPIO_ACTIVE_HIGH>; | ||
| 298 | }; | ||
| 299 | }; | ||
| 300 | |||
| 301 | /* UART Console */ | ||
| 302 | &uart_AO { | ||
| 303 | status = "okay"; | ||
| 304 | pinctrl-0 = <&uart_ao_a_pins>; | ||
| 305 | pinctrl-names = "default"; | ||
| 306 | }; | ||
| 307 | |||
| 308 | /* UART Wireless module */ | ||
| 309 | &uart_AO_B { | ||
| 310 | status = "okay"; | ||
| 311 | pinctrl-0 = <&uart_ao_b_pins>; | ||
| 312 | pinctrl-names = "default"; | ||
| 313 | }; | ||
| 314 | |||
| 315 | &usb { | ||
| 316 | status = "okay"; | ||
| 317 | phy-supply = <&usb_pwr>; | ||
| 318 | }; | ||
| 319 | |||
| 320 | &spicc1 { | ||
| 321 | status = "okay"; | ||
| 322 | pinctrl-0 = <&spi1_x_pins>, <&spi1_ss0_x_pins>; | ||
| 323 | pinctrl-names = "default"; | ||
| 324 | }; | ||
| 325 | |||
| 326 | &gpio { | ||
| 327 | gpio-line-names = | ||
| 328 | "", "", "", "", "", // 0 - 4 | ||
| 329 | "", "", "", "", "", // 5 - 9 | ||
| 330 | "UserButton", "", "", "", "", // 10 - 14 | ||
| 331 | "", "", "", "", "", // 15 - 19 | ||
| 332 | "", "", "", "", "", // 20 - 24 | ||
| 333 | "", "LedRed", "LedGreen", "Output3", "Output2", // 25 - 29 | ||
| 334 | "Output1", "", "", "", "", // 30 - 34 | ||
| 335 | "", "ZigBeeBOOT", "", "", "", // 35 - 39 | ||
| 336 | "1Wire", "ZigBeeRESET", "", "Input4", "Input3", // 40 - 44 | ||
| 337 | "Input2", "Input1", "", "", "", // 45 - 49 | ||
| 338 | "", "", "", "", "", // 50 - 54 | ||
| 339 | "", "", "", "", "", // 55 - 59 | ||
| 340 | "", "", "", "", "", // 60 - 64 | ||
| 341 | "", "", "", "", "", // 65 - 69 | ||
| 342 | "", "", "", "", "", // 70 - 74 | ||
| 343 | "", "", "", "", "", // 75 - 79 | ||
| 344 | "", "", "", "", "", // 80 - 84 | ||
| 345 | "", ""; // 85-86 | ||
| 346 | }; | ||
| 347 | |||
| 348 | &cpu0 { | ||
| 349 | #cooling-cells = <2>; | ||
| 350 | }; | ||
| 351 | |||
| 352 | &cpu1 { | ||
| 353 | #cooling-cells = <2>; | ||
| 354 | }; | ||
| 355 | |||
| 356 | &cpu2 { | ||
| 357 | #cooling-cells = <2>; | ||
| 358 | }; | ||
| 359 | |||
| 360 | &cpu3 { | ||
| 361 | #cooling-cells = <2>; | ||
| 362 | }; | ||
| @@ -0,0 +1,405 @@ | |||
| 1 | // SPDX-License-Identifier: (GPL-2.0+ OR MIT) | ||
| 2 | /* | ||
| 3 | * Copyright (c) 2018 BayLibre SAS. All rights reserved. | ||
| 4 | */ | ||
| 5 | |||
| 6 | /dts-v1/; | ||
| 7 | |||
| 8 | #include "meson-g12a.dtsi" | ||
| 9 | #include <dt-bindings/gpio/meson-g12a-gpio.h> | ||
| 10 | #include <dt-bindings/sound/meson-g12a-tohdmitx.h> | ||
| 11 | |||
| 12 | / { | ||
| 13 | compatible = "radxa,zero", "amlogic,g12a"; | ||
| 14 | model = "Radxa Zero"; | ||
| 15 | |||
| 16 | aliases { | ||
| 17 | serial0 = &uart_AO; | ||
| 18 | }; | ||
| 19 | |||
| 20 | chosen { | ||
| 21 | stdout-path = "serial0:115200n8"; | ||
| 22 | }; | ||
| 23 | |||
| 24 | memory@0 { | ||
| 25 | device_type = "memory"; | ||
| 26 | reg = <0x0 0x0 0x0 0x40000000>; | ||
| 27 | }; | ||
| 28 | |||
| 29 | cvbs-connector { | ||
| 30 | status = "disabled"; | ||
| 31 | compatible = "composite-video-connector"; | ||
| 32 | |||
| 33 | port { | ||
| 34 | cvbs_connector_in: endpoint { | ||
| 35 | remote-endpoint = <&cvbs_vdac_out>; | ||
| 36 | }; | ||
| 37 | }; | ||
| 38 | }; | ||
| 39 | |||
| 40 | hdmi-connector { | ||
| 41 | compatible = "hdmi-connector"; | ||
| 42 | type = "a"; | ||
| 43 | |||
| 44 | port { | ||
| 45 | hdmi_connector_in: endpoint { | ||
| 46 | remote-endpoint = <&hdmi_tx_tmds_out>; | ||
| 47 | }; | ||
| 48 | }; | ||
| 49 | }; | ||
| 50 | |||
| 51 | emmc_pwrseq: emmc-pwrseq { | ||
| 52 | compatible = "mmc-pwrseq-emmc"; | ||
| 53 | reset-gpios = <&gpio BOOT_12 GPIO_ACTIVE_LOW>; | ||
| 54 | }; | ||
| 55 | |||
| 56 | sdio_pwrseq: sdio-pwrseq { | ||
| 57 | compatible = "mmc-pwrseq-simple"; | ||
| 58 | reset-gpios = <&gpio GPIOX_6 GPIO_ACTIVE_LOW>; | ||
| 59 | clocks = <&wifi32k>; | ||
| 60 | clock-names = "ext_clock"; | ||
| 61 | }; | ||
| 62 | |||
| 63 | ao_5v: regulator-ao_5v { | ||
| 64 | compatible = "regulator-fixed"; | ||
| 65 | regulator-name = "AO_5V"; | ||
| 66 | regulator-min-microvolt = <5000000>; | ||
| 67 | regulator-max-microvolt = <5000000>; | ||
| 68 | regulator-always-on; | ||
| 69 | }; | ||
| 70 | |||
| 71 | vcc_1v8: regulator-vcc_1v8 { | ||
| 72 | compatible = "regulator-fixed"; | ||
| 73 | regulator-name = "VCC_1V8"; | ||
| 74 | regulator-min-microvolt = <1800000>; | ||
| 75 | regulator-max-microvolt = <1800000>; | ||
| 76 | vin-supply = <&vcc_3v3>; | ||
| 77 | regulator-always-on; | ||
| 78 | }; | ||
| 79 | |||
| 80 | vcc_3v3: regulator-vcc_3v3 { | ||
| 81 | compatible = "regulator-fixed"; | ||
| 82 | regulator-name = "VCC_3V3"; | ||
| 83 | regulator-min-microvolt = <3300000>; | ||
| 84 | regulator-max-microvolt = <3300000>; | ||
| 85 | vin-supply = <&vddao_3v3>; | ||
| 86 | regulator-always-on; | ||
| 87 | }; | ||
| 88 | |||
| 89 | hdmi_pw: regulator-hdmi_pw { | ||
| 90 | compatible = "regulator-fixed"; | ||
| 91 | regulator-name = "HDMI_PW"; | ||
| 92 | regulator-min-microvolt = <5000000>; | ||
| 93 | regulator-max-microvolt = <5000000>; | ||
| 94 | vin-supply = <&ao_5v>; | ||
| 95 | regulator-always-on; | ||
| 96 | }; | ||
| 97 | |||
| 98 | vddao_1v8: regulator-vddao_1v8 { | ||
| 99 | compatible = "regulator-fixed"; | ||
| 100 | regulator-name = "VDDAO_1V8"; | ||
| 101 | regulator-min-microvolt = <1800000>; | ||
| 102 | regulator-max-microvolt = <1800000>; | ||
| 103 | vin-supply = <&vddao_3v3>; | ||
| 104 | regulator-always-on; | ||
| 105 | }; | ||
| 106 | |||
| 107 | vddao_3v3: regulator-vddao_3v3 { | ||
| 108 | compatible = "regulator-fixed"; | ||
| 109 | regulator-name = "VDDAO_3V3"; | ||
| 110 | regulator-min-microvolt = <3300000>; | ||
| 111 | regulator-max-microvolt = <3300000>; | ||
| 112 | vin-supply = <&ao_5v>; | ||
| 113 | regulator-always-on; | ||
| 114 | }; | ||
| 115 | |||
| 116 | vddcpu: regulator-vddcpu { | ||
| 117 | compatible = "pwm-regulator"; | ||
| 118 | |||
| 119 | regulator-name = "VDDCPU"; | ||
| 120 | regulator-min-microvolt = <721000>; | ||
| 121 | regulator-max-microvolt = <1022000>; | ||
| 122 | |||
| 123 | vin-supply = <&ao_5v>; | ||
| 124 | |||
| 125 | pwms = <&pwm_AO_cd 1 1250 0>; | ||
| 126 | pwm-dutycycle-range = <100 0>; | ||
| 127 | |||
| 128 | regulator-boot-on; | ||
| 129 | regulator-always-on; | ||
| 130 | }; | ||
| 131 | |||
| 132 | sound { | ||
| 133 | compatible = "amlogic,axg-sound-card"; | ||
| 134 | model = "RADXA-ZERO"; | ||
| 135 | audio-aux-devs = <&tdmout_b>; | ||
| 136 | audio-routing = "TDMOUT_B IN 0", "FRDDR_A OUT 1", | ||
| 137 | "TDMOUT_B IN 1", "FRDDR_B OUT 1", | ||
| 138 | "TDMOUT_B IN 2", "FRDDR_C OUT 1", | ||
| 139 | "TDM_B Playback", "TDMOUT_B OUT"; | ||
| 140 | |||
| 141 | assigned-clocks = <&clkc CLKID_MPLL2>, | ||
| 142 | <&clkc CLKID_MPLL0>, | ||
| 143 | <&clkc CLKID_MPLL1>; | ||
| 144 | assigned-clock-parents = <0>, <0>, <0>; | ||
| 145 | assigned-clock-rates = <294912000>, | ||
| 146 | <270950400>, | ||
| 147 | <393216000>; | ||
| 148 | status = "okay"; | ||
| 149 | |||
| 150 | dai-link-0 { | ||
| 151 | sound-dai = <&frddr_a>; | ||
| 152 | }; | ||
| 153 | |||
| 154 | dai-link-1 { | ||
| 155 | sound-dai = <&frddr_b>; | ||
| 156 | }; | ||
| 157 | |||
| 158 | dai-link-2 { | ||
| 159 | sound-dai = <&frddr_c>; | ||
| 160 | }; | ||
| 161 | |||
| 162 | /* 8ch hdmi interface */ | ||
| 163 | dai-link-3 { | ||
| 164 | sound-dai = <&tdmif_b>; | ||
| 165 | dai-format = "i2s"; | ||
| 166 | dai-tdm-slot-tx-mask-0 = <1 1>; | ||
| 167 | dai-tdm-slot-tx-mask-1 = <1 1>; | ||
| 168 | dai-tdm-slot-tx-mask-2 = <1 1>; | ||
| 169 | dai-tdm-slot-tx-mask-3 = <1 1>; | ||
| 170 | mclk-fs = <256>; | ||
| 171 | |||
| 172 | codec { | ||
| 173 | sound-dai = <&tohdmitx TOHDMITX_I2S_IN_B>; | ||
| 174 | }; | ||
| 175 | }; | ||
| 176 | |||
| 177 | dai-link-4 { | ||
| 178 | sound-dai = <&tohdmitx TOHDMITX_I2S_OUT>; | ||
| 179 | |||
| 180 | codec { | ||
| 181 | sound-dai = <&hdmi_tx>; | ||
| 182 | }; | ||
| 183 | }; | ||
| 184 | }; | ||
| 185 | |||
| 186 | wifi32k: wifi32k { | ||
| 187 | compatible = "pwm-clock"; | ||
| 188 | #clock-cells = <0>; | ||
| 189 | clock-frequency = <32768>; | ||
| 190 | pwms = <&pwm_ef 0 30518 0>; /* PWM_E at 32.768KHz */ | ||
| 191 | }; | ||
| 192 | }; | ||
| 193 | |||
| 194 | &arb { | ||
| 195 | status = "okay"; | ||
| 196 | }; | ||
| 197 | |||
| 198 | &cec_AO { | ||
| 199 | pinctrl-0 = <&cec_ao_a_h_pins>; | ||
| 200 | pinctrl-names = "default"; | ||
| 201 | status = "disabled"; | ||
| 202 | hdmi-phandle = <&hdmi_tx>; | ||
| 203 | }; | ||
| 204 | |||
| 205 | &cecb_AO { | ||
| 206 | pinctrl-0 = <&cec_ao_b_h_pins>; | ||
| 207 | pinctrl-names = "default"; | ||
| 208 | status = "okay"; | ||
| 209 | hdmi-phandle = <&hdmi_tx>; | ||
| 210 | }; | ||
| 211 | |||
| 212 | &clkc_audio { | ||
| 213 | status = "okay"; | ||
| 214 | }; | ||
| 215 | |||
| 216 | &cpu0 { | ||
| 217 | cpu-supply = <&vddcpu>; | ||
| 218 | operating-points-v2 = <&cpu_opp_table>; | ||
| 219 | clocks = <&clkc CLKID_CPU_CLK>; | ||
| 220 | clock-latency = <50000>; | ||
| 221 | }; | ||
| 222 | |||
| 223 | &cpu1 { | ||
| 224 | cpu-supply = <&vddcpu>; | ||
| 225 | operating-points-v2 = <&cpu_opp_table>; | ||
| 226 | clocks = <&clkc CLKID_CPU_CLK>; | ||
| 227 | clock-latency = <50000>; | ||
| 228 | }; | ||
| 229 | |||
| 230 | &cpu2 { | ||
| 231 | cpu-supply = <&vddcpu>; | ||
| 232 | operating-points-v2 = <&cpu_opp_table>; | ||
| 233 | clocks = <&clkc CLKID_CPU_CLK>; | ||
| 234 | clock-latency = <50000>; | ||
| 235 | }; | ||
| 236 | |||
| 237 | &cpu3 { | ||
| 238 | cpu-supply = <&vddcpu>; | ||
| 239 | operating-points-v2 = <&cpu_opp_table>; | ||
| 240 | clocks = <&clkc CLKID_CPU_CLK>; | ||
| 241 | clock-latency = <50000>; | ||
| 242 | }; | ||
| 243 | |||
| 244 | &cvbs_vdac_port { | ||
| 245 | cvbs_vdac_out: endpoint { | ||
| 246 | remote-endpoint = <&cvbs_connector_in>; | ||
| 247 | }; | ||
| 248 | }; | ||
| 249 | |||
| 250 | &frddr_a { | ||
| 251 | status = "okay"; | ||
| 252 | }; | ||
| 253 | |||
| 254 | &frddr_b { | ||
| 255 | status = "okay"; | ||
| 256 | }; | ||
| 257 | |||
| 258 | &frddr_c { | ||
| 259 | status = "okay"; | ||
| 260 | }; | ||
| 261 | |||
| 262 | &hdmi_tx { | ||
| 263 | status = "okay"; | ||
| 264 | pinctrl-0 = <&hdmitx_hpd_pins>, <&hdmitx_ddc_pins>; | ||
| 265 | pinctrl-names = "default"; | ||
| 266 | hdmi-supply = <&hdmi_pw>; | ||
| 267 | }; | ||
| 268 | |||
| 269 | &hdmi_tx_tmds_port { | ||
| 270 | hdmi_tx_tmds_out: endpoint { | ||
| 271 | remote-endpoint = <&hdmi_connector_in>; | ||
| 272 | }; | ||
| 273 | }; | ||
| 274 | |||
| 275 | &ir { | ||
| 276 | status = "disabled"; | ||
| 277 | pinctrl-0 = <&remote_input_ao_pins>; | ||
| 278 | pinctrl-names = "default"; | ||
| 279 | }; | ||
| 280 | |||
| 281 | &pwm_AO_cd { | ||
| 282 | pinctrl-0 = <&pwm_ao_d_e_pins>; | ||
| 283 | pinctrl-names = "default"; | ||
| 284 | clocks = <&xtal>; | ||
| 285 | clock-names = "clkin1"; | ||
| 286 | status = "okay"; | ||
| 287 | }; | ||
| 288 | |||
| 289 | &pwm_ef { | ||
| 290 | status = "okay"; | ||
| 291 | pinctrl-0 = <&pwm_e_pins>; | ||
| 292 | pinctrl-names = "default"; | ||
| 293 | clocks = <&xtal>; | ||
| 294 | clock-names = "clkin0"; | ||
| 295 | }; | ||
| 296 | |||
| 297 | &saradc { | ||
| 298 | status = "okay"; | ||
| 299 | vref-supply = <&vddao_1v8>; | ||
| 300 | }; | ||
| 301 | |||
| 302 | /* SDIO */ | ||
| 303 | &sd_emmc_a { | ||
| 304 | status = "okay"; | ||
| 305 | pinctrl-0 = <&sdio_pins>; | ||
| 306 | pinctrl-1 = <&sdio_clk_gate_pins>; | ||
| 307 | pinctrl-names = "default", "clk-gate"; | ||
| 308 | #address-cells = <1>; | ||
| 309 | #size-cells = <0>; | ||
| 310 | |||
| 311 | bus-width = <4>; | ||
| 312 | cap-sd-highspeed; | ||
| 313 | sd-uhs-sdr50; | ||
| 314 | max-frequency = <100000000>; | ||
| 315 | |||
| 316 | non-removable; | ||
| 317 | disable-wp; | ||
| 318 | |||
| 319 | /* WiFi firmware requires power to be kept while in suspend */ | ||
| 320 | keep-power-in-suspend; | ||
| 321 | |||
| 322 | mmc-pwrseq = <&sdio_pwrseq>; | ||
| 323 | |||
| 324 | vmmc-supply = <&vddao_3v3>; | ||
| 325 | vqmmc-supply = <&vddao_1v8>; | ||
| 326 | |||
| 327 | brcmf: wifi@1 { | ||
| 328 | reg = <1>; | ||
| 329 | compatible = "brcm,bcm4329-fmac"; | ||
| 330 | }; | ||
| 331 | }; | ||
| 332 | |||
| 333 | /* SD card */ | ||
| 334 | &sd_emmc_b { | ||
| 335 | status = "okay"; | ||
| 336 | pinctrl-0 = <&sdcard_c_pins>; | ||
| 337 | pinctrl-1 = <&sdcard_clk_gate_c_pins>; | ||
| 338 | pinctrl-names = "default", "clk-gate"; | ||
| 339 | |||
| 340 | bus-width = <4>; | ||
| 341 | cap-sd-highspeed; | ||
| 342 | max-frequency = <100000000>; | ||
| 343 | disable-wp; | ||
| 344 | |||
| 345 | cd-gpios = <&gpio GPIOC_6 GPIO_ACTIVE_LOW>; | ||
| 346 | vmmc-supply = <&vddao_3v3>; | ||
| 347 | vqmmc-supply = <&vddao_3v3>; | ||
| 348 | }; | ||
| 349 | |||
| 350 | /* eMMC */ | ||
| 351 | &sd_emmc_c { | ||
| 352 | status = "okay"; | ||
| 353 | pinctrl-0 = <&emmc_ctrl_pins>, <&emmc_data_8b_pins>, <&emmc_ds_pins>; | ||
| 354 | pinctrl-1 = <&emmc_clk_gate_pins>; | ||
| 355 | pinctrl-names = "default", "clk-gate"; | ||
| 356 | |||
| 357 | bus-width = <8>; | ||
| 358 | cap-mmc-highspeed; | ||
| 359 | mmc-ddr-1_8v; | ||
| 360 | mmc-hs200-1_8v; | ||
| 361 | max-frequency = <200000000>; | ||
| 362 | disable-wp; | ||
| 363 | |||
| 364 | mmc-pwrseq = <&emmc_pwrseq>; | ||
| 365 | vmmc-supply = <&vcc_3v3>; | ||
| 366 | vqmmc-supply = <&vcc_1v8>; | ||
| 367 | }; | ||
| 368 | |||
| 369 | &tdmif_b { | ||
| 370 | status = "okay"; | ||
| 371 | }; | ||
| 372 | |||
| 373 | &tdmout_b { | ||
| 374 | status = "okay"; | ||
| 375 | }; | ||
| 376 | |||
| 377 | &tohdmitx { | ||
| 378 | status = "okay"; | ||
| 379 | }; | ||
| 380 | |||
| 381 | &uart_A { | ||
| 382 | status = "okay"; | ||
| 383 | pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>; | ||
| 384 | pinctrl-names = "default"; | ||
| 385 | uart-has-rtscts; | ||
| 386 | |||
| 387 | bluetooth { | ||
| 388 | compatible = "brcm,bcm43438-bt"; | ||
| 389 | shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>; | ||
| 390 | max-speed = <2000000>; | ||
| 391 | clocks = <&wifi32k>; | ||
| 392 | clock-names = "lpo"; | ||
| 393 | }; | ||
| 394 | }; | ||
| 395 | |||
| 396 | &uart_AO { | ||
| 397 | status = "okay"; | ||
| 398 | pinctrl-0 = <&uart_ao_a_pins>; | ||
| 399 | pinctrl-names = "default"; | ||
| 400 | }; | ||
| 401 | |||
| 402 | &usb { | ||
| 403 | status = "okay"; | ||
| 404 | dr_mode = "host"; | ||
| 405 | }; | ||
| @@ -139,7 +139,7 @@ · 138 unmodified lines | |||
| 139 | regulator-min-microvolt = <721000>; | 139 | regulator-min-microvolt = <721000>; |
| 140 | regulator-max-microvolt = <1022000>; | 140 | regulator-max-microvolt = <1022000>; |
| 141 | 141 | ||
| 142 | vin-supply = <&dc_in>; | 142 | pwm-supply = <&dc_in>; |
| 143 | 143 | ||
| 144 | pwms = <&pwm_AO_cd 1 1250 0>; | 144 | pwms = <&pwm_AO_cd 1 1250 0>; |
| 145 | pwm-dutycycle-range = <100 0>; | 145 | pwm-dutycycle-range = <100 0>; |
| @@ -139,7 +139,7 @@ · 138 unmodified lines | |||
| 139 | regulator-min-microvolt = <721000>; | 139 | regulator-min-microvolt = <721000>; |
| 140 | regulator-max-microvolt = <1022000>; | 140 | regulator-max-microvolt = <1022000>; |
| 141 | 141 | ||
| 142 | vin-supply = <&main_12v>; | 142 | pwm-supply = <&main_12v>; |
| 143 | 143 | ||
| 144 | pwms = <&pwm_AO_cd 1 1250 0>; | 144 | pwms = <&pwm_AO_cd 1 1250 0>; |
| 145 | pwm-dutycycle-range = <100 0>; | 145 | pwm-dutycycle-range = <100 0>; |
| @@ -139,7 +139,7 @@ · 138 unmodified lines | |||
| 139 | regulator-min-microvolt = <721000>; | 139 | regulator-min-microvolt = <721000>; |
| 140 | regulator-max-microvolt = <1022000>; | 140 | regulator-max-microvolt = <1022000>; |
| 141 | 141 | ||
| 142 | vin-supply = <&dc_in>; | 142 | pwm-supply = <&dc_in>; |
| 143 | 143 | ||
| 144 | pwms = <&pwm_AO_cd 1 1250 0>; | 144 | pwms = <&pwm_AO_cd 1 1250 0>; |
| 145 | pwm-dutycycle-range = <100 0>; | 145 | pwm-dutycycle-range = <100 0>; |
| @@ -18,7 +18,7 @@ · 17 unmodified lines | |||
| 18 | regulator-min-microvolt = <690000>; | 18 | regulator-min-microvolt = <690000>; |
| 19 | regulator-max-microvolt = <1050000>; | 19 | regulator-max-microvolt = <1050000>; |
| 20 | 20 | ||
| 21 | vin-supply = <&dc_in>; | 21 | pwm-supply = <&dc_in>; |
| 22 | 22 | ||
| 23 | pwms = <&pwm_ab 0 1250 0>; | 23 | pwms = <&pwm_ab 0 1250 0>; |
| 24 | pwm-dutycycle-range = <100 0>; | 24 | pwm-dutycycle-range = <100 0>; |
| @@ -37,7 +37,7 @@ · 12 unmodified lines | |||
| 37 | regulator-min-microvolt = <690000>; | 37 | regulator-min-microvolt = <690000>; |
| 38 | regulator-max-microvolt = <1050000>; | 38 | regulator-max-microvolt = <1050000>; |
| 39 | 39 | ||
| 40 | vin-supply = <&vsys_3v3>; | 40 | pwm-supply = <&vsys_3v3>; |
| 41 | 41 | ||
| 42 | pwms = <&pwm_AO_cd 1 1250 0>; | 42 | pwms = <&pwm_AO_cd 1 1250 0>; |
| 43 | pwm-dutycycle-range = <100 0>; | 43 | pwm-dutycycle-range = <100 0>; |
| @@ -99,6 +99,8 @@ · 98 unmodified lines | |||
| 99 | regulator-max-microvolt = <5000000>; | 99 | regulator-max-microvolt = <5000000>; |
| 100 | regulator-always-on; | 100 | regulator-always-on; |
| 101 | vin-supply = <&main_12v>; | 101 | vin-supply = <&main_12v>; |
| 102 | gpio = <&gpio GPIOH_8 GPIO_OPEN_DRAIN>; | ||
| 103 | enable-active-high; | ||
| 102 | }; | 104 | }; |
| 103 | 105 | ||
| 104 | vcc_1v8: regulator-vcc_1v8 { | 106 | vcc_1v8: regulator-vcc_1v8 { |
| @@ -130,7 +132,7 @@ · 25 unmodified lines | |||
| 130 | regulator-min-microvolt = <721000>; | 132 | regulator-min-microvolt = <721000>; |
| 131 | regulator-max-microvolt = <1022000>; | 133 | regulator-max-microvolt = <1022000>; |
| 132 | 134 | ||
| 133 | vin-supply = <&main_12v>; | 135 | pwm-supply = <&main_12v>; |
| 134 | 136 | ||
| 135 | pwms = <&pwm_ab 0 1250 0>; | 137 | pwms = <&pwm_ab 0 1250 0>; |
| 136 | pwm-dutycycle-range = <100 0>; | 138 | pwm-dutycycle-range = <100 0>; |
| @@ -149,7 +151,7 @@ · 12 unmodified lines | |||
| 149 | regulator-min-microvolt = <721000>; | 151 | regulator-min-microvolt = <721000>; |
| 150 | regulator-max-microvolt = <1022000>; | 152 | regulator-max-microvolt = <1022000>; |
| 151 | 153 | ||
| 152 | vin-supply = <&main_12v>; | 154 | pwm-supply = <&main_12v>; |
| 153 | 155 | ||
| 154 | pwms = <&pwm_AO_cd 1 1250 0>; | 156 | pwms = <&pwm_AO_cd 1 1250 0>; |
| 155 | pwm-dutycycle-range = <100 0>; | 157 | pwm-dutycycle-range = <100 0>; |
| @@ -96,7 +96,7 @@ · 95 unmodified lines | |||
| 96 | regulator-min-microvolt = <721000>; | 96 | regulator-min-microvolt = <721000>; |
| 97 | regulator-max-microvolt = <1022000>; | 97 | regulator-max-microvolt = <1022000>; |
| 98 | 98 | ||
| 99 | vin-supply = <&main_12v>; | 99 | pwm-supply = <&main_12v>; |
| 100 | 100 | ||
| 101 | pwms = <&pwm_ab 0 1250 0>; | 101 | pwms = <&pwm_ab 0 1250 0>; |
| 102 | pwm-dutycycle-range = <100 0>; | 102 | pwm-dutycycle-range = <100 0>; |
| @@ -115,7 +115,7 @@ · 12 unmodified lines | |||
| 115 | regulator-min-microvolt = <721000>; | 115 | regulator-min-microvolt = <721000>; |
| 116 | regulator-max-microvolt = <1022000>; | 116 | regulator-max-microvolt = <1022000>; |
| 117 | 117 | ||
| 118 | vin-supply = <&main_12v>; | 118 | pwm-supply = <&main_12v>; |
| 119 | 119 | ||
| 120 | pwms = <&pwm_AO_cd 1 1250 0>; | 120 | pwms = <&pwm_AO_cd 1 1250 0>; |
| 121 | pwm-dutycycle-range = <100 0>; | 121 | pwm-dutycycle-range = <100 0>; |
| @@ -0,0 +1,241 @@ | |||
| 1 | // SPDX-License-Identifier: (GPL-2.0+ OR MIT) | ||
| 2 | /* | ||
| 3 | * Copyright (c) 2021 Vyacheslav Bocharov <adeep@lexina.in> | ||
| 4 | * Copyright (c) 2020 JetHome | ||
| 5 | * Author: Aleksandr Kazantsev <ak@tvip.ru> | ||
| 6 | * Author: Alexey Shevelkin <ash@tvip.ru> | ||
| 7 | * Author: Vyacheslav Bocharov <adeep@lexina.in> | ||
| 8 | */ | ||
| 9 | |||
| 10 | /dts-v1/; | ||
| 11 | |||
| 12 | #include "meson-gxl.dtsi" | ||
| 13 | |||
| 14 | / { | ||
| 15 | compatible = "jethome,jethub-j80", "amlogic,s905w", "amlogic,meson-gxl"; | ||
| 16 | model = "JetHome JetHub J80"; | ||
| 17 | memory@0 { | ||
| 18 | device_type = "memory"; | ||
| 19 | reg = <0x0 0x0 0x0 0x40000000>; | ||
| 20 | }; | ||
| 21 | |||
| 22 | reserved-memory { | ||
| 23 | linux,cma { | ||
| 24 | size = <0x0 0x1000000>; | ||
| 25 | }; | ||
| 26 | }; | ||
| 27 | |||
| 28 | aliases { | ||
| 29 | serial0 = &uart_AO; /* Console */ | ||
| 30 | serial1 = &uart_A; /* Bluetooth */ | ||
| 31 | serial2 = &uart_AO_B; /* Wireless module 1 */ | ||
| 32 | serial3 = &uart_C; /* Wireless module 2 */ | ||
| 33 | ethernet0 = ðmac; | ||
| 34 | }; | ||
| 35 | |||
| 36 | chosen { | ||
| 37 | stdout-path = "serial0:115200n8"; | ||
| 38 | }; | ||
| 39 | |||
| 40 | vddio_ao18: regulator-vddio_ao18 { | ||
| 41 | compatible = "regulator-fixed"; | ||
| 42 | regulator-name = "VDDIO_AO18"; | ||
| 43 | regulator-min-microvolt = <1800000>; | ||
| 44 | regulator-max-microvolt = <1800000>; | ||
| 45 | }; | ||
| 46 | |||
| 47 | vddio_boot: regulator-vddio_boot { | ||
| 48 | compatible = "regulator-fixed"; | ||
| 49 | regulator-name = "VDDIO_BOOT"; | ||
| 50 | regulator-min-microvolt = <1800000>; | ||
| 51 | regulator-max-microvolt = <1800000>; | ||
| 52 | }; | ||
| 53 | |||
| 54 | vddao_3v3: regulator-vddao_3v3 { | ||
| 55 | compatible = "regulator-fixed"; | ||
| 56 | regulator-name = "VDDAO_3V3"; | ||
| 57 | regulator-min-microvolt = <3300000>; | ||
| 58 | regulator-max-microvolt = <3300000>; | ||
| 59 | }; | ||
| 60 | |||
| 61 | vcc_3v3: regulator-vcc_3v3 { | ||
| 62 | compatible = "regulator-fixed"; | ||
| 63 | regulator-name = "VCC_3V3"; | ||
| 64 | regulator-min-microvolt = <3300000>; | ||
| 65 | regulator-max-microvolt = <3300000>; | ||
| 66 | }; | ||
| 67 | |||
| 68 | emmc_pwrseq: emmc-pwrseq { | ||
| 69 | compatible = "mmc-pwrseq-emmc"; | ||
| 70 | reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>; | ||
| 71 | }; | ||
| 72 | |||
| 73 | wifi32k: wifi32k { | ||
| 74 | compatible = "pwm-clock"; | ||
| 75 | #clock-cells = <0>; | ||
| 76 | clock-frequency = <32768>; | ||
| 77 | pwms = <&pwm_ef 0 30518 0>; /* PWM_E at 32.768KHz */ | ||
| 78 | }; | ||
| 79 | |||
| 80 | sdio_pwrseq: sdio-pwrseq { | ||
| 81 | compatible = "mmc-pwrseq-simple"; | ||
| 82 | reset-gpios = <&gpio GPIOX_6 GPIO_ACTIVE_LOW>; | ||
| 83 | clocks = <&wifi32k>; | ||
| 84 | clock-names = "ext_clock"; | ||
| 85 | }; | ||
| 86 | }; | ||
| 87 | |||
| 88 | &efuse { | ||
| 89 | bt_mac: bt_mac@6 { | ||
| 90 | reg = <0x6 0x6>; | ||
| 91 | }; | ||
| 92 | |||
| 93 | wifi_mac: wifi_mac@C { | ||
| 94 | reg = <0xc 0x6>; | ||
| 95 | }; | ||
| 96 | }; | ||
| 97 | |||
| 98 | &sn { | ||
| 99 | reg = <0x32 0x20>; | ||
| 100 | }; | ||
| 101 | |||
| 102 | ð_mac { | ||
| 103 | reg = <0x0 0x6>; | ||
| 104 | }; | ||
| 105 | |||
| 106 | &bid { | ||
| 107 | reg = <0x12 0x20>; | ||
| 108 | }; | ||
| 109 | |||
| 110 | &usb { | ||
| 111 | status = "okay"; | ||
| 112 | dr_mode = "host"; | ||
| 113 | }; | ||
| 114 | |||
| 115 | &pwm_ef { | ||
| 116 | status = "okay"; | ||
| 117 | pinctrl-0 = <&pwm_e_pins>; | ||
| 118 | pinctrl-names = "default"; | ||
| 119 | clocks = <&clkc CLKID_FCLK_DIV4>; | ||
| 120 | clock-names = "clkin0"; | ||
| 121 | }; | ||
| 122 | |||
| 123 | &saradc { | ||
| 124 | status = "okay"; | ||
| 125 | vref-supply = <&vddio_ao18>; | ||
| 126 | }; | ||
| 127 | |||
| 128 | /* Wireless SDIO Module */ | ||
| 129 | &sd_emmc_a { | ||
| 130 | status = "okay"; | ||
| 131 | pinctrl-0 = <&sdio_pins>; | ||
| 132 | pinctrl-1 = <&sdio_clk_gate_pins>; | ||
| 133 | pinctrl-names = "default", "clk-gate"; | ||
| 134 | #address-cells = <1>; | ||
| 135 | #size-cells = <0>; | ||
| 136 | |||
| 137 | bus-width = <4>; | ||
| 138 | cap-sd-highspeed; | ||
| 139 | max-frequency = <50000000>; | ||
| 140 | |||
| 141 | non-removable; | ||
| 142 | disable-wp; | ||
| 143 | |||
| 144 | /* WiFi firmware requires power to be kept while in suspend */ | ||
| 145 | keep-power-in-suspend; | ||
| 146 | |||
| 147 | mmc-pwrseq = <&sdio_pwrseq>; | ||
| 148 | |||
| 149 | vmmc-supply = <&vddao_3v3>; | ||
| 150 | vqmmc-supply = <&vddio_boot>; | ||
| 151 | }; | ||
| 152 | |||
| 153 | /* SD card */ | ||
| 154 | &sd_emmc_b { | ||
| 155 | status = "okay"; | ||
| 156 | pinctrl-0 = <&sdcard_pins>; | ||
| 157 | pinctrl-1 = <&sdcard_clk_gate_pins>; | ||
| 158 | pinctrl-names = "default", "clk-gate"; | ||
| 159 | |||
| 160 | bus-width = <4>; | ||
| 161 | cap-sd-highspeed; | ||
| 162 | max-frequency = <50000000>; | ||
| 163 | disable-wp; | ||
| 164 | |||
| 165 | cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_LOW>; | ||
| 166 | |||
| 167 | vmmc-supply = <&vddao_3v3>; | ||
| 168 | vqmmc-supply = <&vddio_boot>; | ||
| 169 | }; | ||
| 170 | |||
| 171 | /* eMMC */ | ||
| 172 | &sd_emmc_c { | ||
| 173 | status = "okay"; | ||
| 174 | pinctrl-0 = <&emmc_pins>, <&emmc_ds_pins>; | ||
| 175 | pinctrl-1 = <&emmc_clk_gate_pins>; | ||
| 176 | pinctrl-names = "default", "clk-gate"; | ||
| 177 | |||
| 178 | bus-width = <8>; | ||
| 179 | cap-mmc-highspeed; | ||
| 180 | max-frequency = <200000000>; | ||
| 181 | non-removable; | ||
| 182 | disable-wp; | ||
| 183 | mmc-ddr-1_8v; | ||
| 184 | mmc-hs200-1_8v; | ||
| 185 | |||
| 186 | mmc-pwrseq = <&emmc_pwrseq>; | ||
| 187 | vmmc-supply = <&vcc_3v3>; | ||
| 188 | vqmmc-supply = <&vddio_boot>; | ||
| 189 | }; | ||
| 190 | |||
| 191 | /* Console UART */ | ||
| 192 | &uart_AO { | ||
| 193 | status = "okay"; | ||
| 194 | pinctrl-0 = <&uart_ao_a_pins>; | ||
| 195 | pinctrl-names = "default"; | ||
| 196 | }; | ||
| 197 | |||
| 198 | /* S905W only has access to its internal PHY */ | ||
| 199 | ðmac { | ||
| 200 | status = "okay"; | ||
| 201 | phy-mode = "rmii"; | ||
| 202 | phy-handle = <&internal_phy>; | ||
| 203 | }; | ||
| 204 | |||
| 205 | &internal_phy { | ||
| 206 | status = "okay"; | ||
| 207 | pinctrl-0 = <ð_link_led_pins>, <ð_act_led_pins>; | ||
| 208 | pinctrl-names = "default"; | ||
| 209 | }; | ||
| 210 | |||
| 211 | &uart_A { | ||
| 212 | status = "okay"; | ||
| 213 | pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>; | ||
| 214 | pinctrl-names = "default"; | ||
| 215 | uart-has-rtscts; | ||
| 216 | }; | ||
| 217 | |||
| 218 | &uart_C { | ||
| 219 | status = "okay"; | ||
| 220 | pinctrl-0 = <&uart_c_pins>; | ||
| 221 | pinctrl-names = "default"; | ||
| 222 | }; | ||
| 223 | |||
| 224 | &uart_AO_B { | ||
| 225 | status = "okay"; | ||
| 226 | pinctrl-0 = <&uart_ao_b_pins>, <&uart_ao_b_cts_rts_pins>; | ||
| 227 | pinctrl-names = "default"; | ||
| 228 | uart-has-rtscts; | ||
| 229 | }; | ||
| 230 | |||
| 231 | &i2c_B { | ||
| 232 | status = "okay"; | ||
| 233 | pinctrl-names = "default"; | ||
| 234 | pinctrl-0 = <&i2c_b_pins>; | ||
| 235 | |||
| 236 | pcf8563: pcf8563@51 { | ||
| 237 | compatible = "nxp,pcf8563"; | ||
| 238 | reg = <0x51>; | ||
| 239 | status = "okay"; | ||
| 240 | }; | ||
| 241 | }; | ||
| @@ -14,6 +14,7 @@ · 13 unmodified lines | |||
| 14 | /dts-v1/; | 14 | /dts-v1/; |
| 15 | 15 | ||
| 16 | #include "meson-gxm.dtsi" | 16 | #include "meson-gxm.dtsi" |
| 17 | #include <dt-bindings/sound/meson-aiu.h> | ||
| 17 | 18 | ||
| 18 | / { | 19 | / { |
| 19 | compatible = "kingnovel,r-box-pro", "amlogic,s912", "amlogic,meson-gxm"; | 20 | compatible = "kingnovel,r-box-pro", "amlogic,s912", "amlogic,meson-gxm"; |
| @@ -33,6 +34,13 @@ · 13 unmodified lines | |||
| 33 | reg = <0x0 0x0 0x0 0x80000000>; /* 2 GiB or 3 GiB */ | 34 | reg = <0x0 0x0 0x0 0x80000000>; /* 2 GiB or 3 GiB */ |
| 34 | }; | 35 | }; |
| 35 | 36 | ||
| 37 | spdif_dit: audio-codec-0 { | ||
| 38 | #sound-dai-cells = <0>; | ||
| 39 | compatible = "linux,spdif-dit"; | ||
| 40 | status = "okay"; | ||
| 41 | sound-name-prefix = "DIT"; | ||
| 42 | }; | ||
| 43 | |||
| 36 | leds { | 44 | leds { |
| 37 | compatible = "gpio-leds"; | 45 | compatible = "gpio-leds"; |
| 38 | 46 | ||
| @@ -90,6 +98,59 @@ · 51 unmodified lines | |||
| 90 | clocks = <&wifi32k>; | 98 | clocks = <&wifi32k>; |
| 91 | clock-names = "ext_clock"; | 99 | clock-names = "ext_clock"; |
| 92 | }; | 100 | }; |
| 101 | |||
| 102 | sound { | ||
| 103 | compatible = "amlogic,gx-sound-card"; | ||
| 104 | model = "RBOX-PRO"; | ||
| 105 | assigned-clocks = <&clkc CLKID_MPLL0>, | ||
| 106 | <&clkc CLKID_MPLL1>, | ||
| 107 | <&clkc CLKID_MPLL2>; | ||
| 108 | assigned-clock-parents = <0>, <0>, <0>; | ||
| 109 | assigned-clock-rates = <294912000>, | ||
| 110 | <270950400>, | ||
| 111 | <393216000>; | ||
| 112 | status = "okay"; | ||
| 113 | |||
| 114 | dai-link-0 { | ||
| 115 | sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; | ||
| 116 | }; | ||
| 117 | |||
| 118 | dai-link-1 { | ||
| 119 | sound-dai = <&aiu AIU_CPU CPU_SPDIF_FIFO>; | ||
| 120 | }; | ||
| 121 | |||
| 122 | dai-link-2 { | ||
| 123 | sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; | ||
| 124 | dai-format = "i2s"; | ||
| 125 | mclk-fs = <256>; | ||
| 126 | |||
| 127 | codec-0 { | ||
| 128 | sound-dai = <&aiu AIU_HDMI CTRL_I2S>; | ||
| 129 | }; | ||
| 130 | }; | ||
| 131 | |||
| 132 | dai-link-3 { | ||
| 133 | sound-dai = <&aiu AIU_CPU CPU_SPDIF_ENCODER>; | ||
| 134 | |||
| 135 | codec-0 { | ||
| 136 | sound-dai = <&spdif_dit>; | ||
| 137 | }; | ||
| 138 | }; | ||
| 139 | |||
| 140 | dai-link-4 { | ||
| 141 | sound-dai = <&aiu AIU_HDMI CTRL_OUT>; | ||
| 142 | |||
| 143 | codec-0 { | ||
| 144 | sound-dai = <&hdmi_tx>; | ||
| 145 | }; | ||
| 146 | }; | ||
| 147 | }; | ||
| 148 | }; | ||
| 149 | |||
| 150 | &aiu { | ||
| 151 | status = "okay"; | ||
| 152 | pinctrl-0 = <&spdif_out_h_pins>; | ||
| 153 | pinctrl-names = "default"; | ||
| 93 | }; | 154 | }; |
| 94 | 155 | ||
| 95 | ðmac { | 156 | ðmac { |
| @@ -173,7 +173,7 @@ · 172 unmodified lines | |||
| 173 | regulator-min-microvolt = <690000>; | 173 | regulator-min-microvolt = <690000>; |
| 174 | regulator-max-microvolt = <1050000>; | 174 | regulator-max-microvolt = <1050000>; |
| 175 | 175 | ||
| 176 | vin-supply = <&dc_in>; | 176 | pwm-supply = <&dc_in>; |
| 177 | 177 | ||
| 178 | pwms = <&pwm_AO_cd 1 1250 0>; | 178 | pwms = <&pwm_AO_cd 1 1250 0>; |
| 179 | pwm-dutycycle-range = <100 0>; | 179 | pwm-dutycycle-range = <100 0>; |
| @@ -24,7 +24,7 @@ · 23 unmodified lines | |||
| 24 | regulator-min-microvolt = <690000>; | 24 | regulator-min-microvolt = <690000>; |
| 25 | regulator-max-microvolt = <1050000>; | 25 | regulator-max-microvolt = <1050000>; |
| 26 | 26 | ||
| 27 | vin-supply = <&vsys_3v3>; | 27 | pwm-supply = <&vsys_3v3>; |
| 28 | 28 | ||
| 29 | pwms = <&pwm_AO_cd 1 1250 0>; | 29 | pwms = <&pwm_AO_cd 1 1250 0>; |
| 30 | pwm-dutycycle-range = <100 0>; | 30 | pwm-dutycycle-range = <100 0>; |
| @@ -116,7 +116,7 @@ · 115 unmodified lines | |||
| 116 | regulator-min-microvolt = <721000>; | 116 | regulator-min-microvolt = <721000>; |
| 117 | regulator-max-microvolt = <1022000>; | 117 | regulator-max-microvolt = <1022000>; |
| 118 | 118 | ||
| 119 | vin-supply = <&main_12v>; | 119 | pwm-supply = <&main_12v>; |
| 120 | 120 | ||
| 121 | pwms = <&pwm_AO_cd 1 1250 0>; | 121 | pwms = <&pwm_AO_cd 1 1250 0>; |
| 122 | pwm-dutycycle-range = <100 0>; | 122 | pwm-dutycycle-range = <100 0>; |
| @@ -263,6 +263,10 @@ · 140 unmodified lines | |||
| 263 | reg = <0>; | 263 | reg = <0>; |
| 264 | max-speed = <1000>; | 264 | max-speed = <1000>; |
| 265 | 265 | ||
| 266 | reset-assert-us = <10000>; | ||
| 267 | reset-deassert-us = <80000>; | ||
| 268 | reset-gpios = <&gpio GPIOZ_15 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>; | ||
| 269 | |||
| 266 | interrupt-parent = <&gpio_intc>; | 270 | interrupt-parent = <&gpio_intc>; |
| 267 | /* MAC_INTR on GPIOZ_14 */ | 271 | /* MAC_INTR on GPIOZ_14 */ |
| 268 | interrupts = <26 IRQ_TYPE_LEVEL_LOW>; | 272 | interrupts = <26 IRQ_TYPE_LEVEL_LOW>; |
| @@ -185,7 +185,7 @@ · 184 unmodified lines | |||
| 185 | regulator-min-microvolt = <690000>; | 185 | regulator-min-microvolt = <690000>; |
| 186 | regulator-max-microvolt = <1050000>; | 186 | regulator-max-microvolt = <1050000>; |
| 187 | 187 | ||
| 188 | vin-supply = <&dc_in>; | 188 | pwm-supply = <&dc_in>; |
| 189 | 189 | ||
| 190 | pwms = <&pwm_AO_cd 1 1500 0>; | 190 | pwms = <&pwm_AO_cd 1 1500 0>; |
| 191 | pwm-dutycycle-range = <100 0>; | 191 | pwm-dutycycle-range = <100 0>; |
| @@ -17,6 +17,7 @@ · 16 unmodified lines | |||
| 17 | 17 | ||
| 18 | aliases { | 18 | aliases { |
| 19 | serial0 = &serial0; | 19 | serial0 = &serial0; |
| 20 | ethernet0 = ðernet0; | ||
| 20 | }; | 21 | }; |
| 21 | 22 | ||
| 22 | chosen { | 23 | chosen { |
| @@ -43,3 +44,25 @@ · 20 unmodified lines | |||
| 43 | &serial0 { | 44 | &serial0 { |
| 44 | status = "okay"; | 45 | status = "okay"; |
| 45 | }; | 46 | }; |
| 47 | |||
| 48 | /* | ||
| 49 | * Force the bus number assignments so that we can declare some of the | ||
| 50 | * on-board devices and properties that are populated by the bootloader | ||
| 51 | * (such as MAC addresses). | ||
| 52 | */ | ||
| 53 | &port00 { | ||
| 54 | bus-range = <1 1>; | ||
| 55 | }; | ||
| 56 | |||
| 57 | &port01 { | ||
| 58 | bus-range = <2 2>; | ||
| 59 | }; | ||
| 60 | |||
| 61 | &port02 { | ||
| 62 | bus-range = <3 3>; | ||
| 63 | ethernet0: pci@0,0 { | ||
| 64 | reg = <0x30000 0x0 0x0 0x0 0x0>; | ||
| 65 | /* To be filled by the loader */ | ||
| 66 | local-mac-address = [00 10 18 00 00 00]; | ||
| 67 | }; | ||
| 68 | }; | ||
| @@ -9,6 +9,7 @@ · 8 unmodified lines | |||
| 9 | 9 | ||
| 10 | #include <dt-bindings/interrupt-controller/apple-aic.h> | 10 | #include <dt-bindings/interrupt-controller/apple-aic.h> |
| 11 | #include <dt-bindings/interrupt-controller/irq.h> | 11 | #include <dt-bindings/interrupt-controller/irq.h> |
| 12 | #include <dt-bindings/pinctrl/apple.h> | ||
| 12 | 13 | ||
| 13 | / { | 14 | / { |
| 14 | compatible = "apple,t8103", "apple,arm-platform"; | 15 | compatible = "apple,t8103", "apple,arm-platform"; |
| @@ -131,5 +132,211 @@ · 116 unmodified lines | |||
| 131 | interrupt-controller; | 132 | interrupt-controller; |
| 132 | reg = <0x2 0x3b100000 0x0 0x8000>; | 133 | reg = <0x2 0x3b100000 0x0 0x8000>; |
| 133 | }; | 134 | }; |
| 135 | |||
| 136 | pinctrl_ap: pinctrl@23c100000 { | ||
| 137 | compatible = "apple,t8103-pinctrl", "apple,pinctrl"; | ||
| 138 | reg = <0x2 0x3c100000 0x0 0x100000>; | ||
| 139 | |||
| 140 | gpio-controller; | ||
| 141 | #gpio-cells = <2>; | ||
| 142 | gpio-ranges = <&pinctrl_ap 0 0 212>; | ||
| 143 | apple,npins = <212>; | ||
| 144 | |||
| 145 | interrupt-controller; | ||
| 146 | interrupt-parent = <&aic>; | ||
| 147 | interrupts = <AIC_IRQ 190 IRQ_TYPE_LEVEL_HIGH>, | ||
| 148 | <AIC_IRQ 191 IRQ_TYPE_LEVEL_HIGH>, | ||
| 149 | <AIC_IRQ 192 IRQ_TYPE_LEVEL_HIGH>, | ||
| 150 | <AIC_IRQ 193 IRQ_TYPE_LEVEL_HIGH>, | ||
| 151 | <AIC_IRQ 194 IRQ_TYPE_LEVEL_HIGH>, | ||
| 152 | <AIC_IRQ 195 IRQ_TYPE_LEVEL_HIGH>, | ||
| 153 | <AIC_IRQ 196 IRQ_TYPE_LEVEL_HIGH>; | ||
| 154 | |||
| 155 | pcie_pins: pcie-pins { | ||
| 156 | pinmux = <APPLE_PINMUX(150, 1)>, | ||
| 157 | <APPLE_PINMUX(151, 1)>, | ||
| 158 | <APPLE_PINMUX(32, 1)>; | ||
| 159 | }; | ||
| 160 | }; | ||
| 161 | |||
| 162 | pinctrl_aop: pinctrl@24a820000 { | ||
| 163 | compatible = "apple,t8103-pinctrl", "apple,pinctrl"; | ||
| 164 | reg = <0x2 0x4a820000 0x0 0x4000>; | ||
| 165 | |||
| 166 | gpio-controller; | ||
| 167 | #gpio-cells = <2>; | ||
| 168 | gpio-ranges = <&pinctrl_aop 0 0 42>; | ||
| 169 | apple,npins = <42>; | ||
| 170 | |||
| 171 | interrupt-controller; | ||
| 172 | interrupt-parent = <&aic>; | ||
| 173 | interrupts = <AIC_IRQ 268 IRQ_TYPE_LEVEL_HIGH>, | ||
| 174 | <AIC_IRQ 269 IRQ_TYPE_LEVEL_HIGH>, | ||
| 175 | <AIC_IRQ 270 IRQ_TYPE_LEVEL_HIGH>, | ||
| 176 | <AIC_IRQ 271 IRQ_TYPE_LEVEL_HIGH>, | ||
| 177 | <AIC_IRQ 272 IRQ_TYPE_LEVEL_HIGH>, | ||
| 178 | <AIC_IRQ 273 IRQ_TYPE_LEVEL_HIGH>, | ||
| 179 | <AIC_IRQ 274 IRQ_TYPE_LEVEL_HIGH>; | ||
| 180 | }; | ||
| 181 | |||
| 182 | pinctrl_nub: pinctrl@23d1f0000 { | ||
| 183 | compatible = "apple,t8103-pinctrl", "apple,pinctrl"; | ||
| 184 | reg = <0x2 0x3d1f0000 0x0 0x4000>; | ||
| 185 | |||
| 186 | gpio-controller; | ||
| 187 | #gpio-cells = <2>; | ||
| 188 | gpio-ranges = <&pinctrl_nub 0 0 23>; | ||
| 189 | apple,npins = <23>; | ||
| 190 | |||
| 191 | interrupt-controller; | ||
| 192 | interrupt-parent = <&aic>; | ||
| 193 | interrupts = <AIC_IRQ 330 IRQ_TYPE_LEVEL_HIGH>, | ||
| 194 | <AIC_IRQ 331 IRQ_TYPE_LEVEL_HIGH>, | ||
| 195 | <AIC_IRQ 332 IRQ_TYPE_LEVEL_HIGH>, | ||
| 196 | <AIC_IRQ 333 IRQ_TYPE_LEVEL_HIGH>, | ||
| 197 | <AIC_IRQ 334 IRQ_TYPE_LEVEL_HIGH>, | ||
| 198 | <AIC_IRQ 335 IRQ_TYPE_LEVEL_HIGH>, | ||
| 199 | <AIC_IRQ 336 IRQ_TYPE_LEVEL_HIGH>; | ||
| 200 | }; | ||
| 201 | |||
| 202 | pinctrl_smc: pinctrl@23e820000 { | ||
| 203 | compatible = "apple,t8103-pinctrl", "apple,pinctrl"; | ||
| 204 | reg = <0x2 0x3e820000 0x0 0x4000>; | ||
| 205 | |||
| 206 | gpio-controller; | ||
| 207 | #gpio-cells = <2>; | ||
| 208 | gpio-ranges = <&pinctrl_smc 0 0 16>; | ||
| 209 | apple,npins = <16>; | ||
| 210 | |||
| 211 | interrupt-controller; | ||
| 212 | interrupt-parent = <&aic>; | ||
| 213 | interrupts = <AIC_IRQ 391 IRQ_TYPE_LEVEL_HIGH>, | ||
| 214 | <AIC_IRQ 392 IRQ_TYPE_LEVEL_HIGH>, | ||
| 215 | <AIC_IRQ 393 IRQ_TYPE_LEVEL_HIGH>, | ||
| 216 | <AIC_IRQ 394 IRQ_TYPE_LEVEL_HIGH>, | ||
| 217 | <AIC_IRQ 395 IRQ_TYPE_LEVEL_HIGH>, | ||
| 218 | <AIC_IRQ 396 IRQ_TYPE_LEVEL_HIGH>, | ||
| 219 | <AIC_IRQ 397 IRQ_TYPE_LEVEL_HIGH>; | ||
123 more lines aren’t shown here.
This diff is large: its 84 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 3 lines aren’t shown here.
This diff is large: its 33 lines aren’t shown here.
This diff is large: its 7 lines aren’t shown here.
This diff is large: its 45 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 27 lines aren’t shown here.
This diff is large: its 1190 lines aren’t shown here.
This diff is large: its 57 lines aren’t shown here.
This diff is large: its 307 lines aren’t shown here.
This diff is large: its 16 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 80 lines aren’t shown here.
This diff is large: its 40 lines aren’t shown here.
This diff is large: its 65 lines aren’t shown here.
This diff is large: its 53 lines aren’t shown here.
This diff is large: its 21 lines aren’t shown here.
This diff is large: its 42 lines aren’t shown here.
This diff is large: its 140 lines aren’t shown here.
This diff is large: its 103 lines aren’t shown here.
This diff is large: its 103 lines aren’t shown here.
This diff is large: its 35 lines aren’t shown here.
This diff is large: its 659 lines aren’t shown here.
This diff is large: its 31 lines aren’t shown here.
This diff is large: its 52 lines aren’t shown here.
This diff is large: its 25 lines aren’t shown here.
This diff is large: its 9 lines aren’t shown here.
This diff is large: its 9 lines aren’t shown here.
This diff is large: its 9 lines aren’t shown here.
This diff is large: its 45 lines aren’t shown here.
This diff is large: its 222 lines aren’t shown here.
This diff is large: its 9 lines aren’t shown here.
This diff is large: its 124 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 16 lines aren’t shown here.
This diff is large: its 26 lines aren’t shown here.
This diff is large: its 125 lines aren’t shown here.
This diff is large: its 35 lines aren’t shown here.
This diff is large: its 41 lines aren’t shown here.
This diff is large: its 36 lines aren’t shown here.
This diff is large: its 43 lines aren’t shown here.
This diff is large: its 9 lines aren’t shown here.
This diff is large: its 18 lines aren’t shown here.
This diff is large: its 87 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 459 lines aren’t shown here.
This diff is large: its 115 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 26 lines aren’t shown here.
This diff is large: its 16 lines aren’t shown here.
This diff is large: its 136 lines aren’t shown here.
This diff is large: its 16 lines aren’t shown here.
This diff is large: its 14 lines aren’t shown here.
This diff is large: its 14 lines aren’t shown here.
This diff is large: its 55 lines aren’t shown here.
This diff is large: its 14 lines aren’t shown here.
This diff is large: its 14 lines aren’t shown here.
This diff is large: its 14 lines aren’t shown here.
This diff is large: its 14 lines aren’t shown here.
This diff is large: its 33 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 16 lines aren’t shown here.
This diff is large: its 90 lines aren’t shown here.
This diff is large: its 134 lines aren’t shown here.
This diff is large: its 239 lines aren’t shown here.
This diff is large: its 9 lines aren’t shown here.
This diff is large: its 69 lines aren’t shown here.
This diff is large: its 1840 lines aren’t shown here.
This diff is large: its 518 lines aren’t shown here.
This diff is large: its 150 lines aren’t shown here.
This diff is large: its 1679 lines aren’t shown here.
This diff is large: its 1738 lines aren’t shown here.
This diff is large: its 269 lines aren’t shown here.
This diff is large: its 897 lines aren’t shown here.
This diff is large: its 897 lines aren’t shown here.
This diff is large: its 102 lines aren’t shown here.
This diff is large: its 53 lines aren’t shown here.
This diff is large: its 841 lines aren’t shown here.
This diff is large: its 827 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 1079 lines aren’t shown here.
This diff is large: its 1106 lines aren’t shown here.
This diff is large: its 10 lines aren’t shown here.
This diff is large: its 121 lines aren’t shown here.
This diff is large: its 24 lines aren’t shown here.
This diff is large: its 183 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 165 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 146 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 24 lines aren’t shown here.
This diff is large: its 22 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 535 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 186 lines aren’t shown here.
This diff is large: its 9 lines aren’t shown here.
This diff is large: its 6 lines aren’t shown here.
This diff is large: its 9 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 6 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 9 lines aren’t shown here.
This diff is large: its 33 lines aren’t shown here.
This diff is large: its 31 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 6 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 674 lines aren’t shown here.
This diff is large: its 466 lines aren’t shown here.
This diff is large: its 433 lines aren’t shown here.
This diff is large: its 218 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 9 lines aren’t shown here.
This diff is large: its 321 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 11 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 11 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 32 lines aren’t shown here.
This diff is large: its 56 lines aren’t shown here.
This diff is large: its 37 lines aren’t shown here.
This diff is large: its 671 lines aren’t shown here.
This diff is large: its 354 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 55 lines aren’t shown here.
This diff is large: its 13 lines aren’t shown here.
This diff is large: its 14 lines aren’t shown here.
This diff is large: its 39 lines aren’t shown here.
This diff is large: its 23 lines aren’t shown here.
This diff is large: its 13 lines aren’t shown here.
This diff is large: its 18 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 21 lines aren’t shown here.
This diff is large: its 19 lines aren’t shown here.
This diff is large: its 27 lines aren’t shown here.
This diff is large: its 21 lines aren’t shown here.
This diff is large: its 17 lines aren’t shown here.
This diff is large: its 21 lines aren’t shown here.
This diff is large: its 16 lines aren’t shown here.
This diff is large: its 337 lines aren’t shown here.
This diff is large: its 27 lines aren’t shown here.
This diff is large: its 15 lines aren’t shown here.
This diff is large: its 110 lines aren’t shown here.
This diff is large: its 15 lines aren’t shown here.
This diff is large: its 12 lines aren’t shown here.
This diff is large: its 44 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 91 lines aren’t shown here.
This diff is large: its 141 lines aren’t shown here.
This diff is large: its 255 lines aren’t shown here.
This diff is large: its 15 lines aren’t shown here.
This diff is large: its 1413 lines aren’t shown here.
This diff is large: its 19 lines aren’t shown here.
This diff is large: its 330 lines aren’t shown here.
This diff is large: its 12 lines aren’t shown here.
This diff is large: its 3898 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 6 lines aren’t shown here.
This diff is large: its 6 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 35 lines aren’t shown here.
This diff is large: its 79 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 52 lines aren’t shown here.
This diff is large: its 52 lines aren’t shown here.
This diff is large: its 54 lines aren’t shown here.
This diff is large: its 82 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 62 lines aren’t shown here.
This diff is large: its 498 lines aren’t shown here.
This diff is large: its 79 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 142 lines aren’t shown here.
This diff is large: its 59 lines aren’t shown here.
This diff is large: its 966 lines aren’t shown here.
This diff is large: its 321 lines aren’t shown here.
This diff is large: its 17 lines aren’t shown here.
This diff is large: its 10 lines aren’t shown here.
This diff is large: its 18 lines aren’t shown here.
This diff is large: its 10 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 6 lines aren’t shown here.
This diff is large: its 270 lines aren’t shown here.
This diff is large: its 10 lines aren’t shown here.
This diff is large: its 10 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 161 lines aren’t shown here.
This diff is large: its 10 lines aren’t shown here.
This diff is large: its 21 lines aren’t shown here.
This diff is large: its 488 lines aren’t shown here.
This diff is large: its 7 lines aren’t shown here.
This diff is large: its 17 lines aren’t shown here.
This diff is large: its 9 lines aren’t shown here.
This diff is large: its 687 lines aren’t shown here.
This diff is large: its 804 lines aren’t shown here.
This diff is large: its 9 lines aren’t shown here.
This diff is large: its 18 lines aren’t shown here.
This diff is large: its 22 lines aren’t shown here.
This diff is large: its 22 lines aren’t shown here.
This diff is large: its 22 lines aren’t shown here.
This diff is large: its 21 lines aren’t shown here.
This diff is large: its 797 lines aren’t shown here.
This diff is large: its 680 lines aren’t shown here.
This diff is large: its 104 lines aren’t shown here.
This diff is large: its 9 lines aren’t shown here.
This diff is large: its 1489 lines aren’t shown here.
This diff is large: its 13 lines aren’t shown here.
This diff is large: its 13 lines aren’t shown here.
This diff is large: its 13 lines aren’t shown here.
This diff is large: its 13 lines aren’t shown here.
This diff is large: its 13 lines aren’t shown here.
This diff is large: its 37 lines aren’t shown here.
This diff is large: its 22 lines aren’t shown here.
This diff is large: its 13 lines aren’t shown here.
This diff is large: its 13 lines aren’t shown here.
This diff is large: its 13 lines aren’t shown here.
This diff is large: its 372 lines aren’t shown here.
This diff is large: its 17 lines aren’t shown here.
This diff is large: its 276 lines aren’t shown here.
This diff is large: its 312 lines aren’t shown here.
This diff is large: its 85 lines aren’t shown here.
This diff is large: its 9 lines aren’t shown here.
This diff is large: its 34 lines aren’t shown here.
This diff is large: its 73 lines aren’t shown here.
This diff is large: its 203 lines aren’t shown here.
This diff is large: its 105 lines aren’t shown here.
This diff is large: its 17 lines aren’t shown here.
This diff is large: its 56 lines aren’t shown here.
This diff is large: its 111 lines aren’t shown here.
This diff is large: its 9 lines aren’t shown here.
This diff is large: its 94 lines aren’t shown here.
This diff is large: its 109 lines aren’t shown here.
This diff is large: its 281 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 183 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 42 lines aren’t shown here.
This diff is large: its 196 lines aren’t shown here.
This diff is large: its 18 lines aren’t shown here.
This diff is large: its 62 lines aren’t shown here.
This diff is large: its 27 lines aren’t shown here.
This diff is large: its 27 lines aren’t shown here.
This diff is large: its 28 lines aren’t shown here.
This diff is large: its 219 lines aren’t shown here.
This diff is large: its 82 lines aren’t shown here.
This diff is large: its 15 lines aren’t shown here.
This diff is large: its 48 lines aren’t shown here.
This diff is large: its 43 lines aren’t shown here.
This diff is large: its 239 lines aren’t shown here.
This diff is large: its 549 lines aren’t shown here.
This diff is large: its 21 lines aren’t shown here.
This diff is large: its 331 lines aren’t shown here.
This diff is large: its 14 lines aren’t shown here.
This diff is large: its 666 lines aren’t shown here.
This diff is large: its 1146 lines aren’t shown here.
This diff is large: its 16 lines aren’t shown here.
This diff is large: its 285 lines aren’t shown here.
This diff is large: its 13 lines aren’t shown here.
This diff is large: its 9 lines aren’t shown here.
This diff is large: its 12 lines aren’t shown here.
This diff is large: its 12 lines aren’t shown here.
This diff is large: its 47 lines aren’t shown here.
This diff is large: its 52 lines aren’t shown here.
This diff is large: its 86 lines aren’t shown here.
This diff is large: its 22 lines aren’t shown here.
This diff is large: its 9 lines aren’t shown here.
This diff is large: its 9 lines aren’t shown here.
This diff is large: its 61 lines aren’t shown here.
This diff is large: its 25 lines aren’t shown here.
This diff is large: its 71 lines aren’t shown here.
This diff is large: its 9 lines aren’t shown here.
This diff is large: its 57 lines aren’t shown here.
This diff is large: its 30 lines aren’t shown here.
This diff is large: its 65 lines aren’t shown here.
This diff is large: its 10 lines aren’t shown here.
This diff is large: its 22 lines aren’t shown here.
This diff is large: its 9 lines aren’t shown here.
This diff is large: its 10 lines aren’t shown here.
This diff is large: its 72 lines aren’t shown here.
This diff is large: its 1003 lines aren’t shown here.
This diff is large: its 10 lines aren’t shown here.
This diff is large: its 4 lines aren’t shown here.
This diff is large: its 10 lines aren’t shown here.
This diff is large: its 62 lines aren’t shown here.
This diff is large: its 45 lines aren’t shown here.
This diff is large: its 87 lines aren’t shown here.
This diff is large: its 22 lines aren’t shown here.
This diff is large: its 27 lines aren’t shown here.
This diff is large: its 316 lines aren’t shown here.
This diff is large: its 299 lines aren’t shown here.
This diff is large: its 290 lines aren’t shown here.
This diff is large: its 22 lines aren’t shown here.
This diff is large: its 37 lines aren’t shown here.
This diff is large: its 37 lines aren’t shown here.
This diff is large: its 39 lines aren’t shown here.
This diff is large: its 380 lines aren’t shown here.
This diff is large: its 444 lines aren’t shown here.
This diff is large: its 104 lines aren’t shown here.
This diff is large: its 49 lines aren’t shown here.
This diff is large: its 393 lines aren’t shown here.
This diff is large: its 362 lines aren’t shown here.
This diff is large: its 16 lines aren’t shown here.
This diff is large: its 426 lines aren’t shown here.
This diff is large: its 17 lines aren’t shown here.
This diff is large: its 400 lines aren’t shown here.
This diff is large: its 347 lines aren’t shown here.
This diff is large: its 443 lines aren’t shown here.
This diff is large: its 378 lines aren’t shown here.
This diff is large: its 176 lines aren’t shown here.
This diff is large: its 13 lines aren’t shown here.
This diff is large: its 14 lines aren’t shown here.
File renamed without changes.
This diff is large: its 9 lines aren’t shown here.
This diff is large: its 10 lines aren’t shown here.
File renamed without changes.