Pull ARM SoC DT updates from Arnd Bergmann: "As usual, there are many patches addressing minor issues in existing DTS files, such as DTC warnings, or adding support for additional peripherals. There are three added SoCs in existing product families: - Amazon: Alpine v3 is a 16-core Cortex-A72 SoC from Amazon's Annapurna Labs, otherwise known as AL73400 or first-generation Graviton, and following the already supported Cortex-A1`5 and Cortex-A57 based Alpine chips. This one is added together with the official Evaluation platform. - Qualcomm: The Snapdragon SDM630 platform is a family of mid-range mobile phone chips from 2017 based on Cortex-A53 or Kryo 260 CPUs. A total of five end-user products are added based on these, all Android phones from Sony: Xperia 10, 10 Plus, XA2, XA2 Plus and XA2 Ultra. - Renesas: RZ/G2H (r8a774e1) is currently the top model in the Renesas RZ/G family, and apparently closely related to the RZ/G2N and RZ/G2M models we already support but has a faster GPU and additional on-chip peripherals. It is added along with the HopeRun HiHope RZ/G2H development board A small number of new boards for already supported SoCs also debut: - Allwinner sunxi: Only one new machine, revision v1.2 of the Pine64 PinePhone (non-Android) smartphone, containing minor changes compared to earlier versions. - Amlogic Meson: WeTek Core2 is an Amlogic S912 (GXM) based Set-top-box - Aspeed: EthanolX is AMD's EPYC data center rerence platform, using an ASpeed AST2600 baseboard management controller. - Mediatek: Lenovo IdeaPad Duet 10.1" (kukui/krane) is a new Chromebook based on the MT8183 (Helio P60t) SoC. - Nvidia Tegra: ASUS Google Nexus 7 and Acer Iconia Tab A500 are two Android tablets from around 2012 using Tegra 3 and Tegra 2, respectively. Thanks to PostmarketOS, these can now run mainline kernels and become useful again. The Jetson Xavier NX Developer Kit uses a SoM and carrier board for the Tegra194, their latest 64-bit chip based on Carmel CPU cores and Volta graphics. - NXP i.MX: Five new boards based on the 32-bit i.MX6 series are added: The MYiR MYS-6ULX single-board computer, and four different models of industrial computers from Protonic. - Qualcomm: MikroTik RouterBoard 3011 is a rackmounted router based on the 32-bit IPQ8064 networking SoC Three older phones get added, the Snapdragon 808 (msm8992) based Xiaomi Libra (Mi 4C) and Microsoft Lumia 950, originally running Windows Phone, and the Snapdragon 810 (msm8994) based Sony Xperia Z5. - Renesas: In addition to the HiHope RZ/G2H board mentioned above, we gain support for board versions 3.0 and 4.0 of the earlier RZ/G2M and RZ/G2N reference boards. Beacon EmbeddedWorks adds another SoM+Carrier development board for RZ/G2M. - Rockchips: Radxa Rock Pi N8 development board and the VMARC RK3288 SoM it is based on, using the high-end 32-bit rk3288 SoC. Notable updates to existing platforms are usually for added on-chip peripherals, including: - ASpeed AST2xxx (various) - Allwinner (cpufreq, thermal, Pinephone touchscreen) - Amlogic Meson (audio, gpu dvdfs, board updates) - Arm Versatile - Broadcom (board updates for switch ports, Raspberry pi clock updates) - Hisilicon (various) - Intel/Altera SoCFPGA (various) - Marvell Armada 7xxx/8xxx (smmu) - Marvell MMP (GPU on mmp2/mmp3) - Mediatek mt8183 (USB, pericfg) - NXP Layerscape (VPU, thermal, DSPI) - NXP i.MX (VPU, bindings, board updates) - Nvidia Tegra194 (GPU) - Qualcomm (GPU, Interconnect, ...) - Renesas R-Car (SPI, IPMMU, board updates) - STMicroelectronics STM32 (various) - Samsung Exynos (various) - Socionext Uniphier (updates to serial, and pcie) - TI K3 (serdes, usb3, audio, sd, chipid) - TI OMAP (IPU/DSP remoteproc changes, dropping platform data)" * tag 'arm-dt-5.9' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (605 commits) arm64: dts: meson: odroid-n2: add jack audio output support arm64: dts: meson: odroid-n2: enable audio loopback ARM: dts: berlin: Align L2 cache-controller nodename with dtschema arm64: dts: qcom: Add Microsoft Lumia 950 (Talkman) device tree arm64: dts: qcom: Add Xiaomi Libra (Mi 4C) device tree arm64: dts: qcom: msm8992: Add RPMCC node arm64: dts: qcom: msm8992: Add PSCI support. arm64: dts: qcom: msm8992: Add PMU node arm64: dts: qcom: msm8992: Add BLSP2_UART2 and I2C nodes arm64: dts: qcom: msm8992: Add SPMI PMIC arbiter device arm64: dts: qcom: msm8992: Add a SCM node arm64: dts: qcom: msm8992: Add a proper CPU map arm64: dts: qcom: bullhead: Move UART pinctrl to SoC arm64: dts: qcom: bullhead: Add qcom,msm-id arm64: dts: qcom: msm8992: Fix SDHCI1 arm64: dts: qcom: msm8992: Modernize the DTS style arm64: dts: qcom: Add support for Sony Xperia Z5 (SoMC Sumire-RoW) arm64: dts: qcom: Move msm8994-smd-rpm contents to lg-bullhead. arm64: dts: qcom: msm8994: Add support for SMD RPM arm64: dts: qcom: msm8992: Add a label to rpm-requests ...
Unified · Split
| @@ -1,21 +0,0 @@ | ||
| 1 | −# SPDX-License-Identifier: GPL-2.0 | |
| 2 | −%YAML 1.2 | |
| 3 | −--- | |
| 4 | −$id: http://devicetree.org/schemas/arm/al,alpine.yaml# | |
| 5 | −$schema: http://devicetree.org/meta-schemas/core.yaml# | |
| 6 | − | |
| 7 | −title: Annapurna Labs Alpine Platform Device Tree Bindings | |
| 8 | − | |
| 9 | −maintainers: | |
| 10 | − - Tsahee Zidenberg <tsahee@annapurnalabs.com> | |
| 11 | − - Antoine Tenart <antoine.tenart@bootlin.com> | |
| 12 | − | |
| 13 | −properties: | |
| 14 | − compatible: | |
| 15 | − items: | |
| 16 | − - const: al,alpine | |
| 17 | − model: | |
| 18 | − items: | |
| 19 | − - const: "Annapurna Labs Alpine Dev Board" | |
| 20 | − | |
| 21 | −... | |
| @@ -0,0 +1,33 @@ | ||
| 1 | +# SPDX-License-Identifier: GPL-2.0 | |
| 2 | +%YAML 1.2 | |
| 3 | +--- | |
| 4 | +$id: http://devicetree.org/schemas/arm/amazon,al.yaml# | |
| 5 | +$schema: http://devicetree.org/meta-schemas/core.yaml# | |
| 6 | + | |
| 7 | +title: Amazon's Annapurna Labs Alpine Platform Device Tree Bindings | |
| 8 | + | |
| 9 | +maintainers: | |
| 10 | + - Hanna Hawa <hhhawa@amazon.com> | |
| 11 | + - Talel Shenhar <talel@amazon.com>, <talelshenhar@gmail.com> | |
| 12 | + - Ronen Krupnik <ronenk@amazon.com> | |
| 13 | + | |
| 14 | +properties: | |
| 15 | + compatible: | |
| 16 | + oneOf: | |
| 17 | + - description: Boards with Alpine V1 SoC | |
| 18 | + items: | |
| 19 | + - const: al,alpine | |
| 20 | + | |
| 21 | + - description: Boards with Alpine V2 SoC | |
| 22 | + items: | |
| 23 | + - enum: | |
| 24 | + - al,alpine-v2-evp | |
| 25 | + - const: al,alpine-v2 | |
| 26 | + | |
| 27 | + - description: Boards with Alpine V3 SoC | |
| 28 | + items: | |
| 29 | + - enum: | |
| 30 | + - amazon,al-alpine-v3-evp | |
| 31 | + - const: amazon,al-alpine-v3 | |
| 32 | + | |
| 33 | +... | |
| @@ -121,6 +121,7 @@ properties: · 120 unmodified lines | ||
| 121 | 121 | - libretech,aml-s912-pc |
| 122 | 122 | - nexbox,a1 |
| 123 | 123 | - tronsmart,vega-s96 |
| 124 | + - wetek,core2 | |
| 124 | 125 | - const: amlogic,s912 |
| 125 | 126 | - const: amlogic,meson-gxm |
| 126 | 127 | |
| @@ -120,6 +120,8 @@ properties: · 119 unmodified lines | ||
| 120 | 120 | - fsl,imx6q-sabrelite |
| 121 | 121 | - fsl,imx6q-sabresd |
| 122 | 122 | - kontron,imx6q-samx6i # Kontron i.MX6 Dual/Quad SMARC Module |
| 123 | + - prt,prti6q # Protonic PRTI6Q board | |
| 124 | + - prt,prtwd2 # Protonic WD2 board | |
| 123 | 125 | - technexion,imx6q-pico-dwarf # TechNexion i.MX6Q Pico-Dwarf |
| 124 | 126 | - technexion,imx6q-pico-hobbit # TechNexion i.MX6Q Pico-Hobbit |
| 125 | 127 | - technexion,imx6q-pico-nymph # TechNexion i.MX6Q Pico-Nymph |
| @@ -172,6 +174,8 @@ properties: · 46 unmodified lines | ||
| 172 | 174 | - fsl,imx6dl-sabreauto # i.MX6 DualLite/Solo SABRE Automotive Board |
| 173 | 175 | - fsl,imx6dl-sabresd # i.MX6 DualLite SABRE Smart Device Board |
| 174 | 176 | - kontron,imx6dl-samx6i # Kontron i.MX6 Solo SMARC Module |
| 177 | + - prt,prtrvt # Protonic RVT board | |
| 178 | + - prt,prtvt7 # Protonic VT7 board | |
| 175 | 179 | - technexion,imx6dl-pico-dwarf # TechNexion i.MX6DL Pico-Dwarf |
| 176 | 180 | - technexion,imx6dl-pico-hobbit # TechNexion i.MX6DL Pico-Hobbit |
| 177 | 181 | - technexion,imx6dl-pico-nymph # TechNexion i.MX6DL Pico-Nymph |
| @@ -268,6 +272,7 @@ properties: · 90 unmodified lines | ||
| 268 | 272 | - armadeus,imx6ull-opos6uldev # OPOS6UL (i.MX6ULL) SoM on OPOS6ULDev board |
| 269 | 273 | - fsl,imx6ull-14x14-evk # i.MX6 UltraLiteLite 14x14 EVK Board |
| 270 | 274 | - kontron,imx6ull-n6411-som # Kontron N6411 SOM |
| 275 | + - myir,imx6ull-mys-6ulx-eval # MYiR Tech iMX6ULL Evaluation Board | |
| 271 | 276 | - toradex,colibri-imx6ull-eval # Colibri iMX6ULL Module on Colibri Evaluation Board |
| 272 | 277 | - toradex,colibri-imx6ull-wifi-eval # Colibri iMX6ULL Wi-Fi / Bluetooth Module on Colibri Evaluation Board |
| 273 | 278 | - const: fsl,imx6ull |
| @@ -114,4 +114,9 @@ properties: · 113 unmodified lines | ||
| 114 | 114 | - enum: |
| 115 | 115 | - mediatek,mt8183-evb |
| 116 | 116 | - const: mediatek,mt8183 |
| 117 | + - description: Google Krane (Lenovo IdeaPad Duet, 10e,...) | |
| 118 | + items: | |
| 119 | + - const: google,krane-sku176 | |
| 120 | + - const: google,krane | |
| 121 | + - const: mediatek,mt8183 | |
| 117 | 122 | ... |
| @@ -118,6 +118,7 @@ properties: · 117 unmodified lines | ||
| 118 | 118 | items: |
| 119 | 119 | - enum: |
| 120 | 120 | - hoperun,hihope-rzg2m # HopeRun HiHope RZ/G2M platform |
| 121 | + - beacon,beacon-rzg2m # Beacon EmbeddedWorks RZ/G2M Kit | |
| 121 | 122 | - const: renesas,r8a774a1 |
| 122 | 123 | |
| 123 | 124 | - items: |
| @@ -150,6 +151,18 @@ properties: · 26 unmodified lines | ||
| 150 | 151 | - const: si-linux,cat874 |
| 151 | 152 | - const: renesas,r8a774c0 |
| 152 | 153 | |
| 154 | + - description: RZ/G2H (R8A774E1) | |
| 155 | + items: | |
| 156 | + - enum: | |
| 157 | + - hoperun,hihope-rzg2h # HopeRun HiHope RZ/G2H platform | |
| 158 | + - const: renesas,r8a774e1 | |
| 159 | + | |
| 160 | + - items: | |
| 161 | + - enum: | |
| 162 | + - hoperun,hihope-rzg2-ex # HopeRun expansion board for HiHope RZ/G2 platforms | |
| 163 | + - const: hoperun,hihope-rzg2h | |
| 164 | + - const: renesas,r8a774e1 | |
| 165 | + | |
| 153 | 166 | - description: R-Car M1A (R8A77781) |
| 154 | 167 | items: |
| 155 | 168 | - enum: |
| @@ -435,6 +435,12 @@ properties: · 434 unmodified lines | ||
| 435 | 435 | - const: radxa,rockpi4 |
| 436 | 436 | - const: rockchip,rk3399 |
| 437 | 437 | |
| 438 | + - description: Radxa ROCK Pi N8 | |
| 439 | + items: | |
| 440 | + - const: radxa,rockpi-n8 | |
| 441 | + - const: vamrs,rk3288-vmarc-som | |
| 442 | + - const: rockchip,rk3288 | |
| 443 | + | |
| 438 | 444 | - description: Radxa ROCK Pi N10 |
| 439 | 445 | items: |
| 440 | 446 | - const: radxa,rockpi-n10 |
| @@ -16,6 +16,9 @@ properties: · 15 unmodified lines | ||
| 16 | 16 | - items: |
| 17 | 17 | - enum: |
| 18 | 18 | - st,stm32mp157-syscfg |
| 19 | + - st,stm32mp151-pwr-mcu | |
| 20 | + - st,stm32-syscfg | |
| 21 | + - st,stm32-power-config | |
| 19 | 22 | - const: syscon |
| 20 | 23 | |
| 21 | 24 | reg: |
| @@ -27,7 +30,16 @@ properties: · 5 unmodified lines | ||
| 27 | 30 | required: |
| 28 | 31 | - compatible |
| 29 | 32 | - reg |
| 30 | − - clocks | |
| 33 | + | |
| 34 | +if: | |
| 35 | + properties: | |
| 36 | + compatible: | |
| 37 | + contains: | |
| 38 | + enum: | |
| 39 | + - st,stm32mp157-syscfg | |
| 40 | +then: | |
| 41 | + required: | |
| 42 | + - clocks | |
| 31 | 43 | |
| 32 | 44 | additionalProperties: false |
| 33 | 45 | |
| @@ -657,6 +657,11 @@ properties: · 656 unmodified lines | ||
| 657 | 657 | - const: pine64,pinephone-1.1 |
| 658 | 658 | - const: allwinner,sun50i-a64 |
| 659 | 659 | |
| 660 | + - description: Pine64 PinePhone (1.2) | |
| 661 | + items: | |
| 662 | + - const: pine64,pinephone-1.2 | |
| 663 | + - const: allwinner,sun50i-a64 | |
| 664 | + | |
| 660 | 665 | - description: Pine64 PineTab |
| 661 | 666 | items: |
| 662 | 667 | - const: pine64,pinetab |
| @@ -34,6 +34,9 @@ properties: · 33 unmodified lines | ||
| 34 | 34 | - toradex,colibri_t20-iris |
| 35 | 35 | - const: toradex,colibri_t20 |
| 36 | 36 | - const: nvidia,tegra20 |
| 37 | + - items: | |
| 38 | + - const: acer,picasso | |
| 39 | + - const: nvidia,tegra20 | |
| 37 | 40 | - items: |
| 38 | 41 | - enum: |
| 39 | 42 | - nvidia,beaver |
| @@ -59,6 +62,13 @@ properties: · 19 unmodified lines | ||
| 59 | 62 | - toradex,colibri_t30-eval-v3 |
| 60 | 63 | - const: toradex,colibri_t30 |
| 61 | 64 | - const: nvidia,tegra30 |
| 65 | + - items: | |
| 66 | + - const: asus,grouper | |
| 67 | + - const: nvidia,tegra30 | |
| 68 | + - items: | |
| 69 | + - const: asus,tilapia | |
| 70 | + - const: asus,grouper | |
| 71 | + - const: nvidia,tegra30 | |
| 62 | 72 | - items: |
| 63 | 73 | - enum: |
| 64 | 74 | - nvidia,dalmore |
| @@ -101,3 +111,11 @@ properties: · 36 unmodified lines | ||
| 101 | 111 | - enum: |
| 102 | 112 | - nvidia,p2972-0000 |
| 103 | 113 | - const: nvidia,tegra194 |
| 114 | + - description: Jetson Xavier NX | |
| 115 | + items: | |
| 116 | + - const: nvidia,p3668-0000 | |
| 117 | + - const: nvidia,tegra194 | |
| 118 | + - description: Jetson Xavier NX Developer Kit | |
| 119 | + items: | |
| 120 | + - const: nvidia,p3509-0000+p3668-0000 | |
| 121 | + - const: nvidia,tegra194 | |
| @@ -4,8 +4,9 @@ Required properties: · 3 unmodified lines | ||
| 4 | 4 | - compatible : For Tegra20, must contain "nvidia,tegra20-efuse". For Tegra30, |
| 5 | 5 | must contain "nvidia,tegra30-efuse". For Tegra114, must contain |
| 6 | 6 | "nvidia,tegra114-efuse". For Tegra124, must contain "nvidia,tegra124-efuse". |
| 7 | − Otherwise, must contain "nvidia,<chip>-efuse", plus one of the above, where | |
| 8 | − <chip> is tegra132. | |
| 7 | + For Tegra132 must contain "nvidia,tegra132-efuse", "nvidia,tegra124-efuse". | |
| 8 | + For Tegra210 must contain "nvidia,tegra210-efuse". For Tegra186 must contain | |
| 9 | + "nvidia,tegra186-efuse". For Tegra194 must contain "nvidia,tegra194-efuse". | |
| 9 | 10 | Details: |
| 10 | 11 | nvidia,tegra20-efuse: Tegra20 requires using APB DMA to read the fuse data |
| 11 | 12 | due to a hardware bug. Tegra20 also lacks certain information which is |
| @@ -6,6 +6,7 @@ Required properties: · 5 unmodified lines | ||
| 6 | 6 | - nvidia,gk20a |
| 7 | 7 | - nvidia,gm20b |
| 8 | 8 | - nvidia,gp10b |
| 9 | + - nvidia,gv11b | |
| 9 | 10 | - reg: Physical base address and length of the controller's registers. |
| 10 | 11 | Must contain two entries: |
| 11 | 12 | - first entry for bar0 |
| @@ -25,6 +26,9 @@ Required properties: · 13 unmodified lines | ||
| 25 | 26 | If the compatible string is "nvidia,gm20b", then the following clock |
| 26 | 27 | is also required: |
| 27 | 28 | - ref |
| 29 | +If the compatible string is "nvidia,gv11b", then the following clock is also | |
| 30 | +required: | |
| 31 | + - fuse | |
| 28 | 32 | - resets: Must contain an entry for each entry in reset-names. |
| 29 | 33 | See ../reset/reset.txt for details. |
| 30 | 34 | - reset-names: Must include the following entries: |
| @@ -88,3 +92,24 @@ Example for GP10B: · 57 unmodified lines | ||
| 88 | 92 | power-domains = <&bpmp TEGRA186_POWER_DOMAIN_GPU>; |
| 89 | 93 | iommus = <&smmu TEGRA186_SID_GPU>; |
| 90 | 94 | }; |
| 95 | + | |
| 96 | +Example for GV11B: | |
| 97 | + | |
| 98 | + gpu@17000000 { | |
| 99 | + compatible = "nvidia,gv11b"; | |
| 100 | + reg = <0x17000000 0x10000000>, | |
| 101 | + <0x18000000 0x10000000>; | |
| 102 | + interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>, | |
| 103 | + <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>; | |
| 104 | + interrupt-names = "stall", "nonstall"; | |
| 105 | + clocks = <&bpmp TEGRA194_CLK_GPCCLK>, | |
| 106 | + <&bpmp TEGRA194_CLK_GPU_PWR>, | |
| 107 | + <&bpmp TEGRA194_CLK_FUSE>; | |
| 108 | + clock-names = "gpu", "pwr", "fuse"; | |
| 109 | + resets = <&bpmp TEGRA194_RESET_GPU>; | |
| 110 | + reset-names = "gpu"; | |
| 111 | + dma-coherent; | |
| 112 | + | |
| 113 | + power-domains = <&bpmp TEGRA194_POWER_DOMAIN_GPU>; | |
| 114 | + iommus = <&smmu TEGRA194_SID_GPU>; | |
| 115 | + }; | |
| @@ -35,12 +35,12 @@ Required properties: · 34 unmodified lines | ||
| 35 | 35 | Due to above changes, Tegra114 I2C driver makes incompatible with |
| 36 | 36 | previous hardware driver. Hence, tegra114 I2C controller is compatible |
| 37 | 37 | with "nvidia,tegra114-i2c". |
| 38 | − nvidia,tegra210-i2c-vi: Tegra210 has one I2C controller that is part of the | |
| 39 | − host1x domain and typically used for camera use-cases. This VI I2C | |
| 40 | − controller is mostly compatible with the programming model of the | |
| 41 | − regular I2C controllers with a few exceptions. The I2C registers start | |
| 42 | − at an offset of 0xc00 (instead of 0), registers are 16 bytes apart | |
| 43 | − (rather than 4) and the controller does not support slave mode. | |
| 38 | + nvidia,tegra210-i2c-vi: Tegra210 has one I2C controller that is on host1x bus | |
| 39 | + and is part of VE power domain and typically used for camera use-cases. | |
| 40 | + This VI I2C controller is mostly compatible with the programming model | |
| 41 | + of the regular I2C controllers with a few exceptions. The I2C registers | |
| 42 | + start at an offset of 0xc00 (instead of 0), registers are 16 bytes | |
| 43 | + apart (rather than 4) and the controller does not support slave mode. | |
| 44 | 44 | - reg: Should contain I2C controller registers physical address and length. |
| 45 | 45 | - interrupts: Should contain I2C controller interrupts. |
| 46 | 46 | - address-cells: Address cells for I2C device address. |
| @@ -53,10 +53,17 @@ Required properties: · 6 unmodified lines | ||
| 53 | 53 | - fast-clk |
| 54 | 54 | Tegra114: |
| 55 | 55 | - div-clk |
| 56 | + Tegra210: | |
| 57 | + - div-clk | |
| 58 | + - slow (only for nvidia,tegra210-i2c-vi compatible node) | |
| 56 | 59 | - resets: Must contain an entry for each entry in reset-names. |
| 57 | 60 | See ../reset/reset.txt for details. |
| 58 | 61 | - reset-names: Must include the following entries: |
| 59 | 62 | - i2c |
| 63 | +- power-domains: Only for nvidia,tegra210-i2c-vi compatible node and must | |
| 64 | + include venc powergate node as vi i2c is part of VE power domain. | |
| 65 | + tegra210-i2c-vi: | |
| 66 | + - pd_venc | |
| 60 | 67 | - dmas: Must contain an entry for each entry in clock-names. |
| 61 | 68 | See ../dma/dma.txt for details. |
| 62 | 69 | - dma-names: Must include the following entries: |
| @@ -0,0 +1,74 @@ | ||
| 1 | +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | |
| 2 | +# Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | +%YAML 1.2 | |
| 4 | +--- | |
| 5 | +$id: http://devicetree.org/schemas/mfd/ti,j721e-system-controller.yaml# | |
| 6 | +$schema: http://devicetree.org/meta-schemas/core.yaml# | |
| 7 | + | |
| 8 | +title: TI J721e System Controller Registers R/W Device Tree Bindings | |
| 9 | + | |
| 10 | +description: | | |
| 11 | + This represents the Control Module registers (CTRL_MMR0) on the SoC. | |
| 12 | + System controller node represents a register region containing a set | |
| 13 | + of miscellaneous registers. The registers are not cohesive enough to | |
| 14 | + represent as any specific type of device. The typical use-case is | |
| 15 | + for some other node's driver, or platform-specific code, to acquire | |
| 16 | + a reference to the syscon node (e.g. by phandle, node path, or | |
| 17 | + search using a specific compatible value), interrogate the node (or | |
| 18 | + associated OS driver) to determine the location of the registers, | |
| 19 | + and access the registers directly. | |
| 20 | + | |
| 21 | +maintainers: | |
| 22 | + - Kishon Vijay Abraham I <kishon@ti.com> | |
| 23 | + - Roger Quadros <rogerq@ti.com | |
| 24 | + | |
| 25 | +properties: | |
| 26 | + compatible: | |
| 27 | + anyOf: | |
| 28 | + - items: | |
| 29 | + - enum: | |
| 30 | + - ti,j721e-system-controller | |
| 31 | + - const: syscon | |
| 32 | + - const: simple-mfd | |
| 33 | + | |
| 34 | + "#address-cells": | |
| 35 | + const: 1 | |
| 36 | + | |
| 37 | + "#size-cells": | |
| 38 | + const: 1 | |
| 39 | + | |
| 40 | + ranges: true | |
| 41 | + | |
| 42 | +# Optional children | |
| 43 | + | |
| 44 | + "^serdes-ln-ctrl@[0-9a-f]+$": | |
| 45 | + type: object | |
| 46 | + description: | | |
| 47 | + This is the SERDES lane control mux. It should follow the bindings | |
| 48 | + specified in | |
| 49 | + Documentation/devicetree/bindings/mux/reg-mux.txt | |
| 50 | + | |
| 51 | +required: | |
| 52 | + - compatible | |
| 53 | + - reg | |
| 54 | + - "#address-cells" | |
| 55 | + - "#size-cells" | |
| 56 | + - ranges | |
| 57 | + | |
| 58 | +unevaluatedProperties: false | |
| 59 | + | |
| 60 | +examples: | |
| 61 | + - | | |
| 62 | + scm_conf: scm-conf@100000 { | |
| 63 | + compatible = "ti,j721e-system-controller", "syscon", "simple-mfd"; | |
| 64 | + reg = <0x00100000 0x1c000>; | |
| 65 | + #address-cells = <1>; | |
| 66 | + #size-cells = <1>; | |
| 67 | + ranges; | |
| 68 | + | |
| 69 | + serdes_ln_ctrl: serdes-ln-ctrl@4080 { | |
| 70 | + compatible = "mmio-mux"; | |
| 71 | + reg = <0x00004080 0x50>; | |
| 72 | + }; | |
| 73 | + }; | |
| 74 | +... | |
| @@ -25,6 +25,7 @@ properties: · 24 unmodified lines | ||
| 25 | 25 | - renesas,r8a774a1-sysc # RZ/G2M |
| 26 | 26 | - renesas,r8a774b1-sysc # RZ/G2N |
| 27 | 27 | - renesas,r8a774c0-sysc # RZ/G2E |
| 28 | + - renesas,r8a774e1-sysc # RZ/G2H | |
| 28 | 29 | - renesas,r8a7779-sysc # R-Car H1 |
| 29 | 30 | - renesas,r8a7790-sysc # R-Car H2 |
| 30 | 31 | - renesas,r8a7791-sysc # R-Car M2-W |
| @@ -31,6 +31,7 @@ properties: · 30 unmodified lines | ||
| 31 | 31 | - renesas,r8a774a1-rst # RZ/G2M |
| 32 | 32 | - renesas,r8a774b1-rst # RZ/G2N |
| 33 | 33 | - renesas,r8a774c0-rst # RZ/G2E |
| 34 | + - renesas,r8a774e1-rst # RZ/G2H | |
| 34 | 35 | - renesas,r8a7778-reset-wdt # R-Car M1A |
| 35 | 36 | - renesas,r8a7779-reset-wdt # R-Car H1 |
| 36 | 37 | - renesas,r8a7790-rst # R-Car H2 |
| @@ -1,7 +1,9 @@ | ||
| 1 | 1 | Atmel AT91SAM9260 Real Time Timer |
| 2 | 2 | |
| 3 | 3 | Required properties: |
| 4 | −- compatible: should be: "atmel,at91sam9260-rtt" | |
| 4 | +- compatible: should be one of the following: | |
| 5 | + - "atmel,at91sam9260-rtt" | |
| 6 | + - "microchip,sam9x60-rtt", "atmel,at91sam9260-rtt" | |
| 5 | 7 | - reg: should encode the memory region of the RTT controller |
| 6 | 8 | - interrupts: rtt alarm/event interrupt |
| 7 | 9 | - clocks: should contain the 32 KHz slow clk that will drive the RTT block. |
| @@ -40,6 +40,8 @@ properties: · 39 unmodified lines | ||
| 40 | 40 | - qcom,msm8998-tsens |
| 41 | 41 | - qcom,sc7180-tsens |
| 42 | 42 | - qcom,sdm845-tsens |
| 43 | + - qcom,sm8150-tsens | |
| 44 | + - qcom,sm8250-tsens | |
| 43 | 45 | - const: qcom,tsens-v2 |
| 44 | 46 | |
| 45 | 47 | reg: |
| @@ -44,7 +44,9 @@ properties: · 43 unmodified lines | ||
| 44 | 44 | - const: st,stm32f4x9-hsotg |
| 45 | 45 | - const: st,stm32f7-hsotg |
| 46 | 46 | - const: st,stm32mp15-fsotg |
| 47 | − - const: st,stm32mp15-hsotg | |
| 47 | + - items: | |
| 48 | + - const: st,stm32mp15-hsotg | |
| 49 | + - const: snps,dwc2 | |
| 48 | 50 | - const: samsung,s3c6400-hsotg |
| 49 | 51 | |
| 50 | 52 | reg: |
| @@ -93,7 +95,7 @@ properties: · 42 unmodified lines | ||
| 93 | 95 | vusb_a-supply: |
| 94 | 96 | description: phandle to voltage regulator of analog section. |
| 95 | 97 | |
| 96 | − vusb33d-supply: | |
| 98 | + usb33d-supply: | |
| 97 | 99 | description: reference to the VBUS and ID sensing comparators supply, in |
| 98 | 100 | order to perform OTG operation, used on STM32MP15 SoCs. |
| 99 | 101 | |
| @@ -27,6 +27,8 @@ patternProperties: · 26 unmodified lines | ||
| 27 | 27 | description: Abilis Systems |
| 28 | 28 | "^abracon,.*": |
| 29 | 29 | description: Abracon Corporation |
| 30 | + "^acer,.*": | |
| 31 | + description: Acer Inc. | |
| 30 | 32 | "^acme,.*": |
| 31 | 33 | description: Acme Systems srl |
| 32 | 34 | "^actions,.*": |
| @@ -1626,7 +1626,7 @@ L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) · 1625 unmodified lines | ||
| 1626 | 1626 | S: Maintained |
| 1627 | 1627 | F: arch/arm/boot/dts/alpine* |
| 1628 | 1628 | F: arch/arm/mach-alpine/ |
| 1629 | −F: arch/arm64/boot/dts/al/ | |
| 1629 | +F: arch/arm64/boot/dts/amazon/ | |
| 1630 | 1630 | F: drivers/*/*alpine* |
| 1631 | 1631 | |
| 1632 | 1632 | ARM/ARTPEC MACHINE SUPPORT |
| @@ -455,6 +455,8 @@ dtb-$(CONFIG_SOC_IMX6Q) += \ · 454 unmodified lines | ||
| 455 | 455 | imx6dl-pico-hobbit.dtb \ |
| 456 | 456 | imx6dl-pico-nymph.dtb \ |
| 457 | 457 | imx6dl-pico-pi.dtb \ |
| 458 | + imx6dl-prtrvt.dtb \ | |
| 459 | + imx6dl-prtvt7.dtb \ | |
| 458 | 460 | imx6dl-rex-basic.dtb \ |
| 459 | 461 | imx6dl-riotboard.dtb \ |
| 460 | 462 | imx6dl-sabreauto.dtb \ |
| @@ -543,6 +545,8 @@ dtb-$(CONFIG_SOC_IMX6Q) += \ · 82 unmodified lines | ||
| 543 | 545 | imx6q-pico-nymph.dtb \ |
| 544 | 546 | imx6q-pico-pi.dtb \ |
| 545 | 547 | imx6q-pistachio.dtb \ |
| 548 | + imx6q-prti6q.dtb \ | |
| 549 | + imx6q-prtwd2.dtb \ | |
| 546 | 550 | imx6q-rex-pro.dtb \ |
| 547 | 551 | imx6q-sabreauto.dtb \ |
| 548 | 552 | imx6q-sabrelite.dtb \ |
| @@ -592,6 +596,7 @@ dtb-$(CONFIG_SOC_IMX6SX) += \ · 43 unmodified lines | ||
| 592 | 596 | imx6sx-sdb-reva.dtb \ |
| 593 | 597 | imx6sx-sdb-sai.dtb \ |
| 594 | 598 | imx6sx-sdb.dtb \ |
| 599 | + imx6sx-sdb-mqs.dtb \ | |
| 595 | 600 | imx6sx-softing-vining-2000.dtb \ |
| 596 | 601 | imx6sx-udoo-neo-basic.dtb \ |
| 597 | 602 | imx6sx-udoo-neo-extended.dtb \ |
| @@ -617,6 +622,7 @@ dtb-$(CONFIG_SOC_IMX6UL) += \ · 19 unmodified lines | ||
| 617 | 622 | imx6ull-14x14-evk.dtb \ |
| 618 | 623 | imx6ull-colibri-eval-v3.dtb \ |
| 619 | 624 | imx6ull-colibri-wifi-eval-v3.dtb \ |
| 625 | + imx6ull-myir-mys-6ulx-eval.dtb \ | |
| 620 | 626 | imx6ull-opos6uldev.dtb \ |
| 621 | 627 | imx6ull-phytec-segin-ff-rdk-nand.dtb \ |
| 622 | 628 | imx6ull-phytec-segin-ff-rdk-emmc.dtb \ |
| @@ -890,6 +896,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \ · 267 unmodified lines | ||
| 890 | 896 | qcom-ipq4019-ap.dk07.1-c1.dtb \ |
| 891 | 897 | qcom-ipq4019-ap.dk07.1-c2.dtb \ |
| 892 | 898 | qcom-ipq8064-ap148.dtb \ |
| 899 | + qcom-ipq8064-rb3011.dtb \ | |
| 893 | 900 | qcom-msm8660-surf.dtb \ |
| 894 | 901 | qcom-msm8960-cdp.dtb \ |
| 895 | 902 | qcom-msm8974-fairphone-fp2.dtb \ |
| @@ -927,6 +934,7 @@ dtb-$(CONFIG_ARCH_RENESAS) += \ · 31 unmodified lines | ||
| 927 | 934 | r8a73a4-ape6evm.dtb \ |
| 928 | 935 | r8a7740-armadillo800eva.dtb \ |
| 929 | 936 | r8a7742-iwg21d-q7.dtb \ |
| 937 | + r8a7742-iwg21d-q7-dbcm-ca.dtb \ | |
| 930 | 938 | r8a7743-iwg20d-q7.dtb \ |
| 931 | 939 | r8a7743-iwg20d-q7-dbcm-ca.dtb \ |
| 932 | 940 | r8a7743-sk-rzg1m.dtb \ |
| @@ -974,6 +982,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += \ · 41 unmodified lines | ||
| 974 | 982 | rk3288-popmetal.dtb \ |
| 975 | 983 | rk3288-r89.dtb \ |
| 976 | 984 | rk3288-rock2-square.dtb \ |
| 985 | + rk3288-rock-pi-n8.dtb \ | |
| 977 | 986 | rk3288-tinker.dtb \ |
| 978 | 987 | rk3288-tinker-s.dtb \ |
| 979 | 988 | rk3288-veyron-brain.dtb \ |
| @@ -1197,6 +1206,7 @@ dtb-$(CONFIG_MACH_SUNIV) += \ · 217 unmodified lines | ||
| 1197 | 1206 | dtb-$(CONFIG_ARCH_TANGO) += \ |
| 1198 | 1207 | tango4-vantage-1172.dtb |
| 1199 | 1208 | dtb-$(CONFIG_ARCH_TEGRA_2x_SOC) += \ |
| 1209 | + tegra20-acer-a500-picasso.dtb \ | |
| 1200 | 1210 | tegra20-harmony.dtb \ |
| 1201 | 1211 | tegra20-colibri-eval-v3.dtb \ |
| 1202 | 1212 | tegra20-colibri-iris.dtb \ |
| @@ -1210,6 +1220,9 @@ dtb-$(CONFIG_ARCH_TEGRA_2x_SOC) += \ · 7 unmodified lines | ||
| 1210 | 1220 | dtb-$(CONFIG_ARCH_TEGRA_3x_SOC) += \ |
| 1211 | 1221 | tegra30-apalis-eval.dtb \ |
| 1212 | 1222 | tegra30-apalis-v1.1-eval.dtb \ |
| 1223 | + tegra30-asus-nexus7-grouper-PM269.dtb \ | |
| 1224 | + tegra30-asus-nexus7-grouper-E1565.dtb \ | |
| 1225 | + tegra30-asus-nexus7-tilapia-E1565.dtb \ | |
| 1213 | 1226 | tegra30-beaver.dtb \ |
| 1214 | 1227 | tegra30-cardhu-a02.dtb \ |
| 1215 | 1228 | tegra30-cardhu-a04.dtb \ |
| @@ -1346,6 +1359,7 @@ dtb-$(CONFIG_ARCH_ZX) += zx296702-ad1.dtb · 130 unmodified lines | ||
| 1346 | 1359 | dtb-$(CONFIG_ARCH_ASPEED) += \ |
| 1347 | 1360 | aspeed-ast2500-evb.dtb \ |
| 1348 | 1361 | aspeed-ast2600-evb.dtb \ |
| 1362 | + aspeed-bmc-amd-ethanolx.dtb \ | |
| 1349 | 1363 | aspeed-bmc-arm-centriq2400-rep.dtb \ |
| 1350 | 1364 | aspeed-bmc-arm-stardragon4800-rep2.dtb \ |
| 1351 | 1365 | aspeed-bmc-facebook-cmm.dtb \ |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | /* |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | /* |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | /* |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | /* |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | /* |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | / { |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | /dts-v1/; |
| 6 | 6 | |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | #include <dt-bindings/display/tda998x.h> |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | /dts-v1/; |
| 6 | 6 | |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | /dts-v1/; |
| 6 | 6 | |
| @@ -23,3 +23,147 @@ · 16 unmodified lines | ||
| 23 | 23 | opp-supported-hw = <0x06 0x0100>; |
| 24 | 24 | }; |
| 25 | 25 | }; |
| 26 | + | |
| 27 | +&gpio0 { | |
| 28 | + gpio-line-names = | |
| 29 | + "[ethernet]", | |
| 30 | + "[ethernet]", | |
| 31 | + "P9_22 [spi0_sclk]", | |
| 32 | + "P9_21 [spi0_d0]", | |
| 33 | + "P9_18 [spi0_d1]", | |
| 34 | + "P9_17 [spi0_cs0]", | |
| 35 | + "[sd card]", | |
| 36 | + "P9_42A [ecappwm0]", | |
| 37 | + "P8_35 [hdmi]", | |
| 38 | + "P8_33 [hdmi]", | |
| 39 | + "P8_31 [hdmi]", | |
| 40 | + "P8_32 [hdmi]", | |
| 41 | + "P9_20 [i2c2_sda]", | |
| 42 | + "P9_19 [i2c2_scl]", | |
| 43 | + "P9_26 [uart1_rxd]", | |
| 44 | + "P9_24 [uart1_txd]", | |
| 45 | + "[ethernet]", | |
| 46 | + "[ethernet]", | |
| 47 | + "[usb]", | |
| 48 | + "[hdmi]", | |
| 49 | + "P9_41B", | |
| 50 | + "[ethernet]", | |
| 51 | + "P8_19 [ehrpwm2a]", | |
| 52 | + "P8_13 [ehrpwm2b]", | |
| 53 | + "[NC]", | |
| 54 | + "[NC]", | |
| 55 | + "P8_14", | |
| 56 | + "P8_17", | |
| 57 | + "[ethernet]", | |
| 58 | + "[ethernet]", | |
| 59 | + "P9_11 [uart4_rxd]", | |
| 60 | + "P9_13 [uart4_txd]"; | |
| 61 | +}; | |
| 62 | + | |
| 63 | +&gpio1 { | |
| 64 | + gpio-line-names = | |
| 65 | + "P8_25 [emmc]", | |
| 66 | + "[emmc]", | |
| 67 | + "P8_5 [emmc]", | |
| 68 | + "P8_6 [emmc]", | |
| 69 | + "P8_23 [emmc]", | |
| 70 | + "P8_22 [emmc]", | |
| 71 | + "P8_3 [emmc]", | |
| 72 | + "P8_4 [emmc]", | |
| 73 | + "[NC]", | |
| 74 | + "[NC]", | |
| 75 | + "[NC]", | |
| 76 | + "[NC]", | |
| 77 | + "P8_12", | |
| 78 | + "P8_11", | |
| 79 | + "P8_16", | |
| 80 | + "P8_15", | |
| 81 | + "P9_15A", | |
| 82 | + "P9_23", | |
| 83 | + "P9_14 [ehrpwm1a]", | |
| 84 | + "P9_16 [ehrpwm1b]", | |
| 85 | + "[emmc]", | |
| 86 | + "[usr0 led]", | |
| 87 | + "[usr1 led]", | |
| 88 | + "[usr2 led]", | |
| 89 | + "[usr3 led]", | |
| 90 | + "[hdmi]", | |
| 91 | + "[usb]", | |
| 92 | + "[hdmi audio]", | |
| 93 | + "P9_12", | |
| 94 | + "P8_26", | |
| 95 | + "P8_21 [emmc]", | |
| 96 | + "P8_20 [emmc]"; | |
| 97 | +}; | |
| 98 | + | |
| 99 | +&gpio2 { | |
| 100 | + gpio-line-names = | |
| 101 | + "P9_15B", | |
| 102 | + "P8_18", | |
| 103 | + "P8_7", | |
| 104 | + "P8_8", | |
| 105 | + "P8_10", | |
| 106 | + "P8_9", | |
| 107 | + "P8_45 [hdmi]", | |
| 108 | + "P8_46 [hdmi]", | |
| 109 | + "P8_43 [hdmi]", | |
| 110 | + "P8_44 [hdmi]", | |
| 111 | + "P8_41 [hdmi]", | |
| 112 | + "P8_42 [hdmi]", | |
| 113 | + "P8_39 [hdmi]", | |
| 114 | + "P8_40 [hdmi]", | |
| 115 | + "P8_37 [hdmi]", | |
| 116 | + "P8_38 [hdmi]", | |
| 117 | + "P8_36 [hdmi]", | |
| 118 | + "P8_34 [hdmi]", | |
| 119 | + "[ethernet]", | |
| 120 | + "[ethernet]", | |
| 121 | + "[ethernet]", | |
| 122 | + "[ethernet]", | |
| 123 | + "P8_27 [hdmi]", | |
| 124 | + "P8_29 [hdmi]", | |
| 125 | + "P8_28 [hdmi]", | |
| 126 | + "P8_30 [hdmi]", | |
| 127 | + "[emmc]", | |
| 128 | + "[emmc]", | |
| 129 | + "[emmc]", | |
| 130 | + "[emmc]", | |
| 131 | + "[emmc]", | |
| 132 | + "[emmc]"; | |
| 133 | +}; | |
| 134 | + | |
| 135 | +&gpio3 { | |
| 136 | + gpio-line-names = | |
| 137 | + "[ethernet]", | |
| 138 | + "[ethernet]", | |
| 139 | + "[ethernet]", | |
| 140 | + "[ethernet]", | |
| 141 | + "[ethernet]", | |
| 142 | + "[i2c0]", | |
| 143 | + "[i2c0]", | |
| 144 | + "[emu]", | |
| 145 | + "[emu]", | |
| 146 | + "[ethernet]", | |
| 147 | + "[ethernet]", | |
| 148 | + "[NC]", | |
| 149 | + "[NC]", | |
| 150 | + "[usb]", | |
| 151 | + "P9_31 [spi1_sclk]", | |
| 152 | + "P9_29 [spi1_d0]", | |
| 153 | + "P9_30 [spi1_d1]", | |
| 154 | + "P9_28 [spi1_cs0]", | |
| 155 | + "P9_42B [ecappwm0]", | |
| 156 | + "P9_27", | |
| 157 | + "P9_41A", | |
| 158 | + "P9_25", | |
| 159 | + "[NC]", | |
| 160 | + "[NC]", | |
| 161 | + "[NC]", | |
| 162 | + "[NC]", | |
| 163 | + "[NC]", | |
| 164 | + "[NC]", | |
| 165 | + "[NC]", | |
| 166 | + "[NC]", | |
| 167 | + "[NC]", | |
| 168 | + "[NC]"; | |
| 169 | +}; | |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | /dts-v1/; |
| 6 | 6 | |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | &ldo3_reg { |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | /dts-v1/; |
| 6 | 6 | |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | /dts-v1/; |
| 6 | 6 | |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2015 Jablotron s.r.o. -- http://www.jablotron.com/ | |
| 3 | + * Copyright (C) 2015 Jablotron s.r.o. -- https://www.jablotron.com/ | |
| 4 | 4 | * Author: Rostislav Lisovy <lisovy@jablotron.cz> |
| 5 | 5 | */ |
| 6 | 6 | /dts-v1/; |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2015 Jablotron s.r.o. -- http://www.jablotron.com/ | |
| 3 | + * Copyright (C) 2015 Jablotron s.r.o. -- https://www.jablotron.com/ | |
| 4 | 4 | * Author: Rostislav Lisovy <lisovy@jablotron.cz> |
| 5 | 5 | */ |
| 6 | 6 | #include "am33xx.dtsi" |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | /dts-v1/; |
| 6 | 6 | |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | /* |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | * Copyright (C) 2018 Robert Bosch Power Tools GmbH |
| 5 | 5 | */ |
| 6 | 6 | /dts-v1/; |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2016 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2016 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | /* |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2014 NovaTech LLC - http://www.novatechweb.com | |
| 3 | + * Copyright (C) 2014 NovaTech LLC - https://www.novatechweb.com | |
| 4 | 4 | */ |
| 5 | 5 | /dts-v1/; |
| 6 | 6 | |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | /* |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | /* |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | /* |
| @@ -1,5 +1,5 @@ | ||
| 1 | 1 | //SPDX-License-Identifier: GPL-2.0 |
| 2 | −/* Copyright (C) 2018 Octavo Systems LLC - http://www.octavosystems.com/ | |
| 2 | +/* Copyright (C) 2018 Octavo Systems LLC - https://www.octavosystems.com/ | |
| 3 | 3 | * |
| 4 | 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | 5 | * it under the terms of the GNU General Public License version 2 as |
| @@ -107,7 +107,7 @@ · 101 unmodified lines | ||
| 107 | 107 | * below to "crossed" and uncomment the video-ports -property |
| 108 | 108 | * in tda19988 node. |
| 109 | 109 | * AM335x errata for wiring: |
| 110 | − * http://www.ti.com/lit/er/sprz360i/sprz360i.pdf | |
| 110 | + * https://www.ti.com/lit/er/sprz360i/sprz360i.pdf | |
| 111 | 111 | */ |
| 112 | 112 | |
| 113 | 113 | blue-and-red-wiring = "straight"; |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | * |
| 5 | 5 | * Author: Robert Nelson <robertcnelson@gmail.com> |
| 6 | 6 | */ |
| @@ -5,7 +5,7 @@ · 4 unmodified lines | ||
| 5 | 5 | * |
| 6 | 6 | * Copyright (C) 2018 EETS GmbH - http://www.eets.ch/ |
| 7 | 7 | * |
| 8 | − * Copyright (C) 2011, Texas Instruments, Incorporated - http://www.ti.com/ | |
| 8 | + * Copyright (C) 2011, Texas Instruments, Incorporated - https://www.ti.com/ | |
| 9 | 9 | * |
| 10 | 10 | * SPDX-License-Identifier: GPL-2.0+ |
| 11 | 11 | */ |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | * |
| 5 | 5 | * Author: Robert Nelson <robertcnelson@gmail.com> |
| 6 | 6 | */ |
| @@ -59,7 +59,276 @@ · 52 unmodified lines | ||
| 59 | 59 | }; |
| 60 | 60 | }; |
| 61 | 61 | |
| 62 | +&gpio0 { | |
| 63 | + gpio-line-names = | |
| 64 | + "[NC]", | |
| 65 | + "[NC]", | |
| 66 | + "P1.08 [SPI0_CLK]", | |
| 67 | + "P1.10 [SPI0_MISO]", | |
| 68 | + "P1.12 [SPI0_MOSI]", | |
| 69 | + "P1.06 [SPI0_CS]", | |
| 70 | + "[MMC0_CD]", | |
| 71 | + "P2.29 [SPI1_CLK]", | |
| 72 | + "[SYSBOOT]", | |
| 73 | + "[SYSBOOT]", | |
| 74 | + "[SYSBOOT]", | |
| 75 | + "[SYSBOOT]", | |
| 76 | + "P1.26 [I2C2_SDA]", | |
| 77 | + "P1.28 [I2C2_SCL]", | |
| 78 | + "P2.11 [I2C1_SDA]", | |
| 79 | + "P2.09 [I2C1_SCL]", | |
| 80 | + "[NC]", | |
| 81 | + "[NC]", | |
| 82 | + "[NC]", | |
| 83 | + "P2.31 [SPI1_CS]", | |
| 84 | + "P1.20 [PRU0.16]", | |
| 85 | + "[NC]", | |
| 86 | + "[NC]", | |
| 87 | + "P2.03", | |
| 88 | + "[NC]", | |
| 89 | + "[NC]", | |
| 90 | + "P1.34", | |
| 91 | + "P2.19", | |
| 92 | + "[NC]", | |
| 93 | + "[NC]", | |
| 94 | + "P2.05 [UART4_RX]", | |
| 95 | + "P2.07 [UART4_TX]"; | |
| 96 | +}; | |
| 97 | + | |
| 98 | +&gpio1 { | |
| 99 | + gpio-line-names = | |
| 100 | + "[NC]", | |
| 101 | + "[NC]", | |
| 102 | + "[NC]", | |
| 103 | + "[NC]", | |
| 104 | + "[NC]", | |
| 105 | + "[NC]", | |
| 106 | + "[NC]", | |
| 107 | + "[NC]", | |
| 108 | + "[NC]", | |
| 109 | + "P2.25 [SPI1_MOSI]", | |
| 110 | + "P1.32 [UART0_RX]", | |
| 111 | + "P1.30 [UART0_TX]", | |
| 112 | + "P2.24", | |
| 113 | + "P2.33", | |
| 114 | + "P2.22", | |
| 115 | + "P2.18", | |
| 116 | + "[NC]", | |
| 117 | + "[NC]", | |
| 118 | + "P2.01 [PWM1A]", | |
| 119 | + "[NC]", | |
| 120 | + "P2.10", | |
| 121 | + "[USR LED 0]", | |
| 122 | + "[USR LED 1]", | |
| 123 | + "[USR LED 2]", | |
| 124 | + "[USR LED 3]", | |
| 125 | + "P2.06", | |
| 126 | + "P2.04", | |
| 127 | + "P2.02", | |
| 128 | + "P2.08", | |
| 129 | + "[NC]", | |
| 130 | + "[NC]", | |
| 131 | + "[NC]"; | |
| 132 | +}; | |
| 133 | + | |
| 134 | +&gpio2 { | |
| 135 | + gpio-line-names = | |
| 136 | + "P2.20", | |
| 137 | + "P2.17", | |
| 138 | + "[NC]", | |
| 139 | + "[NC]", | |
| 140 | + "[NC]", | |
| 141 | + "[EEPROM_WP]", | |
| 142 | + "[SYSBOOT]", | |
| 143 | + "[SYSBOOT]", | |
| 144 | + "[SYSBOOT]", | |
| 145 | + "[SYSBOOT]", | |
| 146 | + "[SYSBOOT]", | |
| 147 | + "[SYSBOOT]", | |
| 148 | + "[SYSBOOT]", | |
| 149 | + "[SYSBOOT]", | |
| 150 | + "[SYSBOOT]", | |
| 151 | + "[SYSBOOT]", | |
| 152 | + "[SYSBOOT]", | |
| 153 | + "[SYSBOOT]", | |
| 154 | + "[NC]", | |
| 155 | + "[NC]", | |
| 156 | + "[NC]", | |
| 157 | + "[NC]", | |
| 158 | + "P2.35 [AIN5]", | |
| 159 | + "P1.02 [AIN6]", | |
| 160 | + "P1.35 [PRU1.10]", | |
| 161 | + "P1.04 [PRU1.11]", | |
| 162 | + "[MMC0_DAT3]", | |
| 163 | + "[MMC0_DAT2]", | |
| 164 | + "[MMC0_DAT1]", | |
| 165 | + "[MMC0_DAT0]", | |
| 166 | + "[MMC0_CLK]", | |
| 167 | + "[MMC0_CMD]"; | |
| 168 | +}; | |
| 169 | + | |
| 170 | +&gpio3 { | |
| 171 | + gpio-line-names = | |
| 172 | + "[NC]", | |
| 173 | + "[NC]", | |
| 174 | + "[NC]", | |
| 175 | + "[NC]", | |
| 176 | + "[NC]", | |
| 177 | + "[I2C0_SDA]", | |
| 178 | + "[I2C0_SCL]", | |
| 179 | + "[JTAG]", | |
| 180 | + "[JTAG]", | |
| 181 | + "[NC]", | |
| 182 | + "[NC]", | |
| 183 | + "[NC]", | |
| 184 | + "[NC]", | |
| 185 | + "P1.03 [USB1]", | |
| 186 | + "P1.36 [PWM0A]", | |
| 187 | + "P1.33 [PRU0.1]", | |
| 188 | + "P2.32 [PRU0.2]", | |
| 189 | + "P2.30 [PRU0.3]", | |
| 190 | + "P1.31 [PRU0.4]", | |
| 191 | + "P2.34 [PRU0.5]", | |
| 192 | + "P2.28 [PRU0.6]", | |
| 193 | + "P1.29 [PRU0.7]", | |
| 194 | + "[NC]", | |
| 195 | + "[NC]", | |
| 196 | + "[NC]", | |
| 197 | + "[NC]", | |
| 198 | + "[NC]", | |
| 199 | + "[NC]", | |
| 200 | + "[NC]", | |
| 201 | + "[NC]", | |
| 202 | + "[NC]", | |
| 203 | + "[NC]"; | |
| 204 | +}; | |
| 205 | + | |
| 62 | 206 | &am33xx_pinmux { |
| 207 | + | |
| 208 | + pinctrl-names = "default"; | |
| 209 | + | |
| 210 | + pinctrl-0 = < &P2_03_gpio &P1_34_gpio &P2_19_gpio &P2_24_gpio | |
| 211 | + &P2_33_gpio &P2_22_gpio &P2_18_gpio &P2_10_gpio | |
| 212 | + &P2_06_gpio &P2_04_gpio &P2_02_gpio &P2_08_gpio | |
| 213 | + &P2_17_gpio >; | |
| 214 | + | |
| 215 | + /* P2_03 (ZCZ ball T10) gpio0_23 0x824 PIN 9 */ | |
| 216 | + P2_03_gpio: pinmux_P2_03_gpio { | |
| 217 | + pinctrl-single,pins = < | |
| 218 | + AM33XX_PADCONF(AM335X_PIN_GPMC_AD9, PIN_INPUT_PULLUP, MUX_MODE7) | |
| 219 | + >; | |
| 220 | + pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>; | |
| 221 | + pinctrl-single,bias-pulldown = < 0x10 0x00 0x10 0x18>; | |
| 222 | + }; | |
| 223 | + | |
| 224 | + /* P1_34 (ZCZ ball T11) gpio0_26 0x828 PIN 10 */ | |
| 225 | + P1_34_gpio: pinmux_P1_34_gpio { | |
| 226 | + pinctrl-single,pins = < | |
| 227 | + AM33XX_PADCONF(AM335X_PIN_GPMC_AD10, PIN_INPUT_PULLUP, MUX_MODE7) | |
| 228 | + >; | |
| 229 | + pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>; | |
| 230 | + pinctrl-single,bias-pulldown = < 0x10 0x00 0x10 0x18>; | |
| 231 | + }; | |
| 232 | + | |
| 233 | + /* P2_19 (ZCZ ball U12) gpio0_27 0x82c PIN 11 */ | |
| 234 | + P2_19_gpio: pinmux_P2_19_gpio { | |
| 235 | + pinctrl-single,pins = < | |
| 236 | + AM33XX_PADCONF(AM335X_PIN_GPMC_AD11, PIN_INPUT_PULLUP, MUX_MODE7) | |
| 237 | + >; | |
| 238 | + pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>; | |
| 239 | + pinctrl-single,bias-pulldown = < 0x10 0x00 0x10 0x18>; | |
| 240 | + }; | |
| 241 | + | |
| 242 | + /* P2_24 (ZCZ ball T12) gpio1_12 0x830 PIN 12 */ | |
| 243 | + P2_24_gpio: pinmux_P2_24_gpio { | |
| 244 | + pinctrl-single,pins = < | |
| 245 | + AM33XX_PADCONF(AM335X_PIN_GPMC_AD12, PIN_INPUT_PULLUP, MUX_MODE7) | |
| 246 | + >; | |
| 247 | + pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>; | |
| 248 | + pinctrl-single,bias-pulldown = < 0x10 0x00 0x10 0x18>; | |
| 249 | + }; | |
| 250 | + | |
| 251 | + /* P2_33 (ZCZ ball R12) gpio1_13 0x834 PIN 13 */ | |
| 252 | + P2_33_gpio: pinmux_P2_33_gpio { | |
| 253 | + pinctrl-single,pins = < | |
| 254 | + AM33XX_PADCONF(AM335X_PIN_GPMC_AD13, PIN_INPUT_PULLUP, MUX_MODE7) | |
| 255 | + >; | |
| 256 | + pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>; | |
| 257 | + pinctrl-single,bias-pulldown = < 0x10 0x00 0x10 0x18>; | |
| 258 | + }; | |
| 259 | + | |
| 260 | + /* P2_22 (ZCZ ball V13) gpio1_14 0x838 PIN 14 */ | |
| 261 | + P2_22_gpio: pinmux_P2_22_gpio { | |
| 262 | + pinctrl-single,pins = < | |
| 263 | + AM33XX_PADCONF(AM335X_PIN_GPMC_AD14, PIN_INPUT_PULLUP, MUX_MODE7) | |
| 264 | + >; | |
| 265 | + pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>; | |
| 266 | + pinctrl-single,bias-pulldown = < 0x10 0x00 0x10 0x18>; | |
| 267 | + }; | |
| 268 | + | |
| 269 | + /* P2_18 (ZCZ ball U13) gpio1_15 0x83c PIN 15 */ | |
| 270 | + P2_18_gpio: pinmux_P2_18_gpio { | |
| 271 | + pinctrl-single,pins = < | |
| 272 | + AM33XX_PADCONF(AM335X_PIN_GPMC_AD15, PIN_INPUT_PULLUP, MUX_MODE7) | |
| 273 | + >; | |
| 274 | + pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>; | |
| 275 | + pinctrl-single,bias-pulldown = < 0x10 0x00 0x10 0x18>; | |
| 276 | + }; | |
| 277 | + | |
| 278 | + /* P2_10 (ZCZ ball R14) gpio1_20 0x850 PIN 20 */ | |
| 279 | + P2_10_gpio: pinmux_P2_10_gpio { | |
| 280 | + pinctrl-single,pins = < | |
| 281 | + AM33XX_PADCONF(AM335X_PIN_GPMC_A4, PIN_INPUT_PULLUP, MUX_MODE7) | |
| 282 | + >; | |
| 283 | + pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>; | |
| 284 | + pinctrl-single,bias-pulldown = < 0x10 0x00 0x10 0x18>; | |
| 285 | + }; | |
| 286 | + | |
| 287 | + /* P2_06 (ZCZ ball U16) gpio1_25 0x864 PIN 25 */ | |
| 288 | + P2_06_gpio: pinmux_P2_06_gpio { | |
| 289 | + pinctrl-single,pins = < | |
| 290 | + AM33XX_PADCONF(AM335X_PIN_GPMC_A9, PIN_INPUT_PULLUP, MUX_MODE7) | |
| 291 | + >; | |
| 292 | + pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>; | |
| 293 | + pinctrl-single,bias-pulldown = < 0x10 0x00 0x10 0x18>; | |
| 294 | + }; | |
| 295 | + | |
| 296 | + /* P2_04 (ZCZ ball T16) gpio1_26 0x868 PIN 26 */ | |
| 297 | + P2_04_gpio: pinmux_P2_04_gpio { | |
| 298 | + pinctrl-single,pins = < | |
| 299 | + AM33XX_PADCONF(AM335X_PIN_GPMC_A10, PIN_INPUT_PULLUP, MUX_MODE7) | |
| 300 | + >; | |
| 301 | + pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>; | |
| 302 | + pinctrl-single,bias-pulldown = < 0x10 0x00 0x10 0x18>; | |
| 303 | + }; | |
| 304 | + | |
| 305 | + /* P2_02 (ZCZ ball V17) gpio1_27 0x86c PIN 27 */ | |
| 306 | + P2_02_gpio: pinmux_P2_02_gpio { | |
| 307 | + pinctrl-single,pins = < | |
| 308 | + AM33XX_PADCONF(AM335X_PIN_GPMC_A11, PIN_INPUT_PULLUP, MUX_MODE7) | |
| 309 | + >; | |
| 310 | + pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>; | |
| 311 | + pinctrl-single,bias-pulldown = < 0x10 0x00 0x10 0x18>; | |
| 312 | + }; | |
| 313 | + | |
| 314 | + /* P2_08 (ZCZ ball U18) gpio1_28 0x878 PIN 30 */ | |
| 315 | + P2_08_gpio: pinmux_P2_08_gpio { | |
| 316 | + pinctrl-single,pins = < | |
| 317 | + AM33XX_PADCONF(AM335X_PIN_GPMC_BEN1, PIN_INPUT_PULLDOWN, MUX_MODE7) | |
| 318 | + >; | |
| 319 | + pinctrl-single,bias-pullup = < 0x00 0x10 0x00 0x18>; | |
| 320 | + pinctrl-single,bias-pulldown = < 0x00 0x00 0x10 0x18>; | |
| 321 | + }; | |
| 322 | + | |
| 323 | + /* P2_17 (ZCZ ball V12) gpio2_1 0x88c PIN 35 */ | |
| 324 | + P2_17_gpio: pinmux_P2_17_gpio { | |
| 325 | + pinctrl-single,pins = < | |
| 326 | + AM33XX_PADCONF(AM335X_PIN_GPMC_CLK, PIN_INPUT_PULLUP, MUX_MODE7) | |
| 327 | + >; | |
| 328 | + pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>; | |
| 329 | + pinctrl-single,bias-pulldown = < 0x10 0x00 0x10 0x18>; | |
| 330 | + }; | |
| 331 | + | |
| 63 | 332 | i2c2_pins: pinmux-i2c2-pins { |
| 64 | 333 | pinctrl-single,pins = < |
| 65 | 334 | AM33XX_PADCONF(AM335X_PIN_UART1_RTSN, PIN_INPUT_PULLUP, MUX_MODE3) /* (D17) uart1_rtsn.I2C2_SCL */ |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | /dts-v1/; |
| 6 | 6 | |
| @@ -151,6 +151,18 @@ · 150 unmodified lines | ||
| 151 | 151 | |
| 152 | 152 | gpio0: gpio@0 { |
| 153 | 153 | compatible = "ti,omap4-gpio"; |
| 154 | + gpio-ranges = <&am33xx_pinmux 0 82 8>, | |
| 155 | + <&am33xx_pinmux 8 52 4>, | |
| 156 | + <&am33xx_pinmux 12 94 4>, | |
| 157 | + <&am33xx_pinmux 16 71 2>, | |
| 158 | + <&am33xx_pinmux 18 135 1>, | |
| 159 | + <&am33xx_pinmux 19 108 2>, | |
| 160 | + <&am33xx_pinmux 21 73 1>, | |
| 161 | + <&am33xx_pinmux 22 8 2>, | |
| 162 | + <&am33xx_pinmux 26 10 2>, | |
| 163 | + <&am33xx_pinmux 28 74 1>, | |
| 164 | + <&am33xx_pinmux 29 81 1>, | |
| 165 | + <&am33xx_pinmux 30 28 2>; | |
| 154 | 166 | gpio-controller; |
| 155 | 167 | #gpio-cells = <2>; |
| 156 | 168 | interrupt-controller; |
| @@ -1296,6 +1308,10 @@ · 1139 unmodified lines | ||
| 1296 | 1308 | |
| 1297 | 1309 | gpio1: gpio@0 { |
| 1298 | 1310 | compatible = "ti,omap4-gpio"; |
| 1311 | + gpio-ranges = <&am33xx_pinmux 0 0 8>, | |
| 1312 | + <&am33xx_pinmux 8 90 4>, | |
| 1313 | + <&am33xx_pinmux 12 12 16>, | |
| 1314 | + <&am33xx_pinmux 28 30 4>; | |
| 1299 | 1315 | gpio-controller; |
| 1300 | 1316 | #gpio-cells = <2>; |
| 1301 | 1317 | interrupt-controller; |
| @@ -1696,6 +1712,9 @@ · 394 unmodified lines | ||
| 1696 | 1712 | |
| 1697 | 1713 | gpio2: gpio@0 { |
| 1698 | 1714 | compatible = "ti,omap4-gpio"; |
| 1715 | + gpio-ranges = <&am33xx_pinmux 0 34 18>, | |
| 1716 | + <&am33xx_pinmux 18 77 4>, | |
| 1717 | + <&am33xx_pinmux 22 56 10>; | |
| 1699 | 1718 | gpio-controller; |
| 1700 | 1719 | #gpio-cells = <2>; |
| 1701 | 1720 | interrupt-controller; |
| @@ -1729,6 +1748,11 @@ · 27 unmodified lines | ||
| 1729 | 1748 | |
| 1730 | 1749 | gpio3: gpio@0 { |
| 1731 | 1750 | compatible = "ti,omap4-gpio"; |
| 1751 | + gpio-ranges = <&am33xx_pinmux 0 66 5>, | |
| 1752 | + <&am33xx_pinmux 5 98 2>, | |
| 1753 | + <&am33xx_pinmux 7 75 2>, | |
| 1754 | + <&am33xx_pinmux 13 141 1>, | |
| 1755 | + <&am33xx_pinmux 14 100 8>; | |
| 1732 | 1756 | gpio-controller; |
| 1733 | 1757 | #gpio-cells = <2>; |
| 1734 | 1758 | interrupt-controller; |
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | /* |
| 2 | 2 | * Device Tree Source for AM33XX SoC |
| 3 | 3 | * |
| 4 | − * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ | |
| 4 | + * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ | |
| 5 | 5 | * |
| 6 | 6 | * This file is licensed under the terms of the GNU General Public License |
| 7 | 7 | * version 2. This program is licensed "as is" without any warranty of any |
| @@ -2,7 +2,7 @@ · 1 unmodified line | ||
| 2 | 2 | /* |
| 3 | 3 | * See craneboard.org for more details |
| 4 | 4 | * |
| 5 | − * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | |
| 5 | + * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ | |
| 6 | 6 | */ |
| 7 | 7 | /dts-v1/; |
| 8 | 8 | |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2018 Logic PD, Inc - http://www.logicpd.com/ | |
| 3 | + * Copyright (C) 2018 Logic PD, Inc - https://www.logicpd.com/ | |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | #include <dt-bindings/input/input.h> |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | /dts-v1/; |
| 6 | 6 | |
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | /* |
| 2 | 2 | * Device Tree Source for am3517 SoC |
| 3 | 3 | * |
| 4 | − * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | |
| 4 | + * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ | |
| 5 | 5 | * |
| 6 | 6 | * This file is licensed under the terms of the GNU General Public License |
| 7 | 7 | * version 2. This program is licensed "as is" without any warranty of any |
| @@ -10,6 +10,10 @@ · 2 unmodified lines | ||
| 10 | 10 | |
| 11 | 11 | #include "omap3.dtsi" |
| 12 | 12 | |
| 13 | +/* AM3517 doesn't appear to have the crypto engines defined in omap3.dtsi */ | |
| 14 | +/delete-node/ &aes1_target; | |
| 15 | +/delete-node/ &aes2_target; | |
| 16 | + | |
| 13 | 17 | / { |
| 14 | 18 | aliases { |
| 15 | 19 | serial3 = &uart4; |
| @@ -2,8 +2,8 @@ · 1 unmodified line | ||
| 2 | 2 | /* |
| 3 | 3 | * Device tree for Winterland IceBoard |
| 4 | 4 | * |
| 5 | − * http://mcgillcosmology.com | |
| 6 | − * http://threespeedlogic.com | |
| 5 | + * https://mcgillcosmology.com | |
| 6 | + * https://threespeedlogic.com | |
| 7 | 7 | * |
| 8 | 8 | * This is an ARM + FPGA instrumentation board used at telescopes in |
| 9 | 9 | * Antarctica (the South Pole Telescope), Chile (POLARBEAR), and at the DRAO |
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | /* |
| 2 | 2 | * Device Tree Source for AM4372 SoC |
| 3 | 3 | * |
| 4 | − * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | |
| 4 | + * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ | |
| 5 | 5 | * |
| 6 | 6 | * This file is licensed under the terms of the GNU General Public License |
| 7 | 7 | * version 2. This program is licensed "as is" without any warranty of any |
| @@ -153,7 +153,7 @@ · 145 unmodified lines | ||
| 153 | 153 | clocks = <&mpu_periphclk>; |
| 154 | 154 | }; |
| 155 | 155 | |
| 156 | − l2-cache-controller@48242000 { | |
| 156 | + cache-controller@48242000 { | |
| 157 | 157 | compatible = "arm,pl310-cache"; |
| 158 | 158 | reg = <0x48242000 0x1000>; |
| 159 | 159 | cache-unified; |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | /* AM437x GP EVM */ |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2014 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | /dts-v1/; |
| @@ -2357,7 +2357,6 @@ · 2356 unmodified lines | ||
| 2357 | 2357 | |
| 2358 | 2358 | target-module@80000 { /* 0x48380000, ap 123 42.0 */ |
| 2359 | 2359 | compatible = "ti,sysc-omap4", "ti,sysc"; |
| 2360 | − ti,hwmods = "usb_otg_ss0"; | |
| 2361 | 2360 | reg = <0x80000 0x4>, |
| 2362 | 2361 | <0x80010 0x4>; |
| 2363 | 2362 | reg-names = "rev", "sysc"; |
| @@ -2438,7 +2437,6 @@ · 74 unmodified lines | ||
| 2438 | 2437 | |
| 2439 | 2438 | target-module@c0000 { /* 0x483c0000, ap 127 7a.0 */ |
| 2440 | 2439 | compatible = "ti,sysc-omap4", "ti,sysc"; |
| 2441 | − ti,hwmods = "usb_otg_ss1"; | |
| 2442 | 2440 | reg = <0xc0000 0x4>, |
| 2443 | 2441 | <0xc0010 0x4>; |
| 2444 | 2442 | reg-names = "rev", "sysc"; |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2014 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | /* AM437x SK EVM */ |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | /* AM43x EPOS EVM */ |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | * |
| 5 | 5 | * Common PRUSS data for TI AM57xx platforms |
| 6 | 6 | */ |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | #include "dra72x.dtsi" |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2015-2016 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2015-2016 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | /dts-v1/; |
| 6 | 6 | |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | #include "dra74x.dtsi" |
| @@ -8,6 +8,7 @@ · 7 unmodified lines | ||
| 8 | 8 | #include "dra74x.dtsi" |
| 9 | 9 | #include "am57xx-commercial-grade.dtsi" |
| 10 | 10 | #include "dra74x-mmc-iodelay.dtsi" |
| 11 | +#include "dra74-ipu-dsp-common.dtsi" | |
| 11 | 12 | #include <dt-bindings/gpio/gpio.h> |
| 12 | 13 | #include <dt-bindings/interrupt-controller/irq.h> |
| 13 | 14 | #include <dt-bindings/pinctrl/dra.h> |
| @@ -629,58 +630,6 @@ · 615 unmodified lines | ||
| 629 | 630 | status = "okay"; |
| 630 | 631 | }; |
| 631 | 632 | |
| 632 | −&mailbox1 { | |
| 633 | − status = "okay"; | |
| 634 | −}; | |
| 635 | − | |
| 636 | −&mailbox2 { | |
| 637 | − status = "okay"; | |
| 638 | −}; | |
| 639 | − | |
| 640 | −&mailbox3 { | |
| 641 | − status = "okay"; | |
| 642 | −}; | |
| 643 | − | |
| 644 | −&mailbox4 { | |
| 645 | − status = "okay"; | |
| 646 | −}; | |
| 647 | − | |
| 648 | −&mailbox5 { | |
| 649 | − status = "okay"; | |
| 650 | −}; | |
| 651 | − | |
| 652 | −&mailbox6 { | |
| 653 | − status = "okay"; | |
| 654 | −}; | |
| 655 | − | |
| 656 | −&mailbox7 { | |
| 657 | − status = "okay"; | |
| 658 | −}; | |
| 659 | − | |
| 660 | −&mailbox8 { | |
| 661 | − status = "okay"; | |
| 662 | −}; | |
| 663 | − | |
| 664 | −&mailbox9 { | |
| 665 | − status = "okay"; | |
| 666 | −}; | |
| 667 | − | |
| 668 | −&mailbox10 { | |
| 669 | − status = "okay"; | |
| 670 | −}; | |
| 671 | − | |
| 672 | −&mailbox11 { | |
| 673 | − status = "okay"; | |
| 674 | −}; | |
| 675 | − | |
| 676 | −&mailbox12 { | |
| 677 | − status = "okay"; | |
| 678 | −}; | |
| 679 | − | |
| 680 | −&mailbox13 { | |
| 681 | − status = "okay"; | |
| 682 | −}; | |
| 683 | − | |
| 684 | 633 | &cpu_alert0 { |
| 685 | 634 | temperature = <55000>; /* milliCelsius */ |
| 686 | 635 | }; |
| @@ -729,3 +678,23 @@ · 42 unmodified lines | ||
| 729 | 678 | opp-shared; |
| 730 | 679 | }; |
| 731 | 680 | }; |
| 681 | + | |
| 682 | +&ipu2 { | |
| 683 | + status = "okay"; | |
| 684 | + memory-region = <&ipu2_memory_region>; | |
| 685 | +}; | |
| 686 | + | |
| 687 | +&ipu1 { | |
| 688 | + status = "okay"; | |
| 689 | + memory-region = <&ipu1_memory_region>; | |
| 690 | +}; | |
| 691 | + | |
| 692 | +&dsp1 { | |
| 693 | + status = "okay"; | |
| 694 | + memory-region = <&dsp1_memory_region>; | |
| 695 | +}; | |
| 696 | + | |
| 697 | +&dsp2 { | |
| 698 | + status = "okay"; | |
| 699 | + memory-region = <&dsp2_memory_region>; | |
| 700 | +}; | |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2017 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | #include <dt-bindings/gpio/gpio.h> |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2015-2016 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2015-2016 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | /dts-v1/; |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | #include "dra76x.dtsi" |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2017 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2014-2016 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2014-2016 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | /dts-v1/; |
| 6 | 6 | |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2014-2016 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2014-2016 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | #include "am57xx-beagle-x15-common.dtsi" |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2014-2017 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2014-2017 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | #include "am57xx-beagle-x15-common.dtsi" |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2014-2016 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2014-2016 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | #include "am57xx-beagle-x15-common.dtsi" |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2015-2016 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2015-2016 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | #include "am57xx-industrial-grade.dtsi" |
| @@ -59,7 +59,7 @@ · 58 unmodified lines | ||
| 59 | 59 | interrupts = <0 10 IRQ_TYPE_LEVEL_HIGH>; |
| 60 | 60 | }; |
| 61 | 61 | |
| 62 | − L2: l2-cache { | |
| 62 | + L2: cache-controller { | |
| 63 | 63 | compatible = "arm,l220-cache"; |
| 64 | 64 | reg = <0x1f002000 0x1000>; |
| 65 | 65 | interrupt-parent = <&intc>; |
| @@ -323,7 +323,7 @@ · 322 unmodified lines | ||
| 323 | 323 | <0x10120000 0x100>; |
| 324 | 324 | }; |
| 325 | 325 | |
| 326 | − L2: l2-cache { | |
| 326 | + L2: cache-controller { | |
| 327 | 327 | compatible = "arm,l220-cache"; |
| 328 | 328 | reg = <0x10110000 0x1000>; |
| 329 | 329 | interrupt-parent = <&intc_dc1176>; |
| @@ -92,7 +92,7 @@ · 91 unmodified lines | ||
| 92 | 92 | <0x1f000100 0x100>; |
| 93 | 93 | }; |
| 94 | 94 | |
| 95 | − L2: l2-cache { | |
| 95 | + L2: cache-controller { | |
| 96 | 96 | compatible = "arm,l220-cache"; |
| 97 | 97 | reg = <0x1f002000 0x1000>; |
| 98 | 98 | interrupt-parent = <&intc_tc11mp>; |
| @@ -60,7 +60,7 @@ · 59 unmodified lines | ||
| 60 | 60 | }; |
| 61 | 61 | }; |
| 62 | 62 | |
| 63 | − L2: l2-cache { | |
| 63 | + L2: cache-controller { | |
| 64 | 64 | compatible = "arm,pl310-cache"; |
| 65 | 65 | reg = <0x1f002000 0x1000>; |
| 66 | 66 | cache-unified; |
| @@ -247,9 +247,8 @@ · 246 unmodified lines | ||
| 247 | 247 | &mdio { |
| 248 | 248 | phy0: ethernet-phy@0 { /* Marvell 88E1318 */ |
| 249 | 249 | reg = <0>; |
| 250 | − marvell,reg-init = <0x0 0x16 0x0 0x0002>, | |
| 251 | − <0x0 0x19 0x0 0x0077>, | |
| 252 | − <0x0 0x18 0x0 0x5747>; | |
| 250 | + marvell,reg-init = <0x2 0x19 0x0 0x0077>, | |
| 251 | + <0x2 0x18 0x0 0x5747>; | |
| 253 | 252 | }; |
| 254 | 253 | }; |
| 255 | 254 | |
| @@ -0,0 +1,219 @@ | ||
| 1 | +// SPDX-License-Identifier: GPL-2.0 | |
| 2 | +// Copyright (c) 2020 AMD Inc. | |
| 3 | +// Author: Supreeth Venkatesh <supreeth.venkatesh@amd.com> | |
| 4 | +/dts-v1/; | |
| 5 | + | |
| 6 | +#include "aspeed-g5.dtsi" | |
| 7 | +#include <dt-bindings/gpio/aspeed-gpio.h> | |
| 8 | + | |
| 9 | +/ { | |
| 10 | + model = "AMD EthanolX BMC"; | |
| 11 | + compatible = "amd,ethanolx-bmc", "aspeed,ast2500"; | |
| 12 | + | |
| 13 | + memory@80000000 { | |
| 14 | + reg = <0x80000000 0x20000000>; | |
| 15 | + }; | |
| 16 | + aliases { | |
| 17 | + serial0 = &uart1; | |
| 18 | + serial4 = &uart5; | |
| 19 | + }; | |
| 20 | + chosen { | |
| 21 | + stdout-path = &uart5; | |
| 22 | + bootargs = "console=ttyS4,115200 earlyprintk"; | |
| 23 | + }; | |
| 24 | + leds { | |
| 25 | + compatible = "gpio-leds"; | |
| 26 | + | |
| 27 | + fault { | |
| 28 | + gpios = <&gpio ASPEED_GPIO(A, 2) GPIO_ACTIVE_LOW>; | |
| 29 | + }; | |
| 30 | + | |
| 31 | + identify { | |
| 32 | + gpios = <&gpio ASPEED_GPIO(A, 3) GPIO_ACTIVE_LOW>; | |
| 33 | + }; | |
| 34 | + }; | |
| 35 | + iio-hwmon { | |
| 36 | + compatible = "iio-hwmon"; | |
| 37 | + io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>, <&adc 4>; | |
| 38 | + }; | |
| 39 | +}; | |
| 40 | + | |
| 41 | +&fmc { | |
| 42 | + status = "okay"; | |
| 43 | + flash@0 { | |
| 44 | + status = "okay"; | |
| 45 | + m25p,fast-read; | |
| 46 | + #include "openbmc-flash-layout.dtsi" | |
| 47 | + }; | |
| 48 | +}; | |
| 49 | + | |
| 50 | + | |
| 51 | +&mac0 { | |
| 52 | + status = "okay"; | |
| 53 | + | |
| 54 | + pinctrl-names = "default"; | |
| 55 | + pinctrl-0 = <&pinctrl_rmii1_default>; | |
| 56 | + clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>, | |
| 57 | + <&syscon ASPEED_CLK_MAC1RCLK>; | |
| 58 | + clock-names = "MACCLK", "RCLK"; | |
| 59 | +}; | |
| 60 | + | |
| 61 | +&uart1 { | |
| 62 | + //Host Console | |
| 63 | + status = "okay"; | |
| 64 | + pinctrl-names = "default"; | |
| 65 | + pinctrl-0 = <&pinctrl_txd1_default | |
| 66 | + &pinctrl_rxd1_default>; | |
| 67 | +}; | |
| 68 | + | |
| 69 | +&uart5 { | |
| 70 | + //BMC Console | |
| 71 | + status = "okay"; | |
| 72 | +}; | |
| 73 | + | |
| 74 | +&adc { | |
| 75 | + status = "okay"; | |
| 76 | + | |
| 77 | + pinctrl-names = "default"; | |
| 78 | + pinctrl-0 = <&pinctrl_adc0_default | |
| 79 | + &pinctrl_adc1_default | |
| 80 | + &pinctrl_adc2_default | |
| 81 | + &pinctrl_adc3_default | |
| 82 | + &pinctrl_adc4_default>; | |
| 83 | +}; | |
| 84 | + | |
| 85 | +//APML for P0 | |
| 86 | +&i2c0 { | |
| 87 | + status = "okay"; | |
| 88 | +}; | |
| 89 | + | |
| 90 | +//APML for P1 | |
| 91 | +&i2c1 { | |
| 92 | + status = "okay"; | |
| 93 | +}; | |
| 94 | + | |
| 95 | +// Thermal Sensors | |
| 96 | +&i2c7 { | |
| 97 | + status = "okay"; | |
| 98 | + | |
| 99 | + lm75a@48 { | |
| 100 | + compatible = "national,lm75a"; | |
| 101 | + reg = <0x48>; | |
| 102 | + }; | |
| 103 | + | |
| 104 | + lm75a@49 { | |
| 105 | + compatible = "national,lm75a"; | |
| 106 | + reg = <0x49>; | |
| 107 | + }; | |
| 108 | + | |
| 109 | + lm75a@4a { | |
| 110 | + compatible = "national,lm75a"; | |
| 111 | + reg = <0x4a>; | |
| 112 | + }; | |
| 113 | + | |
| 114 | + lm75a@4b { | |
| 115 | + compatible = "national,lm75a"; | |
| 116 | + reg = <0x4b>; | |
| 117 | + }; | |
| 118 | + | |
| 119 | + lm75a@4c { | |
| 120 | + compatible = "national,lm75a"; | |
| 121 | + reg = <0x4c>; | |
| 122 | + }; | |
| 123 | + | |
| 124 | + lm75a@4d { | |
| 125 | + compatible = "national,lm75a"; | |
| 126 | + reg = <0x4d>; | |
| 127 | + }; | |
| 128 | + | |
| 129 | + lm75a@4e { | |
| 130 | + compatible = "national,lm75a"; | |
| 131 | + reg = <0x4e>; | |
| 132 | + }; | |
| 133 | + | |
| 134 | + lm75a@4f { | |
| 135 | + compatible = "national,lm75a"; | |
| 136 | + reg = <0x4f>; | |
| 137 | + }; | |
| 138 | +}; | |
| 139 | + | |
| 140 | +&kcs1 { | |
| 141 | + status = "okay"; | |
| 142 | + kcs_addr = <0x60>; | |
| 143 | +}; | |
| 144 | + | |
| 145 | +&kcs2 { | |
| 146 | + status = "okay"; | |
| 147 | + kcs_addr = <0x62>; | |
| 148 | +}; | |
| 149 | + | |
| 150 | +&kcs4 { | |
| 151 | + status = "okay"; | |
| 152 | + kcs_addr = <0x97DE>; | |
| 153 | +}; | |
| 154 | + | |
| 155 | +&lpc_snoop { | |
| 156 | + status = "okay"; | |
| 157 | + snoop-ports = <0x80>; | |
| 158 | +}; | |
| 159 | + | |
| 160 | +&lpc_ctrl { | |
| 161 | + //Enable lpc clock | |
| 162 | + status = "okay"; | |
| 163 | +}; | |
| 164 | + | |
| 165 | +&pwm_tacho { | |
| 166 | + status = "okay"; | |
| 167 | + pinctrl-names = "default"; | |
| 168 | + pinctrl-0 = <&pinctrl_pwm0_default | |
| 169 | + &pinctrl_pwm1_default | |
| 170 | + &pinctrl_pwm2_default | |
| 171 | + &pinctrl_pwm3_default | |
| 172 | + &pinctrl_pwm4_default | |
| 173 | + &pinctrl_pwm5_default | |
| 174 | + &pinctrl_pwm6_default | |
| 175 | + &pinctrl_pwm7_default>; | |
| 176 | + | |
| 177 | + fan@0 { | |
| 178 | + reg = <0x00>; | |
| 179 | + aspeed,fan-tach-ch = /bits/ 8 <0x00>; | |
| 180 | + }; | |
| 181 | + | |
| 182 | + fan@1 { | |
| 183 | + reg = <0x01>; | |
| 184 | + aspeed,fan-tach-ch = /bits/ 8 <0x01>; | |
| 185 | + }; | |
| 186 | + | |
| 187 | + fan@2 { | |
| 188 | + reg = <0x02>; | |
| 189 | + aspeed,fan-tach-ch = /bits/ 8 <0x02>; | |
| 190 | + }; | |
| 191 | + | |
| 192 | + fan@3 { | |
| 193 | + reg = <0x03>; | |
| 194 | + aspeed,fan-tach-ch = /bits/ 8 <0x03>; | |
| 195 | + }; | |
| 196 | + | |
| 197 | + fan@4 { | |
| 198 | + reg = <0x04>; | |
| 199 | + aspeed,fan-tach-ch = /bits/ 8 <0x04>; | |
| 200 | + }; | |
| 201 | + | |
| 202 | + fan@5 { | |
| 203 | + reg = <0x05>; | |
| 204 | + aspeed,fan-tach-ch = /bits/ 8 <0x05>; | |
| 205 | + }; | |
| 206 | + | |
| 207 | + fan@6 { | |
| 208 | + reg = <0x06>; | |
| 209 | + aspeed,fan-tach-ch = /bits/ 8 <0x06>; | |
| 210 | + }; | |
| 211 | + | |
| 212 | + fan@7 { | |
| 213 | + reg = <0x07>; | |
| 214 | + aspeed,fan-tach-ch = /bits/ 8 <0x07>; | |
| 215 | + }; | |
| 216 | +}; | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| @@ -19,8 +19,8 @@ · 18 unmodified lines | ||
| 19 | 19 | serial3 = &uart4; |
| 20 | 20 | |
| 21 | 21 | /* |
| 22 | − * Hardcode the bus number of i2c switches' channels to | |
| 23 | − * avoid breaking the legacy applications. | |
| 22 | + * PCA9548 (1-0077) provides 8 channels for connecting to | |
| 23 | + * 4 Line Cards and 4 Fabric Cards. | |
| 24 | 24 | */ |
| 25 | 25 | i2c16 = &imux16; |
| 26 | 26 | i2c17 = &imux17; |
| @@ -30,6 +30,11 @@ · 3 unmodified lines | ||
| 30 | 30 | i2c21 = &imux21; |
| 31 | 31 | i2c22 = &imux22; |
| 32 | 32 | i2c23 = &imux23; |
| 33 | + | |
| 34 | + /* | |
| 35 | + * PCA9548 (2-0071) provides 8 channels for connecting to | |
| 36 | + * Power Distribution Board. | |
| 37 | + */ | |
| 33 | 38 | i2c24 = &imux24; |
| 34 | 39 | i2c25 = &imux25; |
| 35 | 40 | i2c26 = &imux26; |
| @@ -38,6 +43,11 @@ · 2 unmodified lines | ||
| 38 | 43 | i2c29 = &imux29; |
| 39 | 44 | i2c30 = &imux30; |
| 40 | 45 | i2c31 = &imux31; |
| 46 | + | |
| 47 | + /* | |
| 48 | + * PCA9548 (8-0077) provides 8 channels and the first 4 | |
| 49 | + * channels are connecting to 4 Fan Control Boards. | |
| 50 | + */ | |
| 41 | 51 | i2c32 = &imux32; |
| 42 | 52 | i2c33 = &imux33; |
| 43 | 53 | i2c34 = &imux34; |
| @@ -46,6 +56,226 @@ · 2 unmodified lines | ||
| 46 | 56 | i2c37 = &imux37; |
| 47 | 57 | i2c38 = &imux38; |
| 48 | 58 | i2c39 = &imux39; |
| 59 | + | |
| 60 | + /* | |
| 61 | + * 2 PCA9548 (18-0070 & 18-0073), 16 channels connecting | |
| 62 | + * to Line Card #1. | |
| 63 | + */ | |
| 64 | + i2c40 = &imux40; | |
| 65 | + i2c41 = &imux41; | |
| 66 | + i2c42 = &imux42; | |
| 67 | + i2c43 = &imux43; | |
| 68 | + i2c44 = &imux44; | |
| 69 | + i2c45 = &imux45; | |
| 70 | + i2c46 = &imux46; | |
| 71 | + i2c47 = &imux47; | |
| 72 | + i2c48 = &imux48; | |
| 73 | + i2c49 = &imux49; | |
| 74 | + i2c50 = &imux50; | |
| 75 | + i2c51 = &imux51; | |
| 76 | + i2c52 = &imux52; | |
| 77 | + i2c53 = &imux53; | |
| 78 | + i2c54 = &imux54; | |
| 79 | + i2c55 = &imux55; | |
| 80 | + | |
| 81 | + /* | |
| 82 | + * 2 PCA9548 (19-0070 & 19-0073), 16 channels connecting | |
| 83 | + * to Line Card #2. | |
| 84 | + */ | |
| 85 | + i2c56 = &imux56; | |
| 86 | + i2c57 = &imux57; | |
| 87 | + i2c58 = &imux58; | |
| 88 | + i2c59 = &imux59; | |
| 89 | + i2c60 = &imux60; | |
| 90 | + i2c61 = &imux61; | |
| 91 | + i2c62 = &imux62; | |
| 92 | + i2c63 = &imux63; | |
| 93 | + i2c64 = &imux64; | |
| 94 | + i2c65 = &imux65; | |
| 95 | + i2c66 = &imux66; | |
| 96 | + i2c67 = &imux67; | |
| 97 | + i2c68 = &imux68; | |
| 98 | + i2c69 = &imux69; | |
| 99 | + i2c70 = &imux70; | |
| 100 | + i2c71 = &imux71; | |
| 101 | + | |
| 102 | + /* | |
| 103 | + * 2 PCA9548 (20-0070 & 20-0073), 16 channels connecting | |
| 104 | + * to Line Card #3. | |
| 105 | + */ | |
| 106 | + i2c72 = &imux72; | |
| 107 | + i2c73 = &imux73; | |
| 108 | + i2c74 = &imux74; | |
| 109 | + i2c75 = &imux75; | |
| 110 | + i2c76 = &imux76; | |
| 111 | + i2c77 = &imux77; | |
| 112 | + i2c78 = &imux78; | |
| 113 | + i2c79 = &imux79; | |
| 114 | + i2c80 = &imux80; | |
| 115 | + i2c81 = &imux81; | |
| 116 | + i2c82 = &imux82; | |
| 117 | + i2c83 = &imux83; | |
| 118 | + i2c84 = &imux84; | |
| 119 | + i2c85 = &imux85; | |
| 120 | + i2c86 = &imux86; | |
| 121 | + i2c87 = &imux87; | |
| 122 | + | |
| 123 | + /* | |
| 124 | + * 2 PCA9548 (21-0070 & 21-0073), 16 channels connecting | |
| 125 | + * to Line Card #4. | |
| 126 | + */ | |
| 127 | + i2c88 = &imux88; | |
| 128 | + i2c89 = &imux89; | |
| 129 | + i2c90 = &imux90; | |
| 130 | + i2c91 = &imux91; | |
| 131 | + i2c92 = &imux92; | |
| 132 | + i2c93 = &imux93; | |
| 133 | + i2c94 = &imux94; | |
| 134 | + i2c95 = &imux95; | |
| 135 | + i2c96 = &imux96; | |
| 136 | + i2c97 = &imux97; | |
| 137 | + i2c98 = &imux98; | |
| 138 | + i2c99 = &imux99; | |
| 139 | + i2c100 = &imux100; | |
| 140 | + i2c101 = &imux101; | |
| 141 | + i2c102 = &imux102; | |
| 142 | + i2c103 = &imux103; | |
| 143 | + | |
| 144 | + /* | |
| 145 | + * 2 PCA9548 (16-0070 & 16-0073), 16 channels connecting | |
| 146 | + * to Fabric Card #1. | |
| 147 | + */ | |
| 148 | + i2c104 = &imux104; | |
| 149 | + i2c105 = &imux105; | |
| 150 | + i2c106 = &imux106; | |
| 151 | + i2c107 = &imux107; | |
| 152 | + i2c108 = &imux108; | |
| 153 | + i2c109 = &imux109; | |
| 154 | + i2c110 = &imux110; | |
| 155 | + i2c111 = &imux111; | |
| 156 | + i2c112 = &imux112; | |
| 157 | + i2c113 = &imux113; | |
| 158 | + i2c114 = &imux114; | |
| 159 | + i2c115 = &imux115; | |
| 160 | + i2c116 = &imux116; | |
| 161 | + i2c117 = &imux117; | |
| 162 | + i2c118 = &imux118; | |
| 163 | + i2c119 = &imux119; | |
| 164 | + | |
| 165 | + /* | |
| 166 | + * 2 PCA9548 (17-0070 & 17-0073), 16 channels connecting | |
| 167 | + * to Fabric Card #2. | |
| 168 | + */ | |
| 169 | + i2c120 = &imux120; | |
| 170 | + i2c121 = &imux121; | |
| 171 | + i2c122 = &imux122; | |
| 172 | + i2c123 = &imux123; | |
| 173 | + i2c124 = &imux124; | |
| 174 | + i2c125 = &imux125; | |
| 175 | + i2c126 = &imux126; | |
| 176 | + i2c127 = &imux127; | |
| 177 | + i2c128 = &imux128; | |
| 178 | + i2c129 = &imux129; | |
| 179 | + i2c130 = &imux130; | |
| 180 | + i2c131 = &imux131; | |
| 181 | + i2c132 = &imux132; | |
| 182 | + i2c133 = &imux133; | |
| 183 | + i2c134 = &imux134; | |
| 184 | + i2c135 = &imux135; | |
| 185 | + | |
| 186 | + /* | |
| 187 | + * 2 PCA9548 (22-0070 & 22-0073), 16 channels connecting | |
| 188 | + * to Fabric Card #3. | |
| 189 | + */ | |
| 190 | + i2c136 = &imux136; | |
| 191 | + i2c137 = &imux137; | |
| 192 | + i2c138 = &imux138; | |
| 193 | + i2c139 = &imux139; | |
| 194 | + i2c140 = &imux140; | |
| 195 | + i2c141 = &imux141; | |
| 196 | + i2c142 = &imux142; | |
| 197 | + i2c143 = &imux143; | |
| 198 | + i2c144 = &imux144; | |
| 199 | + i2c145 = &imux145; | |
| 200 | + i2c146 = &imux146; | |
| 201 | + i2c147 = &imux147; | |
| 202 | + i2c148 = &imux148; | |
| 203 | + i2c149 = &imux149; | |
| 204 | + i2c150 = &imux150; | |
| 205 | + i2c151 = &imux151; | |
| 206 | + | |
| 207 | + /* | |
| 208 | + * 2 PCA9548 (23-0070 & 23-0073), 16 channels connecting | |
| 209 | + * to Fabric Card #4. | |
| 210 | + */ | |
| 211 | + i2c152 = &imux152; | |
| 212 | + i2c153 = &imux153; | |
| 213 | + i2c154 = &imux154; | |
| 214 | + i2c155 = &imux155; | |
| 215 | + i2c156 = &imux156; | |
| 216 | + i2c157 = &imux157; | |
| 217 | + i2c158 = &imux158; | |
| 218 | + i2c159 = &imux159; | |
| 219 | + i2c160 = &imux160; | |
| 220 | + i2c161 = &imux161; | |
| 221 | + i2c162 = &imux162; | |
| 222 | + i2c163 = &imux163; | |
| 223 | + i2c164 = &imux164; | |
| 224 | + i2c165 = &imux165; | |
| 225 | + i2c166 = &imux166; | |
| 226 | + i2c167 = &imux167; | |
| 227 | + | |
| 228 | + /* | |
| 229 | + * PCA9548 (32-0070), 8 channels connecting to Fan Control | |
| 230 | + # Board #1. | |
| 231 | + */ | |
| 232 | + i2c168 = &imux168; | |
| 233 | + i2c169 = &imux169; | |
| 234 | + i2c170 = &imux170; | |
| 235 | + i2c171 = &imux171; | |
| 236 | + i2c172 = &imux172; | |
| 237 | + i2c173 = &imux173; | |
| 238 | + i2c174 = &imux174; | |
| 239 | + i2c175 = &imux175; | |
| 240 | + | |
| 241 | + /* | |
| 242 | + * PCA9548 (33-0070), 8 channels connecting to Fan Control | |
| 243 | + # Board #2. | |
| 244 | + */ | |
| 245 | + i2c176 = &imux176; | |
| 246 | + i2c177 = &imux177; | |
| 247 | + i2c178 = &imux178; | |
| 248 | + i2c179 = &imux179; | |
| 249 | + i2c180 = &imux180; | |
| 250 | + i2c181 = &imux181; | |
| 251 | + i2c182 = &imux182; | |
| 252 | + i2c183 = &imux183; | |
| 253 | + | |
| 254 | + /* | |
| 255 | + * PCA9548 (34-0070), 8 channels connecting to Fan Control | |
| 256 | + # Board #3. | |
| 257 | + */ | |
| 258 | + i2c184 = &imux184; | |
| 259 | + i2c185 = &imux185; | |
| 260 | + i2c186 = &imux186; | |
| 261 | + i2c187 = &imux187; | |
| 262 | + i2c188 = &imux188; | |
| 263 | + i2c189 = &imux189; | |
| 264 | + i2c190 = &imux190; | |
| 265 | + i2c191 = &imux191; | |
| 266 | + | |
| 267 | + /* | |
| 268 | + * PCA9548 (35-0070), 8 channels connecting to Fan Control | |
| 269 | + # Board #4. | |
| 270 | + */ | |
| 271 | + i2c192 = &imux192; | |
| 272 | + i2c193 = &imux193; | |
| 273 | + i2c194 = &imux194; | |
| 274 | + i2c195 = &imux195; | |
| 275 | + i2c196 = &imux196; | |
| 276 | + i2c197 = &imux197; | |
| 277 | + i2c198 = &imux198; | |
| 278 | + i2c199 = &imux199; | |
| 49 | 279 | }; |
| 50 | 280 | |
| 51 | 281 | chosen { |
| @@ -103,53 +333,846 @@ · 51 unmodified lines | ||
| 103 | 333 | #address-cells = <1>; |
| 104 | 334 | #size-cells = <0>; |
| 105 | 335 | reg = <0x77>; |
| 336 | + i2c-mux-idle-disconnect; | |
| 106 | 337 | |
| 338 | + /* To Fabric Card #1 */ | |
| 107 | 339 | imux16: i2c@0 { |
| 108 | 340 | #address-cells = <1>; |
| 109 | 341 | #size-cells = <0>; |
| 110 | 342 | reg = <0>; |
| 343 | + | |
| 344 | + i2c-switch@70 { | |
| 345 | + compatible = "nxp,pca9548"; | |
| 346 | + #address-cells = <1>; | |
| 347 | + #size-cells = <0>; | |
| 348 | + reg = <0x70>; | |
| 349 | + i2c-mux-idle-disconnect; | |
| 350 | + | |
| 351 | + imux104: i2c@0 { | |
| 352 | + #address-cells = <1>; | |
| 353 | + #size-cells = <0>; | |
| 354 | + reg = <0>; | |
| 355 | + }; | |
| 356 | + imux105: i2c@1 { | |
| 357 | + #address-cells = <1>; | |
| 358 | + #size-cells = <0>; | |
| 359 | + reg = <1>; | |
| 360 | + }; | |
| 361 | + imux106: i2c@2 { | |
| 362 | + #address-cells = <1>; | |
| 363 | + #size-cells = <0>; | |
| 364 | + reg = <2>; | |
| 365 | + }; | |
| 366 | + imux107: i2c@3 { | |
| 367 | + #address-cells = <1>; | |
| 368 | + #size-cells = <0>; | |
| 369 | + reg = <3>; | |
| 370 | + }; | |
| 371 | + imux108: i2c@4 { | |
| 372 | + #address-cells = <1>; | |
| 373 | + #size-cells = <0>; | |
| 374 | + reg = <4>; | |
| 375 | + }; | |
| 376 | + imux109: i2c@5 { | |
| 377 | + #address-cells = <1>; | |
| 378 | + #size-cells = <0>; | |
| 379 | + reg = <5>; | |
| 380 | + }; | |
| 381 | + imux110: i2c@6 { | |
| 382 | + #address-cells = <1>; | |
| 383 | + #size-cells = <0>; | |
| 384 | + reg = <6>; | |
| 385 | + }; | |
| 386 | + imux111: i2c@7 { | |
| 387 | + #address-cells = <1>; | |
| 388 | + #size-cells = <0>; | |
| 389 | + reg = <7>; | |
| 390 | + }; | |
| 391 | + }; | |
| 392 | + | |
| 393 | + i2c-switch@73 { | |
| 394 | + compatible = "nxp,pca9548"; | |
| 395 | + #address-cells = <1>; | |
| 396 | + #size-cells = <0>; | |
| 397 | + reg = <0x73>; | |
| 398 | + i2c-mux-idle-disconnect; | |
| 399 | + | |
| 400 | + imux112: i2c@0 { | |
| 401 | + #address-cells = <1>; | |
| 402 | + #size-cells = <0>; | |
| 403 | + reg = <0>; | |
| 404 | + }; | |
| 405 | + imux113: i2c@1 { | |
| 406 | + #address-cells = <1>; | |
| 407 | + #size-cells = <0>; | |
| 408 | + reg = <1>; | |
| 409 | + }; | |
| 410 | + imux114: i2c@2 { | |
| 411 | + #address-cells = <1>; | |
| 412 | + #size-cells = <0>; | |
| 413 | + reg = <2>; | |
| 414 | + }; | |
| 415 | + imux115: i2c@3 { | |
| 416 | + #address-cells = <1>; | |
| 417 | + #size-cells = <0>; | |
| 418 | + reg = <3>; | |
| 419 | + }; | |
| 420 | + imux116: i2c@4 { | |
| 421 | + #address-cells = <1>; | |
| 422 | + #size-cells = <0>; | |
| 423 | + reg = <4>; | |
| 424 | + }; | |
| 425 | + imux117: i2c@5 { | |
| 426 | + #address-cells = <1>; | |
| 427 | + #size-cells = <0>; | |
| 428 | + reg = <5>; | |
| 429 | + }; | |
| 430 | + imux118: i2c@6 { | |
| 431 | + #address-cells = <1>; | |
| 432 | + #size-cells = <0>; | |
| 433 | + reg = <6>; | |
| 434 | + }; | |
| 435 | + imux119: i2c@7 { | |
| 436 | + #address-cells = <1>; | |
| 437 | + #size-cells = <0>; | |
| 438 | + reg = <7>; | |
| 439 | + }; | |
| 440 | + }; | |
| 111 | 441 | }; |
| 112 | 442 | |
| 443 | + /* To Fabric Card #2 */ | |
| 113 | 444 | imux17: i2c@1 { |
| 114 | 445 | #address-cells = <1>; |
| 115 | 446 | #size-cells = <0>; |
| 116 | 447 | reg = <1>; |
| 448 | + | |
| 449 | + i2c-switch@70 { | |
| 450 | + compatible = "nxp,pca9548"; | |
| 451 | + #address-cells = <1>; | |
| 452 | + #size-cells = <0>; | |
| 453 | + reg = <0x70>; | |
| 454 | + i2c-mux-idle-disconnect; | |
| 455 | + | |
| 456 | + imux120: i2c@0 { | |
| 457 | + #address-cells = <1>; | |
| 458 | + #size-cells = <0>; | |
| 459 | + reg = <0>; | |
| 460 | + }; | |
| 461 | + imux121: i2c@1 { | |
| 462 | + #address-cells = <1>; | |
| 463 | + #size-cells = <0>; | |
| 464 | + reg = <1>; | |
| 465 | + }; | |
| 466 | + imux122: i2c@2 { | |
| 467 | + #address-cells = <1>; | |
| 468 | + #size-cells = <0>; | |
| 469 | + reg = <2>; | |
| 470 | + }; | |
| 471 | + imux123: i2c@3 { | |
| 472 | + #address-cells = <1>; | |
| 473 | + #size-cells = <0>; | |
| 474 | + reg = <3>; | |
| 475 | + }; | |
| 476 | + imux124: i2c@4 { | |
| 477 | + #address-cells = <1>; | |
| 478 | + #size-cells = <0>; | |
| 479 | + reg = <4>; | |
| 480 | + }; | |
| 481 | + imux125: i2c@5 { | |
| 482 | + #address-cells = <1>; | |
| 483 | + #size-cells = <0>; | |
| 484 | + reg = <5>; | |
| 485 | + }; | |
| 486 | + imux126: i2c@6 { | |
| 487 | + #address-cells = <1>; | |
| 488 | + #size-cells = <0>; | |
| 489 | + reg = <6>; | |
| 490 | + }; | |
| 491 | + imux127: i2c@7 { | |
| 492 | + #address-cells = <1>; | |
| 493 | + #size-cells = <0>; | |
| 494 | + reg = <7>; | |
| 495 | + }; | |
| 496 | + }; | |
| 497 | + | |
| 498 | + i2c-switch@73 { | |
| 499 | + compatible = "nxp,pca9548"; | |
| 500 | + #address-cells = <1>; | |
| 501 | + #size-cells = <0>; | |
| 502 | + reg = <0x73>; | |
| 503 | + i2c-mux-idle-disconnect; | |
| 504 | + | |
| 505 | + imux128: i2c@0 { | |
| 506 | + #address-cells = <1>; | |
| 507 | + #size-cells = <0>; | |
| 508 | + reg = <0>; | |
| 509 | + }; | |
| 510 | + imux129: i2c@1 { | |
| 511 | + #address-cells = <1>; | |
| 512 | + #size-cells = <0>; | |
| 513 | + reg = <1>; | |
| 514 | + }; | |
| 515 | + imux130: i2c@2 { | |
| 516 | + #address-cells = <1>; | |
| 517 | + #size-cells = <0>; | |
| 518 | + reg = <2>; | |
| 519 | + }; | |
| 520 | + imux131: i2c@3 { | |
| 521 | + #address-cells = <1>; | |
| 522 | + #size-cells = <0>; | |
| 523 | + reg = <3>; | |
| 524 | + }; | |
| 525 | + imux132: i2c@4 { | |
| 526 | + #address-cells = <1>; | |
| 527 | + #size-cells = <0>; | |
| 528 | + reg = <4>; | |
| 529 | + }; | |
| 530 | + imux133: i2c@5 { | |
| 531 | + #address-cells = <1>; | |
| 532 | + #size-cells = <0>; | |
| 533 | + reg = <5>; | |
| 534 | + }; | |
| 535 | + imux134: i2c@6 { | |
| 536 | + #address-cells = <1>; | |
| 537 | + #size-cells = <0>; | |
| 538 | + reg = <6>; | |
| 539 | + }; | |
| 540 | + imux135: i2c@7 { | |
| 541 | + #address-cells = <1>; | |
| 542 | + #size-cells = <0>; | |
| 543 | + reg = <7>; | |
| 544 | + }; | |
| 545 | + }; | |
| 117 | 546 | }; |
| 118 | 547 | |
| 548 | + /* To Line Card #1 */ | |
| 119 | 549 | imux18: i2c@2 { |
| 120 | 550 | #address-cells = <1>; |
| 121 | 551 | #size-cells = <0>; |
| 122 | 552 | reg = <2>; |
| 553 | + | |
| 554 | + i2c-switch@70 { | |
| 555 | + compatible = "nxp,pca9548"; | |
| 556 | + #address-cells = <1>; | |
| 557 | + #size-cells = <0>; | |
| 558 | + reg = <0x70>; | |
| 559 | + i2c-mux-idle-disconnect; | |
| 560 | + | |
| 561 | + imux40: i2c@0 { | |
| 562 | + #address-cells = <1>; | |
| 563 | + #size-cells = <0>; | |
| 564 | + reg = <0>; | |
| 565 | + }; | |
| 566 | + imux41: i2c@1 { | |
| 567 | + #address-cells = <1>; | |
| 568 | + #size-cells = <0>; | |
| 569 | + reg = <1>; | |
| 570 | + }; | |
| 571 | + imux42: i2c@2 { | |
| 572 | + #address-cells = <1>; | |
| 573 | + #size-cells = <0>; | |
| 574 | + reg = <2>; | |
| 575 | + }; | |
| 576 | + imux43: i2c@3 { | |
| 577 | + #address-cells = <1>; | |
| 578 | + #size-cells = <0>; | |
| 579 | + reg = <3>; | |
| 580 | + }; | |
| 581 | + imux44: i2c@4 { | |
| 582 | + #address-cells = <1>; | |
| 583 | + #size-cells = <0>; | |
| 584 | + reg = <4>; | |
| 585 | + }; | |
| 586 | + imux45: i2c@5 { | |
| 587 | + #address-cells = <1>; | |
| 588 | + #size-cells = <0>; | |
| 589 | + reg = <5>; | |
| 590 | + }; | |
| 591 | + imux46: i2c@6 { | |
| 592 | + #address-cells = <1>; | |
| 593 | + #size-cells = <0>; | |
| 594 | + reg = <6>; | |
| 595 | + }; | |
| 596 | + imux47: i2c@7 { | |
| 597 | + #address-cells = <1>; | |
| 598 | + #size-cells = <0>; | |
| 599 | + reg = <7>; | |
| 600 | + }; | |
| 601 | + }; | |
| 602 | + | |
| 603 | + i2c-switch@73 { | |
| 604 | + compatible = "nxp,pca9548"; | |
| 605 | + #address-cells = <1>; | |
| 606 | + #size-cells = <0>; | |
| 607 | + reg = <0x73>; | |
| 608 | + i2c-mux-idle-disconnect; | |
| 609 | + | |
| 610 | + imux48: i2c@0 { | |
| 611 | + #address-cells = <1>; | |
| 612 | + #size-cells = <0>; | |
| 613 | + reg = <0>; | |
| 614 | + }; | |
| 615 | + imux49: i2c@1 { | |
| 616 | + #address-cells = <1>; | |
| 617 | + #size-cells = <0>; | |
| 618 | + reg = <1>; | |
| 619 | + }; | |
| 620 | + imux50: i2c@2 { | |
| 621 | + #address-cells = <1>; | |
| 622 | + #size-cells = <0>; | |
| 623 | + reg = <2>; | |
| 624 | + }; | |
| 625 | + imux51: i2c@3 { | |
| 626 | + #address-cells = <1>; | |
| 627 | + #size-cells = <0>; | |
| 628 | + reg = <3>; | |
| 629 | + }; | |
| 630 | + imux52: i2c@4 { | |
| 631 | + #address-cells = <1>; | |
| 632 | + #size-cells = <0>; | |
| 633 | + reg = <4>; | |
| 634 | + }; | |
| 635 | + imux53: i2c@5 { | |
| 636 | + #address-cells = <1>; | |
| 637 | + #size-cells = <0>; | |
| 638 | + reg = <5>; | |
| 639 | + }; | |
| 640 | + imux54: i2c@6 { | |
| 641 | + #address-cells = <1>; | |
| 642 | + #size-cells = <0>; | |
| 643 | + reg = <6>; | |
| 644 | + }; | |
| 645 | + imux55: i2c@7 { | |
| 646 | + #address-cells = <1>; | |
| 647 | + #size-cells = <0>; | |
| 648 | + reg = <7>; | |
| 649 | + }; | |
| 650 | + }; | |
| 123 | 651 | }; |
| 124 | 652 | |
| 653 | + /* To Line Card #2 */ | |
| 125 | 654 | imux19: i2c@3 { |
| 126 | 655 | #address-cells = <1>; |
| 127 | 656 | #size-cells = <0>; |
| 128 | 657 | reg = <3>; |
| 658 | + | |
| 659 | + i2c-switch@70 { | |
| 660 | + compatible = "nxp,pca9548"; | |
| 661 | + #address-cells = <1>; | |
| 662 | + #size-cells = <0>; | |
| 663 | + reg = <0x70>; | |
| 664 | + i2c-mux-idle-disconnect; | |
| 665 | + | |
| 666 | + imux56: i2c@0 { | |
| 667 | + #address-cells = <1>; | |
| 668 | + #size-cells = <0>; | |
| 669 | + reg = <0>; | |
| 670 | + }; | |
| 671 | + imux57: i2c@1 { | |
| 672 | + #address-cells = <1>; | |
| 673 | + #size-cells = <0>; | |
| 674 | + reg = <1>; | |
| 675 | + }; | |
| 676 | + imux58: i2c@2 { | |
| 677 | + #address-cells = <1>; | |
| 678 | + #size-cells = <0>; | |
| 679 | + reg = <2>; | |
| 680 | + }; | |
| 681 | + imux59: i2c@3 { | |
| 682 | + #address-cells = <1>; | |
| 683 | + #size-cells = <0>; | |
| 684 | + reg = <3>; | |
| 685 | + }; | |
| 686 | + imux60: i2c@4 { | |
| 687 | + #address-cells = <1>; | |
| 688 | + #size-cells = <0>; | |
| 689 | + reg = <4>; | |
| 690 | + }; | |
| 691 | + imux61: i2c@5 { | |
| 692 | + #address-cells = <1>; | |
| 693 | + #size-cells = <0>; | |
| 694 | + reg = <5>; | |
| 695 | + }; | |
| 696 | + imux62: i2c@6 { | |
| 697 | + #address-cells = <1>; | |
| 698 | + #size-cells = <0>; | |
| 699 | + reg = <6>; | |
| 700 | + }; | |
| 701 | + imux63: i2c@7 { | |
| 702 | + #address-cells = <1>; | |
| 703 | + #size-cells = <0>; | |
| 704 | + reg = <7>; | |
| 705 | + }; | |
| 706 | + }; | |
| 707 | + | |
| 708 | + i2c-switch@73 { | |
| 709 | + compatible = "nxp,pca9548"; | |
| 710 | + #address-cells = <1>; | |
| 711 | + #size-cells = <0>; | |
| 712 | + reg = <0x73>; | |
| 713 | + i2c-mux-idle-disconnect; | |
| 714 | + | |
| 715 | + imux64: i2c@0 { | |
| 716 | + #address-cells = <1>; | |
| 717 | + #size-cells = <0>; | |
| 718 | + reg = <0>; | |
| 719 | + }; | |
| 720 | + imux65: i2c@1 { | |
| 721 | + #address-cells = <1>; | |
| 722 | + #size-cells = <0>; | |
| 723 | + reg = <1>; | |
| 724 | + }; | |
| 725 | + imux66: i2c@2 { | |
| 726 | + #address-cells = <1>; | |
| 727 | + #size-cells = <0>; | |
| 728 | + reg = <2>; | |
| 729 | + }; | |
| 730 | + imux67: i2c@3 { | |
| 731 | + #address-cells = <1>; | |
| 732 | + #size-cells = <0>; | |
| 733 | + reg = <3>; | |
| 734 | + }; | |
| 735 | + imux68: i2c@4 { | |
| 736 | + #address-cells = <1>; | |
| 737 | + #size-cells = <0>; | |
| 738 | + reg = <4>; | |
| 739 | + }; | |
| 740 | + imux69: i2c@5 { | |
| 741 | + #address-cells = <1>; | |
| 742 | + #size-cells = <0>; | |
| 743 | + reg = <5>; | |
| 744 | + }; | |
| 745 | + imux70: i2c@6 { | |
| 746 | + #address-cells = <1>; | |
| 747 | + #size-cells = <0>; | |
| 748 | + reg = <6>; | |
| 749 | + }; | |
| 750 | + imux71: i2c@7 { | |
| 751 | + #address-cells = <1>; | |
| 752 | + #size-cells = <0>; | |
| 753 | + reg = <7>; | |
| 754 | + }; | |
| 755 | + }; | |
| 129 | 756 | }; |
| 130 | 757 | |
| 758 | + /* To LC3 SCM */ | |
| 131 | 759 | imux20: i2c@4 { |
| 132 | 760 | #address-cells = <1>; |
| 133 | 761 | #size-cells = <0>; |
| 134 | 762 | reg = <4>; |
| 763 | + | |
| 764 | + i2c-switch@70 { | |
| 765 | + compatible = "nxp,pca9548"; | |
| 766 | + #address-cells = <1>; | |
| 767 | + #size-cells = <0>; | |
| 768 | + reg = <0x70>; | |
| 769 | + i2c-mux-idle-disconnect; | |
| 770 | + | |
| 771 | + imux72: i2c@0 { | |
| 772 | + #address-cells = <1>; | |
| 773 | + #size-cells = <0>; | |
| 774 | + reg = <0>; | |
| 775 | + }; | |
| 776 | + imux73: i2c@1 { | |
| 777 | + #address-cells = <1>; | |
| 778 | + #size-cells = <0>; | |
| 779 | + reg = <1>; | |
| 780 | + }; | |
| 781 | + imux74: i2c@2 { | |
| 782 | + #address-cells = <1>; | |
| 783 | + #size-cells = <0>; | |
| 784 | + reg = <2>; | |
| 785 | + }; | |
| 786 | + imux75: i2c@3 { | |
| 787 | + #address-cells = <1>; | |
| 788 | + #size-cells = <0>; | |
| 789 | + reg = <3>; | |
| 790 | + }; | |
| 791 | + imux76: i2c@4 { | |
| 792 | + #address-cells = <1>; | |
| 793 | + #size-cells = <0>; | |
| 794 | + reg = <4>; | |
| 795 | + }; | |
| 796 | + imux77: i2c@5 { | |
| 797 | + #address-cells = <1>; | |
| 798 | + #size-cells = <0>; | |
| 799 | + reg = <5>; | |
| 800 | + }; | |
| 801 | + imux78: i2c@6 { | |
| 802 | + #address-cells = <1>; | |
| 803 | + #size-cells = <0>; | |
| 804 | + reg = <6>; | |
| 805 | + }; | |
| 806 | + imux79: i2c@7 { | |
| 807 | + #address-cells = <1>; | |
| 808 | + #size-cells = <0>; | |
| 809 | + reg = <7>; | |
| 810 | + }; | |
| 811 | + }; | |
| 812 | + | |
| 813 | + i2c-switch@73 { | |
| 814 | + compatible = "nxp,pca9548"; | |
| 815 | + #address-cells = <1>; | |
| 816 | + #size-cells = <0>; | |
| 817 | + reg = <0x73>; | |
| 818 | + i2c-mux-idle-disconnect; | |
| 819 | + | |
| 820 | + imux80: i2c@0 { | |
| 821 | + #address-cells = <1>; | |
| 822 | + #size-cells = <0>; | |
| 823 | + reg = <0>; | |
| 824 | + }; | |
| 825 | + imux81: i2c@1 { | |
| 826 | + #address-cells = <1>; | |
| 827 | + #size-cells = <0>; | |
| 828 | + reg = <1>; | |
| 829 | + }; | |
| 830 | + imux82: i2c@2 { | |
| 831 | + #address-cells = <1>; | |
| 832 | + #size-cells = <0>; | |
| 833 | + reg = <2>; | |
| 834 | + }; | |
| 835 | + imux83: i2c@3 { | |
| 836 | + #address-cells = <1>; | |
| 837 | + #size-cells = <0>; | |
| 838 | + reg = <3>; | |
| 839 | + }; | |
| 840 | + imux84: i2c@4 { | |
| 841 | + #address-cells = <1>; | |
| 842 | + #size-cells = <0>; | |
| 843 | + reg = <4>; | |
| 844 | + }; | |
| 845 | + imux85: i2c@5 { | |
| 846 | + #address-cells = <1>; | |
| 847 | + #size-cells = <0>; | |
| 848 | + reg = <5>; | |
| 849 | + }; | |
| 850 | + imux86: i2c@6 { | |
| 851 | + #address-cells = <1>; | |
| 852 | + #size-cells = <0>; | |
| 853 | + reg = <6>; | |
| 854 | + }; | |
| 855 | + imux87: i2c@7 { | |
| 856 | + #address-cells = <1>; | |
| 857 | + #size-cells = <0>; | |
| 858 | + reg = <7>; | |
| 859 | + }; | |
| 860 | + }; | |
| 135 | 861 | }; |
| 136 | 862 | |
| 863 | + /* To Line Card #4 */ | |
| 137 | 864 | imux21: i2c@5 { |
| 138 | 865 | #address-cells = <1>; |
| 139 | 866 | #size-cells = <0>; |
| 140 | 867 | reg = <5>; |
| 868 | + | |
| 869 | + i2c-switch@70 { | |
| 870 | + compatible = "nxp,pca9548"; | |
| 871 | + #address-cells = <1>; | |
| 872 | + #size-cells = <0>; | |
| 873 | + reg = <0x70>; | |
| 874 | + i2c-mux-idle-disconnect; | |
| 875 | + | |
| 876 | + imux88: i2c@0 { | |
| 877 | + #address-cells = <1>; | |
| 878 | + #size-cells = <0>; | |
| 879 | + reg = <0>; | |
| 880 | + }; | |
| 881 | + imux89: i2c@1 { | |
| 882 | + #address-cells = <1>; | |
| 883 | + #size-cells = <0>; | |
| 884 | + reg = <1>; | |
| 885 | + }; | |
| 886 | + imux90: i2c@2 { | |
| 887 | + #address-cells = <1>; | |
| 888 | + #size-cells = <0>; | |
| 889 | + reg = <2>; | |
| 890 | + }; | |
| 891 | + imux91: i2c@3 { | |
| 892 | + #address-cells = <1>; | |
| 893 | + #size-cells = <0>; | |
| 894 | + reg = <3>; | |
| 895 | + }; | |
| 896 | + imux92: i2c@4 { | |
| 897 | + #address-cells = <1>; | |
| 898 | + #size-cells = <0>; | |
| 899 | + reg = <4>; | |
| 900 | + }; | |
| 901 | + imux93: i2c@5 { | |
| 902 | + #address-cells = <1>; | |
| 903 | + #size-cells = <0>; | |
| 904 | + reg = <5>; | |
| 905 | + }; | |
| 906 | + imux94: i2c@6 { | |
| 907 | + #address-cells = <1>; | |
| 908 | + #size-cells = <0>; | |
| 909 | + reg = <6>; | |
| 910 | + }; | |
| 911 | + imux95: i2c@7 { | |
| 912 | + #address-cells = <1>; | |
| 913 | + #size-cells = <0>; | |
| 914 | + reg = <7>; | |
| 915 | + }; | |
| 916 | + }; | |
| 917 | + | |
| 918 | + i2c-switch@73 { | |
| 919 | + compatible = "nxp,pca9548"; | |
| 920 | + #address-cells = <1>; | |
| 921 | + #size-cells = <0>; | |
| 922 | + reg = <0x73>; | |
| 923 | + i2c-mux-idle-disconnect; | |
| 924 | + | |
| 925 | + imux96: i2c@0 { | |
| 926 | + #address-cells = <1>; | |
| 927 | + #size-cells = <0>; | |
| 928 | + reg = <0>; | |
| 929 | + }; | |
| 930 | + imux97: i2c@1 { | |
| 931 | + #address-cells = <1>; | |
| 932 | + #size-cells = <0>; | |
| 933 | + reg = <1>; | |
| 934 | + }; | |
| 935 | + imux98: i2c@2 { | |
| 936 | + #address-cells = <1>; | |
| 937 | + #size-cells = <0>; | |
| 938 | + reg = <2>; | |
| 939 | + }; | |
| 940 | + imux99: i2c@3 { | |
| 941 | + #address-cells = <1>; | |
| 942 | + #size-cells = <0>; | |
| 943 | + reg = <3>; | |
| 944 | + }; | |
| 945 | + imux100: i2c@4 { | |
| 946 | + #address-cells = <1>; | |
| 947 | + #size-cells = <0>; | |
| 948 | + reg = <4>; | |
| 949 | + }; | |
| 950 | + imux101: i2c@5 { | |
| 951 | + #address-cells = <1>; | |
| 952 | + #size-cells = <0>; | |
| 953 | + reg = <5>; | |
| 954 | + }; | |
| 955 | + imux102: i2c@6 { | |
| 956 | + #address-cells = <1>; | |
| 957 | + #size-cells = <0>; | |
| 958 | + reg = <6>; | |
| 959 | + }; | |
| 960 | + imux103: i2c@7 { | |
| 961 | + #address-cells = <1>; | |
| 962 | + #size-cells = <0>; | |
| 963 | + reg = <7>; | |
| 964 | + }; | |
| 965 | + }; | |
| 141 | 966 | }; |
| 142 | 967 | |
| 968 | + /* To Fabric Card #3 */ | |
| 143 | 969 | imux22: i2c@6 { |
| 144 | 970 | #address-cells = <1>; |
| 145 | 971 | #size-cells = <0>; |
| 146 | 972 | reg = <6>; |
| 973 | + | |
| 974 | + i2c-switch@70 { | |
| 975 | + compatible = "nxp,pca9548"; | |
| 976 | + #address-cells = <1>; | |
| 977 | + #size-cells = <0>; | |
| 978 | + reg = <0x70>; | |
| 979 | + i2c-mux-idle-disconnect; | |
| 980 | + | |
| 981 | + imux136: i2c@0 { | |
| 982 | + #address-cells = <1>; | |
| 983 | + #size-cells = <0>; | |
| 984 | + reg = <0>; | |
| 985 | + }; | |
| 986 | + imux137: i2c@1 { | |
| 987 | + #address-cells = <1>; | |
| 988 | + #size-cells = <0>; | |
| 989 | + reg = <1>; | |
| 990 | + }; | |
| 991 | + imux138: i2c@2 { | |
| 992 | + #address-cells = <1>; | |
| 993 | + #size-cells = <0>; | |
| 994 | + reg = <2>; | |
| 995 | + }; | |
| 996 | + imux139: i2c@3 { | |
| 997 | + #address-cells = <1>; | |
| 998 | + #size-cells = <0>; | |
| 999 | + reg = <3>; | |
| 1000 | + }; | |
| 1001 | + imux140: i2c@4 { | |
| 1002 | + #address-cells = <1>; | |
| 1003 | + #size-cells = <0>; | |
| 1004 | + reg = <4>; | |
| 1005 | + }; | |
| 1006 | + imux141: i2c@5 { | |
| 1007 | + #address-cells = <1>; | |
| 1008 | + #size-cells = <0>; | |
| 1009 | + reg = <5>; | |
| 1010 | + }; | |
| 1011 | + imux142: i2c@6 { | |
| 1012 | + #address-cells = <1>; | |
| 1013 | + #size-cells = <0>; | |
| 1014 | + reg = <6>; | |
| 1015 | + }; | |
| 1016 | + imux143: i2c@7 { | |
| 1017 | + #address-cells = <1>; | |
| 1018 | + #size-cells = <0>; | |
| 1019 | + reg = <7>; | |
| 1020 | + }; | |
| 1021 | + }; | |
| 1022 | + | |
| 1023 | + i2c-switch@73 { | |
| 1024 | + compatible = "nxp,pca9548"; | |
| 1025 | + #address-cells = <1>; | |
| 1026 | + #size-cells = <0>; | |
| 1027 | + reg = <0x73>; | |
| 1028 | + i2c-mux-idle-disconnect; | |
| 1029 | + | |
| 1030 | + imux144: i2c@0 { | |
| 1031 | + #address-cells = <1>; | |
| 1032 | + #size-cells = <0>; | |
| 1033 | + reg = <0>; | |
| 1034 | + }; | |
| 1035 | + imux145: i2c@1 { | |
| 1036 | + #address-cells = <1>; | |
| 1037 | + #size-cells = <0>; | |
| 1038 | + reg = <1>; | |
| 1039 | + }; | |
| 1040 | + imux146: i2c@2 { | |
| 1041 | + #address-cells = <1>; | |
| 1042 | + #size-cells = <0>; | |
| 1043 | + reg = <2>; | |
| 1044 | + }; | |
| 1045 | + imux147: i2c@3 { | |
| 1046 | + #address-cells = <1>; | |
| 1047 | + #size-cells = <0>; | |
| 1048 | + reg = <3>; | |
| 1049 | + }; | |
| 1050 | + imux148: i2c@4 { | |
| 1051 | + #address-cells = <1>; | |
| 1052 | + #size-cells = <0>; | |
| 1053 | + reg = <4>; | |
| 1054 | + }; | |
| 1055 | + imux149: i2c@5 { | |
| 1056 | + #address-cells = <1>; | |
| 1057 | + #size-cells = <0>; | |
| 1058 | + reg = <5>; | |
| 1059 | + }; | |
| 1060 | + imux150: i2c@6 { | |
| 1061 | + #address-cells = <1>; | |
| 1062 | + #size-cells = <0>; | |
| 1063 | + reg = <6>; | |
| 1064 | + }; | |
| 1065 | + imux151: i2c@7 { | |
| 1066 | + #address-cells = <1>; | |
| 1067 | + #size-cells = <0>; | |
| 1068 | + reg = <7>; | |
| 1069 | + }; | |
| 1070 | + }; | |
| 147 | 1071 | }; |
| 148 | 1072 | |
| 1073 | + /* To Fabric Card #4 */ | |
| 149 | 1074 | imux23: i2c@7 { |
| 150 | 1075 | #address-cells = <1>; |
| 151 | 1076 | #size-cells = <0>; |
| 152 | 1077 | reg = <7>; |
| 1078 | + | |
| 1079 | + i2c-switch@70 { | |
| 1080 | + compatible = "nxp,pca9548"; | |
| 1081 | + #address-cells = <1>; | |
| 1082 | + #size-cells = <0>; | |
| 1083 | + reg = <0x70>; | |
| 1084 | + i2c-mux-idle-disconnect; | |
| 1085 | + | |
| 1086 | + imux152: i2c@0 { | |
| 1087 | + #address-cells = <1>; | |
| 1088 | + #size-cells = <0>; | |
| 1089 | + reg = <0>; | |
| 1090 | + }; | |
| 1091 | + imux153: i2c@1 { | |
| 1092 | + #address-cells = <1>; | |
| 1093 | + #size-cells = <0>; | |
| 1094 | + reg = <1>; | |
| 1095 | + }; | |
| 1096 | + imux154: i2c@2 { | |
| 1097 | + #address-cells = <1>; | |
| 1098 | + #size-cells = <0>; | |
| 1099 | + reg = <2>; | |
| 1100 | + }; | |
| 1101 | + imux155: i2c@3 { | |
| 1102 | + #address-cells = <1>; | |
| 1103 | + #size-cells = <0>; | |
| 1104 | + reg = <3>; | |
| 1105 | + }; | |
| 1106 | + imux156: i2c@4 { | |
| 1107 | + #address-cells = <1>; | |
| 1108 | + #size-cells = <0>; | |
| 1109 | + reg = <4>; | |
| 1110 | + }; | |
| 1111 | + imux157: i2c@5 { | |
| 1112 | + #address-cells = <1>; | |
| 1113 | + #size-cells = <0>; | |
| 1114 | + reg = <5>; | |
| 1115 | + }; | |
| 1116 | + imux158: i2c@6 { | |
| 1117 | + #address-cells = <1>; | |
| 1118 | + #size-cells = <0>; | |
| 1119 | + reg = <6>; | |
| 1120 | + }; | |
| 1121 | + imux159: i2c@7 { | |
| 1122 | + #address-cells = <1>; | |
| 1123 | + #size-cells = <0>; | |
| 1124 | + reg = <7>; | |
| 1125 | + }; | |
| 1126 | + }; | |
| 1127 | + | |
| 1128 | + i2c-switch@73 { | |
| 1129 | + compatible = "nxp,pca9548"; | |
| 1130 | + #address-cells = <1>; | |
| 1131 | + #size-cells = <0>; | |
| 1132 | + reg = <0x73>; | |
| 1133 | + i2c-mux-idle-disconnect; | |
| 1134 | + | |
| 1135 | + imux160: i2c@0 { | |
| 1136 | + #address-cells = <1>; | |
| 1137 | + #size-cells = <0>; | |
| 1138 | + reg = <0>; | |
| 1139 | + }; | |
| 1140 | + imux161: i2c@1 { | |
| 1141 | + #address-cells = <1>; | |
| 1142 | + #size-cells = <0>; | |
| 1143 | + reg = <1>; | |
| 1144 | + }; | |
| 1145 | + imux162: i2c@2 { | |
| 1146 | + #address-cells = <1>; | |
| 1147 | + #size-cells = <0>; | |
| 1148 | + reg = <2>; | |
| 1149 | + }; | |
| 1150 | + imux163: i2c@3 { | |
| 1151 | + #address-cells = <1>; | |
| 1152 | + #size-cells = <0>; | |
| 1153 | + reg = <3>; | |
| 1154 | + }; | |
| 1155 | + imux164: i2c@4 { | |
| 1156 | + #address-cells = <1>; | |
| 1157 | + #size-cells = <0>; | |
| 1158 | + reg = <4>; | |
| 1159 | + }; | |
| 1160 | + imux165: i2c@5 { | |
| 1161 | + #address-cells = <1>; | |
| 1162 | + #size-cells = <0>; | |
| 1163 | + reg = <5>; | |
| 1164 | + }; | |
| 1165 | + imux166: i2c@6 { | |
| 1166 | + #address-cells = <1>; | |
| 1167 | + #size-cells = <0>; | |
| 1168 | + reg = <6>; | |
| 1169 | + }; | |
| 1170 | + imux167: i2c@7 { | |
| 1171 | + #address-cells = <1>; | |
| 1172 | + #size-cells = <0>; | |
| 1173 | + reg = <7>; | |
| 1174 | + }; | |
| 1175 | + }; | |
| 153 | 1176 | }; |
| 154 | 1177 | }; |
| 155 | 1178 | }; |
| @@ -165,6 +1188,7 @@ · 9 unmodified lines | ||
| 165 | 1188 | #address-cells = <1>; |
| 166 | 1189 | #size-cells = <0>; |
| 167 | 1190 | reg = <0x71>; |
| 1191 | + i2c-mux-idle-disconnect; | |
| 168 | 1192 | |
| 169 | 1193 | imux24: i2c@0 { |
| 170 | 1194 | #address-cells = <1>; |
| @@ -252,7 +1276,7 @@ · 81 unmodified lines | ||
| 252 | 1276 | }; |
| 253 | 1277 | |
| 254 | 1278 | /* |
| 255 | − * I2C bus to Fan Control Board. | |
| 1279 | + * I2C bus to Fan Control Boards. | |
| 256 | 1280 | */ |
| 257 | 1281 | &i2c8 { |
| 258 | 1282 | status = "okay"; |
| @@ -262,29 +1286,230 @@ · 3 unmodified lines | ||
| 262 | 1286 | #address-cells = <1>; |
| 263 | 1287 | #size-cells = <0>; |
| 264 | 1288 | reg = <0x77>; |
| 1289 | + i2c-mux-idle-disconnect; | |
| 265 | 1290 | |
| 1291 | + /* To Fan Control Board #1 */ | |
| 266 | 1292 | imux32: i2c@0 { |
| 267 | 1293 | #address-cells = <1>; |
| 268 | 1294 | #size-cells = <0>; |
| 269 | 1295 | reg = <0>; |
| 1296 | + | |
| 1297 | + i2c-switch@70 { | |
| 1298 | + compatible = "nxp,pca9548"; | |
| 1299 | + #address-cells = <1>; | |
| 1300 | + #size-cells = <0>; | |
| 1301 | + reg = <0x70>; | |
| 1302 | + i2c-mux-idle-disconnect; | |
| 1303 | + | |
| 1304 | + imux168: i2c@0 { | |
| 1305 | + #address-cells = <1>; | |
| 1306 | + #size-cells = <0>; | |
| 1307 | + reg = <0>; | |
| 1308 | + }; | |
| 1309 | + imux169: i2c@1 { | |
| 1310 | + #address-cells = <1>; | |
| 1311 | + #size-cells = <0>; | |
| 1312 | + reg = <1>; | |
| 1313 | + }; | |
| 1314 | + imux170: i2c@2 { | |
| 1315 | + #address-cells = <1>; | |
| 1316 | + #size-cells = <0>; | |
| 1317 | + reg = <2>; | |
| 1318 | + }; | |
| 1319 | + imux171: i2c@3 { | |
| 1320 | + #address-cells = <1>; | |
| 1321 | + #size-cells = <0>; | |
| 1322 | + reg = <3>; | |
| 1323 | + }; | |
| 1324 | + imux172: i2c@4 { | |
| 1325 | + #address-cells = <1>; | |
| 1326 | + #size-cells = <0>; | |
| 1327 | + reg = <4>; | |
| 1328 | + }; | |
| 1329 | + imux173: i2c@5 { | |
| 1330 | + #address-cells = <1>; | |
| 1331 | + #size-cells = <0>; | |
| 1332 | + reg = <5>; | |
| 1333 | + }; | |
| 1334 | + imux174: i2c@6 { | |
| 1335 | + #address-cells = <1>; | |
| 1336 | + #size-cells = <0>; | |
| 1337 | + reg = <6>; | |
| 1338 | + }; | |
| 1339 | + imux175: i2c@7 { | |
| 1340 | + #address-cells = <1>; | |
| 1341 | + #size-cells = <0>; | |
| 1342 | + reg = <7>; | |
| 1343 | + }; | |
| 1344 | + }; | |
| 270 | 1345 | }; |
| 271 | 1346 | |
| 1347 | + /* To Fan Control Board #2 */ | |
| 272 | 1348 | imux33: i2c@1 { |
| 273 | 1349 | #address-cells = <1>; |
| 274 | 1350 | #size-cells = <0>; |
| 275 | 1351 | reg = <1>; |
| 1352 | + | |
| 1353 | + i2c-switch@70 { | |
| 1354 | + compatible = "nxp,pca9548"; | |
| 1355 | + #address-cells = <1>; | |
| 1356 | + #size-cells = <0>; | |
| 1357 | + reg = <0x70>; | |
| 1358 | + i2c-mux-idle-disconnect; | |
| 1359 | + | |
| 1360 | + imux176: i2c@0 { | |
| 1361 | + #address-cells = <1>; | |
| 1362 | + #size-cells = <0>; | |
| 1363 | + reg = <0>; | |
| 1364 | + }; | |
| 1365 | + imux177: i2c@1 { | |
| 1366 | + #address-cells = <1>; | |
| 1367 | + #size-cells = <0>; | |
| 1368 | + reg = <1>; | |
| 1369 | + }; | |
| 1370 | + imux178: i2c@2 { | |
| 1371 | + #address-cells = <1>; | |
| 1372 | + #size-cells = <0>; | |
| 1373 | + reg = <2>; | |
| 1374 | + }; | |
| 1375 | + imux179: i2c@3 { | |
| 1376 | + #address-cells = <1>; | |
| 1377 | + #size-cells = <0>; | |
| 1378 | + reg = <3>; | |
| 1379 | + }; | |
| 1380 | + imux180: i2c@4 { | |
| 1381 | + #address-cells = <1>; | |
| 1382 | + #size-cells = <0>; | |
| 1383 | + reg = <4>; | |
| 1384 | + }; | |
| 1385 | + imux181: i2c@5 { | |
| 1386 | + #address-cells = <1>; | |
| 1387 | + #size-cells = <0>; | |
| 1388 | + reg = <5>; | |
| 1389 | + }; | |
| 1390 | + imux182: i2c@6 { | |
| 1391 | + #address-cells = <1>; | |
| 1392 | + #size-cells = <0>; | |
| 1393 | + reg = <6>; | |
| 1394 | + }; | |
| 1395 | + imux183: i2c@7 { | |
| 1396 | + #address-cells = <1>; | |
| 1397 | + #size-cells = <0>; | |
| 1398 | + reg = <7>; | |
| 1399 | + }; | |
| 1400 | + }; | |
| 276 | 1401 | }; |
| 277 | 1402 | |
| 1403 | + /* To Fan Control Board #3 */ | |
| 278 | 1404 | imux34: i2c@2 { |
| 279 | 1405 | #address-cells = <1>; |
| 280 | 1406 | #size-cells = <0>; |
| 281 | 1407 | reg = <2>; |
| 1408 | + | |
| 1409 | + i2c-switch@70 { | |
| 1410 | + compatible = "nxp,pca9548"; | |
| 1411 | + #address-cells = <1>; | |
| 1412 | + #size-cells = <0>; | |
| 1413 | + reg = <0x70>; | |
| 1414 | + i2c-mux-idle-disconnect; | |
| 1415 | + | |
| 1416 | + imux184: i2c@0 { | |
| 1417 | + #address-cells = <1>; | |
| 1418 | + #size-cells = <0>; | |
| 1419 | + reg = <0>; | |
| 1420 | + }; | |
| 1421 | + imux185: i2c@1 { | |
| 1422 | + #address-cells = <1>; | |
| 1423 | + #size-cells = <0>; | |
| 1424 | + reg = <1>; | |
| 1425 | + }; | |
| 1426 | + imux186: i2c@2 { | |
| 1427 | + #address-cells = <1>; | |
| 1428 | + #size-cells = <0>; | |
| 1429 | + reg = <2>; | |
| 1430 | + }; | |
| 1431 | + imux187: i2c@3 { | |
| 1432 | + #address-cells = <1>; | |
| 1433 | + #size-cells = <0>; | |
| 1434 | + reg = <3>; | |
| 1435 | + }; | |
| 1436 | + imux188: i2c@4 { | |
| 1437 | + #address-cells = <1>; | |
| 1438 | + #size-cells = <0>; | |
| 1439 | + reg = <4>; | |
| 1440 | + }; | |
| 1441 | + imux189: i2c@5 { | |
| 1442 | + #address-cells = <1>; | |
| 1443 | + #size-cells = <0>; | |
| 1444 | + reg = <5>; | |
| 1445 | + }; | |
| 1446 | + imux190: i2c@6 { | |
| 1447 | + #address-cells = <1>; | |
| 1448 | + #size-cells = <0>; | |
| 1449 | + reg = <6>; | |
| 1450 | + }; | |
| 1451 | + imux191: i2c@7 { | |
| 1452 | + #address-cells = <1>; | |
| 1453 | + #size-cells = <0>; | |
| 1454 | + reg = <7>; | |
| 1455 | + }; | |
| 1456 | + }; | |
| 282 | 1457 | }; |
| 283 | 1458 | |
| 1459 | + /* To Fan Control Board #4 */ | |
| 284 | 1460 | imux35: i2c@3 { |
| 285 | 1461 | #address-cells = <1>; |
| 286 | 1462 | #size-cells = <0>; |
| 287 | 1463 | reg = <3>; |
| 1464 | + | |
| 1465 | + i2c-switch@70 { | |
| 1466 | + compatible = "nxp,pca9548"; | |
| 1467 | + #address-cells = <1>; | |
| 1468 | + #size-cells = <0>; | |
| 1469 | + reg = <0x70>; | |
| 1470 | + i2c-mux-idle-disconnect; | |
| 1471 | + | |
| 1472 | + imux192: i2c@0 { | |
| 1473 | + #address-cells = <1>; | |
| 1474 | + #size-cells = <0>; | |
| 1475 | + reg = <0>; | |
| 1476 | + }; | |
| 1477 | + imux193: i2c@1 { | |
| 1478 | + #address-cells = <1>; | |
| 1479 | + #size-cells = <0>; | |
| 1480 | + reg = <1>; | |
| 1481 | + }; | |
| 1482 | + imux194: i2c@2 { | |
| 1483 | + #address-cells = <1>; | |
| 1484 | + #size-cells = <0>; | |
| 1485 | + reg = <2>; | |
| 1486 | + }; | |
| 1487 | + imux195: i2c@3 { | |
| 1488 | + #address-cells = <1>; | |
| 1489 | + #size-cells = <0>; | |
| 1490 | + reg = <3>; | |
| 1491 | + }; | |
| 1492 | + imux196: i2c@4 { | |
| 1493 | + #address-cells = <1>; | |
| 1494 | + #size-cells = <0>; | |
| 1495 | + reg = <4>; | |
| 1496 | + }; | |
| 1497 | + imux197: i2c@5 { | |
| 1498 | + #address-cells = <1>; | |
| 1499 | + #size-cells = <0>; | |
| 1500 | + reg = <5>; | |
| 1501 | + }; | |
| 1502 | + imux198: i2c@6 { | |
| 1503 | + #address-cells = <1>; | |
| 1504 | + #size-cells = <0>; | |
| 1505 | + reg = <6>; | |
| 1506 | + }; | |
| 1507 | + imux199: i2c@7 { | |
| 1508 | + #address-cells = <1>; | |
| 1509 | + #size-cells = <0>; | |
| 1510 | + reg = <7>; | |
| 1511 | + }; | |
| 1512 | + }; | |
| 288 | 1513 | }; |
| 289 | 1514 | |
| 290 | 1515 | imux36: i2c@4 { |
| @@ -27,6 +27,11 @@ · 26 unmodified lines | ||
| 27 | 27 | memory@40000000 { |
| 28 | 28 | reg = <0x40000000 0x20000000>; |
| 29 | 29 | }; |
| 30 | + | |
| 31 | + ast-adc-hwmon { | |
| 32 | + compatible = "iio-hwmon"; | |
| 33 | + io-channels = <&adc 5>, <&adc 6>, <&adc 7>, <&adc 8>, <&adc 9>; | |
| 34 | + }; | |
| 30 | 35 | }; |
| 31 | 36 | |
| 32 | 37 | &wdt1 { |
| @@ -115,26 +120,47 @@ · 82 unmodified lines | ||
| 115 | 120 | status = "okay"; |
| 116 | 121 | }; |
| 117 | 122 | |
| 118 | −&i2c9 { | |
| 123 | +&i2c11 { | |
| 119 | 124 | status = "okay"; |
| 120 | 125 | }; |
| 121 | 126 | |
| 122 | −&i2c10 { | |
| 127 | +&i2c12 { | |
| 123 | 128 | status = "okay"; |
| 124 | 129 | }; |
| 125 | 130 | |
| 126 | −&i2c11 { | |
| 131 | +&vhub { | |
| 127 | 132 | status = "okay"; |
| 128 | 133 | }; |
| 129 | 134 | |
| 130 | −&i2c12 { | |
| 135 | +&adc { | |
| 131 | 136 | status = "okay"; |
| 132 | 137 | }; |
| 133 | 138 | |
| 134 | −&i2c13 { | |
| 139 | +&pwm_tacho { | |
| 135 | 140 | status = "okay"; |
| 136 | −}; | |
| 141 | + pinctrl-names = "default"; | |
| 142 | + pinctrl-0 = <&pinctrl_pwm0_default | |
| 143 | + &pinctrl_pwm1_default | |
| 144 | + &pinctrl_pwm6_default | |
| 145 | + &pinctrl_pwm7_default>; | |
| 146 | + | |
| 147 | + fan@0 { | |
| 148 | + reg = <0x00>; | |
| 149 | + aspeed,fan-tach-ch = /bits/ 8 <0x00 0x01>; | |
| 150 | + }; | |
| 137 | 151 | |
| 138 | −&vhub { | |
| 139 | − status = "okay"; | |
| 152 | + fan@1 { | |
| 153 | + reg = <0x01>; | |
| 154 | + aspeed,fan-tach-ch = /bits/ 8 <0x02 0x03>; | |
| 155 | + }; | |
| 156 | + | |
| 157 | + fan@6 { | |
| 158 | + reg = <0x06>; | |
| 159 | + aspeed,fan-tach-ch = /bits/ 8 <0x04 0x05>; | |
| 160 | + }; | |
| 161 | + | |
| 162 | + fan@7 { | |
| 163 | + reg = <0x07>; | |
| 164 | + aspeed,fan-tach-ch = /bits/ 8 <0x06 0x07>; | |
| 165 | + }; | |
| 140 | 166 | }; |
| @@ -12,6 +12,23 @@ · 11 unmodified lines | ||
| 12 | 12 | |
| 13 | 13 | aliases { |
| 14 | 14 | serial4 = &uart5; |
| 15 | + i2c16 = &i2c2mux0; | |
| 16 | + i2c17 = &i2c2mux1; | |
| 17 | + i2c18 = &i2c2mux2; | |
| 18 | + i2c19 = &i2c2mux3; | |
| 19 | + | |
| 20 | + spi10 = &cfam0_spi0; | |
| 21 | + spi11 = &cfam0_spi1; | |
| 22 | + spi12 = &cfam0_spi2; | |
| 23 | + spi13 = &cfam0_spi3; | |
| 24 | + spi20 = &cfam1_spi0; | |
| 25 | + spi21 = &cfam1_spi1; | |
| 26 | + spi22 = &cfam1_spi2; | |
| 27 | + spi23 = &cfam1_spi3; | |
| 28 | + spi30 = &cfam2_spi0; | |
| 29 | + spi31 = &cfam2_spi1; | |
| 30 | + spi32 = &cfam2_spi2; | |
| 31 | + spi33 = &cfam2_spi3; | |
| 15 | 32 | }; |
| 16 | 33 | |
| 17 | 34 | chosen { |
| @@ -68,12 +85,51 @@ · 50 unmodified lines | ||
| 68 | 85 | }; |
| 69 | 86 | }; |
| 70 | 87 | |
| 88 | + i2c2mux: i2cmux { | |
| 89 | + compatible = "i2c-mux-gpio"; | |
| 90 | + #address-cells = <1>; | |
| 91 | + #size-cells = <0>; | |
| 92 | + status = "okay"; | |
| 93 | + | |
| 94 | + i2c-parent = <&i2c2>; | |
| 95 | + mux-gpios = <&gpio0 ASPEED_GPIO(G, 4) GPIO_ACTIVE_HIGH>, | |
| 96 | + <&gpio0 ASPEED_GPIO(G, 5) GPIO_ACTIVE_HIGH>; | |
| 97 | + idle-state = <0>; | |
| 98 | + | |
| 99 | + i2c2mux0: i2c@0 { | |
| 100 | + #address-cells = <1>; | |
| 101 | + #size-cells = <0>; | |
| 102 | + reg = <0>; | |
| 103 | + }; | |
| 104 | + | |
| 105 | + i2c2mux1: i2c@1 { | |
| 106 | + #address-cells = <1>; | |
| 107 | + #size-cells = <0>; | |
| 108 | + reg = <1>; | |
| 109 | + }; | |
| 110 | + | |
| 111 | + i2c2mux2: i2c@2 { | |
| 112 | + #address-cells = <1>; | |
| 113 | + #size-cells = <0>; | |
| 114 | + reg = <2>; | |
| 115 | + }; | |
| 116 | + | |
| 117 | + i2c2mux3: i2c@3 { | |
| 118 | + #address-cells = <1>; | |
| 119 | + #size-cells = <0>; | |
| 120 | + reg = <3>; | |
| 121 | + }; | |
| 122 | + }; | |
| 123 | +}; | |
| 124 | + | |
| 125 | +&ehci1 { | |
| 126 | + status = "okay"; | |
| 71 | 127 | }; |
| 72 | 128 | |
| 73 | 129 | &gpio0 { |
| 74 | 130 | gpio-line-names = |
| 75 | 131 | /*A0-A7*/ "","","","","","","","", |
| 76 | − /*B0-B7*/ "","","","","","","","", | |
| 132 | + /*B0-B7*/ "","","","","","","checkstop","", | |
| 77 | 133 | /*C0-C7*/ "","","","","","","","", |
| 78 | 134 | /*D0-D7*/ "","","","","","","","", |
| 79 | 135 | /*E0-E7*/ "","","","","","","","", |
| @@ -86,7 +142,7 @@ · 6 unmodified lines | ||
| 86 | 142 | /*L0-L7*/ "","","","","","","","", |
| 87 | 143 | /*M0-M7*/ "","","","","","","","", |
| 88 | 144 | /*N0-N7*/ "","","","","","","","", |
| 89 | − /*O0-O7*/ "","","","","","","","", | |
| 145 | + /*O0-O7*/ "","","","usb-power","","","","", | |
| 90 | 146 | /*P0-P7*/ "","","","","","","","", |
| 91 | 147 | /*Q0-Q7*/ "cfam-reset","","","","","","","", |
| 92 | 148 | /*R0-R7*/ "","","","","","","","", |
| @@ -102,6 +158,20 @@ · 9 unmodified lines | ||
| 102 | 158 | /*AA0-AA7*/ "","","","","","","","", |
| 103 | 159 | /*AB0-AB7*/ "","","","","","","","", |
| 104 | 160 | /*AC0-AC7*/ "","","","","","","",""; |
| 161 | + | |
| 162 | + pin_mclr_vpp { | |
| 163 | + gpio-hog; | |
| 164 | + gpios = <ASPEED_GPIO(P, 7) GPIO_OPEN_DRAIN>; | |
| 165 | + output-high; | |
| 166 | + line-name = "mclr_vpp"; | |
| 167 | + }; | |
| 168 | + | |
| 169 | + i2c3_mux_oe_n { | |
| 170 | + gpio-hog; | |
| 171 | + gpios = <ASPEED_GPIO(G, 6) GPIO_ACTIVE_LOW>; | |
| 172 | + output-high; | |
| 173 | + line-name = "I2C3_MUX_OE_N"; | |
| 174 | + }; | |
| 105 | 175 | }; |
| 106 | 176 | |
| 107 | 177 | &emmc_controller { |
| @@ -118,6 +188,12 @@ · 10 unmodified lines | ||
| 118 | 188 | #address-cells = <2>; |
| 119 | 189 | #size-cells = <0>; |
| 120 | 190 | |
| 191 | + /* | |
| 192 | + * CFAM Reset is supposed to be active low but pass1 hardware is wired | |
| 193 | + * active high. | |
| 194 | + */ | |
| 195 | + cfam-reset-gpios = <&gpio0 ASPEED_GPIO(Q, 0) GPIO_ACTIVE_HIGH>; | |
| 196 | + | |
| 121 | 197 | cfam@0,0 { |
| 122 | 198 | reg = <0 0>; |
| 123 | 199 | #address-cells = <1>; |
| @@ -129,6 +205,84 @@ · 5 unmodified lines | ||
| 129 | 205 | reg = <0x1000 0x400>; |
| 130 | 206 | }; |
| 131 | 207 | |
| 208 | + i2c@1800 { | |
| 209 | + compatible = "ibm,fsi-i2c-master"; | |
| 210 | + reg = <0x1800 0x400>; | |
| 211 | + #address-cells = <1>; | |
| 212 | + #size-cells = <0>; | |
| 213 | + }; | |
| 214 | + | |
| 215 | + fsi2spi@1c00 { | |
| 216 | + compatible = "ibm,fsi2spi"; | |
| 217 | + reg = <0x1c00 0x400>; | |
| 218 | + #address-cells = <1>; | |
| 219 | + #size-cells = <0>; | |
| 220 | + | |
| 221 | + cfam0_spi0: spi@0 { | |
| 222 | + reg = <0x0>; | |
| 223 | + #address-cells = <1>; | |
| 224 | + #size-cells = <0>; | |
| 225 | + | |
| 226 | + eeprom@0 { | |
| 227 | + at25,byte-len = <0x80000>; | |
| 228 | + at25,addr-mode = <4>; | |
| 229 | + at25,page-size = <256>; | |
| 230 | + | |
| 231 | + compatible = "atmel,at25"; | |
| 232 | + reg = <0>; | |
| 233 | + spi-max-frequency = <1000000>; | |
| 234 | + }; | |
| 235 | + }; | |
| 236 | + | |
| 237 | + cfam0_spi1: spi@20 { | |
| 238 | + reg = <0x20>; | |
| 239 | + #address-cells = <1>; | |
| 240 | + #size-cells = <0>; | |
| 241 | + | |
| 242 | + eeprom@0 { | |
| 243 | + at25,byte-len = <0x80000>; | |
| 244 | + at25,addr-mode = <4>; | |
| 245 | + at25,page-size = <256>; | |
| 246 | + | |
| 247 | + compatible = "atmel,at25"; | |
| 248 | + reg = <0>; | |
| 249 | + spi-max-frequency = <1000000>; | |
| 250 | + }; | |
| 251 | + }; | |
| 252 | + | |
| 253 | + cfam0_spi2: spi@40 { | |
| 254 | + reg = <0x40>; | |
| 255 | + #address-cells = <1>; | |
| 256 | + #size-cells = <0>; | |
| 257 | + | |
| 258 | + eeprom@0 { | |
| 259 | + at25,byte-len = <0x80000>; | |
| 260 | + at25,addr-mode = <4>; | |
| 261 | + at25,page-size = <256>; | |
| 262 | + | |
| 263 | + compatible = "atmel,at25"; | |
| 264 | + reg = <0>; | |
| 265 | + spi-max-frequency = <1000000>; | |
| 266 | + }; | |
| 267 | + }; | |
| 268 | + | |
| 269 | + cfam0_spi3: spi@60 { | |
| 270 | + reg = <0x60>; | |
| 271 | + #address-cells = <1>; | |
| 272 | + #size-cells = <0>; | |
| 273 | + | |
| 274 | + eeprom@0 { | |
| 275 | + at25,byte-len = <0x80000>; | |
| 276 | + at25,addr-mode = <4>; | |
| 277 | + at25,page-size = <256>; | |
| 278 | + | |
| 279 | + compatible = "atmel,at25"; | |
| 280 | + reg = <0>; | |
| 281 | + spi-max-frequency = <1000000>; | |
| 282 | + }; | |
| 283 | + }; | |
| 284 | + }; | |
| 285 | + | |
| 132 | 286 | sbefifo@2400 { |
| 133 | 287 | compatible = "ibm,p9-sbefifo"; |
| 134 | 288 | reg = <0x2400 0x400>; |
| @@ -136,7 +290,7 @@ · 1 unmodified line | ||
| 136 | 290 | #size-cells = <0>; |
| 137 | 291 | |
| 138 | 292 | fsi_occ0: occ { |
| 139 | − compatible = "ibm,p9-occ"; | |
| 293 | + compatible = "ibm,p10-occ"; | |
| 140 | 294 | }; |
| 141 | 295 | }; |
| 142 | 296 | |
| @@ -163,6 +317,84 @@ · 20 unmodified lines | ||
| 163 | 317 | reg = <0x1000 0x400>; |
| 164 | 318 | }; |
| 165 | 319 | |
| 320 | + i2c@1800 { | |
| 321 | + compatible = "ibm,fsi-i2c-master"; | |
| 322 | + reg = <0x1800 0x400>; | |
| 323 | + #address-cells = <1>; | |
| 324 | + #size-cells = <0>; | |
| 325 | + }; | |
| 326 | + | |
| 327 | + fsi2spi@1c00 { | |
| 328 | + compatible = "ibm,fsi2spi"; | |
| 329 | + reg = <0x1c00 0x400>; | |
| 330 | + #address-cells = <1>; | |
| 331 | + #size-cells = <0>; | |
| 332 | + | |
| 333 | + cfam1_spi0: spi@0 { | |
| 334 | + reg = <0x0>; | |
| 335 | + #address-cells = <1>; | |
| 336 | + #size-cells = <0>; | |
| 337 | + | |
| 338 | + eeprom@0 { | |
| 339 | + at25,byte-len = <0x80000>; | |
| 340 | + at25,addr-mode = <4>; | |
| 341 | + at25,page-size = <256>; | |
| 342 | + | |
| 343 | + compatible = "atmel,at25"; | |
| 344 | + reg = <0>; | |
| 345 | + spi-max-frequency = <1000000>; | |
| 346 | + }; | |
| 347 | + }; | |
| 348 | + | |
| 349 | + cfam1_spi1: spi@20 { | |
| 350 | + reg = <0x20>; | |
| 351 | + #address-cells = <1>; | |
| 352 | + #size-cells = <0>; | |
| 353 | + | |
| 354 | + eeprom@0 { | |
| 355 | + at25,byte-len = <0x80000>; | |
| 356 | + at25,addr-mode = <4>; | |
| 357 | + at25,page-size = <256>; | |
| 358 | + | |
| 359 | + compatible = "atmel,at25"; | |
| 360 | + reg = <0>; | |
| 361 | + spi-max-frequency = <1000000>; | |
| 362 | + }; | |
| 363 | + }; | |
| 364 | + | |
| 365 | + cfam1_spi2: spi@40 { | |
| 366 | + reg = <0x40>; | |
| 367 | + #address-cells = <1>; | |
| 368 | + #size-cells = <0>; | |
| 369 | + | |
| 370 | + eeprom@0 { | |
| 371 | + at25,byte-len = <0x80000>; | |
| 372 | + at25,addr-mode = <4>; | |
| 373 | + at25,page-size = <256>; | |
| 374 | + | |
| 375 | + compatible = "atmel,at25"; | |
| 376 | + reg = <0>; | |
| 377 | + spi-max-frequency = <1000000>; | |
| 378 | + }; | |
| 379 | + }; | |
| 380 | + | |
| 381 | + cfam1_spi3: spi@60 { | |
| 382 | + reg = <0x60>; | |
| 383 | + #address-cells = <1>; | |
| 384 | + #size-cells = <0>; | |
| 385 | + | |
| 386 | + eeprom@0 { | |
| 387 | + at25,byte-len = <0x80000>; | |
| 388 | + at25,addr-mode = <4>; | |
| 389 | + at25,page-size = <256>; | |
| 390 | + | |
| 391 | + compatible = "atmel,at25"; | |
| 392 | + reg = <0>; | |
| 393 | + spi-max-frequency = <1000000>; | |
| 394 | + }; | |
| 395 | + }; | |
| 396 | + }; | |
| 397 | + | |
| 166 | 398 | sbefifo@2400 { |
| 167 | 399 | compatible = "ibm,p9-sbefifo"; |
| 168 | 400 | reg = <0x2400 0x400>; |
| @@ -170,7 +402,7 @@ · 1 unmodified line | ||
| 170 | 402 | #size-cells = <0>; |
| 171 | 403 | |
| 172 | 404 | fsi_occ1: occ { |
| 173 | − compatible = "ibm,p9-occ"; | |
| 405 | + compatible = "ibm,p10-occ"; | |
| 174 | 406 | }; |
| 175 | 407 | }; |
| 176 | 408 | |
| @@ -183,6 +415,116 @@ · 6 unmodified lines | ||
| 183 | 415 | no-scan-on-init; |
| 184 | 416 | }; |
| 185 | 417 | }; |
| 418 | + | |
| 419 | + cfam@2,0 { | |
| 420 | + reg = <2 0>; | |
| 421 | + #address-cells = <1>; | |
| 422 | + #size-cells = <1>; | |
| 423 | + chip-id = <2>; | |
| 424 | + | |
| 425 | + scom@1000 { | |
| 426 | + compatible = "ibm,fsi2pib"; | |
| 427 | + reg = <0x1000 0x400>; | |
| 428 | + }; | |
| 429 | + | |
| 430 | + i2c@1800 { | |
| 431 | + compatible = "ibm,fsi-i2c-master"; | |
| 432 | + reg = <0x1800 0x400>; | |
| 433 | + #address-cells = <1>; | |
| 434 | + #size-cells = <0>; | |
| 435 | + }; | |
| 436 | + | |
| 437 | + fsi2spi@1c00 { | |
| 438 | + compatible = "ibm,fsi2spi"; | |
| 439 | + reg = <0x1c00 0x400>; | |
| 440 | + #address-cells = <1>; | |
| 441 | + #size-cells = <0>; | |
| 442 | + | |
| 443 | + cfam2_spi0: spi@0 { | |
| 444 | + reg = <0x0>; | |
| 445 | + #address-cells = <1>; | |
| 446 | + #size-cells = <0>; | |
| 447 | + | |
| 448 | + eeprom@0 { | |
| 449 | + at25,byte-len = <0x80000>; | |
| 450 | + at25,addr-mode = <4>; | |
| 451 | + at25,page-size = <256>; | |
| 452 | + | |
| 453 | + compatible = "atmel,at25"; | |
| 454 | + reg = <0>; | |
| 455 | + spi-max-frequency = <1000000>; | |
| 456 | + }; | |
| 457 | + }; | |
| 458 | + | |
| 459 | + cfam2_spi1: spi@20 { | |
| 460 | + reg = <0x20>; | |
| 461 | + #address-cells = <1>; | |
| 462 | + #size-cells = <0>; | |
| 463 | + | |
| 464 | + eeprom@0 { | |
| 465 | + at25,byte-len = <0x80000>; | |
| 466 | + at25,addr-mode = <4>; | |
| 467 | + at25,page-size = <256>; | |
| 468 | + | |
| 469 | + compatible = "atmel,at25"; | |
| 470 | + reg = <0>; | |
| 471 | + spi-max-frequency = <1000000>; | |
| 472 | + }; | |
| 473 | + }; | |
| 474 | + | |
| 475 | + cfam2_spi2: spi@40 { | |
| 476 | + reg = <0x40>; | |
| 477 | + #address-cells = <1>; | |
| 478 | + #size-cells = <0>; | |
| 479 | + | |
| 480 | + eeprom@0 { | |
| 481 | + at25,byte-len = <0x80000>; | |
| 482 | + at25,addr-mode = <4>; | |
| 483 | + at25,page-size = <256>; | |
| 484 | + | |
| 485 | + compatible = "atmel,at25"; | |
| 486 | + reg = <0>; | |
| 487 | + spi-max-frequency = <1000000>; | |
| 488 | + }; | |
| 489 | + }; | |
| 490 | + | |
| 491 | + cfam2_spi3: spi@60 { | |
| 492 | + reg = <0x60>; | |
| 493 | + #address-cells = <1>; | |
| 494 | + #size-cells = <0>; | |
| 495 | + | |
| 496 | + eeprom@0 { | |
| 497 | + at25,byte-len = <0x80000>; | |
| 498 | + at25,addr-mode = <4>; | |
| 499 | + at25,page-size = <256>; | |
| 500 | + | |
| 501 | + compatible = "atmel,at25"; | |
| 502 | + reg = <0>; | |
| 503 | + spi-max-frequency = <1000000>; | |
| 504 | + }; | |
| 505 | + }; | |
| 506 | + }; | |
| 507 | + | |
| 508 | + sbefifo@2400 { | |
| 509 | + compatible = "ibm,p9-sbefifo"; | |
| 510 | + reg = <0x2400 0x400>; | |
| 511 | + #address-cells = <1>; | |
| 512 | + #size-cells = <0>; | |
| 513 | + | |
| 514 | + fsi_occ2: occ { | |
| 515 | + compatible = "ibm,p10-occ"; | |
| 516 | + }; | |
| 517 | + }; | |
| 518 | + | |
| 519 | + fsi_hub2: hub@3400 { | |
| 520 | + compatible = "fsi-master-hub"; | |
| 521 | + reg = <0x3400 0x400>; | |
| 522 | + #address-cells = <2>; | |
| 523 | + #size-cells = <0>; | |
| 524 | + | |
| 525 | + no-scan-on-init; | |
| 526 | + }; | |
| 527 | + }; | |
| 186 | 528 | }; |
| 187 | 529 | |
| 188 | 530 | /* Legacy OCC numbering (to get rid of when userspace is fixed) */ |
| @@ -194,6 +536,10 @@ · 5 unmodified lines | ||
| 194 | 536 | reg = <2>; |
| 195 | 537 | }; |
| 196 | 538 | |
| 539 | +&fsi_occ2 { | |
| 540 | + reg = <3>; | |
| 541 | +}; | |
| 542 | + | |
| 197 | 543 | &ibt { |
| 198 | 544 | status = "okay"; |
| 199 | 545 | }; |
| @@ -205,6 +551,21 @@ · 5 unmodified lines | ||
| 205 | 551 | compatible = "atmel,24c64"; |
| 206 | 552 | reg = <0x51>; |
| 207 | 553 | }; |
| 554 | + | |
| 555 | + tca9554@40 { | |
| 556 | + compatible = "ti,tca9554"; | |
| 557 | + reg = <0x40>; | |
| 558 | + gpio-controller; | |
| 559 | + #gpio-cells = <2>; | |
| 560 | + | |
| 561 | + smbus0 { | |
| 562 | + gpio-hog; | |
| 563 | + gpios = <4 GPIO_ACTIVE_HIGH>; | |
| 564 | + output-high; | |
| 565 | + line-name = "smbus0"; | |
| 566 | + }; | |
| 567 | + }; | |
| 568 | + | |
| 208 | 569 | }; |
| 209 | 570 | |
| 210 | 571 | &i2c1 { |
| @@ -519,6 +880,96 @@ · 308 unmodified lines | ||
| 519 | 880 | compatible = "atmel,24c64"; |
| 520 | 881 | reg = <0x51>; |
| 521 | 882 | }; |
| 883 | + | |
| 884 | + pca1: pca9552@61 { | |
| 885 | + compatible = "nxp,pca9552"; | |
| 886 | + reg = <0x61>; | |
| 887 | + #address-cells = <1>; | |
| 888 | + #size-cells = <0>; | |
| 889 | + gpio-controller; | |
| 890 | + #gpio-cells = <2>; | |
| 891 | + | |
| 892 | + gpio@0 { | |
| 893 | + reg = <0>; | |
| 894 | + type = <PCA955X_TYPE_GPIO>; | |
| 895 | + }; | |
| 896 | + | |
| 897 | + gpio@1 { | |
| 898 | + reg = <1>; | |
| 899 | + type = <PCA955X_TYPE_GPIO>; | |
| 900 | + }; | |
| 901 | + | |
| 902 | + gpio@2 { | |
| 903 | + reg = <2>; | |
| 904 | + type = <PCA955X_TYPE_GPIO>; | |
| 905 | + }; | |
| 906 | + | |
| 907 | + gpio@3 { | |
| 908 | + reg = <3>; | |
| 909 | + type = <PCA955X_TYPE_GPIO>; | |
| 910 | + }; | |
| 911 | + | |
| 912 | + gpio@4 { | |
| 913 | + reg = <4>; | |
| 914 | + type = <PCA955X_TYPE_GPIO>; | |
| 915 | + }; | |
| 916 | + | |
| 917 | + gpio@5 { | |
| 918 | + reg = <5>; | |
| 919 | + type = <PCA955X_TYPE_GPIO>; | |
| 920 | + }; | |
| 921 | + | |
| 922 | + gpio@6 { | |
| 923 | + reg = <6>; | |
| 924 | + type = <PCA955X_TYPE_GPIO>; | |
| 925 | + }; | |
| 926 | + | |
| 927 | + gpio@7 { | |
| 928 | + reg = <7>; | |
| 929 | + type = <PCA955X_TYPE_GPIO>; | |
| 930 | + }; | |
| 931 | + | |
| 932 | + gpio@8 { | |
| 933 | + reg = <8>; | |
| 934 | + type = <PCA955X_TYPE_GPIO>; | |
| 935 | + }; | |
| 936 | + | |
| 937 | + gpio@9 { | |
| 938 | + reg = <9>; | |
| 939 | + type = <PCA955X_TYPE_GPIO>; | |
| 940 | + }; | |
| 941 | + | |
| 942 | + gpio@10 { | |
| 943 | + reg = <10>; | |
| 944 | + type = <PCA955X_TYPE_GPIO>; | |
| 945 | + }; | |
| 946 | + | |
| 947 | + gpio@11 { | |
| 948 | + reg = <11>; | |
| 949 | + type = <PCA955X_TYPE_GPIO>; | |
| 950 | + }; | |
| 951 | + | |
| 952 | + gpio@12 { | |
| 953 | + reg = <12>; | |
| 954 | + type = <PCA955X_TYPE_GPIO>; | |
| 955 | + }; | |
| 956 | + | |
| 957 | + gpio@13 { | |
| 958 | + reg = <13>; | |
| 959 | + type = <PCA955X_TYPE_GPIO>; | |
| 960 | + }; | |
| 961 | + | |
| 962 | + gpio@14 { | |
| 963 | + reg = <14>; | |
| 964 | + type = <PCA955X_TYPE_GPIO>; | |
| 965 | + }; | |
| 966 | + | |
| 967 | + gpio@15 { | |
| 968 | + reg = <15>; | |
| 969 | + type = <PCA955X_TYPE_GPIO>; | |
| 970 | + }; | |
| 971 | + }; | |
| 972 | + | |
| 522 | 973 | }; |
| 523 | 974 | |
| 524 | 975 | &i2c9 { |
| @@ -656,13 +1107,6 @@ · 131 unmodified lines | ||
| 656 | 1107 | spi-max-frequency = <50000000>; |
| 657 | 1108 | #include "openbmc-flash-layout-128.dtsi" |
| 658 | 1109 | }; |
| 659 | − | |
| 660 | − flash@1 { | |
| 661 | − status = "okay"; | |
| 662 | − m25p,fast-read; | |
| 663 | − label = "alt-bmc"; | |
| 664 | − spi-max-frequency = <50000000>; | |
| 665 | − }; | |
| 666 | 1110 | }; |
| 667 | 1111 | |
| 668 | 1112 | &spi1 { |
| @@ -820,12 +820,50 @@ · 819 unmodified lines | ||
| 820 | 820 | #address-cells = <1>; |
| 821 | 821 | #size-cells = <0>; |
| 822 | 822 | reg = <0>; |
| 823 | + | |
| 824 | + tca9554@39 { | |
| 825 | + compatible = "ti,tca9554"; | |
| 826 | + reg = <0x39>; | |
| 827 | + gpio-controller; | |
| 828 | + #gpio-cells = <2>; | |
| 829 | + | |
| 830 | + smbus0 { | |
| 831 | + gpio-hog; | |
| 832 | + gpios = <4 GPIO_ACTIVE_HIGH>; | |
| 833 | + output-high; | |
| 834 | + line-name = "smbus0"; | |
| 835 | + }; | |
| 836 | + }; | |
| 837 | + | |
| 838 | + tmp431@4c { | |
| 839 | + compatible = "ti,tmp401"; | |
| 840 | + reg = <0x4c>; | |
| 841 | + }; | |
| 823 | 842 | }; |
| 824 | 843 | |
| 825 | 844 | bus9_mux232: i2c@1 { |
| 826 | 845 | #address-cells = <1>; |
| 827 | 846 | #size-cells = <0>; |
| 828 | 847 | reg = <1>; |
| 848 | + | |
| 849 | + tca9554@39 { | |
| 850 | + compatible = "ti,tca9554"; | |
| 851 | + reg = <0x39>; | |
| 852 | + gpio-controller; | |
| 853 | + #gpio-cells = <2>; | |
| 854 | + | |
| 855 | + smbus1 { | |
| 856 | + gpio-hog; | |
| 857 | + gpios = <4 GPIO_ACTIVE_HIGH>; | |
| 858 | + output-high; | |
| 859 | + line-name = "smbus1"; | |
| 860 | + }; | |
| 861 | + }; | |
| 862 | + | |
| 863 | + tmp431@4c { | |
| 864 | + compatible = "ti,tmp401"; | |
| 865 | + reg = <0x4c>; | |
| 866 | + }; | |
| 829 | 867 | }; |
| 830 | 868 | |
| 831 | 869 | bus9_mux233: i2c@2 { |
| @@ -855,12 +893,50 @@ · 23 unmodified lines | ||
| 855 | 893 | #address-cells = <1>; |
| 856 | 894 | #size-cells = <0>; |
| 857 | 895 | reg = <0>; |
| 896 | + | |
| 897 | + tca9554@39 { | |
| 898 | + compatible = "ti,tca9554"; | |
| 899 | + reg = <0x39>; | |
| 900 | + gpio-controller; | |
| 901 | + #gpio-cells = <2>; | |
| 902 | + | |
| 903 | + smbus2 { | |
| 904 | + gpio-hog; | |
| 905 | + gpios = <4 GPIO_ACTIVE_HIGH>; | |
| 906 | + output-high; | |
| 907 | + line-name = "smbus2"; | |
| 908 | + }; | |
| 909 | + }; | |
| 910 | + | |
| 911 | + tmp431@4c { | |
| 912 | + compatible = "ti,tmp401"; | |
| 913 | + reg = <0x4c>; | |
| 914 | + }; | |
| 858 | 915 | }; |
| 859 | 916 | |
| 860 | 917 | bus9_mux236: i2c@1 { |
| 861 | 918 | #address-cells = <1>; |
| 862 | 919 | #size-cells = <0>; |
| 863 | 920 | reg = <1>; |
| 921 | + | |
| 922 | + tca9554@39 { | |
| 923 | + compatible = "ti,tca9554"; | |
| 924 | + reg = <0x39>; | |
| 925 | + gpio-controller; | |
| 926 | + #gpio-cells = <2>; | |
| 927 | + | |
| 928 | + smbus3 { | |
| 929 | + gpio-hog; | |
| 930 | + gpios = <4 GPIO_ACTIVE_HIGH>; | |
| 931 | + output-high; | |
| 932 | + line-name = "smbus3"; | |
| 933 | + }; | |
| 934 | + }; | |
| 935 | + | |
| 936 | + tmp431@4c { | |
| 937 | + compatible = "ti,tmp401"; | |
| 938 | + reg = <0x4c>; | |
| 939 | + }; | |
| 864 | 940 | }; |
| 865 | 941 | |
| 866 | 942 | bus9_mux237: i2c@2 { |
| @@ -909,12 +985,50 @@ · 42 unmodified lines | ||
| 909 | 985 | #address-cells = <1>; |
| 910 | 986 | #size-cells = <0>; |
| 911 | 987 | reg = <0>; |
| 988 | + | |
| 989 | + tca9554@39 { | |
| 990 | + compatible = "ti,tca9554"; | |
| 991 | + reg = <0x39>; | |
| 992 | + gpio-controller; | |
| 993 | + #gpio-cells = <2>; | |
| 994 | + | |
| 995 | + smbus4 { | |
| 996 | + gpio-hog; | |
| 997 | + gpios = <4 GPIO_ACTIVE_HIGH>; | |
| 998 | + output-high; | |
| 999 | + line-name = "smbus4"; | |
| 1000 | + }; | |
| 1001 | + }; | |
| 1002 | + | |
| 1003 | + tmp431@4c { | |
| 1004 | + compatible = "ti,tmp401"; | |
| 1005 | + reg = <0x4c>; | |
| 1006 | + }; | |
| 912 | 1007 | }; |
| 913 | 1008 | |
| 914 | 1009 | bus10_mux240: i2c@1 { |
| 915 | 1010 | #address-cells = <1>; |
| 916 | 1011 | #size-cells = <0>; |
| 917 | 1012 | reg = <1>; |
| 1013 | + | |
| 1014 | + tca9554@39 { | |
| 1015 | + compatible = "ti,tca9554"; | |
| 1016 | + reg = <0x39>; | |
| 1017 | + gpio-controller; | |
| 1018 | + #gpio-cells = <2>; | |
| 1019 | + | |
| 1020 | + smbus5 { | |
| 1021 | + gpio-hog; | |
| 1022 | + gpios = <4 GPIO_ACTIVE_HIGH>; | |
| 1023 | + output-high; | |
| 1024 | + line-name = "smbus5"; | |
| 1025 | + }; | |
| 1026 | + }; | |
| 1027 | + | |
| 1028 | + tmp431@4c { | |
| 1029 | + compatible = "ti,tmp401"; | |
| 1030 | + reg = <0x4c>; | |
| 1031 | + }; | |
| 918 | 1032 | }; |
| 919 | 1033 | |
| 920 | 1034 | bus10_mux241: i2c@2 { |
| @@ -944,12 +1058,50 @@ · 23 unmodified lines | ||
| 944 | 1058 | #address-cells = <1>; |
| 945 | 1059 | #size-cells = <0>; |
| 946 | 1060 | reg = <0>; |
| 1061 | + | |
| 1062 | + tca9554@39 { | |
| 1063 | + compatible = "ti,tca9554"; | |
| 1064 | + reg = <0x39>; | |
| 1065 | + gpio-controller; | |
| 1066 | + #gpio-cells = <2>; | |
| 1067 | + | |
| 1068 | + smbus6 { | |
| 1069 | + gpio-hog; | |
| 1070 | + gpios = <4 GPIO_ACTIVE_HIGH>; | |
| 1071 | + output-high; | |
| 1072 | + line-name = "smbus6"; | |
| 1073 | + }; | |
| 1074 | + }; | |
| 1075 | + | |
| 1076 | + tmp431@4c { | |
| 1077 | + compatible = "ti,tmp401"; | |
| 1078 | + reg = <0x4c>; | |
| 1079 | + }; | |
| 947 | 1080 | }; |
| 948 | 1081 | |
| 949 | 1082 | bus10_mux244: i2c@1 { |
| 950 | 1083 | #address-cells = <1>; |
| 951 | 1084 | #size-cells = <0>; |
| 952 | 1085 | reg = <1>; |
| 1086 | + | |
| 1087 | + tca9554@39 { | |
| 1088 | + compatible = "ti,tca9554"; | |
| 1089 | + reg = <0x39>; | |
| 1090 | + gpio-controller; | |
| 1091 | + #gpio-cells = <2>; | |
| 1092 | + | |
| 1093 | + smbus7 { | |
| 1094 | + gpio-hog; | |
| 1095 | + gpios = <4 GPIO_ACTIVE_HIGH>; | |
| 1096 | + output-high; | |
| 1097 | + line-name = "smbus7"; | |
| 1098 | + }; | |
| 1099 | + }; | |
| 1100 | + | |
| 1101 | + tmp431@4c { | |
| 1102 | + compatible = "ti,tmp401"; | |
| 1103 | + reg = <0x4c>; | |
| 1104 | + }; | |
| 953 | 1105 | }; |
| 954 | 1106 | |
| 955 | 1107 | bus10_mux245: i2c@2 { |
| @@ -29,76 +29,17 @@ · 28 unmodified lines | ||
| 29 | 29 | no-map; |
| 30 | 30 | reg = <0xb8000000 0x4000000>; /* 64M */ |
| 31 | 31 | }; |
| 32 | − }; | |
| 33 | − | |
| 34 | − gpio-keys { | |
| 35 | − compatible = "gpio-keys"; | |
| 36 | − | |
| 37 | − checkstop { | |
| 38 | − label = "checkstop"; | |
| 39 | − gpios = <&gpio0 ASPEED_GPIO(E, 3) GPIO_ACTIVE_LOW>; | |
| 40 | − linux,code = <ASPEED_GPIO(E, 3)>; | |
| 41 | − }; | |
| 42 | − | |
| 43 | − ps0-presence { | |
| 44 | − label = "ps0-presence"; | |
| 45 | − gpios = <&gpio0 ASPEED_GPIO(H, 3) GPIO_ACTIVE_LOW>; | |
| 46 | − linux,code = <ASPEED_GPIO(H, 3)>; | |
| 47 | − }; | |
| 48 | − | |
| 49 | − ps1-presence { | |
| 50 | − label = "ps1-presence"; | |
| 51 | − gpios = <&gpio0 ASPEED_GPIO(E, 5) GPIO_ACTIVE_LOW>; | |
| 52 | − linux,code = <ASPEED_GPIO(E, 5)>; | |
| 53 | − }; | |
| 54 | − }; | |
| 55 | − | |
| 56 | − gpio-keys-polled { | |
| 57 | − compatible = "gpio-keys-polled"; | |
| 58 | − #address-cells = <1>; | |
| 59 | − #size-cells = <0>; | |
| 60 | − poll-interval = <1000>; | |
| 61 | − | |
| 62 | − fan0-presence { | |
| 63 | − label = "fan0-presence"; | |
| 64 | − gpios = <&pca0 4 GPIO_ACTIVE_LOW>; | |
| 65 | − linux,code = <4>; | |
| 66 | − }; | |
| 67 | − | |
| 68 | − fan1-presence { | |
| 69 | − label = "fan1-presence"; | |
| 70 | − gpios = <&pca0 5 GPIO_ACTIVE_LOW>; | |
| 71 | − linux,code = <5>; | |
| 72 | − }; | |
| 73 | 32 | |
| 74 | − fan2-presence { | |
| 75 | − label = "fan2-presence"; | |
| 76 | − gpios = <&pca0 6 GPIO_ACTIVE_LOW>; | |
| 77 | − linux,code = <6>; | |
| 78 | − }; | |
| 79 | − | |
| 80 | − fan3-presence { | |
| 81 | − label = "fan3-presence"; | |
| 82 | − gpios = <&pca0 7 GPIO_ACTIVE_LOW>; | |
| 83 | − linux,code = <7>; | |
| 33 | + vga_memory: region@bf000000 { | |
| 34 | + no-map; | |
| 35 | + compatible = "shared-dma-pool"; | |
| 36 | + reg = <0xbf000000 0x01000000>; /* 16M */ | |
| 84 | 37 | }; |
| 85 | 38 | }; |
| 86 | 39 | |
| 87 | 40 | gpio-keys { |
| 88 | 41 | compatible = "gpio-keys"; |
| 89 | 42 | |
| 90 | − air-water { | |
| 91 | − label = "air-water"; | |
| 92 | − gpios = <&gpio0 ASPEED_GPIO(Q, 7) GPIO_ACTIVE_LOW>; | |
| 93 | − linux,code = <ASPEED_GPIO(Q, 7)>; | |
| 94 | − }; | |
| 95 | − | |
| 96 | − checkstop { | |
| 97 | − label = "checkstop"; | |
| 98 | − gpios = <&gpio0 ASPEED_GPIO(E, 3) GPIO_ACTIVE_LOW>; | |
| 99 | − linux,code = <ASPEED_GPIO(E, 3)>; | |
| 100 | − }; | |
| 101 | − | |
| 102 | 43 | ps0-presence { |
| 103 | 44 | label = "ps0-presence"; |
| 104 | 45 | gpios = <&gpio0 ASPEED_GPIO(H, 3) GPIO_ACTIVE_LOW>; |
| @@ -154,6 +95,10 @@ · 49 unmodified lines | ||
| 154 | 95 | }; |
| 155 | 96 | }; |
| 156 | 97 | |
| 98 | +&ehci1 { | |
| 99 | + status = "okay"; | |
| 100 | +}; | |
| 101 | + | |
| 157 | 102 | &gpio0 { |
| 158 | 103 | gpio-line-names = |
| 159 | 104 | /*A0-A7*/ "","","","","","","","", |
| @@ -170,7 +115,7 @@ · 10 unmodified lines | ||
| 170 | 115 | /*L0-L7*/ "","","","","","","","", |
| 171 | 116 | /*M0-M7*/ "","","","","","","","", |
| 172 | 117 | /*N0-N7*/ "","","","","","","","", |
| 173 | − /*O0-O7*/ "led-rear-power","led-rear-id","","","","","","", | |
| 118 | + /*O0-O7*/ "led-rear-power","led-rear-id","","usb-power","","","","", | |
| 174 | 119 | /*P0-P7*/ "","","","","","","","", |
| 175 | 120 | /*Q0-Q7*/ "cfam-reset","","","","","","","fsi-routing", |
| 176 | 121 | /*R0-R7*/ "","","","","","","","", |
| @@ -244,6 +189,7 @@ · 67 unmodified lines | ||
| 244 | 189 | |
| 245 | 190 | fsi-routing-gpios = <&gpio0 ASPEED_GPIO(Q, 7) GPIO_ACTIVE_HIGH>; |
| 246 | 191 | fsi-mux-gpios = <&gpio0 ASPEED_GPIO(B, 0) GPIO_ACTIVE_HIGH>; |
| 192 | + cfam-reset-gpios = <&gpio0 ASPEED_GPIO(Q, 0) GPIO_ACTIVE_LOW>; | |
| 247 | 193 | |
| 248 | 194 | cfam@0,0 { |
| 249 | 195 | reg = <0 0>; |
| @@ -912,3 +858,8 @@ · 662 unmodified lines | ||
| 912 | 858 | pinctrl-0 = <&pinctrl_lpc_default>, |
| 913 | 859 | <&pinctrl_lsirq_default>; |
| 914 | 860 | }; |
| 861 | + | |
| 862 | +&xdma { | |
| 863 | + status = "okay"; | |
| 864 | + memory-region = <&vga_memory>; | |
| 865 | +}; | |
| @@ -27,6 +27,12 @@ · 26 unmodified lines | ||
| 27 | 27 | reg = <0x98000000 0x04000000>; /* 64M */ |
| 28 | 28 | }; |
| 29 | 29 | |
| 30 | + vga_memory: region@9f000000 { | |
| 31 | + no-map; | |
| 32 | + compatible = "shared-dma-pool"; | |
| 33 | + reg = <0x9f000000 0x01000000>; /* 16M */ | |
| 34 | + }; | |
| 35 | + | |
| 30 | 36 | gfx_memory: framebuffer { |
| 31 | 37 | size = <0x01000000>; |
| 32 | 38 | alignment = <0x01000000>; |
| @@ -690,4 +696,9 @@ · 657 unmodified lines | ||
| 690 | 696 | memory-region = <&video_engine_memory>; |
| 691 | 697 | }; |
| 692 | 698 | |
| 699 | +&xdma { | |
| 700 | + status = "okay"; | |
| 701 | + memory-region = <&vga_memory>; | |
| 702 | +}; | |
| 703 | + | |
| 693 | 704 | #include "ibm-power9-dual.dtsi" |
| @@ -1,5 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | 2 | #include <dt-bindings/clock/aspeed-clock.h> |
| 3 | +#include <dt-bindings/interrupt-controller/aspeed-scu-ic.h> | |
| 3 | 4 | |
| 4 | 5 | / { |
| 5 | 6 | model = "Aspeed BMC"; |
| @@ -267,8 +268,8 @@ · 261 unmodified lines | ||
| 267 | 268 | reg = <0x1e6e7000 0x100>; |
| 268 | 269 | clocks = <&syscon ASPEED_CLK_GATE_BCLK>; |
| 269 | 270 | resets = <&syscon ASPEED_RESET_XDMA>; |
| 270 | − interrupts-extended = <&vic 6>, <&scu_ic 2>; | |
| 271 | − pcie-device = "bmc"; | |
| 271 | + interrupts-extended = <&vic 6>, <&scu_ic ASPEED_AST2500_SCU_IC_PCIE_RESET_LO_TO_HI>; | |
| 272 | + aspeed,pcie-device = "bmc"; | |
| 272 | 273 | aspeed,scu = <&syscon>; |
| 273 | 274 | status = "disabled"; |
| 274 | 275 | }; |
| @@ -2,6 +2,7 @@ · 1 unmodified line | ||
| 2 | 2 | // Copyright 2019 IBM Corp. |
| 3 | 3 | |
| 4 | 4 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
| 5 | +#include <dt-bindings/interrupt-controller/aspeed-scu-ic.h> | |
| 5 | 6 | #include <dt-bindings/clock/ast2600-clock.h> |
| 6 | 7 | |
| 7 | 8 | / { |
| @@ -346,22 +347,12 @@ · 338 unmodified lines | ||
| 346 | 347 | resets = <&syscon ASPEED_RESET_DEV_XDMA>, <&syscon ASPEED_RESET_RC_XDMA>; |
| 347 | 348 | reset-names = "device", "root-complex"; |
| 348 | 349 | interrupts-extended = <&gic GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>, |
| 349 | − <&scu_ic0 2>; | |
| 350 | − pcie-device = "bmc"; | |
| 350 | + <&scu_ic0 ASPEED_AST2600_SCU_IC0_PCIE_PERST_LO_TO_HI>; | |
| 351 | + aspeed,pcie-device = "bmc"; | |
| 351 | 352 | aspeed,scu = <&syscon>; |
| 352 | 353 | status = "disabled"; |
| 353 | 354 | }; |
| 354 | 355 | |
| 355 | − video: video@1e700000 { | |
| 356 | − compatible = "aspeed,ast2600-video-engine"; | |
| 357 | − reg = <0x1e700000 0x1000>; | |
| 358 | − clocks = <&syscon ASPEED_CLK_GATE_VCLK>, | |
| 359 | − <&syscon ASPEED_CLK_GATE_ECLK>; | |
| 360 | − clock-names = "vclk", "eclk"; | |
| 361 | − interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; | |
| 362 | − status = "disabled"; | |
| 363 | − }; | |
| 364 | − | |
| 365 | 356 | gpio0: gpio@1e780000 { |
| 366 | 357 | #gpio-cells = <2>; |
| 367 | 358 | gpio-controller; |
| @@ -309,6 +309,10 @@ · 308 unmodified lines | ||
| 309 | 309 | }; |
| 310 | 310 | }; |
| 311 | 311 | |
| 312 | +&gpbr { | |
| 313 | + status = "okay"; | |
| 314 | +}; | |
| 315 | + | |
| 312 | 316 | &i2s { |
| 313 | 317 | pinctrl-names = "default"; |
| 314 | 318 | pinctrl-0 = <&pinctrl_i2s_default>; |
| @@ -470,9 +474,9 @@ · 155 unmodified lines | ||
| 470 | 474 | pinctrl_classd_default: classd { |
| 471 | 475 | atmel,pins = |
| 472 | 476 | <AT91_PIOA 24 AT91_PERIPH_C AT91_PINCTRL_PULL_UP |
| 473 | − AT91_PIOA 25 AT91_PERIPH_C AT91_PINCTRL_PULL_UP | |
| 477 | + AT91_PIOA 25 AT91_PERIPH_C AT91_PINCTRL_PULL_DOWN | |
| 474 | 478 | AT91_PIOA 26 AT91_PERIPH_C AT91_PINCTRL_PULL_UP |
| 475 | − AT91_PIOA 27 AT91_PERIPH_C AT91_PINCTRL_PULL_UP>; | |
| 479 | + AT91_PIOA 27 AT91_PERIPH_C AT91_PINCTRL_PULL_DOWN>; | |
| 476 | 480 | }; |
| 477 | 481 | }; |
| 478 | 482 | |
| @@ -636,6 +640,11 @@ · 157 unmodified lines | ||
| 636 | 640 | }; |
| 637 | 641 | }; |
| 638 | 642 | |
| 643 | +&rtt { | |
| 644 | + atmel,rtt-rtc-time-reg = <&gpbr 0x0>; | |
| 645 | + status = "okay"; | |
| 646 | +}; | |
| 647 | + | |
| 639 | 648 | &shutdown_controller { |
| 640 | 649 | atmel,shdwc-debouncer = <976>; |
| 641 | 650 | status = "okay"; |
| @@ -168,16 +168,6 @@ · 167 unmodified lines | ||
| 168 | 168 | }; |
| 169 | 169 | }; |
| 170 | 170 | |
| 171 | − pdmic@f8018000 { | |
| 172 | − pinctrl-names = "default"; | |
| 173 | − pinctrl-0 = <&pinctrl_pdmic_default>; | |
| 174 | − atmel,model = "PDMIC @ sama5d2_xplained"; | |
| 175 | − atmel,mic-min-freq = <1000000>; | |
| 176 | − atmel,mic-max-freq = <3246000>; | |
| 177 | − atmel,mic-offset = <0x0>; | |
| 178 | − status = "okay"; | |
| 179 | − }; | |
| 180 | − | |
| 181 | 171 | uart1: serial@f8020000 { |
| 182 | 172 | pinctrl-names = "default"; |
| 183 | 173 | pinctrl-0 = <&pinctrl_uart1_default>; |
| @@ -490,14 +480,18 @@ · 306 unmodified lines | ||
| 490 | 480 | bias-pull-up; |
| 491 | 481 | }; |
| 492 | 482 | |
| 493 | − pinctrl_classd_default: classd_default { | |
| 483 | + pinctrl_classd_default_pfets: classd_default_pfets { | |
| 494 | 484 | pinmux = <PIN_PB1__CLASSD_R0>, |
| 495 | − <PIN_PB2__CLASSD_R1>, | |
| 496 | − <PIN_PB3__CLASSD_R2>, | |
| 497 | − <PIN_PB4__CLASSD_R3>; | |
| 485 | + <PIN_PB3__CLASSD_R2>; | |
| 498 | 486 | bias-pull-up; |
| 499 | 487 | }; |
| 500 | 488 | |
| 489 | + pinctrl_classd_default_nfets: classd_default_nfets { | |
| 490 | + pinmux = <PIN_PB2__CLASSD_R1>, | |
| 491 | + <PIN_PB4__CLASSD_R3>; | |
| 492 | + bias-pull-down; | |
| 493 | + }; | |
| 494 | + | |
| 501 | 495 | pinctrl_flx0_default: flx0_default { |
| 502 | 496 | pinmux = <PIN_PB28__FLEXCOM0_IO0>, |
| 503 | 497 | <PIN_PB29__FLEXCOM0_IO1>; |
| @@ -595,12 +589,6 @@ · 91 unmodified lines | ||
| 595 | 589 | bias-disable; |
| 596 | 590 | }; |
| 597 | 591 | |
| 598 | − pinctrl_pdmic_default: pdmic_default { | |
| 599 | − pinmux = <PIN_PB26__PDMIC_DAT>, | |
| 600 | − <PIN_PB27__PDMIC_CLK>; | |
| 601 | − bias-disable; | |
| 602 | − }; | |
| 603 | − | |
| 604 | 592 | pinctrl_qspi0_default: qspi0_default { |
| 605 | 593 | sck_cs { |
| 606 | 594 | pinmux = <PIN_PA22__QSPI0_SCK>, |
| @@ -696,7 +684,7 @@ · 89 unmodified lines | ||
| 696 | 684 | |
| 697 | 685 | classd: classd@fc048000 { |
| 698 | 686 | pinctrl-names = "default"; |
| 699 | − pinctrl-0 = <&pinctrl_classd_default>; | |
| 687 | + pinctrl-0 = <&pinctrl_classd_default_pfets &pinctrl_classd_default_nfets>; | |
| 700 | 688 | atmel,pwm-type = "diff"; |
| 701 | 689 | atmel,non-overlap-time = <10>; |
| 702 | 690 | status = "okay"; |
| @@ -128,7 +128,7 @@ · 127 unmodified lines | ||
| 128 | 128 | }; |
| 129 | 129 | |
| 130 | 130 | macb0: ethernet@f0028000 { |
| 131 | − phy-mode = "rgmii"; | |
| 131 | + phy-mode = "rgmii-rxid"; | |
| 132 | 132 | #address-cells = <1>; |
| 133 | 133 | #size-cells = <0>; |
| 134 | 134 | status = "okay"; |
| @@ -91,7 +91,7 @@ · 90 unmodified lines | ||
| 91 | 91 | <0x20100 0x100>; |
| 92 | 92 | }; |
| 93 | 93 | |
| 94 | − L2: l2-cache@22000 { | |
| 94 | + L2: cache-controller@22000 { | |
| 95 | 95 | compatible = "arm,pl310-cache"; |
| 96 | 96 | reg = <0x22000 0x1000>; |
| 97 | 97 | cache-unified; |
| @@ -104,7 +104,7 @@ · 103 unmodified lines | ||
| 104 | 104 | <0x20100 0x100>; |
| 105 | 105 | }; |
| 106 | 106 | |
| 107 | − L2: l2-cache@22000 { | |
| 107 | + L2: cache-controller@22000 { | |
| 108 | 108 | compatible = "arm,pl310-cache"; |
| 109 | 109 | reg = <0x22000 0x1000>; |
| 110 | 110 | cache-unified; |
| @@ -122,7 +122,7 @@ · 121 unmodified lines | ||
| 122 | 122 | <0x20100 0x100>; |
| 123 | 123 | }; |
| 124 | 124 | |
| 125 | − L2: l2-cache@22000 { | |
| 125 | + L2: cache-controller@22000 { | |
| 126 | 126 | compatible = "arm,pl310-cache"; |
| 127 | 127 | reg = <0x22000 0x1000>; |
| 128 | 128 | cache-unified; |
| @@ -90,7 +90,7 @@ · 89 unmodified lines | ||
| 90 | 90 | reg-io-width = <4>; |
| 91 | 91 | }; |
| 92 | 92 | |
| 93 | − L2: l2-cache@3ff20000 { | |
| 93 | + L2: cache-controller@3ff20000 { | |
| 94 | 94 | compatible = "arm,pl310-cache"; |
| 95 | 95 | reg = <0x3ff20000 0x1000>; |
| 96 | 96 | cache-unified; |
| @@ -69,6 +69,11 @@ · 68 unmodified lines | ||
| 69 | 69 | }; |
| 70 | 70 | |
| 71 | 71 | &firmware { |
| 72 | + firmware_clocks: clocks { | |
| 73 | + compatible = "raspberrypi,firmware-clocks"; | |
| 74 | + #clock-cells = <1>; | |
| 75 | + }; | |
| 76 | + | |
| 72 | 77 | expgpio: gpio { |
| 73 | 78 | compatible = "raspberrypi,firmware-gpio"; |
| 74 | 79 | gpio-controller; |
| @@ -12,6 +12,13 @@ · 11 unmodified lines | ||
| 12 | 12 | |
| 13 | 13 | interrupt-parent = <&gicv2>; |
| 14 | 14 | |
| 15 | + clk_108MHz: clk-108M { | |
| 16 | + #clock-cells = <0>; | |
| 17 | + compatible = "fixed-clock"; | |
| 18 | + clock-frequency = <108000000>; | |
| 19 | + clock-output-names = "108MHz-clock"; | |
| 20 | + }; | |
| 21 | + | |
| 15 | 22 | soc { |
| 16 | 23 | /* |
| 17 | 24 | * Defined ranges: |
| @@ -244,6 +251,14 @@ · 226 unmodified lines | ||
| 244 | 251 | hvs@7e400000 { |
| 245 | 252 | interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>; |
| 246 | 253 | }; |
| 254 | + | |
| 255 | + dvp: clock@7ef00000 { | |
| 256 | + compatible = "brcm,brcm2711-dvp"; | |
| 257 | + reg = <0x7ef00000 0x10>; | |
| 258 | + clocks = <&clk_108MHz>; | |
| 259 | + #clock-cells = <1>; | |
| 260 | + #reset-cells = <1>; | |
| 261 | + }; | |
| 247 | 262 | }; |
| 248 | 263 | |
| 249 | 264 | /* |
| @@ -60,3 +60,28 @@ · 59 unmodified lines | ||
| 60 | 60 | &usb3_phy { |
| 61 | 61 | status = "okay"; |
| 62 | 62 | }; |
| 63 | + | |
| 64 | +&srab { | |
| 65 | + status = "okay"; | |
| 66 | + | |
| 67 | + ports { | |
| 68 | + #address-cells = <1>; | |
| 69 | + #size-cells = <0>; | |
| 70 | + | |
| 71 | + port@0 { | |
| 72 | + reg = <0>; | |
| 73 | + label = "poe"; | |
| 74 | + }; | |
| 75 | + | |
| 76 | + port@4 { | |
| 77 | + reg = <4>; | |
| 78 | + label = "lan"; | |
| 79 | + }; | |
| 80 | + | |
| 81 | + port@5 { | |
| 82 | + reg = <5>; | |
| 83 | + label = "cpu"; | |
| 84 | + ethernet = <&gmac0>; | |
| 85 | + }; | |
| 86 | + }; | |
| 87 | +}; | |
| @@ -67,3 +67,23 @@ · 66 unmodified lines | ||
| 67 | 67 | &usb3_phy { |
| 68 | 68 | status = "okay"; |
| 69 | 69 | }; |
| 70 | + | |
| 71 | +&srab { | |
| 72 | + status = "okay"; | |
| 73 | + | |
| 74 | + ports { | |
| 75 | + #address-cells = <1>; | |
| 76 | + #size-cells = <0>; | |
| 77 | + | |
| 78 | + port@4 { | |
| 79 | + reg = <4>; | |
| 80 | + label = "lan"; | |
| 81 | + }; | |
| 82 | + | |
| 83 | + port@5 { | |
| 84 | + reg = <5>; | |
| 85 | + label = "cpu"; | |
| 86 | + ethernet = <&gmac0>; | |
| 87 | + }; | |
| 88 | + }; | |
| 89 | +}; | |
| @@ -60,3 +60,23 @@ · 59 unmodified lines | ||
| 60 | 60 | &usb3_phy { |
| 61 | 61 | status = "okay"; |
| 62 | 62 | }; |
| 63 | + | |
| 64 | +&srab { | |
| 65 | + status = "okay"; | |
| 66 | + | |
| 67 | + ports { | |
| 68 | + #address-cells = <1>; | |
| 69 | + #size-cells = <0>; | |
| 70 | + | |
| 71 | + port@4 { | |
| 72 | + reg = <4>; | |
| 73 | + label = "poe"; | |
| 74 | + }; | |
| 75 | + | |
| 76 | + port@5 { | |
| 77 | + reg = <5>; | |
| 78 | + label = "cpu"; | |
| 79 | + ethernet = <&gmac0>; | |
| 80 | + }; | |
| 81 | + }; | |
| 82 | +}; | |
| @@ -108,3 +108,43 @@ · 107 unmodified lines | ||
| 108 | 108 | &usb3_phy { |
| 109 | 109 | status = "okay"; |
| 110 | 110 | }; |
| 111 | + | |
| 112 | +&srab { | |
| 113 | + status = "okay"; | |
| 114 | + | |
| 115 | + ports { | |
| 116 | + #address-cells = <1>; | |
| 117 | + #size-cells = <0>; | |
| 118 | + | |
| 119 | + port@0 { | |
| 120 | + reg = <0>; | |
| 121 | + label = "lan4"; | |
| 122 | + }; | |
| 123 | + | |
| 124 | + port@1 { | |
| 125 | + reg = <1>; | |
| 126 | + label = "lan3"; | |
| 127 | + }; | |
| 128 | + | |
| 129 | + port@2 { | |
| 130 | + reg = <2>; | |
| 131 | + label = "lan2"; | |
| 132 | + }; | |
| 133 | + | |
| 134 | + port@3 { | |
| 135 | + reg = <3>; | |
| 136 | + label = "lan1"; | |
| 137 | + }; | |
| 138 | + | |
| 139 | + port@4 { | |
| 140 | + reg = <4>; | |
| 141 | + label = "wan"; | |
| 142 | + }; | |
| 143 | + | |
| 144 | + port@5 { | |
| 145 | + reg = <5>; | |
| 146 | + label = "cpu"; | |
| 147 | + ethernet = <&gmac0>; | |
| 148 | + }; | |
| 149 | + }; | |
| 150 | +}; | |
| @@ -54,3 +54,28 @@ · 53 unmodified lines | ||
| 54 | 54 | &spi_nor { |
| 55 | 55 | status = "okay"; |
| 56 | 56 | }; |
| 57 | + | |
| 58 | +&srab { | |
| 59 | + status = "okay"; | |
| 60 | + | |
| 61 | + ports { | |
| 62 | + #address-cells = <1>; | |
| 63 | + #size-cells = <0>; | |
| 64 | + | |
| 65 | + port@0 { | |
| 66 | + reg = <0>; | |
| 67 | + label = "poe"; | |
| 68 | + }; | |
| 69 | + | |
| 70 | + port@1 { | |
| 71 | + reg = <1>; | |
| 72 | + label = "lan"; | |
| 73 | + }; | |
| 74 | + | |
| 75 | + port@5 { | |
| 76 | + reg = <5>; | |
| 77 | + label = "cpu"; | |
| 78 | + ethernet = <&gmac0>; | |
| 79 | + }; | |
| 80 | + }; | |
| 81 | +}; | |
| @@ -52,3 +52,23 @@ · 51 unmodified lines | ||
| 52 | 52 | &spi_nor { |
| 53 | 53 | status = "okay"; |
| 54 | 54 | }; |
| 55 | + | |
| 56 | +&srab { | |
| 57 | + status = "okay"; | |
| 58 | + | |
| 59 | + ports { | |
| 60 | + #address-cells = <1>; | |
| 61 | + #size-cells = <0>; | |
| 62 | + | |
| 63 | + port@0 { | |
| 64 | + reg = <0>; | |
| 65 | + label = "lan"; | |
| 66 | + }; | |
| 67 | + | |
| 68 | + port@5 { | |
| 69 | + reg = <5>; | |
| 70 | + label = "cpu"; | |
| 71 | + ethernet = <&gmac0>; | |
| 72 | + }; | |
| 73 | + }; | |
| 74 | +}; | |
| @@ -103,3 +103,43 @@ · 102 unmodified lines | ||
| 103 | 103 | &usb3_phy { |
| 104 | 104 | status = "okay"; |
| 105 | 105 | }; |
| 106 | + | |
| 107 | +&srab { | |
| 108 | + status = "okay"; | |
| 109 | + | |
| 110 | + ports { | |
| 111 | + #address-cells = <1>; | |
| 112 | + #size-cells = <0>; | |
| 113 | + | |
| 114 | + port@0 { | |
| 115 | + reg = <0>; | |
| 116 | + label = "lan4"; | |
| 117 | + }; | |
| 118 | + | |
| 119 | + port@1 { | |
| 120 | + reg = <1>; | |
| 121 | + label = "lan3"; | |
| 122 | + }; | |
| 123 | + | |
| 124 | + port@2 { | |
| 125 | + reg = <2>; | |
| 126 | + label = "lan2"; | |
| 127 | + }; | |
| 128 | + | |
| 129 | + port@3 { | |
| 130 | + reg = <3>; | |
| 131 | + label = "lan1"; | |
| 132 | + }; | |
| 133 | + | |
| 134 | + port@4 { | |
| 135 | + reg = <4>; | |
| 136 | + label = "wan"; | |
| 137 | + }; | |
| 138 | + | |
| 139 | + port@5 { | |
| 140 | + reg = <5>; | |
| 141 | + label = "cpu"; | |
| 142 | + ethernet = <&gmac0>; | |
| 143 | + }; | |
| 144 | + }; | |
| 145 | +}; | |
| @@ -74,3 +74,43 @@ · 73 unmodified lines | ||
| 74 | 74 | &spi_nor { |
| 75 | 75 | status = "okay"; |
| 76 | 76 | }; |
| 77 | + | |
| 78 | +&srab { | |
| 79 | + status = "okay"; | |
| 80 | + | |
| 81 | + ports { | |
| 82 | + #address-cells = <1>; | |
| 83 | + #size-cells = <0>; | |
| 84 | + | |
| 85 | + port@0 { | |
| 86 | + reg = <0>; | |
| 87 | + label = "lan4"; | |
| 88 | + }; | |
| 89 | + | |
| 90 | + port@1 { | |
| 91 | + reg = <1>; | |
| 92 | + label = "lan3"; | |
| 93 | + }; | |
| 94 | + | |
| 95 | + port@2 { | |
| 96 | + reg = <2>; | |
| 97 | + label = "lan2"; | |
| 98 | + }; | |
| 99 | + | |
| 100 | + port@3 { | |
| 101 | + reg = <3>; | |
| 102 | + label = "lan1"; | |
| 103 | + }; | |
| 104 | + | |
| 105 | + port@4 { | |
| 106 | + reg = <4>; | |
| 107 | + label = "wan"; | |
| 108 | + }; | |
| 109 | + | |
| 110 | + port@5 { | |
| 111 | + reg = <5>; | |
| 112 | + label = "cpu"; | |
| 113 | + ethernet = <&gmac0>; | |
| 114 | + }; | |
| 115 | + }; | |
| 116 | +}; | |
| @@ -106,7 +106,7 @@ · 105 unmodified lines | ||
| 106 | 106 | status = "disabled"; |
| 107 | 107 | }; |
| 108 | 108 | |
| 109 | − l2: l2-cache-controller@ac0000 { | |
| 109 | + l2: cache-controller@ac0000 { | |
| 110 | 110 | compatible = "marvell,tauros3-cache", "arm,pl310-cache"; |
| 111 | 111 | reg = <0xac0000 0x1000>; |
| 112 | 112 | cache-unified; |
| @@ -71,7 +71,7 @@ · 70 unmodified lines | ||
| 71 | 71 | status = "disabled"; |
| 72 | 72 | }; |
| 73 | 73 | |
| 74 | − l2: l2-cache-controller@ac0000 { | |
| 74 | + l2: cache-controller@ac0000 { | |
| 75 | 75 | compatible = "arm,pl310-cache"; |
| 76 | 76 | reg = <0xac0000 0x1000>; |
| 77 | 77 | cache-unified; |
| @@ -149,7 +149,7 @@ · 148 unmodified lines | ||
| 149 | 149 | status = "disabled"; |
| 150 | 150 | }; |
| 151 | 151 | |
| 152 | − l2: l2-cache-controller@ac0000 { | |
| 152 | + l2: cache-controller@ac0000 { | |
| 153 | 153 | compatible = "arm,pl310-cache"; |
| 154 | 154 | reg = <0xac0000 0x1000>; |
| 155 | 155 | cache-unified; |
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | /* |
| 2 | 2 | * Device Tree Source for DRA7x SoC DSPEVE thermal |
| 3 | 3 | * |
| 4 | − * Copyright (C) 2016 Texas Instruments Incorporated - http://www.ti.com/ | |
| 4 | + * Copyright (C) 2016 Texas Instruments Incorporated - https://www.ti.com/ | |
| 5 | 5 | * |
| 6 | 6 | * This file is licensed under the terms of the GNU General Public License |
| 7 | 7 | * version 2. This program is licensed "as is" without any warranty of any |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2017 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | #include "dra74-ipu-dsp-common.dtsi" |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | /dts-v1/; |
| 6 | 6 | |
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | /* |
| 2 | 2 | * Device Tree Source for DRA7x SoC IVA thermal |
| 3 | 3 | * |
| 4 | − * Copyright (C) 2016 Texas Instruments Incorporated - http://www.ti.com/ | |
| 4 | + * Copyright (C) 2016 Texas Instruments Incorporated - https://www.ti.com/ | |
| 5 | 5 | * |
| 6 | 6 | * This file is licensed under the terms of the GNU General Public License |
| 7 | 7 | * version 2. This program is licensed "as is" without any warranty of any |
| @@ -4005,7 +4005,6 @@ · 4004 unmodified lines | ||
| 4005 | 4005 | |
| 4006 | 4006 | target-module@80000 { /* 0x48880000, ap 83 0e.1 */ |
| 4007 | 4007 | compatible = "ti,sysc-omap4", "ti,sysc"; |
| 4008 | − ti,hwmods = "usb_otg_ss1"; | |
| 4009 | 4008 | reg = <0x80000 0x4>, |
| 4010 | 4009 | <0x80010 0x4>; |
| 4011 | 4010 | reg-names = "rev", "sysc"; |
| @@ -4055,7 +4054,6 @@ · 43 unmodified lines | ||
| 4055 | 4054 | |
| 4056 | 4055 | target-module@c0000 { /* 0x488c0000, ap 79 06.0 */ |
| 4057 | 4056 | compatible = "ti,sysc-omap4", "ti,sysc"; |
| 4058 | − ti,hwmods = "usb_otg_ss2"; | |
| 4059 | 4057 | reg = <0xc0000 0x4>, |
| 4060 | 4058 | <0xc0010 0x4>; |
| 4061 | 4059 | reg-names = "rev", "sysc"; |
| @@ -4106,7 +4104,6 @@ · 44 unmodified lines | ||
| 4106 | 4104 | |
| 4107 | 4105 | usb3_tm: target-module@100000 { /* 0x48900000, ap 85 04.0 */ |
| 4108 | 4106 | compatible = "ti,sysc-omap4", "ti,sysc"; |
| 4109 | − ti,hwmods = "usb_otg_ss3"; | |
| 4110 | 4107 | reg = <0x100000 0x4>, |
| 4111 | 4108 | <0x100010 0x4>; |
| 4112 | 4109 | reg-names = "rev", "sysc"; |
| @@ -4155,7 +4152,6 @@ · 42 unmodified lines | ||
| 4155 | 4152 | |
| 4156 | 4153 | usb4_tm: target-module@140000 { /* 0x48940000, ap 75 3c.0 */ |
| 4157 | 4154 | compatible = "ti,sysc-omap4", "ti,sysc"; |
| 4158 | − ti,hwmods = "usb_otg_ss4"; | |
| 4159 | 4155 | reg = <0x140000 0x4>, |
| 4160 | 4156 | <0x140010 0x4>; |
| 4161 | 4157 | reg-names = "rev", "sysc"; |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | * |
| 5 | 5 | * Based on "omap4.dtsi" |
| 6 | 6 | */ |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2016 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2016 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | #include "dra71x.dtsi" |
| @@ -1,5 +1,5 @@ | ||
| 1 | 1 | /* |
| 2 | − * Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com/ | |
| 2 | + * Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com/ | |
| 3 | 3 | * |
| 4 | 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | 5 | * it under the terms of the GNU General Public License version 2 as |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2014-2016 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2014-2016 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | /dts-v1/; |
| 6 | 6 | |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2016 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2016 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | #include "dra72-evm-common.dtsi" |
| 6 | 6 | #include "dra72x-mmc-iodelay.dtsi" |
| @@ -1,11 +1,11 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2016 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2016 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | /* |
| 7 | 7 | * Integrated Power Management Chip |
| 8 | − * http://www.ti.com/lit/ds/symlink/tps65917-q1.pdf | |
| 8 | + * https://www.ti.com/lit/ds/symlink/tps65917-q1.pdf | |
| 9 | 9 | */ |
| 10 | 10 | |
| 11 | 11 | &tps65917 { |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2014-2016 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2014-2016 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | #include "dra72-evm-common.dtsi" |
| 6 | 6 | #include "dra72x-mmc-iodelay.dtsi" |
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | /* |
| 2 | 2 | * MMC IOdelay values for TI's DRA72x, DRA71x and AM571x SoCs. |
| 3 | 3 | * |
| 4 | − * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/ | |
| 4 | + * Copyright (C) 2017 Texas Instruments Incorporated - https://www.ti.com/ | |
| 5 | 5 | * |
| 6 | 6 | * This program is free software; you can redistribute it and/or |
| 7 | 7 | * modify it under the terms of the GNU General Public License as |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2014 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | * |
| 5 | 5 | * Based on "omap4.dtsi" |
| 6 | 6 | */ |
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | /* |
| 2 | 2 | * MMC IOdelay values for TI's DRA74x, DRA75x and AM572x SoCs. |
| 3 | 3 | * |
| 4 | − * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/ | |
| 4 | + * Copyright (C) 2017 Texas Instruments Incorporated - https://www.ti.com/ | |
| 5 | 5 | * |
| 6 | 6 | * This program is free software; you can redistribute it and/or |
| 7 | 7 | * modify it under the terms of the GNU General Public License as |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2014 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | * |
| 5 | 5 | * Based on "omap4.dtsi" |
| 6 | 6 | */ |
| @@ -49,27 +49,47 @@ · 42 unmodified lines | ||
| 49 | 49 | reg = <0x41500000 0x100>; |
| 50 | 50 | }; |
| 51 | 51 | |
| 52 | − omap_dwc3_4: omap_dwc3_4@48940000 { | |
| 53 | − compatible = "ti,dwc3"; | |
| 54 | − ti,hwmods = "usb_otg_ss4"; | |
| 55 | − reg = <0x48940000 0x10000>; | |
| 56 | − interrupts = <GIC_SPI 346 IRQ_TYPE_LEVEL_HIGH>; | |
| 52 | + target-module@48940000 { | |
| 53 | + compatible = "ti,sysc-omap4", "ti,sysc"; | |
| 54 | + reg = <0x48940000 0x4>, | |
| 55 | + <0x48940010 0x4>; | |
| 56 | + reg-names = "rev", "sysc"; | |
| 57 | + ti,sysc-mask = <SYSC_OMAP4_DMADISABLE>; | |
| 58 | + ti,sysc-midle = <SYSC_IDLE_FORCE>, | |
| 59 | + <SYSC_IDLE_NO>, | |
| 60 | + <SYSC_IDLE_SMART>, | |
| 61 | + <SYSC_IDLE_SMART_WKUP>; | |
| 62 | + ti,sysc-sidle = <SYSC_IDLE_FORCE>, | |
| 63 | + <SYSC_IDLE_NO>, | |
| 64 | + <SYSC_IDLE_SMART>, | |
| 65 | + <SYSC_IDLE_SMART_WKUP>; | |
| 66 | + clocks = <&l3init_clkctrl DRA7_L3INIT_USB_OTG_SS4_CLKCTRL 0>; | |
| 67 | + clock-names = "fck"; | |
| 57 | 68 | #address-cells = <1>; |
| 58 | 69 | #size-cells = <1>; |
| 59 | − utmi-mode = <2>; | |
| 60 | − ranges; | |
| 61 | − status = "disabled"; | |
| 62 | − usb4: usb@48950000 { | |
| 63 | − compatible = "snps,dwc3"; | |
| 64 | − reg = <0x48950000 0x17000>; | |
| 65 | − interrupts = <GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>, | |
| 66 | − <GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>, | |
| 67 | − <GIC_SPI 346 IRQ_TYPE_LEVEL_HIGH>; | |
| 68 | − interrupt-names = "peripheral", | |
| 69 | − "host", | |
| 70 | − "otg"; | |
| 71 | − maximum-speed = "high-speed"; | |
| 72 | − dr_mode = "otg"; | |
| 70 | + ranges = <0x0 0x48940000 0x20000>; | |
| 71 | + | |
| 72 | + omap_dwc3_4: omap_dwc3_4@0 { | |
| 73 | + compatible = "ti,dwc3"; | |
| 74 | + reg = <0 0x10000>; | |
| 75 | + interrupts = <GIC_SPI 346 IRQ_TYPE_LEVEL_HIGH>; | |
| 76 | + #address-cells = <1>; | |
| 77 | + #size-cells = <1>; | |
| 78 | + utmi-mode = <2>; | |
| 79 | + ranges; | |
| 80 | + status = "disabled"; | |
| 81 | + usb4: usb@10000 { | |
| 82 | + compatible = "snps,dwc3"; | |
| 83 | + reg = <0x10000 0x17000>; | |
| 84 | + interrupts = <GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>, | |
| 85 | + <GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>, | |
| 86 | + <GIC_SPI 346 IRQ_TYPE_LEVEL_HIGH>; | |
| 87 | + interrupt-names = "peripheral", | |
| 88 | + "host", | |
| 89 | + "otg"; | |
| 90 | + maximum-speed = "high-speed"; | |
| 91 | + dr_mode = "otg"; | |
| 92 | + }; | |
| 73 | 93 | }; |
| 74 | 94 | }; |
| 75 | 95 | |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2017 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | /dts-v1/; |
| 6 | 6 | |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2017 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | #include "dra74x.dtsi" |
| @@ -352,6 +352,14 @@ · 351 unmodified lines | ||
| 352 | 352 | }; |
| 353 | 353 | |
| 354 | 354 | &pinctrl_1 { |
| 355 | + bten: bten { | |
| 356 | + samsung,pins ="gpx1-7"; | |
| 357 | + samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; | |
| 358 | + samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>; | |
| 359 | + samsung,pin-con-pdn = <EXYNOS_PIN_PDN_PREV>; | |
| 360 | + samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_DOWN>; | |
| 361 | + }; | |
| 362 | + | |
| 355 | 363 | wlanen: wlanen { |
| 356 | 364 | samsung,pins = "gpx2-3"; |
| 357 | 365 | samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; |
| @@ -364,6 +372,22 @@ · 6 unmodified lines | ||
| 364 | 372 | samsung,pins = "gpx3-5"; |
| 365 | 373 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; |
| 366 | 374 | }; |
| 375 | + | |
| 376 | + bthostwake: bthostwake { | |
| 377 | + samsung,pins = "gpx3-6"; | |
| 378 | + samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>; | |
| 379 | + samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; | |
| 380 | + samsung,pin-con-pdn = <EXYNOS_PIN_PDN_INPUT>; | |
| 381 | + samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_NONE>; | |
| 382 | + }; | |
| 383 | + | |
| 384 | + btwake: btwake { | |
| 385 | + samsung,pins = "gpx3-7"; | |
| 386 | + samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; | |
| 387 | + samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>; | |
| 388 | + samsung,pin-con-pdn = <EXYNOS_PIN_PDN_OUT0>; | |
| 389 | + samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_DOWN>; | |
| 390 | + }; | |
| 367 | 391 | }; |
| 368 | 392 | |
| 369 | 393 | &rtc { |
| @@ -372,6 +396,23 @@ · 2 unmodified lines | ||
| 372 | 396 | status = "okay"; |
| 373 | 397 | }; |
| 374 | 398 | |
| 399 | +&serial_0 { | |
| 400 | + assigned-clocks = <&cmu CLK_SCLK_UART0>; | |
| 401 | + assigned-clock-rates = <100000000>; | |
| 402 | + status = "okay"; | |
| 403 | + | |
| 404 | + bluetooth { | |
| 405 | + compatible = "brcm,bcm4330-bt"; | |
| 406 | + pinctrl-names = "default"; | |
| 407 | + pinctrl-0 = <&bten &btwake &bthostwake>; | |
| 408 | + max-speed = <3000000>; | |
| 409 | + shutdown-gpios = <&gpx1 7 GPIO_ACTIVE_HIGH>; | |
| 410 | + device-wakeup-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>; | |
| 411 | + host-wakeup-gpios = <&gpx3 6 GPIO_ACTIVE_HIGH>; | |
| 412 | + clocks = <&s2mps14_osc S2MPS11_CLK_BT>; | |
| 413 | + }; | |
| 414 | +}; | |
| 415 | + | |
| 375 | 416 | &tmu { |
| 376 | 417 | status = "okay"; |
| 377 | 418 | }; |
| @@ -418,33 +418,26 @@ · 417 unmodified lines | ||
| 418 | 418 | status = "disabled"; |
| 419 | 419 | }; |
| 420 | 420 | |
| 421 | − amba { | |
| 422 | − compatible = "simple-bus"; | |
| 423 | − #address-cells = <1>; | |
| 424 | − #size-cells = <1>; | |
| 425 | − ranges; | |
| 426 | − | |
| 427 | − pdma0: pdma@12680000 { | |
| 428 | − compatible = "arm,pl330", "arm,primecell"; | |
| 429 | − reg = <0x12680000 0x1000>; | |
| 430 | − interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>; | |
| 431 | − clocks = <&cmu CLK_PDMA0>; | |
| 432 | − clock-names = "apb_pclk"; | |
| 433 | − #dma-cells = <1>; | |
| 434 | − #dma-channels = <8>; | |
| 435 | − #dma-requests = <32>; | |
| 436 | − }; | |
| 437 | − | |
| 438 | − pdma1: pdma@12690000 { | |
| 439 | − compatible = "arm,pl330", "arm,primecell"; | |
| 440 | − reg = <0x12690000 0x1000>; | |
| 441 | − interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>; | |
| 442 | − clocks = <&cmu CLK_PDMA1>; | |
| 443 | − clock-names = "apb_pclk"; | |
| 444 | − #dma-cells = <1>; | |
| 445 | − #dma-channels = <8>; | |
| 446 | − #dma-requests = <32>; | |
| 447 | − }; | |
| 421 | + pdma0: pdma@12680000 { | |
| 422 | + compatible = "arm,pl330", "arm,primecell"; | |
| 423 | + reg = <0x12680000 0x1000>; | |
| 424 | + interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>; | |
| 425 | + clocks = <&cmu CLK_PDMA0>; | |
| 426 | + clock-names = "apb_pclk"; | |
| 427 | + #dma-cells = <1>; | |
| 428 | + #dma-channels = <8>; | |
| 429 | + #dma-requests = <32>; | |
| 430 | + }; | |
| 431 | + | |
| 432 | + pdma1: pdma@12690000 { | |
| 433 | + compatible = "arm,pl330", "arm,primecell"; | |
| 434 | + reg = <0x12690000 0x1000>; | |
| 435 | + interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>; | |
| 436 | + clocks = <&cmu CLK_PDMA1>; | |
| 437 | + clock-names = "apb_pclk"; | |
| 438 | + #dma-cells = <1>; | |
| 439 | + #dma-channels = <8>; | |
| 440 | + #dma-requests = <32>; | |
| 448 | 441 | }; |
| 449 | 442 | |
| 450 | 443 | adc: adc@126c0000 { |
| @@ -669,45 +669,37 @@ · 668 unmodified lines | ||
| 669 | 669 | status = "disabled"; |
| 670 | 670 | }; |
| 671 | 671 | |
| 672 | − amba: amba { | |
| 673 | − #address-cells = <1>; | |
| 674 | − #size-cells = <1>; | |
| 675 | − compatible = "simple-bus"; | |
| 676 | − interrupt-parent = <&gic>; | |
| 677 | − ranges; | |
| 678 | − | |
| 679 | − pdma0: pdma@12680000 { | |
| 680 | − compatible = "arm,pl330", "arm,primecell"; | |
| 681 | − reg = <0x12680000 0x1000>; | |
| 682 | − interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; | |
| 683 | − clocks = <&clock CLK_PDMA0>; | |
| 684 | − clock-names = "apb_pclk"; | |
| 685 | − #dma-cells = <1>; | |
| 686 | − #dma-channels = <8>; | |
| 687 | − #dma-requests = <32>; | |
| 688 | − }; | |
| 689 | − | |
| 690 | − pdma1: pdma@12690000 { | |
| 691 | − compatible = "arm,pl330", "arm,primecell"; | |
| 692 | − reg = <0x12690000 0x1000>; | |
| 693 | − interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>; | |
| 694 | − clocks = <&clock CLK_PDMA1>; | |
| 695 | − clock-names = "apb_pclk"; | |
| 696 | − #dma-cells = <1>; | |
| 697 | − #dma-channels = <8>; | |
| 698 | − #dma-requests = <32>; | |
| 699 | − }; | |
| 700 | − | |
| 701 | − mdma1: mdma@12850000 { | |
| 702 | − compatible = "arm,pl330", "arm,primecell"; | |
| 703 | − reg = <0x12850000 0x1000>; | |
| 704 | − interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; | |
| 705 | − clocks = <&clock CLK_MDMA>; | |
| 706 | − clock-names = "apb_pclk"; | |
| 707 | − #dma-cells = <1>; | |
| 708 | − #dma-channels = <8>; | |
| 709 | − #dma-requests = <1>; | |
| 710 | − }; | |
| 672 | + pdma0: pdma@12680000 { | |
| 673 | + compatible = "arm,pl330", "arm,primecell"; | |
| 674 | + reg = <0x12680000 0x1000>; | |
| 675 | + interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; | |
| 676 | + clocks = <&clock CLK_PDMA0>; | |
| 677 | + clock-names = "apb_pclk"; | |
| 678 | + #dma-cells = <1>; | |
| 679 | + #dma-channels = <8>; | |
| 680 | + #dma-requests = <32>; | |
| 681 | + }; | |
| 682 | + | |
| 683 | + pdma1: pdma@12690000 { | |
| 684 | + compatible = "arm,pl330", "arm,primecell"; | |
| 685 | + reg = <0x12690000 0x1000>; | |
| 686 | + interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>; | |
| 687 | + clocks = <&clock CLK_PDMA1>; | |
| 688 | + clock-names = "apb_pclk"; | |
| 689 | + #dma-cells = <1>; | |
| 690 | + #dma-channels = <8>; | |
| 691 | + #dma-requests = <32>; | |
| 692 | + }; | |
| 693 | + | |
| 694 | + mdma1: mdma@12850000 { | |
| 695 | + compatible = "arm,pl330", "arm,primecell"; | |
| 696 | + reg = <0x12850000 0x1000>; | |
| 697 | + interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; | |
| 698 | + clocks = <&clock CLK_MDMA>; | |
| 699 | + clock-names = "apb_pclk"; | |
| 700 | + #dma-cells = <1>; | |
| 701 | + #dma-channels = <8>; | |
| 702 | + #dma-requests = <1>; | |
| 711 | 703 | }; |
| 712 | 704 | |
| 713 | 705 | fimd: fimd@11c00000 { |
| @@ -30,62 +30,58 @@ · 29 unmodified lines | ||
| 30 | 30 | stdout-path = "serial2:115200n8"; |
| 31 | 31 | }; |
| 32 | 32 | |
| 33 | − regulators { | |
| 34 | − compatible = "simple-bus"; | |
| 35 | − | |
| 36 | − vemmc_reg: regulator-0 { | |
| 37 | − compatible = "regulator-fixed"; | |
| 38 | − regulator-name = "VMEM_VDD_2.8V"; | |
| 39 | − regulator-min-microvolt = <2800000>; | |
| 40 | − regulator-max-microvolt = <2800000>; | |
| 41 | − gpio = <&gpk0 2 GPIO_ACTIVE_HIGH>; | |
| 42 | − enable-active-high; | |
| 43 | − }; | |
| 33 | + vemmc_reg: regulator-0 { | |
| 34 | + compatible = "regulator-fixed"; | |
| 35 | + regulator-name = "VMEM_VDD_2.8V"; | |
| 36 | + regulator-min-microvolt = <2800000>; | |
| 37 | + regulator-max-microvolt = <2800000>; | |
| 38 | + gpio = <&gpk0 2 GPIO_ACTIVE_HIGH>; | |
| 39 | + enable-active-high; | |
| 40 | + }; | |
| 44 | 41 | |
| 45 | − tsp_reg: regulator-1 { | |
| 46 | − compatible = "regulator-fixed"; | |
| 47 | − regulator-name = "TSP_FIXED_VOLTAGES"; | |
| 48 | − regulator-min-microvolt = <2800000>; | |
| 49 | − regulator-max-microvolt = <2800000>; | |
| 50 | − gpio = <&gpl0 3 GPIO_ACTIVE_HIGH>; | |
| 51 | − enable-active-high; | |
| 52 | − }; | |
| 42 | + tsp_reg: regulator-1 { | |
| 43 | + compatible = "regulator-fixed"; | |
| 44 | + regulator-name = "TSP_FIXED_VOLTAGES"; | |
| 45 | + regulator-min-microvolt = <2800000>; | |
| 46 | + regulator-max-microvolt = <2800000>; | |
| 47 | + gpio = <&gpl0 3 GPIO_ACTIVE_HIGH>; | |
| 48 | + enable-active-high; | |
| 49 | + }; | |
| 53 | 50 | |
| 54 | − cam_af_28v_reg: regulator-2 { | |
| 55 | − compatible = "regulator-fixed"; | |
| 56 | − regulator-name = "8M_AF_2.8V_EN"; | |
| 57 | − regulator-min-microvolt = <2800000>; | |
| 58 | − regulator-max-microvolt = <2800000>; | |
| 59 | − gpio = <&gpk1 1 GPIO_ACTIVE_HIGH>; | |
| 60 | − enable-active-high; | |
| 61 | − }; | |
| 51 | + cam_af_28v_reg: regulator-2 { | |
| 52 | + compatible = "regulator-fixed"; | |
| 53 | + regulator-name = "8M_AF_2.8V_EN"; | |
| 54 | + regulator-min-microvolt = <2800000>; | |
| 55 | + regulator-max-microvolt = <2800000>; | |
| 56 | + gpio = <&gpk1 1 GPIO_ACTIVE_HIGH>; | |
| 57 | + enable-active-high; | |
| 58 | + }; | |
| 62 | 59 | |
| 63 | − cam_io_en_reg: regulator-3 { | |
| 64 | − compatible = "regulator-fixed"; | |
| 65 | − regulator-name = "CAM_IO_EN"; | |
| 66 | − regulator-min-microvolt = <2800000>; | |
| 67 | − regulator-max-microvolt = <2800000>; | |
| 68 | − gpio = <&gpe2 1 GPIO_ACTIVE_HIGH>; | |
| 69 | − enable-active-high; | |
| 70 | − }; | |
| 60 | + cam_io_en_reg: regulator-3 { | |
| 61 | + compatible = "regulator-fixed"; | |
| 62 | + regulator-name = "CAM_IO_EN"; | |
| 63 | + regulator-min-microvolt = <2800000>; | |
| 64 | + regulator-max-microvolt = <2800000>; | |
| 65 | + gpio = <&gpe2 1 GPIO_ACTIVE_HIGH>; | |
| 66 | + enable-active-high; | |
| 67 | + }; | |
| 71 | 68 | |
| 72 | − cam_io_12v_reg: regulator-4 { | |
| 73 | − compatible = "regulator-fixed"; | |
| 74 | − regulator-name = "8M_1.2V_EN"; | |
| 75 | − regulator-min-microvolt = <1200000>; | |
| 76 | − regulator-max-microvolt = <1200000>; | |
| 77 | − gpio = <&gpe2 5 GPIO_ACTIVE_HIGH>; | |
| 78 | − enable-active-high; | |
| 79 | − }; | |
| 69 | + cam_io_12v_reg: regulator-4 { | |
| 70 | + compatible = "regulator-fixed"; | |
| 71 | + regulator-name = "8M_1.2V_EN"; | |
| 72 | + regulator-min-microvolt = <1200000>; | |
| 73 | + regulator-max-microvolt = <1200000>; | |
| 74 | + gpio = <&gpe2 5 GPIO_ACTIVE_HIGH>; | |
| 75 | + enable-active-high; | |
| 76 | + }; | |
| 80 | 77 | |
| 81 | − vt_core_15v_reg: regulator-5 { | |
| 82 | − compatible = "regulator-fixed"; | |
| 83 | − regulator-name = "VT_CORE_1.5V"; | |
| 84 | − regulator-min-microvolt = <1500000>; | |
| 85 | − regulator-max-microvolt = <1500000>; | |
| 86 | − gpio = <&gpe2 2 GPIO_ACTIVE_HIGH>; | |
| 87 | − enable-active-high; | |
| 88 | − }; | |
| 78 | + vt_core_15v_reg: regulator-5 { | |
| 79 | + compatible = "regulator-fixed"; | |
| 80 | + regulator-name = "VT_CORE_1.5V"; | |
| 81 | + regulator-min-microvolt = <1500000>; | |
| 82 | + regulator-max-microvolt = <1500000>; | |
| 83 | + gpio = <&gpe2 2 GPIO_ACTIVE_HIGH>; | |
| 84 | + enable-active-high; | |
| 89 | 85 | }; |
| 90 | 86 | |
| 91 | 87 | gpio-keys { |
| @@ -181,20 +181,6 @@ · 180 unmodified lines | ||
| 181 | 181 | }; |
| 182 | 182 | }; |
| 183 | 183 | |
| 184 | −&amba { | |
| 185 | − mdma0: mdma@12840000 { | |
| 186 | − compatible = "arm,pl330", "arm,primecell"; | |
| 187 | − reg = <0x12840000 0x1000>; | |
| 188 | − interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; | |
| 189 | − clocks = <&clock CLK_MDMA>; | |
| 190 | − clock-names = "apb_pclk"; | |
| 191 | − #dma-cells = <1>; | |
| 192 | − #dma-channels = <8>; | |
| 193 | − #dma-requests = <1>; | |
| 194 | − power-domains = <&pd_lcd0>; | |
| 195 | − }; | |
| 196 | −}; | |
| 197 | − | |
| 198 | 184 | &camera { |
| 199 | 185 | status = "okay"; |
| 200 | 186 | |
| @@ -616,6 +602,20 @@ · 415 unmodified lines | ||
| 616 | 602 | /delete-property/dma-names; |
| 617 | 603 | }; |
| 618 | 604 | |
| 605 | +&soc { | |
| 606 | + mdma0: mdma@12840000 { | |
| 607 | + compatible = "arm,pl330", "arm,primecell"; | |
| 608 | + reg = <0x12840000 0x1000>; | |
| 609 | + interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; | |
| 610 | + clocks = <&clock CLK_MDMA>; | |
| 611 | + clock-names = "apb_pclk"; | |
| 612 | + #dma-cells = <1>; | |
| 613 | + #dma-channels = <8>; | |
| 614 | + #dma-requests = <1>; | |
| 615 | + power-domains = <&pd_lcd0>; | |
| 616 | + }; | |
| 617 | +}; | |
| 618 | + | |
| 619 | 619 | &sysram { |
| 620 | 620 | smp-sram@0 { |
| 621 | 621 | status = "disabled"; |
| @@ -97,7 +97,7 @@ · 96 unmodified lines | ||
| 97 | 97 | label = "LCD1"; |
| 98 | 98 | }; |
| 99 | 99 | |
| 100 | − l2c: l2-cache-controller@10502000 { | |
| 100 | + l2c: cache-controller@10502000 { | |
| 101 | 101 | compatible = "arm,pl310-cache"; |
| 102 | 102 | reg = <0x10502000 0x1000>; |
| 103 | 103 | cache-unified; |
| @@ -33,20 +33,13 @@ · 32 unmodified lines | ||
| 33 | 33 | reg = <0x0203F000 0x1000>; |
| 34 | 34 | }; |
| 35 | 35 | |
| 36 | − regulators { | |
| 37 | − compatible = "simple-bus"; | |
| 38 | − #address-cells = <1>; | |
| 39 | − #size-cells = <0>; | |
| 40 | − | |
| 41 | − mmc_reg: regulator@0 { | |
| 42 | − compatible = "regulator-fixed"; | |
| 43 | − reg = <0>; | |
| 44 | − regulator-name = "VMEM_VDD_2.8V"; | |
| 45 | − regulator-min-microvolt = <2800000>; | |
| 46 | − regulator-max-microvolt = <2800000>; | |
| 47 | − gpio = <&gpx1 1 GPIO_ACTIVE_HIGH>; | |
| 48 | − enable-active-high; | |
| 49 | − }; | |
| 36 | + mmc_reg: regulator-0 { | |
| 37 | + compatible = "regulator-fixed"; | |
| 38 | + regulator-name = "VMEM_VDD_2.8V"; | |
| 39 | + regulator-min-microvolt = <2800000>; | |
| 40 | + regulator-max-microvolt = <2800000>; | |
| 41 | + gpio = <&gpx1 1 GPIO_ACTIVE_HIGH>; | |
| 42 | + enable-active-high; | |
| 50 | 43 | }; |
| 51 | 44 | |
| 52 | 45 | display-timings { |
| @@ -213,7 +213,7 @@ · 212 unmodified lines | ||
| 213 | 213 | label = "ISP"; |
| 214 | 214 | }; |
| 215 | 215 | |
| 216 | − l2c: l2-cache-controller@10502000 { | |
| 216 | + l2c: cache-controller@10502000 { | |
| 217 | 217 | compatible = "arm,pl310-cache"; |
| 218 | 218 | reg = <0x10502000 0x1000>; |
| 219 | 219 | cache-unified; |
| @@ -84,60 +84,48 @@ · 83 unmodified lines | ||
| 84 | 84 | }; |
| 85 | 85 | }; |
| 86 | 86 | |
| 87 | − regulators { | |
| 88 | − compatible = "simple-bus"; | |
| 89 | − #address-cells = <1>; | |
| 90 | − #size-cells = <0>; | |
| 91 | − | |
| 92 | − main_dc_reg: regulator@0 { | |
| 93 | − compatible = "regulator-fixed"; | |
| 94 | − reg = <0>; | |
| 95 | − regulator-name = "MAIN_DC"; | |
| 96 | − regulator-always-on; | |
| 97 | − }; | |
| 87 | + main_dc_reg: regulator-0 { | |
| 88 | + compatible = "regulator-fixed"; | |
| 89 | + regulator-name = "MAIN_DC"; | |
| 90 | + regulator-always-on; | |
| 91 | + }; | |
| 98 | 92 | |
| 99 | − mmc_reg: regulator@1 { | |
| 100 | − compatible = "regulator-fixed"; | |
| 101 | − reg = <1>; | |
| 102 | − regulator-name = "VDD_MMC"; | |
| 103 | − regulator-min-microvolt = <2800000>; | |
| 104 | − regulator-max-microvolt = <2800000>; | |
| 105 | − regulator-always-on; | |
| 106 | − }; | |
| 93 | + mmc_reg: regulator-1 { | |
| 94 | + compatible = "regulator-fixed"; | |
| 95 | + regulator-name = "VDD_MMC"; | |
| 96 | + regulator-min-microvolt = <2800000>; | |
| 97 | + regulator-max-microvolt = <2800000>; | |
| 98 | + regulator-always-on; | |
| 99 | + }; | |
| 107 | 100 | |
| 108 | − reg_hdmi_en: regulator@2 { | |
| 109 | − compatible = "regulator-fixed"; | |
| 110 | − reg = <2>; | |
| 111 | − regulator-name = "hdmi-en"; | |
| 112 | − regulator-always-on; | |
| 113 | − }; | |
| 101 | + reg_hdmi_en: regulator-2 { | |
| 102 | + compatible = "regulator-fixed"; | |
| 103 | + regulator-name = "hdmi-en"; | |
| 104 | + regulator-always-on; | |
| 105 | + }; | |
| 114 | 106 | |
| 115 | − vcc_1v2_reg: regulator@3 { | |
| 116 | − compatible = "regulator-fixed"; | |
| 117 | − reg = <3>; | |
| 118 | − regulator-name = "VCC_1V2"; | |
| 119 | − regulator-min-microvolt = <1200000>; | |
| 120 | − regulator-max-microvolt = <1200000>; | |
| 121 | − regulator-always-on; | |
| 122 | − }; | |
| 107 | + vcc_1v2_reg: regulator-3 { | |
| 108 | + compatible = "regulator-fixed"; | |
| 109 | + regulator-name = "VCC_1V2"; | |
| 110 | + regulator-min-microvolt = <1200000>; | |
| 111 | + regulator-max-microvolt = <1200000>; | |
| 112 | + regulator-always-on; | |
| 113 | + }; | |
| 123 | 114 | |
| 124 | − vcc_1v8_reg: regulator@4 { | |
| 125 | − compatible = "regulator-fixed"; | |
| 126 | − reg = <4>; | |
| 127 | − regulator-name = "VCC_1V8"; | |
| 128 | − regulator-min-microvolt = <1800000>; | |
| 129 | − regulator-max-microvolt = <1800000>; | |
| 130 | − regulator-always-on; | |
| 131 | − }; | |
| 115 | + vcc_1v8_reg: regulator-4 { | |
| 116 | + compatible = "regulator-fixed"; | |
| 117 | + regulator-name = "VCC_1V8"; | |
| 118 | + regulator-min-microvolt = <1800000>; | |
| 119 | + regulator-max-microvolt = <1800000>; | |
| 120 | + regulator-always-on; | |
| 121 | + }; | |
| 132 | 122 | |
| 133 | − vcc_3v3_reg: regulator@5 { | |
| 134 | − compatible = "regulator-fixed"; | |
| 135 | − reg = <5>; | |
| 136 | − regulator-name = "VCC_3V3"; | |
| 137 | − regulator-min-microvolt = <3300000>; | |
| 138 | − regulator-max-microvolt = <3300000>; | |
| 139 | − regulator-always-on; | |
| 140 | − }; | |
| 123 | + vcc_3v3_reg: regulator-5 { | |
| 124 | + compatible = "regulator-fixed"; | |
| 125 | + regulator-name = "VCC_3V3"; | |
| 126 | + regulator-min-microvolt = <3300000>; | |
| 127 | + regulator-max-microvolt = <3300000>; | |
| 128 | + regulator-always-on; | |
| 141 | 129 | }; |
| 142 | 130 | |
| 143 | 131 | sound { |
| @@ -679,56 +679,48 @@ · 678 unmodified lines | ||
| 679 | 679 | samsung,pmureg-phandle = <&pmu_system_controller>; |
| 680 | 680 | }; |
| 681 | 681 | |
| 682 | − amba { | |
| 683 | − #address-cells = <1>; | |
| 684 | − #size-cells = <1>; | |
| 685 | − compatible = "simple-bus"; | |
| 686 | − interrupt-parent = <&gic>; | |
| 687 | − ranges; | |
| 688 | − | |
| 689 | − pdma0: pdma@121a0000 { | |
| 690 | − compatible = "arm,pl330", "arm,primecell"; | |
| 691 | − reg = <0x121A0000 0x1000>; | |
| 692 | − interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; | |
| 693 | − clocks = <&clock CLK_PDMA0>; | |
| 694 | − clock-names = "apb_pclk"; | |
| 695 | − #dma-cells = <1>; | |
| 696 | − #dma-channels = <8>; | |
| 697 | − #dma-requests = <32>; | |
| 698 | − }; | |
| 699 | − | |
| 700 | − pdma1: pdma@121b0000 { | |
| 701 | − compatible = "arm,pl330", "arm,primecell"; | |
| 702 | − reg = <0x121B0000 0x1000>; | |
| 703 | − interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; | |
| 704 | − clocks = <&clock CLK_PDMA1>; | |
| 705 | − clock-names = "apb_pclk"; | |
| 706 | − #dma-cells = <1>; | |
| 707 | − #dma-channels = <8>; | |
| 708 | − #dma-requests = <32>; | |
| 709 | − }; | |
| 710 | − | |
| 711 | − mdma0: mdma@10800000 { | |
| 712 | − compatible = "arm,pl330", "arm,primecell"; | |
| 713 | − reg = <0x10800000 0x1000>; | |
| 714 | − interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; | |
| 715 | − clocks = <&clock CLK_MDMA0>; | |
| 716 | − clock-names = "apb_pclk"; | |
| 717 | − #dma-cells = <1>; | |
| 718 | − #dma-channels = <8>; | |
| 719 | − #dma-requests = <1>; | |
| 720 | − }; | |
| 721 | − | |
| 722 | − mdma1: mdma@11c10000 { | |
| 723 | − compatible = "arm,pl330", "arm,primecell"; | |
| 724 | − reg = <0x11C10000 0x1000>; | |
| 725 | − interrupts = <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>; | |
| 726 | − clocks = <&clock CLK_MDMA1>; | |
| 727 | − clock-names = "apb_pclk"; | |
| 728 | − #dma-cells = <1>; | |
| 729 | − #dma-channels = <8>; | |
| 730 | − #dma-requests = <1>; | |
| 731 | − }; | |
| 682 | + pdma0: pdma@121a0000 { | |
| 683 | + compatible = "arm,pl330", "arm,primecell"; | |
| 684 | + reg = <0x121A0000 0x1000>; | |
| 685 | + interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; | |
| 686 | + clocks = <&clock CLK_PDMA0>; | |
| 687 | + clock-names = "apb_pclk"; | |
| 688 | + #dma-cells = <1>; | |
| 689 | + #dma-channels = <8>; | |
| 690 | + #dma-requests = <32>; | |
| 691 | + }; | |
| 692 | + | |
| 693 | + pdma1: pdma@121b0000 { | |
| 694 | + compatible = "arm,pl330", "arm,primecell"; | |
| 695 | + reg = <0x121B0000 0x1000>; | |
| 696 | + interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; | |
| 697 | + clocks = <&clock CLK_PDMA1>; | |
| 698 | + clock-names = "apb_pclk"; | |
| 699 | + #dma-cells = <1>; | |
| 700 | + #dma-channels = <8>; | |
| 701 | + #dma-requests = <32>; | |
| 702 | + }; | |
| 703 | + | |
| 704 | + mdma0: mdma@10800000 { | |
| 705 | + compatible = "arm,pl330", "arm,primecell"; | |
| 706 | + reg = <0x10800000 0x1000>; | |
| 707 | + interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; | |
| 708 | + clocks = <&clock CLK_MDMA0>; | |
| 709 | + clock-names = "apb_pclk"; | |
| 710 | + #dma-cells = <1>; | |
| 711 | + #dma-channels = <8>; | |
| 712 | + #dma-requests = <1>; | |
| 713 | + }; | |
| 714 | + | |
| 715 | + mdma1: mdma@11c10000 { | |
| 716 | + compatible = "arm,pl330", "arm,primecell"; | |
| 717 | + reg = <0x11C10000 0x1000>; | |
| 718 | + interrupts = <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>; | |
| 719 | + clocks = <&clock CLK_MDMA1>; | |
| 720 | + clock-names = "apb_pclk"; | |
| 721 | + #dma-cells = <1>; | |
| 722 | + #dma-channels = <8>; | |
| 723 | + #dma-requests = <1>; | |
| 732 | 724 | }; |
| 733 | 725 | |
| 734 | 726 | gsc_0: gsc@13e00000 { |
| @@ -3,7 +3,7 @@ · 2 unmodified lines | ||
| 3 | 3 | * Exynos5410 SoC pin-mux and pin-config device tree source |
| 4 | 4 | * |
| 5 | 5 | * Copyright (c) 2013 Hardkernel Co., Ltd. |
| 6 | − * http://www.hardkernel.com | |
| 6 | + * https://www.hardkernel.com | |
| 7 | 7 | */ |
| 8 | 8 | |
| 9 | 9 | #include <dt-bindings/pinctrl/samsung.h> |
| @@ -189,34 +189,26 @@ · 188 unmodified lines | ||
| 189 | 189 | interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>; |
| 190 | 190 | }; |
| 191 | 191 | |
| 192 | − amba { | |
| 193 | − #address-cells = <1>; | |
| 194 | − #size-cells = <1>; | |
| 195 | − compatible = "simple-bus"; | |
| 196 | − interrupt-parent = <&gic>; | |
| 197 | − ranges; | |
| 198 | − | |
| 199 | − pdma0: pdma@121a0000 { | |
| 200 | − compatible = "arm,pl330", "arm,primecell"; | |
| 201 | − reg = <0x121a0000 0x1000>; | |
| 202 | − interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; | |
| 203 | − clocks = <&clock CLK_PDMA0>; | |
| 204 | − clock-names = "apb_pclk"; | |
| 205 | − #dma-cells = <1>; | |
| 206 | − #dma-channels = <8>; | |
| 207 | − #dma-requests = <32>; | |
| 208 | − }; | |
| 192 | + pdma0: pdma@121a0000 { | |
| 193 | + compatible = "arm,pl330", "arm,primecell"; | |
| 194 | + reg = <0x121a0000 0x1000>; | |
| 195 | + interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; | |
| 196 | + clocks = <&clock CLK_PDMA0>; | |
| 197 | + clock-names = "apb_pclk"; | |
| 198 | + #dma-cells = <1>; | |
| 199 | + #dma-channels = <8>; | |
| 200 | + #dma-requests = <32>; | |
| 201 | + }; | |
| 209 | 202 | |
| 210 | − pdma1: pdma@121b0000 { | |
| 211 | − compatible = "arm,pl330", "arm,primecell"; | |
| 212 | − reg = <0x121b0000 0x1000>; | |
| 213 | − interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; | |
| 214 | − clocks = <&clock CLK_PDMA1>; | |
| 215 | − clock-names = "apb_pclk"; | |
| 216 | − #dma-cells = <1>; | |
| 217 | − #dma-channels = <8>; | |
| 218 | − #dma-requests = <32>; | |
| 219 | − }; | |
| 203 | + pdma1: pdma@121b0000 { | |
| 204 | + compatible = "arm,pl330", "arm,primecell"; | |
| 205 | + reg = <0x121b0000 0x1000>; | |
| 206 | + interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; | |
| 207 | + clocks = <&clock CLK_PDMA1>; | |
| 208 | + clock-names = "apb_pclk"; | |
| 209 | + #dma-cells = <1>; | |
| 210 | + #dma-channels = <8>; | |
| 211 | + #dma-requests = <32>; | |
| 220 | 212 | }; |
| 221 | 213 | |
| 222 | 214 | audi2s0: i2s@3830000 { |
| @@ -32,40 +32,31 @@ · 31 unmodified lines | ||
| 32 | 32 | }; |
| 33 | 33 | }; |
| 34 | 34 | |
| 35 | − regulators { | |
| 36 | − compatible = "simple-bus"; | |
| 37 | − #address-cells = <1>; | |
| 38 | − #size-cells = <0>; | |
| 39 | − | |
| 40 | − vdd: fixed-regulator@0 { | |
| 41 | − compatible = "regulator-fixed"; | |
| 42 | − reg = <0>; | |
| 43 | − regulator-name = "vdd-supply"; | |
| 44 | − regulator-min-microvolt = <1800000>; | |
| 45 | − regulator-max-microvolt = <1800000>; | |
| 46 | − regulator-always-on; | |
| 47 | − }; | |
| 35 | + vdd: regulator-0 { | |
| 36 | + compatible = "regulator-fixed"; | |
| 37 | + regulator-name = "vdd-supply"; | |
| 38 | + regulator-min-microvolt = <1800000>; | |
| 39 | + regulator-max-microvolt = <1800000>; | |
| 40 | + regulator-always-on; | |
| 41 | + }; | |
| 48 | 42 | |
| 49 | − dbvdd: fixed-regulator@1 { | |
| 50 | − compatible = "regulator-fixed"; | |
| 51 | − reg = <1>; | |
| 52 | − regulator-name = "dbvdd-supply"; | |
| 53 | − regulator-min-microvolt = <3300000>; | |
| 54 | − regulator-max-microvolt = <3300000>; | |
| 55 | − regulator-always-on; | |
| 56 | − }; | |
| 43 | + dbvdd: regulator-1 { | |
| 44 | + compatible = "regulator-fixed"; | |
| 45 | + regulator-name = "dbvdd-supply"; | |
| 46 | + regulator-min-microvolt = <3300000>; | |
| 47 | + regulator-max-microvolt = <3300000>; | |
| 48 | + regulator-always-on; | |
| 49 | + }; | |
| 57 | 50 | |
| 58 | − spkvdd: fixed-regulator@2 { | |
| 59 | − compatible = "regulator-fixed"; | |
| 60 | − reg = <2>; | |
| 61 | − regulator-name = "spkvdd-supply"; | |
| 62 | − regulator-min-microvolt = <5000000>; | |
| 63 | − regulator-max-microvolt = <5000000>; | |
| 64 | − regulator-always-on; | |
| 65 | − }; | |
| 51 | + spkvdd: regulator-2 { | |
| 52 | + compatible = "regulator-fixed"; | |
| 53 | + regulator-name = "spkvdd-supply"; | |
| 54 | + regulator-min-microvolt = <5000000>; | |
| 55 | + regulator-max-microvolt = <5000000>; | |
| 56 | + regulator-always-on; | |
| 66 | 57 | }; |
| 67 | 58 | |
| 68 | − usb300_vbus_reg: regulator-usb300 { | |
| 59 | + usb300_vbus_reg: regulator-3 { | |
| 69 | 60 | compatible = "regulator-fixed"; |
| 70 | 61 | regulator-name = "VBUS0"; |
| 71 | 62 | regulator-min-microvolt = <5000000>; |
| @@ -76,7 +67,7 @@ · 4 unmodified lines | ||
| 76 | 67 | enable-active-high; |
| 77 | 68 | }; |
| 78 | 69 | |
| 79 | − usb301_vbus_reg: regulator-usb301 { | |
| 70 | + usb301_vbus_reg: regulator-4 { | |
| 80 | 71 | compatible = "regulator-fixed"; |
| 81 | 72 | regulator-name = "VBUS1"; |
| 82 | 73 | regulator-min-microvolt = <5000000>; |
| @@ -433,76 +433,68 @@ · 432 unmodified lines | ||
| 433 | 433 | power-domains = <&mau_pd>; |
| 434 | 434 | }; |
| 435 | 435 | |
| 436 | − amba { | |
| 437 | − #address-cells = <1>; | |
| 438 | − #size-cells = <1>; | |
| 439 | − compatible = "simple-bus"; | |
| 440 | − interrupt-parent = <&gic>; | |
| 441 | − ranges; | |
| 442 | − | |
| 443 | − adma: adma@3880000 { | |
| 444 | − compatible = "arm,pl330", "arm,primecell"; | |
| 445 | − reg = <0x03880000 0x1000>; | |
| 446 | − interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>; | |
| 447 | − clocks = <&clock_audss EXYNOS_ADMA>; | |
| 448 | − clock-names = "apb_pclk"; | |
| 449 | − #dma-cells = <1>; | |
| 450 | − #dma-channels = <6>; | |
| 451 | − #dma-requests = <16>; | |
| 452 | − power-domains = <&mau_pd>; | |
| 453 | − }; | |
| 454 | − | |
| 455 | − pdma0: pdma@121a0000 { | |
| 456 | − compatible = "arm,pl330", "arm,primecell"; | |
| 457 | − reg = <0x121A0000 0x1000>; | |
| 458 | − interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; | |
| 459 | − clocks = <&clock CLK_PDMA0>; | |
| 460 | − clock-names = "apb_pclk"; | |
| 461 | − #dma-cells = <1>; | |
| 462 | − #dma-channels = <8>; | |
| 463 | − #dma-requests = <32>; | |
| 464 | − }; | |
| 465 | − | |
| 466 | − pdma1: pdma@121b0000 { | |
| 467 | − compatible = "arm,pl330", "arm,primecell"; | |
| 468 | − reg = <0x121B0000 0x1000>; | |
| 469 | − interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; | |
| 470 | − clocks = <&clock CLK_PDMA1>; | |
| 471 | − clock-names = "apb_pclk"; | |
| 472 | − #dma-cells = <1>; | |
| 473 | − #dma-channels = <8>; | |
| 474 | − #dma-requests = <32>; | |
| 475 | − }; | |
| 476 | − | |
| 477 | − mdma0: mdma@10800000 { | |
| 478 | − compatible = "arm,pl330", "arm,primecell"; | |
| 479 | − reg = <0x10800000 0x1000>; | |
| 480 | − interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; | |
| 481 | − clocks = <&clock CLK_MDMA0>; | |
| 482 | − clock-names = "apb_pclk"; | |
| 483 | − #dma-cells = <1>; | |
| 484 | − #dma-channels = <8>; | |
| 485 | − #dma-requests = <1>; | |
| 486 | − }; | |
| 436 | + adma: adma@3880000 { | |
| 437 | + compatible = "arm,pl330", "arm,primecell"; | |
| 438 | + reg = <0x03880000 0x1000>; | |
| 439 | + interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>; | |
| 440 | + clocks = <&clock_audss EXYNOS_ADMA>; | |
| 441 | + clock-names = "apb_pclk"; | |
| 442 | + #dma-cells = <1>; | |
| 443 | + #dma-channels = <6>; | |
| 444 | + #dma-requests = <16>; | |
| 445 | + power-domains = <&mau_pd>; | |
| 446 | + }; | |
| 487 | 447 | |
| 488 | − mdma1: mdma@11c10000 { | |
| 489 | − compatible = "arm,pl330", "arm,primecell"; | |
| 490 | − reg = <0x11C10000 0x1000>; | |
| 491 | − interrupts = <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>; | |
| 492 | − clocks = <&clock CLK_MDMA1>; | |
| 493 | − clock-names = "apb_pclk"; | |
| 494 | − #dma-cells = <1>; | |
| 495 | − #dma-channels = <8>; | |
| 496 | − #dma-requests = <1>; | |
| 497 | − /* | |
| 498 | − * MDMA1 can support both secure and non-secure | |
| 499 | − * AXI transactions. When this is enabled in | |
| 500 | − * the kernel for boards that run in secure | |
| 501 | − * mode, we are getting imprecise external | |
| 502 | − * aborts causing the kernel to oops. | |
| 503 | − */ | |
| 504 | − status = "disabled"; | |
| 505 | − }; | |
| 448 | + pdma0: pdma@121a0000 { | |
| 449 | + compatible = "arm,pl330", "arm,primecell"; | |
| 450 | + reg = <0x121A0000 0x1000>; | |
| 451 | + interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; | |
| 452 | + clocks = <&clock CLK_PDMA0>; | |
| 453 | + clock-names = "apb_pclk"; | |
| 454 | + #dma-cells = <1>; | |
| 455 | + #dma-channels = <8>; | |
| 456 | + #dma-requests = <32>; | |
| 457 | + }; | |
| 458 | + | |
| 459 | + pdma1: pdma@121b0000 { | |
| 460 | + compatible = "arm,pl330", "arm,primecell"; | |
| 461 | + reg = <0x121B0000 0x1000>; | |
| 462 | + interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; | |
| 463 | + clocks = <&clock CLK_PDMA1>; | |
| 464 | + clock-names = "apb_pclk"; | |
| 465 | + #dma-cells = <1>; | |
| 466 | + #dma-channels = <8>; | |
| 467 | + #dma-requests = <32>; | |
| 468 | + }; | |
| 469 | + | |
| 470 | + mdma0: mdma@10800000 { | |
| 471 | + compatible = "arm,pl330", "arm,primecell"; | |
| 472 | + reg = <0x10800000 0x1000>; | |
| 473 | + interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; | |
| 474 | + clocks = <&clock CLK_MDMA0>; | |
| 475 | + clock-names = "apb_pclk"; | |
| 476 | + #dma-cells = <1>; | |
| 477 | + #dma-channels = <8>; | |
| 478 | + #dma-requests = <1>; | |
| 479 | + }; | |
| 480 | + | |
| 481 | + mdma1: mdma@11c10000 { | |
| 482 | + compatible = "arm,pl330", "arm,primecell"; | |
| 483 | + reg = <0x11C10000 0x1000>; | |
| 484 | + interrupts = <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>; | |
| 485 | + clocks = <&clock CLK_MDMA1>; | |
| 486 | + clock-names = "apb_pclk"; | |
| 487 | + #dma-cells = <1>; | |
| 488 | + #dma-channels = <8>; | |
| 489 | + #dma-requests = <1>; | |
| 490 | + /* | |
| 491 | + * MDMA1 can support both secure and non-secure | |
| 492 | + * AXI transactions. When this is enabled in | |
| 493 | + * the kernel for boards that run in secure | |
| 494 | + * mode, we are getting imprecise external | |
| 495 | + * aborts causing the kernel to oops. | |
| 496 | + */ | |
| 497 | + status = "disabled"; | |
| 506 | 498 | }; |
| 507 | 499 | |
| 508 | 500 | i2s0: i2s@3830000 { |
| @@ -411,12 +411,6 @@ · 410 unmodified lines | ||
| 411 | 411 | status = "okay"; |
| 412 | 412 | }; |
| 413 | 413 | |
| 414 | −&bus_fsys { | |
| 415 | − operating-points-v2 = <&bus_fsys2_opp_table>; | |
| 416 | − devfreq = <&bus_wcore>; | |
| 417 | − status = "okay"; | |
| 418 | −}; | |
| 419 | − | |
| 420 | 414 | &bus_fsys2 { |
| 421 | 415 | operating-points-v2 = <&bus_fsys2_opp_table>; |
| 422 | 416 | devfreq = <&bus_wcore>; |
| @@ -23,17 +23,17 @@ · 22 unmodified lines | ||
| 23 | 23 | &cluster_a15_opp_table { |
| 24 | 24 | opp-2000000000 { |
| 25 | 25 | opp-hz = /bits/ 64 <2000000000>; |
| 26 | − opp-microvolt = <1312500>; | |
| 26 | + opp-microvolt = <1312500 1312500 1500000>; | |
| 27 | 27 | clock-latency-ns = <140000>; |
| 28 | 28 | }; |
| 29 | 29 | opp-1900000000 { |
| 30 | 30 | opp-hz = /bits/ 64 <1900000000>; |
| 31 | − opp-microvolt = <1262500>; | |
| 31 | + opp-microvolt = <1262500 1262500 1500000>; | |
| 32 | 32 | clock-latency-ns = <140000>; |
| 33 | 33 | }; |
| 34 | 34 | opp-1800000000 { |
| 35 | 35 | opp-hz = /bits/ 64 <1800000000>; |
| 36 | − opp-microvolt = <1237500>; | |
| 36 | + opp-microvolt = <1237500 1237500 1500000>; | |
| 37 | 37 | clock-latency-ns = <140000>; |
| 38 | 38 | }; |
| 39 | 39 | opp-1700000000 { |
| @@ -71,7 +71,7 @@ · 70 unmodified lines | ||
| 71 | 71 | interrupt-parent = <&gic>; |
| 72 | 72 | ranges = <0 0xfc000000 0x2000000>; |
| 73 | 73 | |
| 74 | − L2: l2-cache { | |
| 74 | + L2: cache-controller { | |
| 75 | 75 | compatible = "arm,pl310-cache"; |
| 76 | 76 | reg = <0x100000 0x100000>; |
| 77 | 77 | interrupts = <0 15 4>; |
| @@ -381,7 +381,7 @@ · 380 unmodified lines | ||
| 381 | 381 | interrupts = <1 13 0xf01>; |
| 382 | 382 | }; |
| 383 | 383 | |
| 384 | − l2: l2-cache { | |
| 384 | + l2: cache-controller { | |
| 385 | 385 | compatible = "arm,pl310-cache"; |
| 386 | 386 | reg = <0x00a10000 0x100000>; |
| 387 | 387 | interrupts = <0 15 4>; |
| @@ -125,7 +125,7 @@ · 124 unmodified lines | ||
| 125 | 125 | }; |
| 126 | 126 | |
| 127 | 127 | pwm: pwm@208000 { |
| 128 | − #pwm-cells = <2>; | |
| 128 | + #pwm-cells = <3>; | |
| 129 | 129 | compatible = "fsl,imx1-pwm"; |
| 130 | 130 | reg = <0x00208000 0x1000>; |
| 131 | 131 | interrupts = <34>; |
| @@ -442,7 +442,7 @@ · 441 unmodified lines | ||
| 442 | 442 | status = "disabled"; |
| 443 | 443 | }; |
| 444 | 444 | |
| 445 | − ocotp@8002c000 { | |
| 445 | + efuse@8002c000 { | |
| 446 | 446 | compatible = "fsl,imx23-ocotp", "fsl,ocotp"; |
| 447 | 447 | #address-cells = <1>; |
| 448 | 448 | #size-cells = <1>; |
| @@ -411,7 +411,7 @@ · 410 unmodified lines | ||
| 411 | 411 | |
| 412 | 412 | pwm2: pwm@53fa0000 { |
| 413 | 413 | compatible = "fsl,imx25-pwm", "fsl,imx27-pwm"; |
| 414 | − #pwm-cells = <2>; | |
| 414 | + #pwm-cells = <3>; | |
| 415 | 415 | reg = <0x53fa0000 0x4000>; |
| 416 | 416 | clocks = <&clks 106>, <&clks 52>; |
| 417 | 417 | clock-names = "ipg", "per"; |
| @@ -430,7 +430,7 @@ · 12 unmodified lines | ||
| 430 | 430 | |
| 431 | 431 | pwm3: pwm@53fa8000 { |
| 432 | 432 | compatible = "fsl,imx25-pwm", "fsl,imx27-pwm"; |
| 433 | − #pwm-cells = <2>; | |
| 433 | + #pwm-cells = <3>; | |
| 434 | 434 | reg = <0x53fa8000 0x4000>; |
| 435 | 435 | clocks = <&clks 107>, <&clks 52>; |
| 436 | 436 | clock-names = "ipg", "per"; |
| @@ -453,7 +453,7 @@ · 16 unmodified lines | ||
| 453 | 453 | interrupts = <22>; |
| 454 | 454 | }; |
| 455 | 455 | |
| 456 | − esdhc1: esdhc@53fb4000 { | |
| 456 | + esdhc1: mmc@53fb4000 { | |
| 457 | 457 | compatible = "fsl,imx25-esdhc"; |
| 458 | 458 | reg = <0x53fb4000 0x4000>; |
| 459 | 459 | interrupts = <9>; |
| @@ -462,7 +462,7 @@ · 2 unmodified lines | ||
| 462 | 462 | status = "disabled"; |
| 463 | 463 | }; |
| 464 | 464 | |
| 465 | − esdhc2: esdhc@53fb8000 { | |
| 465 | + esdhc2: mmc@53fb8000 { | |
| 466 | 466 | compatible = "fsl,imx25-esdhc"; |
| 467 | 467 | reg = <0x53fb8000 0x4000>; |
| 468 | 468 | interrupts = <8>; |
| @@ -488,7 +488,7 @@ · 19 unmodified lines | ||
| 488 | 488 | |
| 489 | 489 | pwm4: pwm@53fc8000 { |
| 490 | 490 | compatible = "fsl,imx25-pwm", "fsl,imx27-pwm"; |
| 491 | − #pwm-cells = <2>; | |
| 491 | + #pwm-cells = <3>; | |
| 492 | 492 | reg = <0x53fc8000 0x4000>; |
| 493 | 493 | clocks = <&clks 108>, <&clks 52>; |
| 494 | 494 | clock-names = "ipg", "per"; |
| @@ -535,14 +535,14 @@ · 40 unmodified lines | ||
| 535 | 535 | |
| 536 | 536 | pwm1: pwm@53fe0000 { |
| 537 | 537 | compatible = "fsl,imx25-pwm", "fsl,imx27-pwm"; |
| 538 | − #pwm-cells = <2>; | |
| 538 | + #pwm-cells = <3>; | |
| 539 | 539 | reg = <0x53fe0000 0x4000>; |
| 540 | 540 | clocks = <&clks 105>, <&clks 52>; |
| 541 | 541 | clock-names = "ipg", "per"; |
| 542 | 542 | interrupts = <26>; |
| 543 | 543 | }; |
| 544 | 544 | |
| 545 | − iim: iim@53ff0000 { | |
| 545 | + iim: efuse@53ff0000 { | |
| 546 | 546 | compatible = "fsl,imx25-iim", "fsl,imx27-iim"; |
| 547 | 547 | reg = <0x53ff0000 0x4000>; |
| 548 | 548 | interrupts = <19>; |
| @@ -134,7 +134,7 @@ · 133 unmodified lines | ||
| 134 | 134 | }; |
| 135 | 135 | |
| 136 | 136 | pwm: pwm@10006000 { |
| 137 | − #pwm-cells = <2>; | |
| 137 | + #pwm-cells = <3>; | |
| 138 | 138 | compatible = "fsl,imx27-pwm"; |
| 139 | 139 | reg = <0x10006000 0x1000>; |
| 140 | 140 | interrupts = <23>; |
| @@ -265,7 +265,7 @@ · 124 unmodified lines | ||
| 265 | 265 | status = "disabled"; |
| 266 | 266 | }; |
| 267 | 267 | |
| 268 | − sdhci1: sdhci@10013000 { | |
| 268 | + sdhci1: mmc@10013000 { | |
| 269 | 269 | compatible = "fsl,imx27-mmc", "fsl,imx21-mmc"; |
| 270 | 270 | reg = <0x10013000 0x1000>; |
| 271 | 271 | interrupts = <11>; |
| @@ -277,7 +277,7 @@ · 5 unmodified lines | ||
| 277 | 277 | status = "disabled"; |
| 278 | 278 | }; |
| 279 | 279 | |
| 280 | − sdhci2: sdhci@10014000 { | |
| 280 | + sdhci2: mmc@10014000 { | |
| 281 | 281 | compatible = "fsl,imx27-mmc", "fsl,imx21-mmc"; |
| 282 | 282 | reg = <0x10014000 0x1000>; |
| 283 | 283 | interrupts = <10>; |
| @@ -431,7 +431,7 @@ · 147 unmodified lines | ||
| 431 | 431 | status = "disabled"; |
| 432 | 432 | }; |
| 433 | 433 | |
| 434 | − sdhci3: sdhci@1001e000 { | |
| 434 | + sdhci3: mmc@1001e000 { | |
| 435 | 435 | compatible = "fsl,imx27-mmc", "fsl,imx21-mmc"; |
| 436 | 436 | reg = <0x1001e000 0x1000>; |
| 437 | 437 | interrupts = <9>; |
| @@ -540,7 +540,7 @@ · 102 unmodified lines | ||
| 540 | 540 | #clock-cells = <1>; |
| 541 | 541 | }; |
| 542 | 542 | |
| 543 | − iim: iim@10028000 { | |
| 543 | + iim: efuse@10028000 { | |
| 544 | 544 | compatible = "fsl,imx27-iim"; |
| 545 | 545 | reg = <0x10028000 0x1000>; |
| 546 | 546 | interrupts = <62>; |
| @@ -1011,7 +1011,7 @@ · 1010 unmodified lines | ||
| 1011 | 1011 | status = "disabled"; |
| 1012 | 1012 | }; |
| 1013 | 1013 | |
| 1014 | − ocotp: ocotp@8002c000 { | |
| 1014 | + ocotp: efuse@8002c000 { | |
| 1015 | 1015 | compatible = "fsl,imx28-ocotp", "fsl,ocotp"; |
| 1016 | 1016 | #address-cells = <1>; |
| 1017 | 1017 | #size-cells = <1>; |
| @@ -173,7 +173,7 @@ · 172 unmodified lines | ||
| 173 | 173 | reg = <0x50000000 0x100000>; |
| 174 | 174 | ranges; |
| 175 | 175 | |
| 176 | − sdhci1: sdhci@50004000 { | |
| 176 | + sdhci1: mmc@50004000 { | |
| 177 | 177 | compatible = "fsl,imx31-mmc"; |
| 178 | 178 | reg = <0x50004000 0x4000>; |
| 179 | 179 | interrupts = <9>; |
| @@ -184,7 +184,7 @@ · 4 unmodified lines | ||
| 184 | 184 | status = "disabled"; |
| 185 | 185 | }; |
| 186 | 186 | |
| 187 | − sdhci2: sdhci@50008000 { | |
| 187 | + sdhci2: mmc@50008000 { | |
| 188 | 188 | compatible = "fsl,imx31-mmc"; |
| 189 | 189 | reg = <0x50008000 0x4000>; |
| 190 | 190 | interrupts = <8>; |
| @@ -217,7 +217,7 @@ · 26 unmodified lines | ||
| 217 | 217 | status = "disabled"; |
| 218 | 218 | }; |
| 219 | 219 | |
| 220 | − iim: iim@5001c000 { | |
| 220 | + iim: efuse@5001c000 { | |
| 221 | 221 | compatible = "fsl,imx31-iim", "fsl,imx27-iim"; |
| 222 | 222 | reg = <0x5001c000 0x1000>; |
| 223 | 223 | interrupts = <19>; |
| @@ -327,7 +327,7 @@ · 103 unmodified lines | ||
| 327 | 327 | interrupts = <26>; |
| 328 | 328 | clocks = <&clks 10>, <&clks 42>; |
| 329 | 329 | clock-names = "ipg", "per"; |
| 330 | − #pwm-cells = <2>; | |
| 330 | + #pwm-cells = <3>; | |
| 331 | 331 | status = "disabled"; |
| 332 | 332 | }; |
| 333 | 333 | }; |
| @@ -59,7 +59,7 @@ · 58 unmodified lines | ||
| 59 | 59 | interrupt-parent = <&avic>; |
| 60 | 60 | ranges; |
| 61 | 61 | |
| 62 | − L2: l2-cache@30000000 { | |
| 62 | + L2: cache-controller@30000000 { | |
| 63 | 63 | compatible = "arm,l210-cache"; |
| 64 | 64 | reg = <0x30000000 0x1000>; |
| 65 | 65 | cache-unified; |
| @@ -231,7 +231,7 @@ · 165 unmodified lines | ||
| 231 | 231 | #interrupt-cells = <2>; |
| 232 | 232 | }; |
| 233 | 233 | |
| 234 | − esdhc1: esdhc@53fb4000 { | |
| 234 | + esdhc1: mmc@53fb4000 { | |
| 235 | 235 | compatible = "fsl,imx35-esdhc"; |
| 236 | 236 | reg = <0x53fb4000 0x4000>; |
| 237 | 237 | interrupts = <7>; |
| @@ -240,7 +240,7 @@ · 2 unmodified lines | ||
| 240 | 240 | status = "disabled"; |
| 241 | 241 | }; |
| 242 | 242 | |
| 243 | − esdhc2: esdhc@53fb8000 { | |
| 243 | + esdhc2: mmc@53fb8000 { | |
| 244 | 244 | compatible = "fsl,imx35-esdhc"; |
| 245 | 245 | reg = <0x53fb8000 0x4000>; |
| 246 | 246 | interrupts = <8>; |
| @@ -249,7 +249,7 @@ · 2 unmodified lines | ||
| 249 | 249 | status = "disabled"; |
| 250 | 250 | }; |
| 251 | 251 | |
| 252 | − esdhc3: esdhc@53fbc000 { | |
| 252 | + esdhc3: mmc@53fbc000 { | |
| 253 | 253 | compatible = "fsl,imx35-esdhc"; |
| 254 | 254 | reg = <0x53fbc000 0x4000>; |
| 255 | 255 | interrupts = <9>; |
| @@ -320,7 +320,7 @@ · 64 unmodified lines | ||
| 320 | 320 | status = "disabled"; |
| 321 | 321 | }; |
| 322 | 322 | |
| 323 | − iim@53ff0000 { | |
| 323 | + efuse@53ff0000 { | |
| 324 | 324 | compatible = "fsl,imx35-iim"; |
| 325 | 325 | reg = <0x53ff0000 0x4000>; |
| 326 | 326 | interrupts = <19>; |
| @@ -115,7 +115,7 @@ · 114 unmodified lines | ||
| 115 | 115 | reg = <0x50000000 0x40000>; |
| 116 | 116 | ranges; |
| 117 | 117 | |
| 118 | − esdhc1: esdhc@50004000 { | |
| 118 | + esdhc1: mmc@50004000 { | |
| 119 | 119 | compatible = "fsl,imx50-esdhc", "fsl,imx53-esdhc"; |
| 120 | 120 | reg = <0x50004000 0x4000>; |
| 121 | 121 | interrupts = <1>; |
| @@ -127,7 +127,7 @@ · 5 unmodified lines | ||
| 127 | 127 | status = "disabled"; |
| 128 | 128 | }; |
| 129 | 129 | |
| 130 | − esdhc2: esdhc@50008000 { | |
| 130 | + esdhc2: mmc@50008000 { | |
| 131 | 131 | compatible = "fsl,imx50-esdhc", "fsl,imx53-esdhc"; |
| 132 | 132 | reg = <0x50008000 0x4000>; |
| 133 | 133 | interrupts = <2>; |
| @@ -176,7 +176,7 @@ · 42 unmodified lines | ||
| 176 | 176 | status = "disabled"; |
| 177 | 177 | }; |
| 178 | 178 | |
| 179 | − esdhc3: esdhc@50020000 { | |
| 179 | + esdhc3: mmc@50020000 { | |
| 180 | 180 | compatible = "fsl,imx50-esdhc", "fsl,imx53-esdhc"; |
| 181 | 181 | reg = <0x50020000 0x4000>; |
| 182 | 182 | interrupts = <3>; |
| @@ -188,7 +188,7 @@ · 5 unmodified lines | ||
| 188 | 188 | status = "disabled"; |
| 189 | 189 | }; |
| 190 | 190 | |
| 191 | − esdhc4: esdhc@50024000 { | |
| 191 | + esdhc4: mmc@50024000 { | |
| 192 | 192 | compatible = "fsl,imx50-esdhc", "fsl,imx53-esdhc"; |
| 193 | 193 | reg = <0x50024000 0x4000>; |
| 194 | 194 | interrupts = <4>; |
| @@ -289,7 +289,7 @@ · 94 unmodified lines | ||
| 289 | 289 | }; |
| 290 | 290 | |
| 291 | 291 | pwm1: pwm@53fb4000 { |
| 292 | − #pwm-cells = <2>; | |
| 292 | + #pwm-cells = <3>; | |
| 293 | 293 | compatible = "fsl,imx50-pwm", "fsl,imx27-pwm"; |
| 294 | 294 | reg = <0x53fb4000 0x4000>; |
| 295 | 295 | clocks = <&clks IMX5_CLK_PWM1_IPG_GATE>, |
| @@ -299,7 +299,7 @@ · 3 unmodified lines | ||
| 299 | 299 | }; |
| 300 | 300 | |
| 301 | 301 | pwm2: pwm@53fb8000 { |
| 302 | − #pwm-cells = <2>; | |
| 302 | + #pwm-cells = <3>; | |
| 303 | 303 | compatible = "fsl,imx50-pwm", "fsl,imx27-pwm"; |
| 304 | 304 | reg = <0x53fb8000 0x4000>; |
| 305 | 305 | clocks = <&clks IMX5_CLK_PWM2_IPG_GATE>, |
| @@ -113,6 +113,7 @@ · 112 unmodified lines | ||
| 113 | 113 | }; |
| 114 | 114 | |
| 115 | 115 | &pwm1 { |
| 116 | + #pwm-cells = <2>; | |
| 116 | 117 | pinctrl-names = "default"; |
| 117 | 118 | pinctrl-0 = <&pinctrl_pwm_backlight>; |
| 118 | 119 | status = "okay"; |
| @@ -185,7 +185,7 @@ · 184 unmodified lines | ||
| 185 | 185 | reg = <0x70000000 0x40000>; |
| 186 | 186 | ranges; |
| 187 | 187 | |
| 188 | − esdhc1: esdhc@70004000 { | |
| 188 | + esdhc1: mmc@70004000 { | |
| 189 | 189 | compatible = "fsl,imx51-esdhc"; |
| 190 | 190 | reg = <0x70004000 0x4000>; |
| 191 | 191 | interrupts = <1>; |
| @@ -196,7 +196,7 @@ · 4 unmodified lines | ||
| 196 | 196 | status = "disabled"; |
| 197 | 197 | }; |
| 198 | 198 | |
| 199 | − esdhc2: esdhc@70008000 { | |
| 199 | + esdhc2: mmc@70008000 { | |
| 200 | 200 | compatible = "fsl,imx51-esdhc"; |
| 201 | 201 | reg = <0x70008000 0x4000>; |
| 202 | 202 | interrupts = <2>; |
| @@ -245,7 +245,7 @@ · 42 unmodified lines | ||
| 245 | 245 | status = "disabled"; |
| 246 | 246 | }; |
| 247 | 247 | |
| 248 | − esdhc3: esdhc@70020000 { | |
| 248 | + esdhc3: mmc@70020000 { | |
| 249 | 249 | compatible = "fsl,imx51-esdhc"; |
| 250 | 250 | reg = <0x70020000 0x4000>; |
| 251 | 251 | interrupts = <3>; |
| @@ -257,7 +257,7 @@ · 5 unmodified lines | ||
| 257 | 257 | status = "disabled"; |
| 258 | 258 | }; |
| 259 | 259 | |
| 260 | − esdhc4: esdhc@70024000 { | |
| 260 | + esdhc4: mmc@70024000 { | |
| 261 | 261 | compatible = "fsl,imx51-esdhc"; |
| 262 | 262 | reg = <0x70024000 0x4000>; |
| 263 | 263 | interrupts = <4>; |
| @@ -400,7 +400,7 @@ · 136 unmodified lines | ||
| 400 | 400 | }; |
| 401 | 401 | |
| 402 | 402 | pwm1: pwm@73fb4000 { |
| 403 | − #pwm-cells = <2>; | |
| 403 | + #pwm-cells = <3>; | |
| 404 | 404 | compatible = "fsl,imx51-pwm", "fsl,imx27-pwm"; |
| 405 | 405 | reg = <0x73fb4000 0x4000>; |
| 406 | 406 | clocks = <&clks IMX5_CLK_PWM1_IPG_GATE>, |
| @@ -410,7 +410,7 @@ · 3 unmodified lines | ||
| 410 | 410 | }; |
| 411 | 411 | |
| 412 | 412 | pwm2: pwm@73fb8000 { |
| 413 | − #pwm-cells = <2>; | |
| 413 | + #pwm-cells = <3>; | |
| 414 | 414 | compatible = "fsl,imx51-pwm", "fsl,imx27-pwm"; |
| 415 | 415 | reg = <0x73fb8000 0x4000>; |
| 416 | 416 | clocks = <&clks IMX5_CLK_PWM2_IPG_GATE>, |
| @@ -466,7 +466,7 @@ · 49 unmodified lines | ||
| 466 | 466 | reg = <0x83f00000 0x60>; |
| 467 | 467 | }; |
| 468 | 468 | |
| 469 | − iim: iim@83f98000 { | |
| 469 | + iim: efuse@83f98000 { | |
| 470 | 470 | compatible = "fsl,imx51-iim", "fsl,imx27-iim"; |
| 471 | 471 | reg = <0x83f98000 0x4000>; |
| 472 | 472 | interrupts = <69>; |
| @@ -162,6 +162,14 @@ · 161 unmodified lines | ||
| 162 | 162 | >; |
| 163 | 163 | }; |
| 164 | 164 | |
| 165 | +&pwm1 { | |
| 166 | + #pwm-cells = <2>; | |
| 167 | +}; | |
| 168 | + | |
| 169 | +&pwm2 { | |
| 170 | + #pwm-cells = <2>; | |
| 171 | +}; | |
| 172 | + | |
| 165 | 173 | &uart1 { |
| 166 | 174 | status = "okay"; |
| 167 | 175 | }; |
| @@ -321,6 +321,7 @@ · 320 unmodified lines | ||
| 321 | 321 | }; |
| 322 | 322 | |
| 323 | 323 | &pwm1 { |
| 324 | + #pwm-cells = <2>; | |
| 324 | 325 | pinctrl-names = "default"; |
| 325 | 326 | pinctrl-0 = <&pinctrl_pwm1>; |
| 326 | 327 | status = "okay"; |
| @@ -176,7 +176,7 @@ · 175 unmodified lines | ||
| 176 | 176 | power-supply = <®_3v3_lcd>; |
| 177 | 177 | }; |
| 178 | 178 | |
| 179 | − leds { | |
| 179 | + leds-brightness { | |
| 180 | 180 | compatible = "pwm-leds"; |
| 181 | 181 | |
| 182 | 182 | alarm-brightness { |
| @@ -185,6 +185,32 @@ · 2 unmodified lines | ||
| 185 | 185 | }; |
| 186 | 186 | }; |
| 187 | 187 | |
| 188 | + leds { | |
| 189 | + compatible = "gpio-leds"; | |
| 190 | + pinctrl-names = "default"; | |
| 191 | + pinctrl-0 = <&pinctrl_alarmled_pins>; | |
| 192 | + | |
| 193 | + alarm1 { | |
| 194 | + label = "alarm:red"; | |
| 195 | + gpios = <&gpio7 3 GPIO_ACTIVE_HIGH>; | |
| 196 | + }; | |
| 197 | + | |
| 198 | + alarm2 { | |
| 199 | + label = "alarm:yellow"; | |
| 200 | + gpios = <&gpio7 7 GPIO_ACTIVE_HIGH>; | |
| 201 | + }; | |
| 202 | + | |
| 203 | + alarm3 { | |
| 204 | + label = "alarm:blue"; | |
| 205 | + gpios = <&gpio7 8 GPIO_ACTIVE_HIGH>; | |
| 206 | + }; | |
| 207 | + | |
| 208 | + alarm4 { | |
| 209 | + label = "alarm:silenced"; | |
| 210 | + gpios = <&gpio7 13 GPIO_ACTIVE_HIGH>; | |
| 211 | + }; | |
| 212 | + }; | |
| 213 | + | |
| 188 | 214 | gpio-poweroff { |
| 189 | 215 | compatible = "gpio-poweroff"; |
| 190 | 216 | gpios = <&gpio3 9 GPIO_ACTIVE_HIGH>; |
| @@ -598,12 +624,14 @@ · 407 unmodified lines | ||
| 598 | 624 | }; |
| 599 | 625 | |
| 600 | 626 | &pwm1 { |
| 627 | + #pwm-cells = <2>; | |
| 601 | 628 | pinctrl-names = "default"; |
| 602 | 629 | pinctrl-0 = <&pinctrl_pwm1>; |
| 603 | 630 | status = "okay"; |
| 604 | 631 | }; |
| 605 | 632 | |
| 606 | 633 | &pwm2 { |
| 634 | + #pwm-cells = <2>; | |
| 607 | 635 | pinctrl-names = "default"; |
| 608 | 636 | pinctrl-0 = <&pinctrl_pwm2>; |
| 609 | 637 | status = "okay"; |
| @@ -909,18 +937,10 @@ · 299 unmodified lines | ||
| 909 | 937 | MX53_PAD_NANDF_CS3__GPIO6_16 0x0 |
| 910 | 938 | /* POWER_AND_BOOT_STATUS_INDICATOR */ |
| 911 | 939 | MX53_PAD_PATA_INTRQ__GPIO7_2 0x1e4 |
| 912 | − /* ACTIVATE_ALARM_LIGHT_RED */ | |
| 913 | − MX53_PAD_PATA_DIOR__GPIO7_3 0x0 | |
| 914 | − /* ACTIVATE_ALARM_LIGHT_YELLOW */ | |
| 915 | − MX53_PAD_PATA_DA_1__GPIO7_7 0x0 | |
| 916 | − /* ACTIVATE_ALARM_LIGHT_CYAN */ | |
| 917 | − MX53_PAD_PATA_DA_2__GPIO7_8 0x0 | |
| 918 | 940 | /* RUNNING_ON_BATTERY_INDICATOR_GREEN */ |
| 919 | 941 | MX53_PAD_GPIO_16__GPIO7_11 0x0 |
| 920 | 942 | /* BATTERY_STATUS_INDICATOR_AMBER */ |
| 921 | 943 | MX53_PAD_GPIO_17__GPIO7_12 0x0 |
| 922 | − /* AUDIO_ALARMS_SILENCED_INDICATOR */ | |
| 923 | − MX53_PAD_GPIO_18__GPIO7_13 0x0 | |
| 924 | 944 | >; |
| 925 | 945 | }; |
| 926 | 946 | |
| @@ -1080,4 +1100,17 @@ · 153 unmodified lines | ||
| 1080 | 1100 | MX53_PAD_KEY_COL4__USBOH3_USBOTG_OC 0x180 |
| 1081 | 1101 | >; |
| 1082 | 1102 | }; |
| 1103 | + | |
| 1104 | + pinctrl_alarmled_pins: qmx6alarmledgrp { | |
| 1105 | + fsl,pins = < | |
| 1106 | + /* ACTIVATE_ALARM_LIGHT_RED */ | |
| 1107 | + MX53_PAD_PATA_DIOR__GPIO7_3 0x0 | |
| 1108 | + /* ACTIVATE_ALARM_LIGHT_YELLOW */ | |
| 1109 | + MX53_PAD_PATA_DA_1__GPIO7_7 0x0 | |
| 1110 | + /* ACTIVATE_ALARM_LIGHT_CYAN */ | |
| 1111 | + MX53_PAD_PATA_DA_2__GPIO7_8 0x0 | |
| 1112 | + /* AUDIO_ALARMS_SILENCED_INDICATOR */ | |
| 1113 | + MX53_PAD_GPIO_18__GPIO7_13 0x0 | |
| 1114 | + >; | |
| 1115 | + }; | |
| 1083 | 1116 | }; |
| @@ -209,6 +209,14 @@ · 208 unmodified lines | ||
| 209 | 209 | }; |
| 210 | 210 | }; |
| 211 | 211 | |
| 212 | +&pwm1 { | |
| 213 | + #pwm-cells = <2>; | |
| 214 | +}; | |
| 215 | + | |
| 216 | +&pwm2 { | |
| 217 | + #pwm-cells = <2>; | |
| 218 | +}; | |
| 219 | + | |
| 212 | 220 | &uart1 { |
| 213 | 221 | pinctrl-names = "default"; |
| 214 | 222 | pinctrl-0 = <&pinctrl_uart1>; |
| @@ -542,7 +542,6 @@ · 541 unmodified lines | ||
| 542 | 542 | &pwm2 { |
| 543 | 543 | pinctrl-names = "default"; |
| 544 | 544 | pinctrl-0 = <&pinctrl_pwm2>; |
| 545 | − #pwm-cells = <3>; | |
| 546 | 545 | }; |
| 547 | 546 | |
| 548 | 547 | &sdma { |
| @@ -236,7 +236,7 @@ · 235 unmodified lines | ||
| 236 | 236 | reg = <0x50000000 0x40000>; |
| 237 | 237 | ranges; |
| 238 | 238 | |
| 239 | − esdhc1: esdhc@50004000 { | |
| 239 | + esdhc1: mmc@50004000 { | |
| 240 | 240 | compatible = "fsl,imx53-esdhc"; |
| 241 | 241 | reg = <0x50004000 0x4000>; |
| 242 | 242 | interrupts = <1>; |
| @@ -248,7 +248,7 @@ · 5 unmodified lines | ||
| 248 | 248 | status = "disabled"; |
| 249 | 249 | }; |
| 250 | 250 | |
| 251 | − esdhc2: esdhc@50008000 { | |
| 251 | + esdhc2: mmc@50008000 { | |
| 252 | 252 | compatible = "fsl,imx53-esdhc"; |
| 253 | 253 | reg = <0x50008000 0x4000>; |
| 254 | 254 | interrupts = <2>; |
| @@ -301,7 +301,7 @@ · 46 unmodified lines | ||
| 301 | 301 | status = "disabled"; |
| 302 | 302 | }; |
| 303 | 303 | |
| 304 | − esdhc3: esdhc@50020000 { | |
| 304 | + esdhc3: mmc@50020000 { | |
| 305 | 305 | compatible = "fsl,imx53-esdhc"; |
| 306 | 306 | reg = <0x50020000 0x4000>; |
| 307 | 307 | interrupts = <3>; |
| @@ -313,7 +313,7 @@ · 5 unmodified lines | ||
| 313 | 313 | status = "disabled"; |
| 314 | 314 | }; |
| 315 | 315 | |
| 316 | − esdhc4: esdhc@50024000 { | |
| 316 | + esdhc4: mmc@50024000 { | |
| 317 | 317 | compatible = "fsl,imx53-esdhc"; |
| 318 | 318 | reg = <0x50024000 0x4000>; |
| 319 | 319 | interrupts = <4>; |
| @@ -525,7 +525,7 @@ · 205 unmodified lines | ||
| 525 | 525 | }; |
| 526 | 526 | |
| 527 | 527 | pwm1: pwm@53fb4000 { |
| 528 | − #pwm-cells = <2>; | |
| 528 | + #pwm-cells = <3>; | |
| 529 | 529 | compatible = "fsl,imx53-pwm", "fsl,imx27-pwm"; |
| 530 | 530 | reg = <0x53fb4000 0x4000>; |
| 531 | 531 | clocks = <&clks IMX5_CLK_PWM1_IPG_GATE>, |
| @@ -535,7 +535,7 @@ · 3 unmodified lines | ||
| 535 | 535 | }; |
| 536 | 536 | |
| 537 | 537 | pwm2: pwm@53fb8000 { |
| 538 | − #pwm-cells = <2>; | |
| 538 | + #pwm-cells = <3>; | |
| 539 | 539 | compatible = "fsl,imx53-pwm", "fsl,imx27-pwm"; |
| 540 | 540 | reg = <0x53fb8000 0x4000>; |
| 541 | 541 | clocks = <&clks IMX5_CLK_PWM2_IPG_GATE>, |
| @@ -667,7 +667,7 @@ · 125 unmodified lines | ||
| 667 | 667 | reg = <0x63f00000 0x60>; |
| 668 | 668 | }; |
| 669 | 669 | |
| 670 | − iim: iim@63f98000 { | |
| 670 | + iim: efuse@63f98000 { | |
| 671 | 671 | compatible = "fsl,imx53-iim", "fsl,imx27-iim"; |
| 672 | 672 | reg = <0x63f98000 0x4000>; |
| 673 | 673 | interrupts = <69>; |
| @@ -79,5 +79,6 @@ · 78 unmodified lines | ||
| 79 | 79 | }; |
| 80 | 80 | |
| 81 | 81 | &pwm1 { |
| 82 | + #pwm-cells = <2>; | |
| 82 | 83 | status = "okay"; |
| 83 | 84 | }; |
| @@ -69,5 +69,6 @@ · 68 unmodified lines | ||
| 69 | 69 | }; |
| 70 | 70 | |
| 71 | 71 | &pwm3 { |
| 72 | + #pwm-cells = <2>; | |
| 72 | 73 | status = "okay"; |
| 73 | 74 | }; |
| @@ -303,6 +303,7 @@ · 302 unmodified lines | ||
| 303 | 303 | }; |
| 304 | 304 | |
| 305 | 305 | &pwm3 { |
| 306 | + #pwm-cells = <2>; | |
| 306 | 307 | pinctrl-names = "default"; |
| 307 | 308 | pinctrl-0 = <&pinctrl_pwm3>; |
| 308 | 309 | status = "okay"; |
| @@ -0,0 +1,184 @@ | ||
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT | |
| 2 | +/* | |
| 3 | + * Copyright (c) 2014 Protonic Holland | |
| 4 | + */ | |
| 5 | + | |
| 6 | +/dts-v1/; | |
| 7 | +#include "imx6dl.dtsi" | |
| 8 | +#include "imx6qdl-prti6q.dtsi" | |
| 9 | +#include <dt-bindings/leds/common.h> | |
| 10 | + | |
| 11 | +/ { | |
| 12 | + model = "Protonic RVT board"; | |
| 13 | + compatible = "prt,prtrvt", "fsl,imx6dl"; | |
| 14 | + | |
| 15 | + memory@10000000 { | |
| 16 | + device_type = "memory"; | |
| 17 | + reg = <0x10000000 0x10000000>; | |
| 18 | + }; | |
| 19 | + | |
| 20 | + leds { | |
| 21 | + compatible = "gpio-leds"; | |
| 22 | + pinctrl-names = "default"; | |
| 23 | + pinctrl-0 = <&pinctrl_leds>; | |
| 24 | + | |
| 25 | + led-debug0 { | |
| 26 | + function = LED_FUNCTION_STATUS; | |
| 27 | + gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>; | |
| 28 | + linux,default-trigger = "heartbeat"; | |
| 29 | + }; | |
| 30 | + }; | |
| 31 | +}; | |
| 32 | + | |
| 33 | +&can1 { | |
| 34 | + pinctrl-names = "default"; | |
| 35 | + pinctrl-0 = <&pinctrl_can1 &pinctrl_can1phy>; | |
| 36 | + status = "okay"; | |
| 37 | +}; | |
| 38 | + | |
| 39 | +&ecspi1 { | |
| 40 | + cs-gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>; | |
| 41 | + pinctrl-names = "default"; | |
| 42 | + pinctrl-0 = <&pinctrl_ecspi1>; | |
| 43 | + status = "okay"; | |
| 44 | + | |
| 45 | + flash@0 { | |
| 46 | + compatible = "jedec,spi-nor"; | |
| 47 | + reg = <0>; | |
| 48 | + spi-max-frequency = <20000000>; | |
| 49 | + #address-cells = <1>; | |
| 50 | + #size-cells = <1>; | |
| 51 | + }; | |
| 52 | +}; | |
| 53 | + | |
| 54 | +&ecspi3 { | |
| 55 | + cs-gpios = <&gpio4 24 GPIO_ACTIVE_HIGH>; | |
| 56 | + pinctrl-names = "default"; | |
| 57 | + pinctrl-0 = <&pinctrl_ecspi3>; | |
| 58 | + status = "okay"; | |
| 59 | + | |
| 60 | + nfc@0 { | |
| 61 | + compatible = "ti,trf7970a"; | |
| 62 | + reg = <0>; | |
| 63 | + pinctrl-names = "default"; | |
| 64 | + pinctrl-0 = <&pinctrl_nfc>; | |
| 65 | + spi-max-frequency = <2000000>; | |
| 66 | + interrupts-extended = <&gpio5 14 IRQ_TYPE_LEVEL_LOW>; | |
| 67 | + ti,enable-gpios = <&gpio5 12 GPIO_ACTIVE_LOW>, | |
| 68 | + <&gpio5 11 GPIO_ACTIVE_LOW>; | |
| 69 | + vin-supply = <®_3v3>; | |
| 70 | + vin-voltage-override = <3100000>; | |
| 71 | + autosuspend-delay = <30000>; | |
| 72 | + irq-status-read-quirk; | |
| 73 | + en2-rf-quirk; | |
| 74 | + t5t-rmb-extra-byte-quirk; | |
| 75 | + status = "okay"; | |
| 76 | + }; | |
| 77 | +}; | |
| 78 | + | |
| 79 | +&i2c3 { | |
| 80 | + adc@49 { | |
| 81 | + compatible = "ti,ads1015"; | |
| 82 | + reg = <0x49>; | |
| 83 | + #address-cells = <1>; | |
| 84 | + #size-cells = <0>; | |
| 85 | + | |
| 86 | + /* nc */ | |
| 87 | + channel@4 { | |
| 88 | + reg = <4>; | |
| 89 | + ti,gain = <3>; | |
| 90 | + ti,datarate = <3>; | |
| 91 | + }; | |
| 92 | + | |
| 93 | + /* nc */ | |
| 94 | + channel@5 { | |
| 95 | + reg = <5>; | |
| 96 | + ti,gain = <3>; | |
| 97 | + ti,datarate = <3>; | |
| 98 | + }; | |
| 99 | + | |
| 100 | + /* can1_l */ | |
| 101 | + channel@6 { | |
| 102 | + reg = <6>; | |
| 103 | + ti,gain = <3>; | |
| 104 | + ti,datarate = <3>; | |
| 105 | + }; | |
| 106 | + | |
| 107 | + /* can1_h */ | |
| 108 | + channel@7 { | |
| 109 | + reg = <7>; | |
| 110 | + ti,gain = <3>; | |
| 111 | + ti,datarate = <3>; | |
| 112 | + }; | |
| 113 | + }; | |
| 114 | + | |
| 115 | + rtc@51 { | |
| 116 | + compatible = "nxp,pcf8563"; | |
| 117 | + reg = <0x51>; | |
| 118 | + }; | |
| 119 | +}; | |
| 120 | + | |
| 121 | +&pcie { | |
| 122 | + status = "okay"; | |
| 123 | +}; | |
| 124 | + | |
| 125 | +&usbh1 { | |
| 126 | + status = "disabled"; | |
| 127 | +}; | |
| 128 | + | |
| 129 | +&vpu { | |
| 130 | + status = "disabled"; | |
| 131 | +}; | |
| 132 | + | |
| 133 | +&iomuxc { | |
| 134 | + pinctrl_can1phy: can1phy { | |
| 135 | + fsl,pins = < | |
| 136 | + /* CAN1_SR */ | |
| 137 | + MX6QDL_PAD_KEY_COL3__GPIO4_IO12 0x13070 | |
| 138 | + /* CAN1_TERM */ | |
| 139 | + MX6QDL_PAD_GPIO_0__GPIO1_IO00 0x1b0b0 | |
| 140 | + >; | |
| 141 | + }; | |
| 142 | + | |
| 143 | + pinctrl_ecspi1: ecspi1grp { | |
| 144 | + fsl,pins = < | |
| 145 | + MX6QDL_PAD_EIM_D17__ECSPI1_MISO 0x100b1 | |
| 146 | + MX6QDL_PAD_EIM_D18__ECSPI1_MOSI 0x100b1 | |
| 147 | + MX6QDL_PAD_EIM_D16__ECSPI1_SCLK 0x100b1 | |
| 148 | + /* CS */ | |
| 149 | + MX6QDL_PAD_EIM_D19__GPIO3_IO19 0x000b1 | |
| 150 | + >; | |
| 151 | + }; | |
| 152 | + | |
| 153 | + pinctrl_ecspi3: ecspi3grp { | |
| 154 | + fsl,pins = < | |
| 155 | + MX6QDL_PAD_DISP0_DAT0__ECSPI3_SCLK 0x100b1 | |
| 156 | + MX6QDL_PAD_DISP0_DAT1__ECSPI3_MOSI 0x100b1 | |
| 157 | + MX6QDL_PAD_DISP0_DAT2__ECSPI3_MISO 0x100b1 | |
| 158 | + MX6QDL_PAD_DISP0_DAT3__GPIO4_IO24 0x000b1 | |
| 159 | + >; | |
| 160 | + }; | |
| 161 | + | |
| 162 | + pinctrl_leds: ledsgrp { | |
| 163 | + fsl,pins = < | |
| 164 | + MX6QDL_PAD_GPIO_8__GPIO1_IO08 0x1b0b0 | |
| 165 | + >; | |
| 166 | + }; | |
| 167 | + | |
| 168 | + pinctrl_nfc: nfcgrp { | |
| 169 | + fsl,pins = < | |
| 170 | + /* NFC_ASK_OOK */ | |
| 171 | + MX6QDL_PAD_DISP0_DAT15__GPIO5_IO09 0x100b1 | |
| 172 | + /* NFC_PWR_EN */ | |
| 173 | + MX6QDL_PAD_DISP0_DAT16__GPIO5_IO10 0x100b1 | |
| 174 | + /* NFC_EN2 */ | |
| 175 | + MX6QDL_PAD_DISP0_DAT17__GPIO5_IO11 0x100b1 | |
| 176 | + /* NFC_EN */ | |
| 177 | + MX6QDL_PAD_DISP0_DAT18__GPIO5_IO12 0x100b1 | |
| 178 | + /* NFC_MOD */ | |
| 179 | + MX6QDL_PAD_DISP0_DAT19__GPIO5_IO13 0x100b1 | |
| 180 | + /* NFC_IRQ */ | |
| 181 | + MX6QDL_PAD_DISP0_DAT20__GPIO5_IO14 0x100b1 | |
| 182 | + >; | |
| 183 | + }; | |
| 184 | +}; | |
| @@ -0,0 +1,411 @@ | ||
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT | |
| 2 | +/* | |
| 3 | + * Copyright (c) 2016 Protonic Holland | |
| 4 | + */ | |
| 5 | + | |
| 6 | +/dts-v1/; | |
| 7 | +#include "imx6dl.dtsi" | |
| 8 | +#include "imx6qdl-prti6q.dtsi" | |
| 9 | +#include <dt-bindings/input/input.h> | |
| 10 | +#include <dt-bindings/leds/common.h> | |
| 11 | +#include <dt-bindings/sound/fsl-imx-audmux.h> | |
| 12 | + | |
| 13 | +/ { | |
| 14 | + model = "Protonic VT7"; | |
| 15 | + compatible = "prt,prtvt7", "fsl,imx6dl"; | |
| 16 | + | |
| 17 | + memory@10000000 { | |
| 18 | + device_type = "memory"; | |
| 19 | + reg = <0x10000000 0x20000000>; | |
| 20 | + }; | |
| 21 | + | |
| 22 | + backlight_lcd: backlight-lcd { | |
| 23 | + compatible = "pwm-backlight"; | |
| 24 | + pinctrl-names = "default"; | |
| 25 | + pinctrl-0 = <&pinctrl_backlight>; | |
| 26 | + pwms = <&pwm1 0 500000>; | |
| 27 | + brightness-levels = <0 20 81 248 1000>; | |
| 28 | + default-brightness-level = <20>; | |
| 29 | + num-interpolated-steps = <21>; | |
| 30 | + power-supply = <®_bl_12v0>; | |
| 31 | + enable-gpios = <&gpio4 28 GPIO_ACTIVE_HIGH>; | |
| 32 | + }; | |
| 33 | + | |
| 34 | + keys { | |
| 35 | + compatible = "gpio-keys"; | |
| 36 | + autorepeat; | |
| 37 | + | |
| 38 | + esc { | |
| 39 | + label = "GPIO Key ESC"; | |
| 40 | + linux,code = <KEY_ESC>; | |
| 41 | + gpios = <&gpio_pca 0 GPIO_ACTIVE_LOW>; | |
| 42 | + }; | |
| 43 | + | |
| 44 | + up { | |
| 45 | + label = "GPIO Key UP"; | |
| 46 | + linux,code = <KEY_UP>; | |
| 47 | + gpios = <&gpio_pca 1 GPIO_ACTIVE_LOW>; | |
| 48 | + }; | |
| 49 | + | |
| 50 | + down { | |
| 51 | + label = "GPIO Key DOWN"; | |
| 52 | + linux,code = <KEY_DOWN>; | |
| 53 | + gpios = <&gpio_pca 4 GPIO_ACTIVE_LOW>; | |
| 54 | + }; | |
| 55 | + | |
| 56 | + enter { | |
| 57 | + label = "GPIO Key Enter"; | |
| 58 | + linux,code = <KEY_ENTER>; | |
| 59 | + gpios = <&gpio_pca 3 GPIO_ACTIVE_LOW>; | |
| 60 | + }; | |
| 61 | + | |
| 62 | + cycle { | |
| 63 | + label = "GPIO Key CYCLE"; | |
| 64 | + linux,code = <KEY_CYCLEWINDOWS>; | |
| 65 | + gpios = <&gpio_pca 2 GPIO_ACTIVE_LOW>; | |
| 66 | + }; | |
| 67 | + | |
| 68 | + f1 { | |
| 69 | + label = "GPIO Key F1"; | |
| 70 | + linux,code = <KEY_F1>; | |
| 71 | + gpios = <&gpio_pca 14 GPIO_ACTIVE_LOW>; | |
| 72 | + }; | |
| 73 | + | |
| 74 | + f2 { | |
| 75 | + label = "GPIO Key F2"; | |
| 76 | + linux,code = <KEY_F2>; | |
| 77 | + gpios = <&gpio_pca 13 GPIO_ACTIVE_LOW>; | |
| 78 | + }; | |
| 79 | + | |
| 80 | + f3 { | |
| 81 | + label = "GPIO Key F3"; | |
| 82 | + linux,code = <KEY_F3>; | |
| 83 | + gpios = <&gpio_pca 12 GPIO_ACTIVE_LOW>; | |
| 84 | + }; | |
| 85 | + | |
| 86 | + f4 { | |
| 87 | + label = "GPIO Key F4"; | |
| 88 | + linux,code = <KEY_F4>; | |
| 89 | + gpios = <&gpio_pca 11 GPIO_ACTIVE_LOW>; | |
| 90 | + }; | |
| 91 | + | |
| 92 | + f5 { | |
| 93 | + label = "GPIO Key F5"; | |
| 94 | + linux,code = <KEY_F5>; | |
| 95 | + gpios = <&gpio_pca 10 GPIO_ACTIVE_LOW>; | |
| 96 | + }; | |
| 97 | + | |
| 98 | + f6 { | |
| 99 | + label = "GPIO Key F6"; | |
| 100 | + linux,code = <KEY_F6>; | |
| 101 | + gpios = <&gpio_pca 5 GPIO_ACTIVE_LOW>; | |
| 102 | + }; | |
| 103 | + | |
| 104 | + f7 { | |
| 105 | + label = "GPIO Key F7"; | |
| 106 | + linux,code = <KEY_F7>; | |
| 107 | + gpios = <&gpio_pca 6 GPIO_ACTIVE_LOW>; | |
| 108 | + }; | |
| 109 | + | |
| 110 | + f8 { | |
| 111 | + label = "GPIO Key F8"; | |
| 112 | + linux,code = <KEY_F8>; | |
| 113 | + gpios = <&gpio_pca 7 GPIO_ACTIVE_LOW>; | |
| 114 | + }; | |
| 115 | + | |
| 116 | + f9 { | |
| 117 | + label = "GPIO Key F9"; | |
| 118 | + linux,code = <KEY_F9>; | |
| 119 | + gpios = <&gpio_pca 8 GPIO_ACTIVE_LOW>; | |
| 120 | + }; | |
| 121 | + | |
| 122 | + f10 { | |
| 123 | + label = "GPIO Key F10"; | |
| 124 | + linux,code = <KEY_F10>; | |
| 125 | + gpios = <&gpio_pca 9 GPIO_ACTIVE_LOW>; | |
| 126 | + }; | |
| 127 | + }; | |
| 128 | + | |
| 129 | + leds { | |
| 130 | + compatible = "gpio-leds"; | |
| 131 | + pinctrl-names = "default"; | |
| 132 | + pinctrl-0 = <&pinctrl_leds>; | |
| 133 | + | |
| 134 | + led-debug0 { | |
| 135 | + function = LED_FUNCTION_STATUS; | |
| 136 | + gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>; | |
| 137 | + linux,default-trigger = "heartbeat"; | |
| 138 | + }; | |
| 139 | + }; | |
| 140 | + | |
| 141 | + reg_bl_12v0: regulator-bl-12v0 { | |
| 142 | + compatible = "regulator-fixed"; | |
| 143 | + pinctrl-names = "default"; | |
| 144 | + pinctrl-0 = <&pinctrl_reg_bl_12v0>; | |
| 145 | + regulator-name = "bl-12v0"; | |
| 146 | + regulator-min-microvolt = <12000000>; | |
| 147 | + regulator-max-microvolt = <12000000>; | |
| 148 | + gpio = <&gpio1 7 GPIO_ACTIVE_HIGH>; | |
| 149 | + enable-active-high; | |
| 150 | + }; | |
| 151 | + | |
| 152 | + reg_1v8: regulator-1v8 { | |
| 153 | + compatible = "regulator-fixed"; | |
| 154 | + regulator-name = "1v8"; | |
| 155 | + regulator-min-microvolt = <1800000>; | |
| 156 | + regulator-max-microvolt = <1800000>; | |
| 157 | + }; | |
| 158 | + | |
| 159 | + sound { | |
| 160 | + compatible = "simple-audio-card"; | |
| 161 | + simple-audio-card,name = "prti6q-sgtl5000"; | |
| 162 | + simple-audio-card,format = "i2s"; | |
| 163 | + simple-audio-card,widgets = | |
| 164 | + "Microphone", "Microphone Jack", | |
| 165 | + "Line", "Line In Jack", | |
| 166 | + "Headphone", "Headphone Jack", | |
| 167 | + "Speaker", "External Speaker"; | |
| 168 | + simple-audio-card,routing = | |
| 169 | + "MIC_IN", "Microphone Jack", | |
| 170 | + "LINE_IN", "Line In Jack", | |
| 171 | + "Headphone Jack", "HP_OUT", | |
| 172 | + "External Speaker", "LINE_OUT"; | |
| 173 | + | |
| 174 | + simple-audio-card,cpu { | |
| 175 | + sound-dai = <&ssi1>; | |
| 176 | + system-clock-frequency = <0>; | |
| 177 | + }; | |
| 178 | + | |
| 179 | + simple-audio-card,codec { | |
| 180 | + sound-dai = <&sgtl5000>; | |
| 181 | + bitclock-master; | |
| 182 | + frame-master; | |
| 183 | + }; | |
| 184 | + }; | |
| 185 | +}; | |
| 186 | + | |
| 187 | +&audmux { | |
| 188 | + pinctrl-names = "default"; | |
| 189 | + pinctrl-0 = <&pinctrl_audmux>; | |
| 190 | + status = "okay"; | |
| 191 | + | |
| 192 | + mux-ssi1 { | |
| 193 | + fsl,audmux-port = <0>; | |
| 194 | + fsl,port-config = < | |
| 195 | + IMX_AUDMUX_V2_PTCR_SYN 0 | |
| 196 | + IMX_AUDMUX_V2_PTCR_TFSEL(2) 0 | |
| 197 | + IMX_AUDMUX_V2_PTCR_TCSEL(2) 0 | |
| 198 | + IMX_AUDMUX_V2_PTCR_TFSDIR 0 | |
| 199 | + IMX_AUDMUX_V2_PTCR_TCLKDIR IMX_AUDMUX_V2_PDCR_RXDSEL(2) | |
| 200 | + >; | |
| 201 | + }; | |
| 202 | + | |
| 203 | + mux-pins3 { | |
| 204 | + fsl,audmux-port = <2>; | |
| 205 | + fsl,port-config = < | |
| 206 | + IMX_AUDMUX_V2_PTCR_SYN IMX_AUDMUX_V2_PDCR_RXDSEL(0) | |
| 207 | + 0 IMX_AUDMUX_V2_PDCR_TXRXEN | |
| 208 | + >; | |
| 209 | + }; | |
| 210 | +}; | |
| 211 | + | |
| 212 | +&can1 { | |
| 213 | + pinctrl-0 = <&pinctrl_can1 &pinctrl_can1phy>; | |
| 214 | +}; | |
| 215 | + | |
| 216 | +&clks { | |
| 217 | + assigned-clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>; | |
| 218 | + assigned-clock-parents = <&clks IMX6QDL_CLK_PLL5_VIDEO_DIV>; | |
| 219 | +}; | |
| 220 | + | |
| 221 | +&ecspi2 { | |
| 222 | + cs-gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>; | |
| 223 | + pinctrl-names = "default"; | |
| 224 | + pinctrl-0 = <&pinctrl_ecspi2>; | |
| 225 | + status = "okay"; | |
| 226 | +}; | |
| 227 | + | |
| 228 | +&i2c1 { | |
| 229 | + sgtl5000: audio-codec@a { | |
| 230 | + compatible = "fsl,sgtl5000"; | |
| 231 | + reg = <0xa>; | |
| 232 | + pinctrl-names = "default"; | |
| 233 | + pinctrl-0 = <&pinctrl_codec>; | |
| 234 | + #sound-dai-cells = <0>; | |
| 235 | + clocks = <&clks 201>; | |
| 236 | + VDDA-supply = <®_3v3>; | |
| 237 | + VDDIO-supply = <®_3v3>; | |
| 238 | + VDDD-supply = <®_1v8>; | |
| 239 | + }; | |
| 240 | +}; | |
| 241 | + | |
| 242 | +&i2c3 { | |
| 243 | + rtc@51 { | |
| 244 | + compatible = "nxp,pcf8563"; | |
| 245 | + reg = <0x51>; | |
| 246 | + }; | |
| 247 | + | |
| 248 | + gpio_pca: gpio@74 { | |
| 249 | + compatible = "nxp,pca9539"; | |
| 250 | + reg = <0x74>; | |
| 251 | + interrupts-extended = <&gpio4 5 IRQ_TYPE_LEVEL_LOW>; | |
| 252 | + #gpio-cells = <2>; | |
| 253 | + gpio-controller; | |
| 254 | + }; | |
| 255 | +}; | |
| 256 | + | |
| 257 | +&ipu1 { | |
| 258 | + pinctrl-names = "default"; | |
| 259 | + pinctrl-0 = <&pinctrl_ipu1_csi0>; | |
| 260 | + status = "okay"; | |
| 261 | +}; | |
| 262 | + | |
| 263 | +&pwm1 { | |
| 264 | + #pwm-cells = <2>; | |
| 265 | + pinctrl-names = "default"; | |
| 266 | + pinctrl-0 = <&pinctrl_pwm1>; | |
| 267 | + status = "okay"; | |
| 268 | +}; | |
| 269 | + | |
| 270 | +&snvs_poweroff { | |
| 271 | + status = "okay"; | |
| 272 | +}; | |
| 273 | + | |
| 274 | +&snvs_pwrkey { | |
| 275 | + status = "okay"; | |
| 276 | +}; | |
| 277 | + | |
| 278 | +&ssi1 { | |
| 279 | + #sound-dai-cells = <0>; | |
| 280 | + fsl,mode = "ac97-slave"; | |
| 281 | + status = "okay"; | |
| 282 | +}; | |
| 283 | + | |
| 284 | +&usbh1 { | |
| 285 | + status = "disabled"; | |
| 286 | +}; | |
| 287 | + | |
| 288 | +&vpu { | |
| 289 | + status = "disabled"; | |
| 290 | +}; | |
| 291 | + | |
| 292 | +&iomuxc { | |
| 293 | + pinctrl_audmux: audmuxgrp { | |
| 294 | + fsl,pins = < | |
| 295 | + MX6QDL_PAD_CSI0_MCLK__CCM_CLKO1 0x030b0 | |
| 296 | + MX6QDL_PAD_CSI0_DAT7__AUD3_RXD 0x130b0 | |
| 297 | + MX6QDL_PAD_CSI0_DAT4__AUD3_TXC 0x130b0 | |
| 298 | + MX6QDL_PAD_CSI0_DAT5__AUD3_TXD 0x110b0 | |
| 299 | + MX6QDL_PAD_CSI0_DAT6__AUD3_TXFS 0x130b0 | |
| 300 | + >; | |
| 301 | + }; | |
| 302 | + | |
| 303 | + pinctrl_backlight: backlightgrp { | |
| 304 | + fsl,pins = < | |
| 305 | + MX6QDL_PAD_DISP0_DAT7__GPIO4_IO28 0x1b0b0 | |
| 306 | + >; | |
| 307 | + }; | |
| 308 | + | |
| 309 | + pinctrl_can1phy: can1phy { | |
| 310 | + fsl,pins = < | |
| 311 | + /* CAN1_SR */ | |
| 312 | + MX6QDL_PAD_KEY_COL3__GPIO4_IO12 0x13070 | |
| 313 | + /* CAN1_TERM */ | |
| 314 | + MX6QDL_PAD_GPIO_0__GPIO1_IO00 0x1b0b0 | |
| 315 | + >; | |
| 316 | + }; | |
| 317 | + | |
| 318 | + pinctrl_codec: codecgrp { | |
| 319 | + fsl,pins = < | |
| 320 | + /* AUDIO_nRESET */ | |
| 321 | + MX6QDL_PAD_CSI0_VSYNC__GPIO5_IO21 0x1f0b0 | |
| 322 | + >; | |
| 323 | + }; | |
| 324 | + | |
| 325 | + pinctrl_ecspi2: ecspi2grp { | |
| 326 | + fsl,pins = < | |
| 327 | + MX6QDL_PAD_EIM_OE__ECSPI2_MISO 0x100b1 | |
| 328 | + MX6QDL_PAD_EIM_CS0__ECSPI2_SCLK 0x100b1 | |
| 329 | + MX6QDL_PAD_EIM_CS1__ECSPI2_MOSI 0x100b1 | |
| 330 | + MX6QDL_PAD_EIM_RW__GPIO2_IO26 0x000b1 | |
| 331 | + >; | |
| 332 | + }; | |
| 333 | + | |
| 334 | + pinctrl_ipu1_csi0: ipu1csi0grp { | |
| 335 | + fsl,pins = < | |
| 336 | + MX6QDL_PAD_CSI0_DAT12__IPU1_CSI0_DATA12 0x1b0b0 | |
| 337 | + MX6QDL_PAD_CSI0_DAT13__IPU1_CSI0_DATA13 0x1b0b0 | |
| 338 | + MX6QDL_PAD_CSI0_DAT14__IPU1_CSI0_DATA14 0x1b0b0 | |
| 339 | + MX6QDL_PAD_CSI0_DAT15__IPU1_CSI0_DATA15 0x1b0b0 | |
| 340 | + MX6QDL_PAD_CSI0_DAT16__IPU1_CSI0_DATA16 0x1b0b0 | |
| 341 | + MX6QDL_PAD_CSI0_DAT17__IPU1_CSI0_DATA17 0x1b0b0 | |
| 342 | + MX6QDL_PAD_CSI0_DAT18__IPU1_CSI0_DATA18 0x1b0b0 | |
| 343 | + MX6QDL_PAD_CSI0_DAT19__IPU1_CSI0_DATA19 0x1b0b0 | |
| 344 | + MX6QDL_PAD_CSI0_PIXCLK__IPU1_CSI0_PIXCLK 0x1b0b0 | |
| 345 | + /* ITU656_nRESET */ | |
| 346 | + MX6QDL_PAD_GPIO_2__GPIO1_IO02 0x1b0b0 | |
| 347 | + /* ITU656_nPDN */ | |
| 348 | + MX6QDL_PAD_CSI0_DATA_EN__GPIO5_IO20 0x1b0b0 | |
| 349 | + >; | |
| 350 | + }; | |
| 351 | + | |
| 352 | + pinctrl_ipu1_disp: ipudisp1grp { | |
| 353 | + fsl,pins = < | |
| 354 | + MX6QDL_PAD_DI0_DISP_CLK__IPU1_DI0_DISP_CLK 0xb0 | |
| 355 | + MX6QDL_PAD_DI0_PIN15__IPU1_DI0_PIN15 0xb0 | |
| 356 | + | |
| 357 | + MX6QDL_PAD_DISP0_DAT0__IPU1_DISP0_DATA00 0xb0 | |
| 358 | + MX6QDL_PAD_DISP0_DAT1__IPU1_DISP0_DATA01 0xb0 | |
| 359 | + MX6QDL_PAD_DISP0_DAT2__IPU1_DISP0_DATA02 0xb0 | |
| 360 | + MX6QDL_PAD_DISP0_DAT3__IPU1_DISP0_DATA03 0xb0 | |
| 361 | + MX6QDL_PAD_DISP0_DAT4__IPU1_DISP0_DATA04 0xb0 | |
| 362 | + MX6QDL_PAD_DISP0_DAT5__IPU1_DISP0_DATA05 0xb0 | |
| 363 | + MX6QDL_PAD_DISP0_DAT6__IPU1_DISP0_DATA06 0xb0 | |
| 364 | + MX6QDL_PAD_DISP0_DAT7__IPU1_DISP0_DATA07 0xb0 | |
| 365 | + | |
| 366 | + MX6QDL_PAD_DISP0_DAT8__IPU1_DISP0_DATA08 0xb0 | |
| 367 | + MX6QDL_PAD_DISP0_DAT9__IPU1_DISP0_DATA09 0xb0 | |
| 368 | + MX6QDL_PAD_DISP0_DAT10__IPU1_DISP0_DATA10 0xb0 | |
| 369 | + MX6QDL_PAD_DISP0_DAT11__IPU1_DISP0_DATA11 0xb0 | |
| 370 | + MX6QDL_PAD_DISP0_DAT12__IPU1_DISP0_DATA12 0xb0 | |
| 371 | + MX6QDL_PAD_DISP0_DAT13__IPU1_DISP0_DATA13 0xb0 | |
| 372 | + MX6QDL_PAD_DISP0_DAT14__IPU1_DISP0_DATA14 0xb0 | |
| 373 | + MX6QDL_PAD_DISP0_DAT15__IPU1_DISP0_DATA15 0xb0 | |
| 374 | + | |
| 375 | + MX6QDL_PAD_DISP0_DAT16__IPU1_DISP0_DATA16 0xb0 | |
| 376 | + MX6QDL_PAD_DISP0_DAT17__IPU1_DISP0_DATA17 0xb0 | |
| 377 | + MX6QDL_PAD_DISP0_DAT18__IPU1_DISP0_DATA18 0xb0 | |
| 378 | + MX6QDL_PAD_DISP0_DAT19__IPU1_DISP0_DATA19 0xb0 | |
| 379 | + MX6QDL_PAD_DISP0_DAT20__IPU1_DISP0_DATA20 0xb0 | |
| 380 | + MX6QDL_PAD_DISP0_DAT21__IPU1_DISP0_DATA21 0xb0 | |
| 381 | + MX6QDL_PAD_DISP0_DAT22__IPU1_DISP0_DATA22 0xb0 | |
| 382 | + MX6QDL_PAD_DISP0_DAT23__IPU1_DISP0_DATA23 0xb0 | |
| 383 | + >; | |
| 384 | + }; | |
| 385 | + | |
| 386 | + pinctrl_leds: ledsgrp { | |
| 387 | + fsl,pins = < | |
| 388 | + MX6QDL_PAD_GPIO_8__GPIO1_IO08 0x1b0b0 | |
| 389 | + >; | |
| 390 | + }; | |
| 391 | + | |
| 392 | + pinctrl_pwm1: pwm1grp { | |
| 393 | + fsl,pins = < | |
| 394 | + MX6QDL_PAD_GPIO_9__PWM1_OUT 0x1b0b0 | |
| 395 | + >; | |
| 396 | + }; | |
| 397 | + | |
| 398 | + pinctrl_reg_bl_12v0: 12blgrp { | |
| 399 | + fsl,pins = < | |
| 400 | + MX6QDL_PAD_GPIO_7__GPIO1_IO07 0x1b0b0 | |
| 401 | + >; | |
| 402 | + }; | |
| 403 | + | |
| 404 | + pinctrl_tsc: tscgrp { | |
| 405 | + | |
| 406 | + fsl,pins = < | |
| 407 | + MX6QDL_PAD_EIM_D20__GPIO3_IO20 0x1b0b0 | |
| 408 | + MX6QDL_PAD_EIM_EB2__GPIO2_IO30 0x1b0b0 | |
| 409 | + >; | |
| 410 | + }; | |
| 411 | +}; | |
| @@ -540,7 +540,6 @@ · 539 unmodified lines | ||
| 540 | 540 | }; |
| 541 | 541 | |
| 542 | 542 | &pwm1 { |
| 543 | − #pwm-cells = <3>; | |
| 544 | 543 | pinctrl-names = "default"; |
| 545 | 544 | pinctrl-0 = <&pinctrl_pwm1>; |
| 546 | 545 | status = "disabled"; |
| @@ -334,6 +334,7 @@ · 333 unmodified lines | ||
| 334 | 334 | }; |
| 335 | 335 | |
| 336 | 336 | &pwm1 { |
| 337 | + #pwm-cells = <2>; | |
| 337 | 338 | pinctrl-names = "default"; |
| 338 | 339 | pinctrl-0 = <&pinctrl_pwm1>; |
| 339 | 340 | status = "okay"; |
| @@ -253,7 +253,6 @@ · 252 unmodified lines | ||
| 253 | 253 | &pwm1 { |
| 254 | 254 | pinctrl-names = "default"; |
| 255 | 255 | pinctrl-0 = <&pinctrl_pwm1>; |
| 256 | − #pwm-cells = <3>; | |
| 257 | 256 | status = "okay"; |
| 258 | 257 | }; |
| 259 | 258 | |
| @@ -399,7 +399,6 @@ · 398 unmodified lines | ||
| 399 | 399 | }; |
| 400 | 400 | |
| 401 | 401 | &pwm2 { |
| 402 | − #pwm-cells = <3>; | |
| 403 | 402 | pinctrl-names = "default"; |
| 404 | 403 | pinctrl-0 = <&pinctrl_pwm2>; |
| 405 | 404 | status = "okay"; |
| @@ -378,12 +378,14 @@ · 377 unmodified lines | ||
| 378 | 378 | }; |
| 379 | 379 | |
| 380 | 380 | &pwm1 { |
| 381 | + #pwm-cells = <2>; | |
| 381 | 382 | pinctrl-names = "default"; |
| 382 | 383 | pinctrl-0 = <&pinctrl_pwm1>; |
| 383 | 384 | status = "okay"; |
| 384 | 385 | }; |
| 385 | 386 | |
| 386 | 387 | &pwm2 { |
| 388 | + #pwm-cells = <2>; | |
| 387 | 389 | pinctrl-names = "default"; |
| 388 | 390 | pinctrl-0 = <&pinctrl_pwm2>; |
| 389 | 391 | status = "okay"; |
| @@ -237,7 +237,6 @@ · 236 unmodified lines | ||
| 237 | 237 | }; |
| 238 | 238 | |
| 239 | 239 | &pwm2 { |
| 240 | − #pwm-cells = <3>; | |
| 241 | 240 | pinctrl-names = "default"; |
| 242 | 241 | pinctrl-0 = <&pinctrl_pwm2>; |
| 243 | 242 | status = "okay"; |
| @@ -455,6 +455,7 @@ · 454 unmodified lines | ||
| 455 | 455 | }; |
| 456 | 456 | |
| 457 | 457 | &pwm1 { |
| 458 | + #pwm-cells = <2>; | |
| 458 | 459 | status = "okay"; |
| 459 | 460 | }; |
| 460 | 461 | |
| @@ -570,6 +570,7 @@ · 569 unmodified lines | ||
| 570 | 570 | }; |
| 571 | 571 | |
| 572 | 572 | &pwm1 { |
| 573 | + #pwm-cells = <2>; | |
| 573 | 574 | pinctrl-names = "default"; |
| 574 | 575 | pinctrl-0 = <&pinctrl_pwm1>; |
| 575 | 576 | status = "okay"; |
| @@ -0,0 +1,543 @@ | ||
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT | |
| 2 | +/* | |
| 3 | + * Copyright (c) 2014 Protonic Holland | |
| 4 | + */ | |
| 5 | + | |
| 6 | +/dts-v1/; | |
| 7 | +#include "imx6q.dtsi" | |
| 8 | +#include "imx6qdl-prti6q.dtsi" | |
| 9 | +#include <dt-bindings/leds/common.h> | |
| 10 | +#include <dt-bindings/sound/fsl-imx-audmux.h> | |
| 11 | + | |
| 12 | +/ { | |
| 13 | + model = "Protonic PRTI6Q board"; | |
| 14 | + compatible = "prt,prti6q", "fsl,imx6q"; | |
| 15 | + | |
| 16 | + memory@10000000 { | |
| 17 | + device_type = "memory"; | |
| 18 | + reg = <0x10000000 0xf0000000>; | |
| 19 | + }; | |
| 20 | + | |
| 21 | + backlight_lcd: backlight-lcd { | |
| 22 | + compatible = "pwm-backlight"; | |
| 23 | + pinctrl-names = "default"; | |
| 24 | + pinctrl-0 = <&pinctrl_backlight>; | |
| 25 | + pwms = <&pwm1 0 5000000>; | |
| 26 | + brightness-levels = <0 16 64 255>; | |
| 27 | + num-interpolated-steps = <16>; | |
| 28 | + default-brightness-level = <1>; | |
| 29 | + power-supply = <®_3v3>; | |
| 30 | + enable-gpios = <&gpio4 28 GPIO_ACTIVE_HIGH>; | |
| 31 | + }; | |
| 32 | + | |
| 33 | + can_osc: can-osc { | |
| 34 | + compatible = "fixed-clock"; | |
| 35 | + #clock-cells = <0>; | |
| 36 | + clock-frequency = <25000000>; | |
| 37 | + }; | |
| 38 | + | |
| 39 | + leds { | |
| 40 | + compatible = "gpio-leds"; | |
| 41 | + pinctrl-names = "default"; | |
| 42 | + pinctrl-0 = <&pinctrl_leds>; | |
| 43 | + | |
| 44 | + led-debug0 { | |
| 45 | + function = LED_FUNCTION_STATUS; | |
| 46 | + gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>; | |
| 47 | + linux,default-trigger = "heartbeat"; | |
| 48 | + }; | |
| 49 | + | |
| 50 | + led-debug1 { | |
| 51 | + function = LED_FUNCTION_SD; | |
| 52 | + gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>; | |
| 53 | + linux,default-trigger = "disk-activity"; | |
| 54 | + }; | |
| 55 | + }; | |
| 56 | + | |
| 57 | + panel { | |
| 58 | + compatible = "kyo,tcg121xglp"; | |
| 59 | + backlight = <&backlight_lcd>; | |
| 60 | + | |
| 61 | + port { | |
| 62 | + panel_in: endpoint { | |
| 63 | + remote-endpoint = <&lvds0_out>; | |
| 64 | + }; | |
| 65 | + }; | |
| 66 | + }; | |
| 67 | + | |
| 68 | + reg_1v8: regulator-1v8 { | |
| 69 | + compatible = "regulator-fixed"; | |
| 70 | + regulator-name = "1v8"; | |
| 71 | + regulator-min-microvolt = <1800000>; | |
| 72 | + regulator-max-microvolt = <1800000>; | |
| 73 | + }; | |
| 74 | + | |
| 75 | + reg_wifi: regulator-wifi { | |
| 76 | + compatible = "regulator-fixed"; | |
| 77 | + pinctrl-names = "default"; | |
| 78 | + pinctrl-0 = <&pinctrl_wifi_npd>; | |
| 79 | + enable-active-high; | |
| 80 | + gpio = <&gpio1 26 GPIO_ACTIVE_HIGH>; | |
| 81 | + regulator-max-microvolt = <1800000>; | |
| 82 | + regulator-min-microvolt = <1800000>; | |
| 83 | + regulator-name = "regulator-WL12xx"; | |
| 84 | + startup-delay-us = <70000>; | |
| 85 | + }; | |
| 86 | + | |
| 87 | + sound { | |
| 88 | + compatible = "simple-audio-card"; | |
| 89 | + simple-audio-card,name = "prti6q-sgtl5000"; | |
| 90 | + simple-audio-card,format = "i2s"; | |
| 91 | + simple-audio-card,widgets = | |
| 92 | + "Microphone", "Microphone Jack", | |
| 93 | + "Line", "Line In Jack", | |
| 94 | + "Headphone", "Headphone Jack", | |
| 95 | + "Speaker", "External Speaker"; | |
| 96 | + simple-audio-card,routing = | |
| 97 | + "MIC_IN", "Microphone Jack", | |
| 98 | + "LINE_IN", "Line In Jack", | |
| 99 | + "Headphone Jack", "HP_OUT", | |
| 100 | + "External Speaker", "LINE_OUT"; | |
| 101 | + | |
| 102 | + simple-audio-card,cpu { | |
| 103 | + sound-dai = <&ssi1>; | |
| 104 | + system-clock-frequency = <0>; | |
| 105 | + }; | |
| 106 | + | |
| 107 | + simple-audio-card,codec { | |
| 108 | + sound-dai = <&sgtl5000>; | |
| 109 | + bitclock-master; | |
| 110 | + frame-master; | |
| 111 | + }; | |
| 112 | + }; | |
| 113 | + | |
| 114 | + sound-spdif { | |
| 115 | + compatible = "fsl,imx-audio-spdif"; | |
| 116 | + model = "imx-spdif"; | |
| 117 | + spdif-controller = <&spdif>; | |
| 118 | + spdif-in; | |
| 119 | + spdif-out; | |
| 120 | + }; | |
| 121 | +}; | |
| 122 | + | |
| 123 | +&audmux { | |
| 124 | + pinctrl-names = "default"; | |
| 125 | + pinctrl-0 = <&pinctrl_audmux>; | |
| 126 | + status = "okay"; | |
| 127 | + | |
| 128 | + mux-ssi1 { | |
| 129 | + fsl,audmux-port = <0>; | |
| 130 | + fsl,port-config = < | |
| 131 | + IMX_AUDMUX_V2_PTCR_SYN 0 | |
| 132 | + IMX_AUDMUX_V2_PTCR_TFSEL(2) 0 | |
| 133 | + IMX_AUDMUX_V2_PTCR_TCSEL(2) 0 | |
| 134 | + IMX_AUDMUX_V2_PTCR_TFSDIR 0 | |
| 135 | + IMX_AUDMUX_V2_PTCR_TCLKDIR IMX_AUDMUX_V2_PDCR_RXDSEL(2) | |
| 136 | + >; | |
| 137 | + }; | |
| 138 | + | |
| 139 | + mux-pins3 { | |
| 140 | + fsl,audmux-port = <2>; | |
| 141 | + fsl,port-config = < | |
| 142 | + IMX_AUDMUX_V2_PTCR_SYN IMX_AUDMUX_V2_PDCR_RXDSEL(0) | |
| 143 | + 0 IMX_AUDMUX_V2_PDCR_TXRXEN | |
| 144 | + >; | |
| 145 | + }; | |
| 146 | +}; | |
| 147 | + | |
| 148 | +&can1 { | |
| 149 | + pinctrl-names = "default"; | |
| 150 | + pinctrl-0 = <&pinctrl_can1>; | |
| 151 | + status = "okay"; | |
| 152 | +}; | |
| 153 | + | |
| 154 | +&can2 { | |
| 155 | + pinctrl-names = "default"; | |
| 156 | + pinctrl-0 = <&pinctrl_can2>; | |
| 157 | + status = "okay"; | |
| 158 | +}; | |
| 159 | + | |
| 160 | +&ecspi1 { | |
| 161 | + cs-gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>; | |
| 162 | + pinctrl-names = "default"; | |
| 163 | + pinctrl-0 = <&pinctrl_ecspi1>; | |
| 164 | + status = "okay"; | |
| 165 | + | |
| 166 | + flash@0 { | |
| 167 | + compatible = "jedec,spi-nor"; | |
| 168 | + reg = <0>; | |
| 169 | + spi-max-frequency = <20000000>; | |
| 170 | + }; | |
| 171 | +}; | |
| 172 | + | |
| 173 | +&ecspi2 { | |
| 174 | + cs-gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>, <&gpio4 25 GPIO_ACTIVE_HIGH>; | |
| 175 | + pinctrl-names = "default"; | |
| 176 | + pinctrl-0 = <&pinctrl_ecspi2 &pinctrl_ecspi2_cs>; | |
| 177 | + status = "okay"; | |
| 178 | + | |
| 179 | + can@0 { | |
| 180 | + compatible = "microchip,mcp2515"; | |
| 181 | + reg = <0>; | |
| 182 | + pinctrl-names = "default"; | |
| 183 | + pinctrl-0 = <&pinctrl_can3>; | |
| 184 | + clocks = <&can_osc>; | |
| 185 | + interrupts-extended = <&gpio3 20 IRQ_TYPE_LEVEL_LOW>; | |
| 186 | + spi-max-frequency = <5000000>; | |
| 187 | + }; | |
| 188 | + | |
| 189 | + adc@1 { | |
| 190 | + compatible = "ti,adc128s052"; | |
| 191 | + reg = <1>; | |
| 192 | + spi-max-frequency = <2000000>; | |
| 193 | + vref-supply = <®_3v3>; | |
| 194 | + }; | |
| 195 | +}; | |
| 196 | + | |
| 197 | +&ecspi3 { | |
| 198 | + cs-gpios = <&gpio4 24 GPIO_ACTIVE_HIGH>; | |
| 199 | + pinctrl-names = "default"; | |
| 200 | + pinctrl-0 = <&pinctrl_ecspi3>; | |
| 201 | + status = "okay"; | |
| 202 | +}; | |
| 203 | + | |
| 204 | +&fec { | |
| 205 | + pinctrl-names = "default"; | |
| 206 | + pinctrl-0 = <&pinctrl_enet>; | |
| 207 | + phy-mode = "rgmii-id"; | |
| 208 | + phy-handle = <&rgmii_phy>; | |
| 209 | + status = "okay"; | |
| 210 | + | |
| 211 | + mdio { | |
| 212 | + #address-cells = <1>; | |
| 213 | + #size-cells = <0>; | |
| 214 | + | |
| 215 | + /* Microchip KSZ9031RNX PHY */ | |
| 216 | + rgmii_phy: ethernet-phy@4 { | |
| 217 | + reg = <4>; | |
| 218 | + interrupts-extended = <&gpio1 28 IRQ_TYPE_LEVEL_LOW>; | |
| 219 | + reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>; | |
| 220 | + reset-assert-us = <10000>; | |
| 221 | + reset-deassert-us = <300>; | |
| 222 | + }; | |
| 223 | + }; | |
| 224 | +}; | |
| 225 | + | |
| 226 | +&hdmi { | |
| 227 | + pinctrl-names = "default"; | |
| 228 | + pinctrl-0 = <&pinctrl_hdmi>; | |
| 229 | + ddc-i2c-bus = <&i2c2>; | |
| 230 | + status = "okay"; | |
| 231 | +}; | |
| 232 | + | |
| 233 | +&i2c1 { | |
| 234 | + sgtl5000: audio-codec@a { | |
| 235 | + compatible = "fsl,sgtl5000"; | |
| 236 | + reg = <0xa>; | |
| 237 | + #sound-dai-cells = <0>; | |
| 238 | + clocks = <&clks 201>; | |
| 239 | + VDDA-supply = <®_3v3>; | |
| 240 | + VDDIO-supply = <®_3v3>; | |
| 241 | + VDDD-supply = <®_1v8>; | |
| 242 | + }; | |
| 243 | +}; | |
| 244 | + | |
| 245 | +/* DDC */ | |
| 246 | +&i2c2 { | |
| 247 | + clock-frequency = <100000>; | |
| 248 | + pinctrl-names = "default"; | |
| 249 | + pinctrl-0 = <&pinctrl_i2c2>; | |
| 250 | + status = "okay"; | |
| 251 | +}; | |
| 252 | + | |
| 253 | +&i2c3 { | |
| 254 | + adc@49 { | |
| 255 | + compatible = "ti,ads1015"; | |
| 256 | + reg = <0x49>; | |
| 257 | + #address-cells = <1>; | |
| 258 | + #size-cells = <0>; | |
| 259 | + | |
| 260 | + /* can2_l */ | |
| 261 | + channel@4 { | |
| 262 | + reg = <4>; | |
| 263 | + ti,gain = <3>; | |
| 264 | + ti,datarate = <3>; | |
| 265 | + }; | |
| 266 | + | |
| 267 | + /* can2_h */ | |
| 268 | + channel@5 { | |
| 269 | + reg = <5>; | |
| 270 | + ti,gain = <3>; | |
| 271 | + ti,datarate = <3>; | |
| 272 | + }; | |
| 273 | + | |
| 274 | + /* can1_l */ | |
| 275 | + channel@6 { | |
| 276 | + reg = <6>; | |
| 277 | + ti,gain = <3>; | |
| 278 | + ti,datarate = <3>; | |
| 279 | + }; | |
| 280 | + | |
| 281 | + /* can1_h */ | |
| 282 | + channel@7 { | |
| 283 | + reg = <7>; | |
| 284 | + ti,gain = <3>; | |
| 285 | + ti,datarate = <3>; | |
| 286 | + }; | |
| 287 | + }; | |
| 288 | +}; | |
| 289 | + | |
| 290 | +&pcie { | |
| 291 | + status = "okay"; | |
| 292 | +}; | |
| 293 | + | |
| 294 | +&pwm1 { | |
| 295 | + #pwm-cells = <2>; | |
| 296 | + pinctrl-names = "default"; | |
| 297 | + pinctrl-0 = <&pinctrl_pwm1>; | |
| 298 | + status = "okay"; | |
| 299 | +}; | |
| 300 | + | |
| 301 | +&ldb { | |
| 302 | + status = "okay"; | |
| 303 | + | |
| 304 | + lvds-channel@0 { | |
| 305 | + status = "okay"; | |
| 306 | + | |
| 307 | + port@4 { | |
| 308 | + reg = <4>; | |
| 309 | + | |
| 310 | + lvds0_out: endpoint { | |
| 311 | + remote-endpoint = <&panel_in>; | |
| 312 | + }; | |
| 313 | + }; | |
| 314 | + }; | |
| 315 | +}; | |
| 316 | + | |
| 317 | +&sata { | |
| 318 | + status = "okay"; | |
| 319 | +}; | |
| 320 | + | |
| 321 | +&snvs_poweroff { | |
| 322 | + status = "okay"; | |
| 323 | +}; | |
| 324 | + | |
| 325 | +&spdif { | |
| 326 | + pinctrl-names = "default"; | |
| 327 | + pinctrl-0 = <&pinctrl_spdif>; | |
| 328 | + status = "okay"; | |
| 329 | +}; | |
| 330 | + | |
| 331 | +&ssi1 { | |
| 332 | + #sound-dai-cells = <0>; | |
| 333 | + fsl,mode = "ac97-slave"; | |
| 334 | + status = "okay"; | |
| 335 | +}; | |
| 336 | + | |
| 337 | +&uart2 { | |
| 338 | + pinctrl-names = "default"; | |
| 339 | + pinctrl-0 = <&pinctrl_uart2>; | |
| 340 | + status = "okay"; | |
| 341 | +}; | |
| 342 | + | |
| 343 | +&uart5 { | |
| 344 | + pinctrl-names = "default"; | |
| 345 | + pinctrl-0 = <&pinctrl_uart5>; | |
| 346 | + status = "okay"; | |
| 347 | +}; | |
| 348 | + | |
| 349 | +&usbotg { | |
| 350 | + pinctrl-0 = <&pinctrl_usbotg &pinctrl_usbotg_id>; | |
| 351 | +}; | |
| 352 | + | |
| 353 | +&usdhc2 { | |
| 354 | + pinctrl-names = "default"; | |
| 355 | + pinctrl-0 = <&pinctrl_usdhc2>; | |
| 356 | + non-removable; | |
| 357 | + vmmc-supply = <®_wifi>; | |
| 358 | + cap-power-off-card; | |
| 359 | + keep-power-in-suspend; | |
| 360 | + status = "okay"; | |
| 361 | + | |
| 362 | + wifi { | |
| 363 | + compatible = "ti,wl1271"; | |
| 364 | + pinctrl-names = "default"; | |
| 365 | + pinctrl-0 = <&pinctrl_wifi>; | |
| 366 | + interrupts-extended = <&gpio1 30 IRQ_TYPE_LEVEL_HIGH>; | |
| 367 | + ref-clock-frequency = "38400000"; | |
| 368 | + tcxo-clock-frequency = "19200000"; | |
| 369 | + }; | |
| 370 | +}; | |
| 371 | + | |
| 372 | +&iomuxc { | |
| 373 | + pinctrl_audmux: audmuxgrp { | |
| 374 | + fsl,pins = < | |
| 375 | + MX6QDL_PAD_CSI0_MCLK__CCM_CLKO1 0x030b0 | |
| 376 | + MX6QDL_PAD_CSI0_DAT7__AUD3_RXD 0x130b0 | |
| 377 | + MX6QDL_PAD_CSI0_DAT4__AUD3_TXC 0x130b0 | |
| 378 | + MX6QDL_PAD_CSI0_DAT5__AUD3_TXD 0x110b0 | |
| 379 | + MX6QDL_PAD_CSI0_DAT6__AUD3_TXFS 0x130b0 | |
| 380 | + >; | |
| 381 | + }; | |
| 382 | + | |
| 383 | + pinctrl_backlight: backlightgrp { | |
| 384 | + fsl,pins = < | |
| 385 | + MX6QDL_PAD_DISP0_DAT7__GPIO4_IO28 0x1b0b0 | |
| 386 | + >; | |
| 387 | + }; | |
| 388 | + | |
| 389 | + pinctrl_can2: can2grp { | |
| 390 | + fsl,pins = < | |
| 391 | + MX6QDL_PAD_KEY_COL4__FLEXCAN2_TX 0x1b008 | |
| 392 | + MX6QDL_PAD_KEY_ROW4__FLEXCAN2_RX 0x1b008 | |
| 393 | + >; | |
| 394 | + }; | |
| 395 | + | |
| 396 | + pinctrl_can3: can3grp { | |
| 397 | + fsl,pins = < | |
| 398 | + MX6QDL_PAD_EIM_D20__GPIO3_IO20 0x1b0b1 | |
| 399 | + >; | |
| 400 | + }; | |
| 401 | + | |
| 402 | + pinctrl_ecspi1: ecspi1grp { | |
| 403 | + fsl,pins = < | |
| 404 | + MX6QDL_PAD_EIM_D17__ECSPI1_MISO 0x100b1 | |
| 405 | + MX6QDL_PAD_EIM_D18__ECSPI1_MOSI 0x100b1 | |
| 406 | + MX6QDL_PAD_EIM_D16__ECSPI1_SCLK 0x100b1 | |
| 407 | + /* CS */ | |
| 408 | + MX6QDL_PAD_EIM_D19__GPIO3_IO19 0x000b1 | |
| 409 | + >; | |
| 410 | + }; | |
| 411 | + | |
| 412 | + pinctrl_ecspi2: ecspi2grp { | |
| 413 | + fsl,pins = < | |
| 414 | + MX6QDL_PAD_EIM_OE__ECSPI2_MISO 0x100b1 | |
| 415 | + MX6QDL_PAD_EIM_CS0__ECSPI2_SCLK 0x100b1 | |
| 416 | + MX6QDL_PAD_EIM_CS1__ECSPI2_MOSI 0x100b1 | |
| 417 | + MX6QDL_PAD_EIM_RW__GPIO2_IO26 0x000b1 | |
| 418 | + >; | |
| 419 | + }; | |
| 420 | + | |
| 421 | + pinctrl_ecspi2_cs: ecspi2csgrp { | |
| 422 | + fsl,pins = < | |
| 423 | + /* ADC128S022 CS */ | |
| 424 | + MX6QDL_PAD_DISP0_DAT4__GPIO4_IO25 0x1b0b1 | |
| 425 | + >; | |
| 426 | + }; | |
| 427 | + | |
| 428 | + pinctrl_ecspi3: ecspi3grp { | |
| 429 | + fsl,pins = < | |
| 430 | + MX6QDL_PAD_DISP0_DAT0__ECSPI3_SCLK 0x100b1 | |
| 431 | + MX6QDL_PAD_DISP0_DAT1__ECSPI3_MOSI 0x100b1 | |
| 432 | + MX6QDL_PAD_DISP0_DAT2__ECSPI3_MISO 0x100b1 | |
| 433 | + MX6QDL_PAD_DISP0_DAT3__GPIO4_IO24 0x000b1 | |
| 434 | + >; | |
| 435 | + }; | |
| 436 | + | |
| 437 | + pinctrl_enet: enetgrp { | |
| 438 | + fsl,pins = < | |
| 439 | + MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b030 | |
| 440 | + MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b030 | |
| 441 | + MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b030 | |
| 442 | + MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b030 | |
| 443 | + MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b030 | |
| 444 | + MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b030 | |
| 445 | + MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x10030 | |
| 446 | + MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x10030 | |
| 447 | + MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x10030 | |
| 448 | + MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x10030 | |
| 449 | + MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x10030 | |
| 450 | + MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x10030 | |
| 451 | + MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x10030 | |
| 452 | + MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x10030 | |
| 453 | + MX6QDL_PAD_ENET_MDC__ENET_MDC 0x10030 | |
| 454 | + | |
| 455 | + /* Phy reset */ | |
| 456 | + MX6QDL_PAD_ENET_CRS_DV__GPIO1_IO25 0x1b0b0 | |
| 457 | + MX6QDL_PAD_ENET_TX_EN__GPIO1_IO28 0x1b0b1 | |
| 458 | + >; | |
| 459 | + }; | |
| 460 | + | |
| 461 | + pinctrl_hdmi: hdmigrp { | |
| 462 | + fsl,pins = < | |
| 463 | + /* NOTE: DDC is done via I2C2, so DON'T | |
| 464 | + * configure DDC pins for HDMI! | |
| 465 | + */ | |
| 466 | + MX6QDL_PAD_EIM_A25__HDMI_TX_CEC_LINE 0x1f8b0 | |
| 467 | + >; | |
| 468 | + }; | |
| 469 | + | |
| 470 | + /* DDC */ | |
| 471 | + pinctrl_i2c2: i2c2grp { | |
| 472 | + fsl,pins = < | |
| 473 | + MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1 | |
| 474 | + MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1 | |
| 475 | + >; | |
| 476 | + }; | |
| 477 | + | |
| 478 | + pinctrl_leds: ledsgrp { | |
| 479 | + fsl,pins = < | |
| 480 | + MX6QDL_PAD_GPIO_8__GPIO1_IO08 0x1b0b0 | |
| 481 | + MX6QDL_PAD_GPIO_9__GPIO1_IO09 0x1b0b0 | |
| 482 | + >; | |
| 483 | + }; | |
| 484 | + | |
| 485 | + pinctrl_pwm1: pwm1grp { | |
| 486 | + fsl,pins = < | |
| 487 | + MX6QDL_PAD_DISP0_DAT8__PWM1_OUT 0x1b0b0 | |
| 488 | + >; | |
| 489 | + }; | |
| 490 | + | |
| 491 | + pinctrl_spdif: spdifgrp { | |
| 492 | + fsl,pins = < | |
| 493 | + MX6QDL_PAD_GPIO_16__SPDIF_IN 0x1b0b0 | |
| 494 | + MX6QDL_PAD_GPIO_19__SPDIF_OUT 0x1b0b0 | |
| 495 | + >; | |
| 496 | + }; | |
| 497 | + | |
| 498 | + pinctrl_uart2: uart2grp { | |
| 499 | + fsl,pins = < | |
| 500 | + MX6QDL_PAD_EIM_D26__UART2_RX_DATA 0x1b0b1 | |
| 501 | + MX6QDL_PAD_EIM_D27__UART2_TX_DATA 0x1b0b1 | |
| 502 | + MX6QDL_PAD_EIM_D28__UART2_DTE_CTS_B 0x1b0b1 | |
| 503 | + MX6QDL_PAD_EIM_D29__UART2_DTE_RTS_B 0x1b0b1 | |
| 504 | + >; | |
| 505 | + }; | |
| 506 | + | |
| 507 | + pinctrl_uart5: uart5grp { | |
| 508 | + fsl,pins = < | |
| 509 | + MX6QDL_PAD_KEY_COL1__UART5_TX_DATA 0x1b0b1 | |
| 510 | + MX6QDL_PAD_KEY_ROW1__UART5_RX_DATA 0x1b0b1 | |
| 511 | + >; | |
| 512 | + }; | |
| 513 | + | |
| 514 | + pinctrl_usbotg_id: usbotgidgrp { | |
| 515 | + fsl,pins = < | |
| 516 | + MX6QDL_PAD_ENET_RX_ER__USB_OTG_ID 0x1f058 | |
| 517 | + >; | |
| 518 | + }; | |
| 519 | + | |
| 520 | + pinctrl_usdhc2: usdhc2grp { | |
| 521 | + fsl,pins = < | |
| 522 | + MX6QDL_PAD_SD2_CMD__SD2_CMD 0x170b9 | |
| 523 | + MX6QDL_PAD_SD2_CLK__SD2_CLK 0x100b9 | |
| 524 | + MX6QDL_PAD_SD2_DAT0__SD2_DATA0 0x170b9 | |
| 525 | + MX6QDL_PAD_SD2_DAT1__SD2_DATA1 0x170b9 | |
| 526 | + MX6QDL_PAD_SD2_DAT2__SD2_DATA2 0x170b9 | |
| 527 | + MX6QDL_PAD_SD2_DAT3__SD2_DATA3 0x170b9 | |
| 528 | + >; | |
| 529 | + }; | |
| 530 | + | |
| 531 | + pinctrl_wifi: wifigrp { | |
| 532 | + fsl,pins = < | |
| 533 | + /* WL12xx IRQ */ | |
| 534 | + MX6QDL_PAD_ENET_TXD0__GPIO1_IO30 0x10880 | |
| 535 | + >; | |
| 536 | + }; | |
| 537 | + | |
| 538 | + pinctrl_wifi_npd: wifinpd { | |
| 539 | + fsl,pins = < | |
| 540 | + MX6QDL_PAD_ENET_RXD1__GPIO1_IO26 0x1b8b0 | |
| 541 | + >; | |
| 542 | + }; | |
| 543 | +}; | |
| @@ -0,0 +1,188 @@ | ||
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later | |
| 2 | +/* | |
| 3 | + * Copyright (c) 2018 Protonic Holland | |
| 4 | + */ | |
| 5 | + | |
| 6 | +/dts-v1/; | |
| 7 | +#include "imx6q.dtsi" | |
| 8 | +#include "imx6qdl-prti6q.dtsi" | |
| 9 | +#include <dt-bindings/leds/common.h> | |
| 10 | + | |
| 11 | +/ { | |
| 12 | + model = "Protonic WD2 board"; | |
| 13 | + compatible = "prt,prtwd2", "fsl,imx6q"; | |
| 14 | + | |
| 15 | + memory@10000000 { | |
| 16 | + device_type = "memory"; | |
| 17 | + reg = <0x10000000 0x20000000>; | |
| 18 | + }; | |
| 19 | + | |
| 20 | + memory@80000000 { | |
| 21 | + device_type = "memory"; | |
| 22 | + reg = <0x80000000 0x20000000>; | |
| 23 | + }; | |
| 24 | + | |
| 25 | + usdhc2_wifi_pwrseq: usdhc2_wifi_pwrseq { | |
| 26 | + compatible = "mmc-pwrseq-simple"; | |
| 27 | + pinctrl-names = "default"; | |
| 28 | + pinctrl-0 = <&pinctrl_wifi_npd>; | |
| 29 | + reset-gpios = <&gpio6 10 GPIO_ACTIVE_LOW>; | |
| 30 | + }; | |
| 31 | + | |
| 32 | + /* PRTWD2 rev 1 bitbang I2C for Ethernet Switch */ | |
| 33 | + i2c@4 { | |
| 34 | + compatible = "i2c-gpio"; | |
| 35 | + pinctrl-names = "default"; | |
| 36 | + pinctrl-0 = <&pinctrl_i2c4>; | |
| 37 | + sda-gpios = <&gpio1 22 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; | |
| 38 | + scl-gpios = <&gpio1 31 GPIO_ACTIVE_HIGH>; | |
| 39 | + i2c-gpio,delay-us = <20>; /* ~10 kHz */ | |
| 40 | + i2c-gpio,scl-output-only; | |
| 41 | + #address-cells = <1>; | |
| 42 | + #size-cells = <0>; | |
| 43 | + }; | |
| 44 | +}; | |
| 45 | + | |
| 46 | +&can1 { | |
| 47 | + pinctrl-names = "default"; | |
| 48 | + pinctrl-0 = <&pinctrl_can1 &pinctrl_can1phy>; | |
| 49 | + status = "okay"; | |
| 50 | +}; | |
| 51 | + | |
| 52 | +&fec { | |
| 53 | + pinctrl-names = "default"; | |
| 54 | + pinctrl-0 = <&pinctrl_enet>; | |
| 55 | + phy-mode = "rmii"; | |
| 56 | + clocks = <&clks IMX6QDL_CLK_ENET>, | |
| 57 | + <&clks IMX6QDL_CLK_ENET>; | |
| 58 | + clock-names = "ipg", "ahb"; | |
| 59 | + status = "okay"; | |
| 60 | + | |
| 61 | + fixed-link { | |
| 62 | + speed = <100>; | |
| 63 | + pause; | |
| 64 | + full-duplex; | |
| 65 | + }; | |
| 66 | +}; | |
| 67 | + | |
| 68 | +&i2c3 { | |
| 69 | + adc@49 { | |
| 70 | + compatible = "ti,ads1015"; | |
| 71 | + reg = <0x49>; | |
| 72 | + #address-cells = <1>; | |
| 73 | + #size-cells = <0>; | |
| 74 | + | |
| 75 | + /* V in */ | |
| 76 | + channel@4 { | |
| 77 | + reg = <4>; | |
| 78 | + ti,gain = <1>; | |
| 79 | + ti,datarate = <3>; | |
| 80 | + }; | |
| 81 | + | |
| 82 | + /* I charge */ | |
| 83 | + channel@5 { | |
| 84 | + reg = <5>; | |
| 85 | + ti,gain = <1>; | |
| 86 | + ti,datarate = <3>; | |
| 87 | + }; | |
| 88 | + | |
| 89 | + /* V bus */ | |
| 90 | + channel@6 { | |
| 91 | + reg = <6>; | |
| 92 | + ti,gain = <1>; | |
| 93 | + ti,datarate = <3>; | |
| 94 | + }; | |
| 95 | + | |
| 96 | + /* nc */ | |
| 97 | + channel@7 { | |
| 98 | + reg = <7>; | |
| 99 | + ti,gain = <1>; | |
| 100 | + ti,datarate = <3>; | |
| 101 | + }; | |
| 102 | + }; | |
| 103 | +}; | |
| 104 | + | |
| 105 | +&usdhc2 { | |
| 106 | + pinctrl-names = "default"; | |
| 107 | + pinctrl-0 = <&pinctrl_usdhc2>; | |
| 108 | + no-1-8-v; | |
| 109 | + non-removable; | |
| 110 | + mmc-pwrseq = <&usdhc2_wifi_pwrseq>; | |
| 111 | + #address-cells = <1>; | |
| 112 | + #size-cells = <0>; | |
| 113 | + status = "okay"; | |
| 114 | + | |
| 115 | + wifi@1 { | |
| 116 | + compatible = "brcm,bcm4329-fmac"; | |
| 117 | + reg = <1>; | |
| 118 | + }; | |
| 119 | +}; | |
| 120 | + | |
| 121 | +&iomuxc { | |
| 122 | + pinctrl-names = "default"; | |
| 123 | + pinctrl-0 = <&pinctrl_usb_eth_chg>; | |
| 124 | + | |
| 125 | + pinctrl_can1phy: can1phy { | |
| 126 | + fsl,pins = < | |
| 127 | + /* CAN1_SR */ | |
| 128 | + MX6QDL_PAD_KEY_COL3__GPIO4_IO12 0x13070 | |
| 129 | + >; | |
| 130 | + }; | |
| 131 | + | |
| 132 | + pinctrl_enet: enetgrp { | |
| 133 | + fsl,pins = < | |
| 134 | + /* MX6QDL_ENET_PINGRP4 */ | |
| 135 | + MX6QDL_PAD_ENET_RXD0__ENET_RX_DATA0 0x1b0b0 | |
| 136 | + MX6QDL_PAD_ENET_RXD1__ENET_RX_DATA1 0x1b0b0 | |
| 137 | + MX6QDL_PAD_ENET_RX_ER__ENET_RX_ER 0x130b0 | |
| 138 | + MX6QDL_PAD_ENET_TX_EN__ENET_TX_EN 0x1b0b0 | |
| 139 | + MX6QDL_PAD_ENET_TXD0__ENET_TX_DATA0 0x1b0b0 | |
| 140 | + MX6QDL_PAD_ENET_TXD1__ENET_TX_DATA1 0x1b0b0 | |
| 141 | + MX6QDL_PAD_ENET_CRS_DV__ENET_RX_EN 0x1b0b0 | |
| 142 | + | |
| 143 | + MX6QDL_PAD_GPIO_16__ENET_REF_CLK 0x1b0b0 | |
| 144 | + /* Phy reset */ | |
| 145 | + MX6QDL_PAD_CSI0_DAT4__GPIO5_IO22 0x1b0b0 | |
| 146 | + /* nINTRP */ | |
| 147 | + MX6QDL_PAD_CSI0_DAT5__GPIO5_IO23 0x1b0b0 | |
| 148 | + | |
| 149 | + MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x10030 | |
| 150 | + MX6QDL_PAD_ENET_MDC__ENET_MDC 0x10030 | |
| 151 | + >; | |
| 152 | + }; | |
| 153 | + | |
| 154 | + pinctrl_i2c4: i2c4grp { | |
| 155 | + fsl,pins = < | |
| 156 | + MX6QDL_PAD_ENET_MDIO__GPIO1_IO22 0x1f8b0 | |
| 157 | + MX6QDL_PAD_ENET_MDC__GPIO1_IO31 0x1f8b0 | |
| 158 | + >; | |
| 159 | + }; | |
| 160 | + | |
| 161 | + pinctrl_usb_eth_chg: usbethchggrp { | |
| 162 | + fsl,pins = < | |
| 163 | + /* USB charging control */ | |
| 164 | + MX6QDL_PAD_NANDF_CS0__GPIO6_IO11 0x130b0 | |
| 165 | + MX6QDL_PAD_NANDF_CS1__GPIO6_IO14 0x130b0 | |
| 166 | + MX6QDL_PAD_NANDF_CS2__GPIO6_IO15 0x130b0 | |
| 167 | + MX6QDL_PAD_NANDF_CS3__GPIO6_IO16 0x130b0 | |
| 168 | + >; | |
| 169 | + }; | |
| 170 | + | |
| 171 | + pinctrl_usdhc2: usdhc2grp { | |
| 172 | + fsl,pins = < | |
| 173 | + MX6QDL_PAD_SD2_CMD__SD2_CMD 0x170b9 | |
| 174 | + MX6QDL_PAD_SD2_CLK__SD2_CLK 0x100b9 | |
| 175 | + MX6QDL_PAD_SD2_DAT0__SD2_DATA0 0x170b9 | |
| 176 | + MX6QDL_PAD_SD2_DAT1__SD2_DATA1 0x170b9 | |
| 177 | + MX6QDL_PAD_SD2_DAT2__SD2_DATA2 0x170b9 | |
| 178 | + MX6QDL_PAD_SD2_DAT3__SD2_DATA3 0x170b9 | |
| 179 | + >; | |
| 180 | + }; | |
| 181 | + | |
| 182 | + pinctrl_wifi_npd: wifinpd { | |
| 183 | + fsl,pins = < | |
| 184 | + /* WL_REG_ON */ | |
| 185 | + MX6QDL_PAD_NANDF_RB0__GPIO6_IO10 0x13069 | |
| 186 | + >; | |
| 187 | + }; | |
| 188 | +}; | |
| @@ -99,8 +99,20 @@ · 98 unmodified lines | ||
| 99 | 99 | pinctrl-names = "default"; |
| 100 | 100 | pinctrl-0 = <&pinctrl_enet>; |
| 101 | 101 | phy-mode = "rgmii-id"; |
| 102 | − phy-reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>; | |
| 102 | + phy-handle = <&phy>; | |
| 103 | 103 | status = "okay"; |
| 104 | + | |
| 105 | + mdio { | |
| 106 | + #address-cells = <1>; | |
| 107 | + #size-cells = <0>; | |
| 108 | + | |
| 109 | + phy: ethernet-phy@4 { | |
| 110 | + reg = <4>; | |
| 111 | + qca,clk-out-frequency = <125000000>; | |
| 112 | + reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>; | |
| 113 | + reset-assert-us = <10000>; | |
| 114 | + }; | |
| 115 | + }; | |
| 104 | 116 | }; |
| 105 | 117 | |
| 106 | 118 | &hdmi { |
| @@ -203,6 +203,7 @@ · 202 unmodified lines | ||
| 203 | 203 | }; |
| 204 | 204 | |
| 205 | 205 | &pwm2 { |
| 206 | + #pwm-cells = <2>; | |
| 206 | 207 | status = "okay"; |
| 207 | 208 | }; |
| 208 | 209 | |
| @@ -371,6 +371,7 @@ · 370 unmodified lines | ||
| 371 | 371 | }; |
| 372 | 372 | |
| 373 | 373 | &pwm4 { |
| 374 | + #pwm-cells = <2>; | |
| 374 | 375 | pinctrl-names = "default"; |
| 375 | 376 | pinctrl-0 = <&pinctrl_pwm4>; |
| 376 | 377 | status = "disabled"; |
| @@ -211,6 +211,7 @@ · 210 unmodified lines | ||
| 211 | 211 | }; |
| 212 | 212 | |
| 213 | 213 | &pwm3 { |
| 214 | + #pwm-cells = <2>; | |
| 214 | 215 | pinctrl-names = "default"; |
| 215 | 216 | pinctrl-0 = <&pinctrl_pwm3>; |
| 216 | 217 | status = "okay"; |
| @@ -336,6 +336,7 @@ · 335 unmodified lines | ||
| 336 | 336 | }; |
| 337 | 337 | |
| 338 | 338 | &pwm1 { |
| 339 | + #pwm-cells = <2>; | |
| 339 | 340 | pinctrl-names = "default"; |
| 340 | 341 | pinctrl-0 = <&pinctrl_pwm1>; |
| 341 | 342 | status = "okay"; |
| @@ -312,6 +312,7 @@ · 311 unmodified lines | ||
| 312 | 312 | |
| 313 | 313 | /* Colibri PWM<A> */ |
| 314 | 314 | &pwm3 { |
| 315 | + #pwm-cells = <2>; | |
| 315 | 316 | pinctrl-names = "default"; |
| 316 | 317 | pinctrl-0 = <&pinctrl_pwm3>; |
| 317 | 318 | status = "disabled"; |
| @@ -362,7 +363,6 @@ · 44 unmodified lines | ||
| 362 | 363 | }; |
| 363 | 364 | |
| 364 | 365 | &usbotg { |
| 365 | − pinctrl-names = "default"; | |
| 366 | 366 | disable-over-current; |
| 367 | 367 | dr_mode = "peripheral"; |
| 368 | 368 | status = "disabled"; |
| @@ -233,6 +233,7 @@ · 232 unmodified lines | ||
| 233 | 233 | }; |
| 234 | 234 | |
| 235 | 235 | &pwm1 { |
| 236 | + #pwm-cells = <2>; | |
| 236 | 237 | status = "okay"; |
| 237 | 238 | }; |
| 238 | 239 | |
| @@ -737,14 +737,17 @@ · 736 unmodified lines | ||
| 737 | 737 | }; |
| 738 | 738 | |
| 739 | 739 | &pwm1 { |
| 740 | + #pwm-cells = <2>; | |
| 740 | 741 | status = "okay"; |
| 741 | 742 | }; |
| 742 | 743 | |
| 743 | 744 | &pwm3 { |
| 745 | + #pwm-cells = <2>; | |
| 744 | 746 | status = "okay"; |
| 745 | 747 | }; |
| 746 | 748 | |
| 747 | 749 | &pwm4 { |
| 750 | + #pwm-cells = <2>; | |
| 748 | 751 | status = "okay"; |
| 749 | 752 | }; |
| 750 | 753 | |
| @@ -4,6 +4,7 @@ · 3 unmodified lines | ||
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | #include <dt-bindings/gpio/gpio.h> |
| 7 | +#include <dt-bindings/input/linux-event-codes.h> | |
| 7 | 8 | |
| 8 | 9 | / { |
| 9 | 10 | /* these are used by bootloader for disabling nodes */ |
| @@ -19,6 +20,53 @@ · 9 unmodified lines | ||
| 19 | 20 | bootargs = "console=ttymxc1,115200"; |
| 20 | 21 | }; |
| 21 | 22 | |
| 23 | + gpio-keys { | |
| 24 | + compatible = "gpio-keys"; | |
| 25 | + #address-cells = <1>; | |
| 26 | + #size-cells = <0>; | |
| 27 | + | |
| 28 | + user-pb { | |
| 29 | + label = "user_pb"; | |
| 30 | + gpios = <&gsc_gpio 0 GPIO_ACTIVE_LOW>; | |
| 31 | + linux,code = <BTN_0>; | |
| 32 | + }; | |
| 33 | + | |
| 34 | + user-pb1x { | |
| 35 | + label = "user_pb1x"; | |
| 36 | + linux,code = <BTN_1>; | |
| 37 | + interrupt-parent = <&gsc>; | |
| 38 | + interrupts = <0>; | |
| 39 | + }; | |
| 40 | + | |
| 41 | + key-erased { | |
| 42 | + label = "key-erased"; | |
| 43 | + linux,code = <BTN_2>; | |
| 44 | + interrupt-parent = <&gsc>; | |
| 45 | + interrupts = <1>; | |
| 46 | + }; | |
| 47 | + | |
| 48 | + eeprom-wp { | |
| 49 | + label = "eeprom_wp"; | |
| 50 | + linux,code = <BTN_3>; | |
| 51 | + interrupt-parent = <&gsc>; | |
| 52 | + interrupts = <2>; | |
| 53 | + }; | |
| 54 | + | |
| 55 | + tamper { | |
| 56 | + label = "tamper"; | |
| 57 | + linux,code = <BTN_4>; | |
| 58 | + interrupt-parent = <&gsc>; | |
| 59 | + interrupts = <5>; | |
| 60 | + }; | |
| 61 | + | |
| 62 | + switch-hold { | |
| 63 | + label = "switch_hold"; | |
| 64 | + linux,code = <BTN_5>; | |
| 65 | + interrupt-parent = <&gsc>; | |
| 66 | + interrupts = <7>; | |
| 67 | + }; | |
| 68 | + }; | |
| 69 | + | |
| 22 | 70 | leds { |
| 23 | 71 | compatible = "gpio-leds"; |
| 24 | 72 | pinctrl-names = "default"; |
| @@ -102,6 +150,103 @@ · 77 unmodified lines | ||
| 102 | 150 | pinctrl-0 = <&pinctrl_i2c1>; |
| 103 | 151 | status = "okay"; |
| 104 | 152 | |
| 153 | + gsc: gsc@20 { | |
| 154 | + compatible = "gw,gsc"; | |
| 155 | + reg = <0x20>; | |
| 156 | + interrupt-parent = <&gpio1>; | |
| 157 | + interrupts = <4 GPIO_ACTIVE_LOW>; | |
| 158 | + interrupt-controller; | |
| 159 | + #interrupt-cells = <1>; | |
| 160 | + #size-cells = <0>; | |
| 161 | + | |
| 162 | + adc { | |
| 163 | + compatible = "gw,gsc-adc"; | |
| 164 | + #address-cells = <1>; | |
| 165 | + #size-cells = <0>; | |
| 166 | + | |
| 167 | + channel@0 { | |
| 168 | + gw,mode = <0>; | |
| 169 | + reg = <0x00>; | |
| 170 | + label = "temp"; | |
| 171 | + }; | |
| 172 | + | |
| 173 | + channel@2 { | |
| 174 | + gw,mode = <1>; | |
| 175 | + reg = <0x02>; | |
| 176 | + label = "vdd_vin"; | |
| 177 | + }; | |
| 178 | + | |
| 179 | + channel@5 { | |
| 180 | + gw,mode = <1>; | |
| 181 | + reg = <0x05>; | |
| 182 | + label = "vdd_3p3"; | |
| 183 | + }; | |
| 184 | + | |
| 185 | + channel@8 { | |
| 186 | + gw,mode = <1>; | |
| 187 | + reg = <0x08>; | |
| 188 | + label = "vdd_bat"; | |
| 189 | + }; | |
| 190 | + | |
| 191 | + channel@b { | |
| 192 | + gw,mode = <1>; | |
| 193 | + reg = <0x0b>; | |
| 194 | + label = "vdd_5p0"; | |
| 195 | + }; | |
| 196 | + | |
| 197 | + channel@e { | |
| 198 | + gw,mode = <1>; | |
| 199 | + reg = <0xe>; | |
| 200 | + label = "vdd_arm"; | |
| 201 | + }; | |
| 202 | + | |
| 203 | + channel@11 { | |
| 204 | + gw,mode = <1>; | |
| 205 | + reg = <0x11>; | |
| 206 | + label = "vdd_soc"; | |
| 207 | + }; | |
| 208 | + | |
| 209 | + channel@14 { | |
| 210 | + gw,mode = <1>; | |
| 211 | + reg = <0x14>; | |
| 212 | + label = "vdd_3p0"; | |
| 213 | + }; | |
| 214 | + | |
| 215 | + channel@17 { | |
| 216 | + gw,mode = <1>; | |
| 217 | + reg = <0x17>; | |
| 218 | + label = "vdd_1p5"; | |
| 219 | + }; | |
| 220 | + | |
| 221 | + channel@1d { | |
| 222 | + gw,mode = <1>; | |
| 223 | + reg = <0x1d>; | |
| 224 | + label = "vdd_1p8"; | |
| 225 | + }; | |
| 226 | + | |
| 227 | + channel@20 { | |
| 228 | + gw,mode = <1>; | |
| 229 | + reg = <0x20>; | |
| 230 | + label = "vdd_an1"; | |
| 231 | + }; | |
| 232 | + | |
| 233 | + channel@23 { | |
| 234 | + gw,mode = <1>; | |
| 235 | + reg = <0x23>; | |
| 236 | + label = "vdd_2p5"; | |
| 237 | + }; | |
| 238 | + }; | |
| 239 | + }; | |
| 240 | + | |
| 241 | + gsc_gpio: gpio@23 { | |
| 242 | + compatible = "nxp,pca9555"; | |
| 243 | + reg = <0x23>; | |
| 244 | + gpio-controller; | |
| 245 | + #gpio-cells = <2>; | |
| 246 | + interrupt-parent = <&gsc>; | |
| 247 | + interrupts = <4>; | |
| 248 | + }; | |
| 249 | + | |
| 105 | 250 | eeprom1: eeprom@50 { |
| 106 | 251 | compatible = "atmel,24c02"; |
| 107 | 252 | reg = <0x50>; |
| @@ -126,13 +271,6 @@ · 18 unmodified lines | ||
| 126 | 271 | pagesize = <16>; |
| 127 | 272 | }; |
| 128 | 273 | |
| 129 | − gpio: pca9555@23 { | |
| 130 | − compatible = "nxp,pca9555"; | |
| 131 | − reg = <0x23>; | |
| 132 | − gpio-controller; | |
| 133 | − #gpio-cells = <2>; | |
| 134 | − }; | |
| 135 | − | |
| 136 | 274 | rtc: ds1672@68 { |
| 137 | 275 | compatible = "dallas,ds1672"; |
| 138 | 276 | reg = <0x68>; |
| @@ -387,6 +525,7 @@ · 248 unmodified lines | ||
| 387 | 525 | fsl,pins = < |
| 388 | 526 | MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1 |
| 389 | 527 | MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1 |
| 528 | + MX6QDL_PAD_GPIO_4__GPIO1_IO04 0x0001b0b0 /* GSC_IRQ# */ | |
| 390 | 529 | >; |
| 391 | 530 | }; |
| 392 | 531 | |
| @@ -4,6 +4,7 @@ · 3 unmodified lines | ||
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | #include <dt-bindings/gpio/gpio.h> |
| 7 | +#include <dt-bindings/input/linux-event-codes.h> | |
| 7 | 8 | |
| 8 | 9 | / { |
| 9 | 10 | /* these are used by bootloader for disabling nodes */ |
| @@ -28,6 +29,53 @@ · 18 unmodified lines | ||
| 28 | 29 | default-brightness-level = <7>; |
| 29 | 30 | }; |
| 30 | 31 | |
| 32 | + gpio-keys { | |
| 33 | + compatible = "gpio-keys"; | |
| 34 | + #address-cells = <1>; | |
| 35 | + #size-cells = <0>; | |
| 36 | + | |
| 37 | + user-pb { | |
| 38 | + label = "user_pb"; | |
| 39 | + gpios = <&gsc_gpio 0 GPIO_ACTIVE_LOW>; | |
| 40 | + linux,code = <BTN_0>; | |
| 41 | + }; | |
| 42 | + | |
| 43 | + user-pb1x { | |
| 44 | + label = "user_pb1x"; | |
| 45 | + linux,code = <BTN_1>; | |
| 46 | + interrupt-parent = <&gsc>; | |
| 47 | + interrupts = <0>; | |
| 48 | + }; | |
| 49 | + | |
| 50 | + key-erased { | |
| 51 | + label = "key-erased"; | |
| 52 | + linux,code = <BTN_2>; | |
| 53 | + interrupt-parent = <&gsc>; | |
| 54 | + interrupts = <1>; | |
| 55 | + }; | |
| 56 | + | |
| 57 | + eeprom-wp { | |
| 58 | + label = "eeprom_wp"; | |
| 59 | + linux,code = <BTN_3>; | |
| 60 | + interrupt-parent = <&gsc>; | |
| 61 | + interrupts = <2>; | |
| 62 | + }; | |
| 63 | + | |
| 64 | + tamper { | |
| 65 | + label = "tamper"; | |
| 66 | + linux,code = <BTN_4>; | |
| 67 | + interrupt-parent = <&gsc>; | |
| 68 | + interrupts = <5>; | |
| 69 | + }; | |
| 70 | + | |
| 71 | + switch-hold { | |
| 72 | + label = "switch_hold"; | |
| 73 | + linux,code = <BTN_5>; | |
| 74 | + interrupt-parent = <&gsc>; | |
| 75 | + interrupts = <7>; | |
| 76 | + }; | |
| 77 | + }; | |
| 78 | + | |
| 31 | 79 | leds { |
| 32 | 80 | compatible = "gpio-leds"; |
| 33 | 81 | pinctrl-names = "default"; |
| @@ -165,6 +213,109 @@ · 131 unmodified lines | ||
| 165 | 213 | pinctrl-0 = <&pinctrl_i2c1>; |
| 166 | 214 | status = "okay"; |
| 167 | 215 | |
| 216 | + gsc: gsc@20 { | |
| 217 | + compatible = "gw,gsc"; | |
| 218 | + reg = <0x20>; | |
| 219 | + interrupt-parent = <&gpio1>; | |
| 220 | + interrupts = <4 GPIO_ACTIVE_LOW>; | |
| 221 | + interrupt-controller; | |
| 222 | + #interrupt-cells = <1>; | |
| 223 | + #size-cells = <0>; | |
| 224 | + | |
| 225 | + adc { | |
| 226 | + compatible = "gw,gsc-adc"; | |
| 227 | + #address-cells = <1>; | |
| 228 | + #size-cells = <0>; | |
| 229 | + | |
| 230 | + channel@0 { | |
| 231 | + gw,mode = <0>; | |
| 232 | + reg = <0x00>; | |
| 233 | + label = "temp"; | |
| 234 | + }; | |
| 235 | + | |
| 236 | + channel@2 { | |
| 237 | + gw,mode = <1>; | |
| 238 | + reg = <0x02>; | |
| 239 | + label = "vdd_vin"; | |
| 240 | + }; | |
| 241 | + | |
| 242 | + channel@5 { | |
| 243 | + gw,mode = <1>; | |
| 244 | + reg = <0x05>; | |
| 245 | + label = "vdd_3p3"; | |
| 246 | + }; | |
| 247 | + | |
| 248 | + channel@8 { | |
| 249 | + gw,mode = <1>; | |
| 250 | + reg = <0x08>; | |
| 251 | + label = "vdd_bat"; | |
| 252 | + }; | |
| 253 | + | |
| 254 | + channel@b { | |
| 255 | + gw,mode = <1>; | |
| 256 | + reg = <0x0b>; | |
| 257 | + label = "vdd_5p0"; | |
| 258 | + }; | |
| 259 | + | |
| 260 | + channel@e { | |
| 261 | + gw,mode = <1>; | |
| 262 | + reg = <0xe>; | |
| 263 | + label = "vdd_arm"; | |
| 264 | + }; | |
| 265 | + | |
| 266 | + channel@11 { | |
| 267 | + gw,mode = <1>; | |
| 268 | + reg = <0x11>; | |
| 269 | + label = "vdd_soc"; | |
| 270 | + }; | |
| 271 | + | |
| 272 | + channel@14 { | |
| 273 | + gw,mode = <1>; | |
| 274 | + reg = <0x14>; | |
| 275 | + label = "vdd_3p0"; | |
| 276 | + }; | |
| 277 | + | |
| 278 | + channel@17 { | |
| 279 | + gw,mode = <1>; | |
| 280 | + reg = <0x17>; | |
| 281 | + label = "vdd_1p5"; | |
| 282 | + }; | |
| 283 | + | |
| 284 | + channel@1d { | |
| 285 | + gw,mode = <1>; | |
| 286 | + reg = <0x1d>; | |
| 287 | + label = "vdd_1p8"; | |
| 288 | + }; | |
| 289 | + | |
| 290 | + channel@20 { | |
| 291 | + gw,mode = <1>; | |
| 292 | + reg = <0x20>; | |
| 293 | + label = "vdd_1p0"; | |
| 294 | + }; | |
| 295 | + | |
| 296 | + channel@23 { | |
| 297 | + gw,mode = <1>; | |
| 298 | + reg = <0x23>; | |
| 299 | + label = "vdd_2p5"; | |
| 300 | + }; | |
| 301 | + | |
| 302 | + channel@29 { | |
| 303 | + gw,mode = <1>; | |
| 304 | + reg = <0x29>; | |
| 305 | + label = "vdd_an1"; | |
| 306 | + }; | |
| 307 | + }; | |
| 308 | + }; | |
| 309 | + | |
| 310 | + gsc_gpio: gpio@23 { | |
| 311 | + compatible = "nxp,pca9555"; | |
| 312 | + reg = <0x23>; | |
| 313 | + gpio-controller; | |
| 314 | + #gpio-cells = <2>; | |
| 315 | + interrupt-parent = <&gsc>; | |
| 316 | + interrupts = <4>; | |
| 317 | + }; | |
| 318 | + | |
| 168 | 319 | eeprom1: eeprom@50 { |
| 169 | 320 | compatible = "atmel,24c02"; |
| 170 | 321 | reg = <0x50>; |
| @@ -189,13 +340,6 @@ · 18 unmodified lines | ||
| 189 | 340 | pagesize = <16>; |
| 190 | 341 | }; |
| 191 | 342 | |
| 192 | − gpio: pca9555@23 { | |
| 193 | − compatible = "nxp,pca9555"; | |
| 194 | − reg = <0x23>; | |
| 195 | − gpio-controller; | |
| 196 | − #gpio-cells = <2>; | |
| 197 | − }; | |
| 198 | − | |
| 199 | 343 | rtc: ds1672@68 { |
| 200 | 344 | compatible = "dallas,ds1672"; |
| 201 | 345 | reg = <0x68>; |
| @@ -365,6 +509,7 @@ · 163 unmodified lines | ||
| 365 | 509 | }; |
| 366 | 510 | |
| 367 | 511 | &pwm4 { |
| 512 | + #pwm-cells = <2>; | |
| 368 | 513 | pinctrl-names = "default"; |
| 369 | 514 | pinctrl-0 = <&pinctrl_pwm4>; |
| 370 | 515 | status = "okay"; |
| @@ -504,6 +649,7 @@ · 133 unmodified lines | ||
| 504 | 649 | fsl,pins = < |
| 505 | 650 | MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1 |
| 506 | 651 | MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1 |
| 652 | + MX6QDL_PAD_GPIO_4__GPIO1_IO04 0xb0b1 | |
| 507 | 653 | >; |
| 508 | 654 | }; |
| 509 | 655 | |
| @@ -4,6 +4,7 @@ · 3 unmodified lines | ||
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | #include <dt-bindings/gpio/gpio.h> |
| 7 | +#include <dt-bindings/input/linux-event-codes.h> | |
| 7 | 8 | |
| 8 | 9 | / { |
| 9 | 10 | /* these are used by bootloader for disabling nodes */ |
| @@ -28,6 +29,53 @@ · 18 unmodified lines | ||
| 28 | 29 | default-brightness-level = <7>; |
| 29 | 30 | }; |
| 30 | 31 | |
| 32 | + gpio-keys { | |
| 33 | + compatible = "gpio-keys"; | |
| 34 | + #address-cells = <1>; | |
| 35 | + #size-cells = <0>; | |
| 36 | + | |
| 37 | + user-pb { | |
| 38 | + label = "user_pb"; | |
| 39 | + gpios = <&gsc_gpio 0 GPIO_ACTIVE_LOW>; | |
| 40 | + linux,code = <BTN_0>; | |
| 41 | + }; | |
| 42 | + | |
| 43 | + user-pb1x { | |
| 44 | + label = "user_pb1x"; | |
| 45 | + linux,code = <BTN_1>; | |
| 46 | + interrupt-parent = <&gsc>; | |
| 47 | + interrupts = <0>; | |
| 48 | + }; | |
| 49 | + | |
| 50 | + key-erased { | |
| 51 | + label = "key-erased"; | |
| 52 | + linux,code = <BTN_2>; | |
| 53 | + interrupt-parent = <&gsc>; | |
| 54 | + interrupts = <1>; | |
| 55 | + }; | |
| 56 | + | |
| 57 | + eeprom-wp { | |
| 58 | + label = "eeprom_wp"; | |
| 59 | + linux,code = <BTN_3>; | |
| 60 | + interrupt-parent = <&gsc>; | |
| 61 | + interrupts = <2>; | |
| 62 | + }; | |
| 63 | + | |
| 64 | + tamper { | |
| 65 | + label = "tamper"; | |
| 66 | + linux,code = <BTN_4>; | |
| 67 | + interrupt-parent = <&gsc>; | |
| 68 | + interrupts = <5>; | |
| 69 | + }; | |
| 70 | + | |
| 71 | + switch-hold { | |
| 72 | + label = "switch_hold"; | |
| 73 | + linux,code = <BTN_5>; | |
| 74 | + interrupt-parent = <&gsc>; | |
| 75 | + interrupts = <7>; | |
| 76 | + }; | |
| 77 | + }; | |
| 78 | + | |
| 31 | 79 | leds { |
| 32 | 80 | compatible = "gpio-leds"; |
| 33 | 81 | pinctrl-names = "default"; |
| @@ -158,6 +206,115 @@ · 124 unmodified lines | ||
| 158 | 206 | pinctrl-0 = <&pinctrl_i2c1>; |
| 159 | 207 | status = "okay"; |
| 160 | 208 | |
| 209 | + gsc: gsc@20 { | |
| 210 | + compatible = "gw,gsc"; | |
| 211 | + reg = <0x20>; | |
| 212 | + interrupt-parent = <&gpio1>; | |
| 213 | + interrupts = <4 GPIO_ACTIVE_LOW>; | |
| 214 | + interrupt-controller; | |
| 215 | + #interrupt-cells = <1>; | |
| 216 | + #size-cells = <0>; | |
| 217 | + | |
| 218 | + adc { | |
| 219 | + compatible = "gw,gsc-adc"; | |
| 220 | + #address-cells = <1>; | |
| 221 | + #size-cells = <0>; | |
| 222 | + | |
| 223 | + channel@0 { | |
| 224 | + gw,mode = <0>; | |
| 225 | + reg = <0x00>; | |
| 226 | + label = "temp"; | |
| 227 | + }; | |
| 228 | + | |
| 229 | + channel@2 { | |
| 230 | + gw,mode = <1>; | |
| 231 | + reg = <0x02>; | |
| 232 | + label = "vdd_vin"; | |
| 233 | + }; | |
| 234 | + | |
| 235 | + channel@5 { | |
| 236 | + gw,mode = <1>; | |
| 237 | + reg = <0x05>; | |
| 238 | + label = "vdd_3p3"; | |
| 239 | + }; | |
| 240 | + | |
| 241 | + channel@8 { | |
| 242 | + gw,mode = <1>; | |
| 243 | + reg = <0x08>; | |
| 244 | + label = "vdd_bat"; | |
| 245 | + }; | |
| 246 | + | |
| 247 | + channel@b { | |
| 248 | + gw,mode = <1>; | |
| 249 | + reg = <0x0b>; | |
| 250 | + label = "vdd_5p0"; | |
| 251 | + }; | |
| 252 | + | |
| 253 | + channel@e { | |
| 254 | + gw,mode = <1>; | |
| 255 | + reg = <0xe>; | |
| 256 | + label = "vdd_arm"; | |
| 257 | + }; | |
| 258 | + | |
| 259 | + channel@11 { | |
| 260 | + gw,mode = <1>; | |
| 261 | + reg = <0x11>; | |
| 262 | + label = "vdd_soc"; | |
| 263 | + }; | |
| 264 | + | |
| 265 | + channel@14 { | |
| 266 | + gw,mode = <1>; | |
| 267 | + reg = <0x14>; | |
| 268 | + label = "vdd_3p0"; | |
| 269 | + }; | |
| 270 | + | |
| 271 | + channel@17 { | |
| 272 | + gw,mode = <1>; | |
| 273 | + reg = <0x17>; | |
| 274 | + label = "vdd_1p5"; | |
| 275 | + }; | |
| 276 | + | |
| 277 | + channel@1d { | |
| 278 | + gw,mode = <1>; | |
| 279 | + reg = <0x1d>; | |
| 280 | + label = "vdd_1p8"; | |
| 281 | + }; | |
| 282 | + | |
| 283 | + channel@20 { | |
| 284 | + gw,mode = <1>; | |
| 285 | + reg = <0x20>; | |
| 286 | + label = "vdd_1p0"; | |
| 287 | + }; | |
| 288 | + | |
| 289 | + channel@23 { | |
| 290 | + gw,mode = <1>; | |
| 291 | + reg = <0x23>; | |
| 292 | + label = "vdd_2p5"; | |
| 293 | + }; | |
| 294 | + | |
| 295 | + channel@26 { | |
| 296 | + gw,mode = <1>; | |
| 297 | + reg = <0x26>; | |
| 298 | + label = "vdd_gps"; | |
| 299 | + }; | |
| 300 | + | |
| 301 | + channel@29 { | |
| 302 | + gw,mode = <1>; | |
| 303 | + reg = <0x29>; | |
| 304 | + label = "vdd_an1"; | |
| 305 | + }; | |
| 306 | + }; | |
| 307 | + }; | |
| 308 | + | |
| 309 | + gsc_gpio: gpio@23 { | |
| 310 | + compatible = "nxp,pca9555"; | |
| 311 | + reg = <0x23>; | |
| 312 | + gpio-controller; | |
| 313 | + #gpio-cells = <2>; | |
| 314 | + interrupt-parent = <&gsc>; | |
| 315 | + interrupts = <4>; | |
| 316 | + }; | |
| 317 | + | |
| 161 | 318 | eeprom1: eeprom@50 { |
| 162 | 319 | compatible = "atmel,24c02"; |
| 163 | 320 | reg = <0x50>; |
| @@ -182,13 +339,6 @@ · 18 unmodified lines | ||
| 182 | 339 | pagesize = <16>; |
| 183 | 340 | }; |
| 184 | 341 | |
| 185 | − gpio: pca9555@23 { | |
| 186 | − compatible = "nxp,pca9555"; | |
| 187 | − reg = <0x23>; | |
| 188 | − gpio-controller; | |
| 189 | − #gpio-cells = <2>; | |
| 190 | − }; | |
| 191 | − | |
| 192 | 342 | rtc: ds1672@68 { |
| 193 | 343 | compatible = "dallas,ds1672"; |
| 194 | 344 | reg = <0x68>; |
| @@ -356,6 +506,7 @@ · 161 unmodified lines | ||
| 356 | 506 | }; |
| 357 | 507 | |
| 358 | 508 | &pwm4 { |
| 509 | + #pwm-cells = <2>; | |
| 359 | 510 | pinctrl-names = "default"; |
| 360 | 511 | pinctrl-0 = <&pinctrl_pwm4>; |
| 361 | 512 | status = "okay"; |
| @@ -486,6 +637,7 @@ · 124 unmodified lines | ||
| 486 | 637 | fsl,pins = < |
| 487 | 638 | MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1 |
| 488 | 639 | MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1 |
| 640 | + MX6QDL_PAD_GPIO_4__GPIO1_IO04 0xb0b1 | |
| 489 | 641 | >; |
| 490 | 642 | }; |
| 491 | 643 | |
| @@ -4,6 +4,7 @@ · 3 unmodified lines | ||
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | #include <dt-bindings/gpio/gpio.h> |
| 7 | +#include <dt-bindings/input/linux-event-codes.h> | |
| 7 | 8 | #include <dt-bindings/sound/fsl-imx-audmux.h> |
| 8 | 9 | |
| 9 | 10 | / { |
| @@ -29,6 +30,53 @@ · 19 unmodified lines | ||
| 29 | 30 | default-brightness-level = <7>; |
| 30 | 31 | }; |
| 31 | 32 | |
| 33 | + gpio-keys { | |
| 34 | + compatible = "gpio-keys"; | |
| 35 | + #address-cells = <1>; | |
| 36 | + #size-cells = <0>; | |
| 37 | + | |
| 38 | + user-pb { | |
| 39 | + label = "user_pb"; | |
| 40 | + gpios = <&gsc_gpio 0 GPIO_ACTIVE_LOW>; | |
| 41 | + linux,code = <BTN_0>; | |
| 42 | + }; | |
| 43 | + | |
| 44 | + user-pb1x { | |
| 45 | + label = "user_pb1x"; | |
| 46 | + linux,code = <BTN_1>; | |
| 47 | + interrupt-parent = <&gsc>; | |
| 48 | + interrupts = <0>; | |
| 49 | + }; | |
| 50 | + | |
| 51 | + key-erased { | |
| 52 | + label = "key-erased"; | |
| 53 | + linux,code = <BTN_2>; | |
| 54 | + interrupt-parent = <&gsc>; | |
| 55 | + interrupts = <1>; | |
| 56 | + }; | |
| 57 | + | |
| 58 | + eeprom-wp { | |
| 59 | + label = "eeprom_wp"; | |
| 60 | + linux,code = <BTN_3>; | |
| 61 | + interrupt-parent = <&gsc>; | |
| 62 | + interrupts = <2>; | |
| 63 | + }; | |
| 64 | + | |
| 65 | + tamper { | |
| 66 | + label = "tamper"; | |
| 67 | + linux,code = <BTN_4>; | |
| 68 | + interrupt-parent = <&gsc>; | |
| 69 | + interrupts = <5>; | |
| 70 | + }; | |
| 71 | + | |
| 72 | + switch-hold { | |
| 73 | + label = "switch_hold"; | |
| 74 | + linux,code = <BTN_5>; | |
| 75 | + interrupt-parent = <&gsc>; | |
| 76 | + interrupts = <7>; | |
| 77 | + }; | |
| 78 | + }; | |
| 79 | + | |
| 32 | 80 | leds { |
| 33 | 81 | compatible = "gpio-leds"; |
| 34 | 82 | pinctrl-names = "default"; |
| @@ -195,6 +243,117 @@ · 160 unmodified lines | ||
| 195 | 243 | pinctrl-0 = <&pinctrl_i2c1>; |
| 196 | 244 | status = "okay"; |
| 197 | 245 | |
| 246 | + gsc: gsc@20 { | |
| 247 | + compatible = "gw,gsc"; | |
| 248 | + reg = <0x20>; | |
| 249 | + interrupt-parent = <&gpio1>; | |
| 250 | + interrupts = <4 GPIO_ACTIVE_LOW>; | |
| 251 | + interrupt-controller; | |
| 252 | + #interrupt-cells = <1>; | |
| 253 | + #address-cells = <1>; | |
| 254 | + #size-cells = <0>; | |
| 255 | + | |
| 256 | + adc { | |
| 257 | + compatible = "gw,gsc-adc"; | |
| 258 | + #address-cells = <1>; | |
| 259 | + #size-cells = <0>; | |
| 260 | + | |
| 261 | + channel@0 { | |
| 262 | + gw,mode = <0>; | |
| 263 | + reg = <0x00>; | |
| 264 | + label = "temp"; | |
| 265 | + }; | |
| 266 | + | |
| 267 | + channel@2 { | |
| 268 | + gw,mode = <1>; | |
| 269 | + reg = <0x02>; | |
| 270 | + label = "vdd_vin"; | |
| 271 | + }; | |
| 272 | + | |
| 273 | + channel@5 { | |
| 274 | + gw,mode = <1>; | |
| 275 | + reg = <0x05>; | |
| 276 | + label = "vdd_3p3"; | |
| 277 | + }; | |
| 278 | + | |
| 279 | + channel@8 { | |
| 280 | + gw,mode = <1>; | |
| 281 | + reg = <0x08>; | |
| 282 | + label = "vdd_bat"; | |
| 283 | + }; | |
| 284 | + | |
| 285 | + channel@b { | |
| 286 | + gw,mode = <1>; | |
| 287 | + reg = <0x0b>; | |
| 288 | + label = "vdd_5p0"; | |
| 289 | + }; | |
| 290 | + | |
| 291 | + channel@e { | |
| 292 | + gw,mode = <1>; | |
| 293 | + reg = <0xe>; | |
| 294 | + label = "vdd_arm"; | |
| 295 | + }; | |
| 296 | + | |
| 297 | + channel@11 { | |
| 298 | + gw,mode = <1>; | |
| 299 | + reg = <0x11>; | |
| 300 | + label = "vdd_soc"; | |
| 301 | + }; | |
| 302 | + | |
| 303 | + channel@14 { | |
| 304 | + gw,mode = <1>; | |
| 305 | + reg = <0x14>; | |
| 306 | + label = "vdd_3p0"; | |
| 307 | + }; | |
| 308 | + | |
| 309 | + channel@17 { | |
| 310 | + gw,mode = <1>; | |
| 311 | + reg = <0x17>; | |
| 312 | + label = "vdd_1p5"; | |
| 313 | + }; | |
| 314 | + | |
| 315 | + channel@1d { | |
| 316 | + gw,mode = <1>; | |
| 317 | + reg = <0x1d>; | |
| 318 | + label = "vdd_1p8"; | |
| 319 | + }; | |
| 320 | + | |
| 321 | + channel@20 { | |
| 322 | + gw,mode = <1>; | |
| 323 | + reg = <0x20>; | |
| 324 | + label = "vdd_1p0"; | |
| 325 | + }; | |
| 326 | + | |
| 327 | + channel@23 { | |
| 328 | + gw,mode = <1>; | |
| 329 | + reg = <0x23>; | |
| 330 | + label = "vdd_2p5"; | |
| 331 | + }; | |
| 332 | + | |
| 333 | + channel@26 { | |
| 334 | + gw,mode = <1>; | |
| 335 | + reg = <0x26>; | |
| 336 | + label = "vdd_gps"; | |
| 337 | + }; | |
| 338 | + }; | |
| 339 | + | |
| 340 | + fan-controller@2c { | |
| 341 | + compatible = "gw,gsc-fan"; | |
| 342 | + #address-cells = <1>; | |
| 343 | + #size-cells = <0>; | |
| 344 | + reg = <0x2c>; | |
| 345 | + }; | |
| 346 | + }; | |
| 347 | + | |
| 348 | + gsc_gpio: gpio@23 { | |
| 349 | + compatible = "nxp,pca9555"; | |
| 350 | + reg = <0x23>; | |
| 351 | + gpio-controller; | |
| 352 | + #gpio-cells = <2>; | |
| 353 | + interrupt-parent = <&gsc>; | |
| 354 | + interrupts = <4>; | |
| 355 | + }; | |
| 356 | + | |
| 198 | 357 | eeprom1: eeprom@50 { |
| 199 | 358 | compatible = "atmel,24c02"; |
| 200 | 359 | reg = <0x50>; |
| @@ -219,13 +378,6 @@ · 18 unmodified lines | ||
| 219 | 378 | pagesize = <16>; |
| 220 | 379 | }; |
| 221 | 380 | |
| 222 | − gpio: pca9555@23 { | |
| 223 | − compatible = "nxp,pca9555"; | |
| 224 | − reg = <0x23>; | |
| 225 | − gpio-controller; | |
| 226 | − #gpio-cells = <2>; | |
| 227 | − }; | |
| 228 | − | |
| 229 | 381 | rtc: ds1672@68 { |
| 230 | 382 | compatible = "dallas,ds1672"; |
| 231 | 383 | reg = <0x68>; |
| @@ -419,6 +571,7 @@ · 187 unmodified lines | ||
| 419 | 571 | }; |
| 420 | 572 | |
| 421 | 573 | &pwm4 { |
| 574 | + #pwm-cells = <2>; | |
| 422 | 575 | pinctrl-names = "default", "state_dio"; |
| 423 | 576 | pinctrl-0 = <&pinctrl_pwm4_backlight>; |
| 424 | 577 | pinctrl-1 = <&pinctrl_pwm4_dio>; |
| @@ -571,6 +724,7 @@ · 146 unmodified lines | ||
| 571 | 724 | fsl,pins = < |
| 572 | 725 | MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1 |
| 573 | 726 | MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1 |
| 727 | + MX6QDL_PAD_GPIO_4__GPIO1_IO04 0xb0b1 | |
| 574 | 728 | >; |
| 575 | 729 | }; |
| 576 | 730 | |
| @@ -47,6 +47,7 @@ · 46 unmodified lines | ||
| 47 | 47 | |
| 48 | 48 | #include <dt-bindings/gpio/gpio.h> |
| 49 | 49 | #include <dt-bindings/media/tda1997x.h> |
| 50 | +#include <dt-bindings/input/linux-event-codes.h> | |
| 50 | 51 | #include <dt-bindings/sound/fsl-imx-audmux.h> |
| 51 | 52 | |
| 52 | 53 | / { |
| @@ -63,6 +64,53 @@ · 10 unmodified lines | ||
| 63 | 64 | bootargs = "console=ttymxc1,115200"; |
| 64 | 65 | }; |
| 65 | 66 | |
| 67 | + gpio-keys { | |
| 68 | + compatible = "gpio-keys"; | |
| 69 | + #address-cells = <1>; | |
| 70 | + #size-cells = <0>; | |
| 71 | + | |
| 72 | + user-pb { | |
| 73 | + label = "user_pb"; | |
| 74 | + gpios = <&gsc_gpio 0 GPIO_ACTIVE_LOW>; | |
| 75 | + linux,code = <BTN_0>; | |
| 76 | + }; | |
| 77 | + | |
| 78 | + user-pb1x { | |
| 79 | + label = "user_pb1x"; | |
| 80 | + linux,code = <BTN_1>; | |
| 81 | + interrupt-parent = <&gsc>; | |
| 82 | + interrupts = <0>; | |
| 83 | + }; | |
| 84 | + | |
| 85 | + key-erased { | |
| 86 | + label = "key-erased"; | |
| 87 | + linux,code = <BTN_2>; | |
| 88 | + interrupt-parent = <&gsc>; | |
| 89 | + interrupts = <1>; | |
| 90 | + }; | |
| 91 | + | |
| 92 | + eeprom-wp { | |
| 93 | + label = "eeprom_wp"; | |
| 94 | + linux,code = <BTN_3>; | |
| 95 | + interrupt-parent = <&gsc>; | |
| 96 | + interrupts = <2>; | |
| 97 | + }; | |
| 98 | + | |
| 99 | + tamper { | |
| 100 | + label = "tamper"; | |
| 101 | + linux,code = <BTN_4>; | |
| 102 | + interrupt-parent = <&gsc>; | |
| 103 | + interrupts = <5>; | |
| 104 | + }; | |
| 105 | + | |
| 106 | + switch-hold { | |
| 107 | + label = "switch_hold"; | |
| 108 | + linux,code = <BTN_5>; | |
| 109 | + interrupt-parent = <&gsc>; | |
| 110 | + interrupts = <7>; | |
| 111 | + }; | |
| 112 | + }; | |
| 113 | + | |
| 66 | 114 | leds { |
| 67 | 115 | compatible = "gpio-leds"; |
| 68 | 116 | pinctrl-names = "default"; |
| @@ -167,6 +215,97 @@ · 98 unmodified lines | ||
| 167 | 215 | pinctrl-0 = <&pinctrl_i2c1>; |
| 168 | 216 | status = "okay"; |
| 169 | 217 | |
| 218 | + gsc: gsc@20 { | |
| 219 | + compatible = "gw,gsc"; | |
| 220 | + reg = <0x20>; | |
| 221 | + interrupt-parent = <&gpio1>; | |
| 222 | + interrupts = <4 GPIO_ACTIVE_LOW>; | |
| 223 | + interrupt-controller; | |
| 224 | + #interrupt-cells = <1>; | |
| 225 | + #size-cells = <0>; | |
| 226 | + | |
| 227 | + adc { | |
| 228 | + compatible = "gw,gsc-adc"; | |
| 229 | + #address-cells = <1>; | |
| 230 | + #size-cells = <0>; | |
| 231 | + | |
| 232 | + channel@0 { | |
| 233 | + gw,mode = <0>; | |
| 234 | + reg = <0x00>; | |
| 235 | + label = "temp"; | |
| 236 | + }; | |
| 237 | + | |
| 238 | + channel@2 { | |
| 239 | + gw,mode = <1>; | |
| 240 | + reg = <0x02>; | |
| 241 | + label = "vdd_vin"; | |
| 242 | + }; | |
| 243 | + | |
| 244 | + channel@5 { | |
| 245 | + gw,mode = <1>; | |
| 246 | + reg = <0x05>; | |
| 247 | + label = "vdd_3p3"; | |
| 248 | + }; | |
| 249 | + | |
| 250 | + channel@8 { | |
| 251 | + gw,mode = <1>; | |
| 252 | + reg = <0x08>; | |
| 253 | + label = "vdd_bat"; | |
| 254 | + }; | |
| 255 | + | |
| 256 | + channel@b { | |
| 257 | + gw,mode = <1>; | |
| 258 | + reg = <0x0b>; | |
| 259 | + label = "vdd_5p0"; | |
| 260 | + }; | |
| 261 | + | |
| 262 | + channel@e { | |
| 263 | + gw,mode = <1>; | |
| 264 | + reg = <0xe>; | |
| 265 | + label = "vdd_arm"; | |
| 266 | + }; | |
| 267 | + | |
| 268 | + channel@11 { | |
| 269 | + gw,mode = <1>; | |
| 270 | + reg = <0x11>; | |
| 271 | + label = "vdd_soc"; | |
| 272 | + }; | |
| 273 | + | |
| 274 | + channel@14 { | |
| 275 | + gw,mode = <1>; | |
| 276 | + reg = <0x14>; | |
| 277 | + label = "vdd_3p0"; | |
| 278 | + }; | |
| 279 | + | |
| 280 | + channel@17 { | |
| 281 | + gw,mode = <1>; | |
| 282 | + reg = <0x17>; | |
| 283 | + label = "vdd_1p5"; | |
| 284 | + }; | |
| 285 | + | |
| 286 | + channel@1d { | |
| 287 | + gw,mode = <1>; | |
| 288 | + reg = <0x1d>; | |
| 289 | + label = "vdd_1p8a"; | |
| 290 | + }; | |
| 291 | + | |
| 292 | + channel@20 { | |
| 293 | + gw,mode = <1>; | |
| 294 | + reg = <0x20>; | |
| 295 | + label = "vdd_1p0b"; | |
| 296 | + }; | |
| 297 | + }; | |
| 298 | + }; | |
| 299 | + | |
| 300 | + gsc_gpio: gpio@23 { | |
| 301 | + compatible = "nxp,pca9555"; | |
| 302 | + reg = <0x23>; | |
| 303 | + gpio-controller; | |
| 304 | + #gpio-cells = <2>; | |
| 305 | + interrupt-parent = <&gsc>; | |
| 306 | + interrupts = <4>; | |
| 307 | + }; | |
| 308 | + | |
| 170 | 309 | eeprom1: eeprom@50 { |
| 171 | 310 | compatible = "atmel,24c02"; |
| 172 | 311 | reg = <0x50>; |
| @@ -191,13 +330,6 @@ · 18 unmodified lines | ||
| 191 | 330 | pagesize = <16>; |
| 192 | 331 | }; |
| 193 | 332 | |
| 194 | − gpio: pca9555@23 { | |
| 195 | − compatible = "nxp,pca9555"; | |
| 196 | − reg = <0x23>; | |
| 197 | − gpio-controller; | |
| 198 | − #gpio-cells = <2>; | |
| 199 | − }; | |
| 200 | − | |
| 201 | 333 | rtc: ds1672@68 { |
| 202 | 334 | compatible = "dallas,ds1672"; |
| 203 | 335 | reg = <0x68>; |
| @@ -464,6 +596,7 @@ · 260 unmodified lines | ||
| 464 | 596 | fsl,pins = < |
| 465 | 597 | MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1 |
| 466 | 598 | MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1 |
| 599 | + MX6QDL_PAD_GPIO_4__GPIO1_IO04 0xb0b1 | |
| 467 | 600 | >; |
| 468 | 601 | }; |
| 469 | 602 | |
| @@ -4,6 +4,7 @@ · 3 unmodified lines | ||
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | #include <dt-bindings/gpio/gpio.h> |
| 7 | +#include <dt-bindings/input/linux-event-codes.h> | |
| 7 | 8 | |
| 8 | 9 | / { |
| 9 | 10 | /* these are used by bootloader for disabling nodes */ |
| @@ -20,6 +21,53 @@ · 10 unmodified lines | ||
| 20 | 21 | bootargs = "console=ttymxc1,115200"; |
| 21 | 22 | }; |
| 22 | 23 | |
| 24 | + gpio-keys { | |
| 25 | + compatible = "gpio-keys"; | |
| 26 | + #address-cells = <1>; | |
| 27 | + #size-cells = <0>; | |
| 28 | + | |
| 29 | + user-pb { | |
| 30 | + label = "user_pb"; | |
| 31 | + gpios = <&gsc_gpio 0 GPIO_ACTIVE_LOW>; | |
| 32 | + linux,code = <BTN_0>; | |
| 33 | + }; | |
| 34 | + | |
| 35 | + user-pb1x { | |
| 36 | + label = "user_pb1x"; | |
| 37 | + linux,code = <BTN_1>; | |
| 38 | + interrupt-parent = <&gsc>; | |
| 39 | + interrupts = <0>; | |
| 40 | + }; | |
| 41 | + | |
| 42 | + key-erased { | |
| 43 | + label = "key-erased"; | |
| 44 | + linux,code = <BTN_2>; | |
| 45 | + interrupt-parent = <&gsc>; | |
| 46 | + interrupts = <1>; | |
| 47 | + }; | |
| 48 | + | |
| 49 | + eeprom-wp { | |
| 50 | + label = "eeprom_wp"; | |
| 51 | + linux,code = <BTN_3>; | |
| 52 | + interrupt-parent = <&gsc>; | |
| 53 | + interrupts = <2>; | |
| 54 | + }; | |
| 55 | + | |
| 56 | + tamper { | |
| 57 | + label = "tamper"; | |
| 58 | + linux,code = <BTN_4>; | |
| 59 | + interrupt-parent = <&gsc>; | |
| 60 | + interrupts = <5>; | |
| 61 | + }; | |
| 62 | + | |
| 63 | + switch-hold { | |
| 64 | + label = "switch_hold"; | |
| 65 | + linux,code = <BTN_5>; | |
| 66 | + interrupt-parent = <&gsc>; | |
| 67 | + interrupts = <7>; | |
| 68 | + }; | |
| 69 | + }; | |
| 70 | + | |
| 23 | 71 | leds { |
| 24 | 72 | compatible = "gpio-leds"; |
| 25 | 73 | pinctrl-names = "default"; |
| @@ -92,6 +140,103 @@ · 66 unmodified lines | ||
| 92 | 140 | pinctrl-0 = <&pinctrl_i2c1>; |
| 93 | 141 | status = "okay"; |
| 94 | 142 | |
| 143 | + gsc: gsc@20 { | |
| 144 | + compatible = "gw,gsc"; | |
| 145 | + reg = <0x20>; | |
| 146 | + interrupt-parent = <&gpio1>; | |
| 147 | + interrupts = <4 GPIO_ACTIVE_LOW>; | |
| 148 | + interrupt-controller; | |
| 149 | + #interrupt-cells = <1>; | |
| 150 | + #size-cells = <0>; | |
| 151 | + | |
| 152 | + adc { | |
| 153 | + compatible = "gw,gsc-adc"; | |
| 154 | + #address-cells = <1>; | |
| 155 | + #size-cells = <0>; | |
| 156 | + | |
| 157 | + channel@0 { | |
| 158 | + gw,mode = <0>; | |
| 159 | + reg = <0x00>; | |
| 160 | + label = "temp"; | |
| 161 | + }; | |
| 162 | + | |
| 163 | + channel@2 { | |
| 164 | + gw,mode = <1>; | |
| 165 | + reg = <0x02>; | |
| 166 | + label = "vdd_vin"; | |
| 167 | + }; | |
| 168 | + | |
| 169 | + channel@5 { | |
| 170 | + gw,mode = <1>; | |
| 171 | + reg = <0x05>; | |
| 172 | + label = "vdd_3p3"; | |
| 173 | + }; | |
| 174 | + | |
| 175 | + channel@8 { | |
| 176 | + gw,mode = <1>; | |
| 177 | + reg = <0x08>; | |
| 178 | + label = "vdd_bat"; | |
| 179 | + }; | |
| 180 | + | |
| 181 | + channel@b { | |
| 182 | + gw,mode = <1>; | |
| 183 | + reg = <0x0b>; | |
| 184 | + label = "vdd_5p0"; | |
| 185 | + }; | |
| 186 | + | |
| 187 | + channel@e { | |
| 188 | + gw,mode = <1>; | |
| 189 | + reg = <0xe>; | |
| 190 | + label = "vdd_arm"; | |
| 191 | + }; | |
| 192 | + | |
| 193 | + channel@11 { | |
| 194 | + gw,mode = <1>; | |
| 195 | + reg = <0x11>; | |
| 196 | + label = "vdd_soc"; | |
| 197 | + }; | |
| 198 | + | |
| 199 | + channel@14 { | |
| 200 | + gw,mode = <1>; | |
| 201 | + reg = <0x14>; | |
| 202 | + label = "vdd_3p0"; | |
| 203 | + }; | |
| 204 | + | |
| 205 | + channel@17 { | |
| 206 | + gw,mode = <1>; | |
| 207 | + reg = <0x17>; | |
| 208 | + label = "vdd_1p5"; | |
| 209 | + }; | |
| 210 | + | |
| 211 | + channel@1d { | |
| 212 | + gw,mode = <1>; | |
| 213 | + reg = <0x1d>; | |
| 214 | + label = "vdd_1p8"; | |
| 215 | + }; | |
| 216 | + | |
| 217 | + channel@20 { | |
| 218 | + gw,mode = <1>; | |
| 219 | + reg = <0x20>; | |
| 220 | + label = "vdd_1p0"; | |
| 221 | + }; | |
| 222 | + | |
| 223 | + channel@23 { | |
| 224 | + gw,mode = <1>; | |
| 225 | + reg = <0x23>; | |
| 226 | + label = "vdd_2p5"; | |
| 227 | + }; | |
| 228 | + }; | |
| 229 | + }; | |
| 230 | + | |
| 231 | + gsc_gpio: gpio@23 { | |
| 232 | + compatible = "nxp,pca9555"; | |
| 233 | + reg = <0x23>; | |
| 234 | + gpio-controller; | |
| 235 | + #gpio-cells = <2>; | |
| 236 | + interrupt-parent = <&gsc>; | |
| 237 | + interrupts = <4>; | |
| 238 | + }; | |
| 239 | + | |
| 95 | 240 | eeprom1: eeprom@50 { |
| 96 | 241 | compatible = "atmel,24c02"; |
| 97 | 242 | reg = <0x50>; |
| @@ -116,13 +261,6 @@ · 18 unmodified lines | ||
| 116 | 261 | pagesize = <16>; |
| 117 | 262 | }; |
| 118 | 263 | |
| 119 | − gpio: pca9555@23 { | |
| 120 | − compatible = "nxp,pca9555"; | |
| 121 | − reg = <0x23>; | |
| 122 | − gpio-controller; | |
| 123 | − #gpio-cells = <2>; | |
| 124 | − }; | |
| 125 | − | |
| 126 | 264 | rtc: ds1672@68 { |
| 127 | 265 | compatible = "dallas,ds1672"; |
| 128 | 266 | reg = <0x68>; |
| @@ -305,6 +443,7 @@ · 176 unmodified lines | ||
| 305 | 443 | fsl,pins = < |
| 306 | 444 | MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1 |
| 307 | 445 | MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1 |
| 446 | + MX6QDL_PAD_GPIO_4__GPIO1_IO04 0xb0b1 | |
| 308 | 447 | >; |
| 309 | 448 | }; |
| 310 | 449 | |
| @@ -46,6 +46,7 @@ · 45 unmodified lines | ||
| 46 | 46 | */ |
| 47 | 47 | |
| 48 | 48 | #include <dt-bindings/gpio/gpio.h> |
| 49 | +#include <dt-bindings/input/linux-event-codes.h> | |
| 49 | 50 | |
| 50 | 51 | / { |
| 51 | 52 | /* these are used by bootloader for disabling nodes */ |
| @@ -61,6 +62,53 @@ · 9 unmodified lines | ||
| 61 | 62 | stdout-path = &uart2; |
| 62 | 63 | }; |
| 63 | 64 | |
| 65 | + gpio-keys { | |
| 66 | + compatible = "gpio-keys"; | |
| 67 | + #address-cells = <1>; | |
| 68 | + #size-cells = <0>; | |
| 69 | + | |
| 70 | + user-pb { | |
| 71 | + label = "user_pb"; | |
| 72 | + gpios = <&gsc_gpio 0 GPIO_ACTIVE_LOW>; | |
| 73 | + linux,code = <BTN_0>; | |
| 74 | + }; | |
| 75 | + | |
| 76 | + user-pb1x { | |
| 77 | + label = "user_pb1x"; | |
| 78 | + linux,code = <BTN_1>; | |
| 79 | + interrupt-parent = <&gsc>; | |
| 80 | + interrupts = <0>; | |
| 81 | + }; | |
| 82 | + | |
| 83 | + key-erased { | |
| 84 | + label = "key-erased"; | |
| 85 | + linux,code = <BTN_2>; | |
| 86 | + interrupt-parent = <&gsc>; | |
| 87 | + interrupts = <1>; | |
| 88 | + }; | |
| 89 | + | |
| 90 | + eeprom-wp { | |
| 91 | + label = "eeprom_wp"; | |
| 92 | + linux,code = <BTN_3>; | |
| 93 | + interrupt-parent = <&gsc>; | |
| 94 | + interrupts = <2>; | |
| 95 | + }; | |
| 96 | + | |
| 97 | + tamper { | |
| 98 | + label = "tamper"; | |
| 99 | + linux,code = <BTN_4>; | |
| 100 | + interrupt-parent = <&gsc>; | |
| 101 | + interrupts = <5>; | |
| 102 | + }; | |
| 103 | + | |
| 104 | + switch-hold { | |
| 105 | + label = "switch_hold"; | |
| 106 | + linux,code = <BTN_5>; | |
| 107 | + interrupt-parent = <&gsc>; | |
| 108 | + interrupts = <7>; | |
| 109 | + }; | |
| 110 | + }; | |
| 111 | + | |
| 64 | 112 | leds { |
| 65 | 113 | compatible = "gpio-leds"; |
| 66 | 114 | pinctrl-names = "default"; |
| @@ -130,11 +178,101 @@ · 63 unmodified lines | ||
| 130 | 178 | pinctrl-0 = <&pinctrl_i2c1>; |
| 131 | 179 | status = "okay"; |
| 132 | 180 | |
| 133 | − gpio: pca9555@23 { | |
| 181 | + gsc: gsc@20 { | |
| 182 | + compatible = "gw,gsc"; | |
| 183 | + reg = <0x20>; | |
| 184 | + interrupt-parent = <&gpio1>; | |
| 185 | + interrupts = <4 GPIO_ACTIVE_LOW>; | |
| 186 | + interrupt-controller; | |
| 187 | + #interrupt-cells = <1>; | |
| 188 | + #size-cells = <0>; | |
| 189 | + | |
| 190 | + adc { | |
| 191 | + compatible = "gw,gsc-adc"; | |
| 192 | + #address-cells = <1>; | |
| 193 | + #size-cells = <0>; | |
| 194 | + | |
| 195 | + channel@0 { | |
| 196 | + gw,mode = <0>; | |
| 197 | + reg = <0x00>; | |
| 198 | + label = "temp"; | |
| 199 | + }; | |
| 200 | + | |
| 201 | + channel@2 { | |
| 202 | + gw,mode = <1>; | |
| 203 | + reg = <0x02>; | |
| 204 | + label = "vdd_vin"; | |
| 205 | + }; | |
| 206 | + | |
| 207 | + channel@5 { | |
| 208 | + gw,mode = <1>; | |
| 209 | + reg = <0x05>; | |
| 210 | + label = "vdd_3p3"; | |
| 211 | + }; | |
| 212 | + | |
| 213 | + channel@8 { | |
| 214 | + gw,mode = <1>; | |
| 215 | + reg = <0x08>; | |
| 216 | + label = "vdd_bat"; | |
| 217 | + }; | |
| 218 | + | |
| 219 | + channel@b { | |
| 220 | + gw,mode = <1>; | |
| 221 | + reg = <0x0b>; | |
| 222 | + label = "vdd_5p0"; | |
| 223 | + }; | |
| 224 | + | |
| 225 | + channel@e { | |
| 226 | + gw,mode = <1>; | |
| 227 | + reg = <0xe>; | |
| 228 | + label = "vdd_arm"; | |
| 229 | + }; | |
| 230 | + | |
| 231 | + channel@11 { | |
| 232 | + gw,mode = <1>; | |
| 233 | + reg = <0x11>; | |
| 234 | + label = "vdd_soc"; | |
| 235 | + }; | |
| 236 | + | |
| 237 | + channel@14 { | |
| 238 | + gw,mode = <1>; | |
| 239 | + reg = <0x14>; | |
| 240 | + label = "vdd_3p0"; | |
| 241 | + }; | |
| 242 | + | |
| 243 | + channel@17 { | |
| 244 | + gw,mode = <1>; | |
| 245 | + reg = <0x17>; | |
| 246 | + label = "vdd_1p5"; | |
| 247 | + }; | |
| 248 | + | |
| 249 | + channel@1d { | |
| 250 | + gw,mode = <1>; | |
| 251 | + reg = <0x1d>; | |
| 252 | + label = "vdd_1p8a"; | |
| 253 | + }; | |
| 254 | + | |
| 255 | + channel@20 { | |
| 256 | + gw,mode = <1>; | |
| 257 | + reg = <0x20>; | |
| 258 | + label = "vdd_1p0b"; | |
| 259 | + }; | |
| 260 | + | |
| 261 | + channel@26 { | |
| 262 | + gw,mode = <1>; | |
| 263 | + reg = <0x26>; | |
| 264 | + label = "vdd_an1"; | |
| 265 | + }; | |
| 266 | + }; | |
| 267 | + }; | |
| 268 | + | |
| 269 | + gsc_gpio: gpio@23 { | |
| 134 | 270 | compatible = "nxp,pca9555"; |
| 135 | 271 | reg = <0x23>; |
| 136 | 272 | gpio-controller; |
| 137 | 273 | #gpio-cells = <2>; |
| 274 | + interrupt-parent = <&gsc>; | |
| 275 | + interrupts = <4>; | |
| 138 | 276 | }; |
| 139 | 277 | |
| 140 | 278 | eeprom1: eeprom@50 { |
| @@ -428,6 +566,7 @@ · 287 unmodified lines | ||
| 428 | 566 | fsl,pins = < |
| 429 | 567 | MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1 |
| 430 | 568 | MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1 |
| 569 | + MX6QDL_PAD_GPIO_4__GPIO1_IO04 0xb0b1 | |
| 431 | 570 | >; |
| 432 | 571 | }; |
| 433 | 572 | |
| @@ -88,6 +88,53 @@ · 87 unmodified lines | ||
| 88 | 88 | default-on; |
| 89 | 89 | }; |
| 90 | 90 | |
| 91 | + gpio-keys { | |
| 92 | + compatible = "gpio-keys"; | |
| 93 | + #address-cells = <1>; | |
| 94 | + #size-cells = <0>; | |
| 95 | + | |
| 96 | + user-pb { | |
| 97 | + label = "user_pb"; | |
| 98 | + gpios = <&gsc_gpio 0 GPIO_ACTIVE_LOW>; | |
| 99 | + linux,code = <BTN_0>; | |
| 100 | + }; | |
| 101 | + | |
| 102 | + user-pb1x { | |
| 103 | + label = "user_pb1x"; | |
| 104 | + linux,code = <BTN_1>; | |
| 105 | + interrupt-parent = <&gsc>; | |
| 106 | + interrupts = <0>; | |
| 107 | + }; | |
| 108 | + | |
| 109 | + key-erased { | |
| 110 | + label = "key-erased"; | |
| 111 | + linux,code = <BTN_2>; | |
| 112 | + interrupt-parent = <&gsc>; | |
| 113 | + interrupts = <1>; | |
| 114 | + }; | |
| 115 | + | |
| 116 | + eeprom-wp { | |
| 117 | + label = "eeprom_wp"; | |
| 118 | + linux,code = <BTN_3>; | |
| 119 | + interrupt-parent = <&gsc>; | |
| 120 | + interrupts = <2>; | |
| 121 | + }; | |
| 122 | + | |
| 123 | + tamper { | |
| 124 | + label = "tamper"; | |
| 125 | + linux,code = <BTN_4>; | |
| 126 | + interrupt-parent = <&gsc>; | |
| 127 | + interrupts = <5>; | |
| 128 | + }; | |
| 129 | + | |
| 130 | + switch-hold { | |
| 131 | + label = "switch_hold"; | |
| 132 | + linux,code = <BTN_5>; | |
| 133 | + interrupt-parent = <&gsc>; | |
| 134 | + interrupts = <7>; | |
| 135 | + }; | |
| 136 | + }; | |
| 137 | + | |
| 91 | 138 | leds { |
| 92 | 139 | compatible = "gpio-leds"; |
| 93 | 140 | pinctrl-names = "default"; |
| @@ -243,6 +290,115 @@ · 149 unmodified lines | ||
| 243 | 290 | pinctrl-0 = <&pinctrl_i2c1>; |
| 244 | 291 | status = "okay"; |
| 245 | 292 | |
| 293 | + gsc: gsc@20 { | |
| 294 | + compatible = "gw,gsc"; | |
| 295 | + reg = <0x20>; | |
| 296 | + interrupt-parent = <&gpio1>; | |
| 297 | + interrupts = <4 GPIO_ACTIVE_LOW>; | |
| 298 | + interrupt-controller; | |
| 299 | + #interrupt-cells = <1>; | |
| 300 | + #size-cells = <0>; | |
| 301 | + | |
| 302 | + adc { | |
| 303 | + compatible = "gw,gsc-adc"; | |
| 304 | + #address-cells = <1>; | |
| 305 | + #size-cells = <0>; | |
| 306 | + | |
| 307 | + channel@0 { | |
| 308 | + gw,mode = <0>; | |
| 309 | + reg = <0x00>; | |
| 310 | + label = "temp"; | |
| 311 | + }; | |
| 312 | + | |
| 313 | + channel@2 { | |
| 314 | + gw,mode = <1>; | |
| 315 | + reg = <0x02>; | |
| 316 | + label = "vdd_vin"; | |
| 317 | + }; | |
| 318 | + | |
| 319 | + channel@5 { | |
| 320 | + gw,mode = <1>; | |
| 321 | + reg = <0x05>; | |
| 322 | + label = "vdd_3p3"; | |
| 323 | + }; | |
| 324 | + | |
| 325 | + channel@8 { | |
| 326 | + gw,mode = <1>; | |
| 327 | + reg = <0x08>; | |
| 328 | + label = "vdd_bat"; | |
| 329 | + }; | |
| 330 | + | |
| 331 | + channel@b { | |
| 332 | + gw,mode = <1>; | |
| 333 | + reg = <0x0b>; | |
| 334 | + label = "vdd_5p0"; | |
| 335 | + }; | |
| 336 | + | |
| 337 | + channel@e { | |
| 338 | + gw,mode = <1>; | |
| 339 | + reg = <0xe>; | |
| 340 | + label = "vdd_arm"; | |
| 341 | + }; | |
| 342 | + | |
| 343 | + channel@11 { | |
| 344 | + gw,mode = <1>; | |
| 345 | + reg = <0x11>; | |
| 346 | + label = "vdd_soc"; | |
| 347 | + }; | |
| 348 | + | |
| 349 | + channel@14 { | |
| 350 | + gw,mode = <1>; | |
| 351 | + reg = <0x14>; | |
| 352 | + label = "vdd_3p0"; | |
| 353 | + }; | |
| 354 | + | |
| 355 | + channel@17 { | |
| 356 | + gw,mode = <1>; | |
| 357 | + reg = <0x17>; | |
| 358 | + label = "vdd_1p5"; | |
| 359 | + }; | |
| 360 | + | |
| 361 | + channel@1d { | |
| 362 | + gw,mode = <1>; | |
| 363 | + reg = <0x1d>; | |
| 364 | + label = "vdd_1p8"; | |
| 365 | + }; | |
| 366 | + | |
| 367 | + channel@20 { | |
| 368 | + gw,mode = <1>; | |
| 369 | + reg = <0x20>; | |
| 370 | + label = "vdd_an1"; | |
| 371 | + }; | |
| 372 | + | |
| 373 | + channel@23 { | |
| 374 | + gw,mode = <1>; | |
| 375 | + reg = <0x23>; | |
| 376 | + label = "vdd_2p5"; | |
| 377 | + }; | |
| 378 | + | |
| 379 | + channel@26 { | |
| 380 | + gw,mode = <1>; | |
| 381 | + reg = <0x26>; | |
| 382 | + label = "vdd_gps"; | |
| 383 | + }; | |
| 384 | + | |
| 385 | + channel@29 { | |
| 386 | + gw,mode = <1>; | |
| 387 | + reg = <0x29>; | |
| 388 | + label = "vdd_an2"; | |
| 389 | + }; | |
| 390 | + }; | |
| 391 | + }; | |
| 392 | + | |
| 393 | + gsc_gpio: gpio@23 { | |
| 394 | + compatible = "nxp,pca9555"; | |
| 395 | + reg = <0x23>; | |
| 396 | + gpio-controller; | |
| 397 | + #gpio-cells = <2>; | |
| 398 | + interrupt-parent = <&gsc>; | |
| 399 | + interrupts = <4>; | |
| 400 | + }; | |
| 401 | + | |
| 246 | 402 | eeprom1: eeprom@50 { |
| 247 | 403 | compatible = "atmel,24c02"; |
| 248 | 404 | reg = <0x50>; |
| @@ -267,13 +423,6 @@ · 18 unmodified lines | ||
| 267 | 423 | pagesize = <16>; |
| 268 | 424 | }; |
| 269 | 425 | |
| 270 | − pca9555: gpio@23 { | |
| 271 | − compatible = "nxp,pca9555"; | |
| 272 | − reg = <0x23>; | |
| 273 | − gpio-controller; | |
| 274 | − #gpio-cells = <2>; | |
| 275 | − }; | |
| 276 | − | |
| 277 | 426 | ds1672: rtc@68 { |
| 278 | 427 | compatible = "dallas,ds1672"; |
| 279 | 428 | reg = <0x68>; |
| @@ -471,6 +620,7 @@ · 191 unmodified lines | ||
| 471 | 620 | }; |
| 472 | 621 | |
| 473 | 622 | &pwm4 { |
| 623 | + #pwm-cells = <2>; | |
| 474 | 624 | pinctrl-names = "default"; |
| 475 | 625 | pinctrl-0 = <&pinctrl_pwm4>; |
| 476 | 626 | status = "okay"; |
| @@ -608,6 +758,7 @@ · 131 unmodified lines | ||
| 608 | 758 | fsl,pins = < |
| 609 | 759 | MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1 |
| 610 | 760 | MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1 |
| 761 | + MX6QDL_PAD_GPIO_4__GPIO1_IO04 0xb0b1 | |
| 611 | 762 | >; |
| 612 | 763 | }; |
| 613 | 764 | |
| @@ -46,6 +46,7 @@ · 45 unmodified lines | ||
| 46 | 46 | */ |
| 47 | 47 | |
| 48 | 48 | #include <dt-bindings/gpio/gpio.h> |
| 49 | +#include <dt-bindings/input/linux-event-codes.h> | |
| 49 | 50 | |
| 50 | 51 | / { |
| 51 | 52 | chosen { |
| @@ -71,6 +72,53 @@ · 19 unmodified lines | ||
| 71 | 72 | default-brightness-level = <100>; |
| 72 | 73 | }; |
| 73 | 74 | |
| 75 | + gpio-keys { | |
| 76 | + compatible = "gpio-keys"; | |
| 77 | + #address-cells = <1>; | |
| 78 | + #size-cells = <0>; | |
| 79 | + | |
| 80 | + user-pb { | |
| 81 | + label = "user_pb"; | |
| 82 | + gpios = <&gsc_gpio 0 GPIO_ACTIVE_LOW>; | |
| 83 | + linux,code = <BTN_0>; | |
| 84 | + }; | |
| 85 | + | |
| 86 | + user-pb1x { | |
| 87 | + label = "user_pb1x"; | |
| 88 | + linux,code = <BTN_1>; | |
| 89 | + interrupt-parent = <&gsc>; | |
| 90 | + interrupts = <0>; | |
| 91 | + }; | |
| 92 | + | |
| 93 | + key-erased { | |
| 94 | + label = "key-erased"; | |
| 95 | + linux,code = <BTN_2>; | |
| 96 | + interrupt-parent = <&gsc>; | |
| 97 | + interrupts = <1>; | |
| 98 | + }; | |
| 99 | + | |
| 100 | + eeprom-wp { | |
| 101 | + label = "eeprom_wp"; | |
| 102 | + linux,code = <BTN_3>; | |
| 103 | + interrupt-parent = <&gsc>; | |
| 104 | + interrupts = <2>; | |
| 105 | + }; | |
| 106 | + | |
| 107 | + tamper { | |
| 108 | + label = "tamper"; | |
| 109 | + linux,code = <BTN_4>; | |
| 110 | + interrupt-parent = <&gsc>; | |
| 111 | + interrupts = <5>; | |
| 112 | + }; | |
| 113 | + | |
| 114 | + switch-hold { | |
| 115 | + label = "switch_hold"; | |
| 116 | + linux,code = <BTN_5>; | |
| 117 | + interrupt-parent = <&gsc>; | |
| 118 | + interrupts = <7>; | |
| 119 | + }; | |
| 120 | + }; | |
| 121 | + | |
| 74 | 122 | leds { |
| 75 | 123 | compatible = "gpio-leds"; |
| 76 | 124 | pinctrl-names = "default"; |
| @@ -183,11 +231,101 @@ · 106 unmodified lines | ||
| 183 | 231 | pinctrl-0 = <&pinctrl_i2c1>; |
| 184 | 232 | status = "okay"; |
| 185 | 233 | |
| 186 | − pca9555: gpio@23 { | |
| 234 | + gsc: gsc@20 { | |
| 235 | + compatible = "gw,gsc"; | |
| 236 | + reg = <0x20>; | |
| 237 | + interrupt-parent = <&gpio1>; | |
| 238 | + interrupts = <4 GPIO_ACTIVE_LOW>; | |
| 239 | + interrupt-controller; | |
| 240 | + #interrupt-cells = <1>; | |
| 241 | + #size-cells = <0>; | |
| 242 | + | |
| 243 | + adc { | |
| 244 | + compatible = "gw,gsc-adc"; | |
| 245 | + #address-cells = <1>; | |
| 246 | + #size-cells = <0>; | |
| 247 | + | |
| 248 | + channel@0 { | |
| 249 | + gw,mode = <0>; | |
| 250 | + reg = <0x00>; | |
| 251 | + label = "temp"; | |
| 252 | + }; | |
| 253 | + | |
| 254 | + channel@2 { | |
| 255 | + gw,mode = <1>; | |
| 256 | + reg = <0x02>; | |
| 257 | + label = "vdd_vin"; | |
| 258 | + }; | |
| 259 | + | |
| 260 | + channel@5 { | |
| 261 | + gw,mode = <1>; | |
| 262 | + reg = <0x05>; | |
| 263 | + label = "vdd_3p3"; | |
| 264 | + }; | |
| 265 | + | |
| 266 | + channel@8 { | |
| 267 | + gw,mode = <1>; | |
| 268 | + reg = <0x08>; | |
| 269 | + label = "vdd_bat"; | |
| 270 | + }; | |
| 271 | + | |
| 272 | + channel@b { | |
| 273 | + gw,mode = <1>; | |
| 274 | + reg = <0x0b>; | |
| 275 | + label = "vdd_5p0"; | |
| 276 | + }; | |
| 277 | + | |
| 278 | + channel@e { | |
| 279 | + gw,mode = <1>; | |
| 280 | + reg = <0xe>; | |
| 281 | + label = "vdd_arm"; | |
| 282 | + }; | |
| 283 | + | |
| 284 | + channel@11 { | |
| 285 | + gw,mode = <1>; | |
| 286 | + reg = <0x11>; | |
| 287 | + label = "vdd_soc"; | |
| 288 | + }; | |
| 289 | + | |
| 290 | + channel@14 { | |
| 291 | + gw,mode = <1>; | |
| 292 | + reg = <0x14>; | |
| 293 | + label = "vdd_3p0"; | |
| 294 | + }; | |
| 295 | + | |
| 296 | + channel@17 { | |
| 297 | + gw,mode = <1>; | |
| 298 | + reg = <0x17>; | |
| 299 | + label = "vdd_1p5"; | |
| 300 | + }; | |
| 301 | + | |
| 302 | + channel@1d { | |
| 303 | + gw,mode = <1>; | |
| 304 | + reg = <0x1d>; | |
| 305 | + label = "vdd_1p8"; | |
| 306 | + }; | |
| 307 | + | |
| 308 | + channel@20 { | |
| 309 | + gw,mode = <1>; | |
| 310 | + reg = <0x20>; | |
| 311 | + label = "vdd_an1"; | |
| 312 | + }; | |
| 313 | + | |
| 314 | + channel@23 { | |
| 315 | + gw,mode = <1>; | |
| 316 | + reg = <0x23>; | |
| 317 | + label = "vdd_2p5"; | |
| 318 | + }; | |
| 319 | + }; | |
| 320 | + }; | |
| 321 | + | |
| 322 | + gsc_gpio: gpio@23 { | |
| 187 | 323 | compatible = "nxp,pca9555"; |
| 188 | 324 | reg = <0x23>; |
| 189 | 325 | gpio-controller; |
| 190 | 326 | #gpio-cells = <2>; |
| 327 | + interrupt-parent = <&gsc>; | |
| 328 | + interrupts = <4>; | |
| 191 | 329 | }; |
| 192 | 330 | |
| 193 | 331 | eeprom1: eeprom@50 { |
| @@ -365,6 +503,7 @@ · 171 unmodified lines | ||
| 365 | 503 | }; |
| 366 | 504 | |
| 367 | 505 | &pwm1 { |
| 506 | + #pwm-cells = <2>; | |
| 368 | 507 | pinctrl-names = "default"; |
| 369 | 508 | pinctrl-0 = <&pinctrl_pwm1>; |
| 370 | 509 | status = "okay"; |
| @@ -46,6 +46,7 @@ · 45 unmodified lines | ||
| 46 | 46 | */ |
| 47 | 47 | |
| 48 | 48 | #include <dt-bindings/gpio/gpio.h> |
| 49 | +#include <dt-bindings/input/linux-event-codes.h> | |
| 49 | 50 | |
| 50 | 51 | / { |
| 51 | 52 | /* these are used by bootloader for disabling nodes */ |
| @@ -68,6 +69,53 @@ · 16 unmodified lines | ||
| 68 | 69 | default-brightness-level = <7>; |
| 69 | 70 | }; |
| 70 | 71 | |
| 72 | + gpio-keys { | |
| 73 | + compatible = "gpio-keys"; | |
| 74 | + #address-cells = <1>; | |
| 75 | + #size-cells = <0>; | |
| 76 | + | |
| 77 | + user-pb { | |
| 78 | + label = "user_pb"; | |
| 79 | + gpios = <&gsc_gpio 0 GPIO_ACTIVE_LOW>; | |
| 80 | + linux,code = <BTN_0>; | |
| 81 | + }; | |
| 82 | + | |
| 83 | + user-pb1x { | |
| 84 | + label = "user_pb1x"; | |
| 85 | + linux,code = <BTN_1>; | |
| 86 | + interrupt-parent = <&gsc>; | |
| 87 | + interrupts = <0>; | |
| 88 | + }; | |
| 89 | + | |
| 90 | + key-erased { | |
| 91 | + label = "key-erased"; | |
| 92 | + linux,code = <BTN_2>; | |
| 93 | + interrupt-parent = <&gsc>; | |
| 94 | + interrupts = <1>; | |
| 95 | + }; | |
| 96 | + | |
| 97 | + eeprom-wp { | |
| 98 | + label = "eeprom_wp"; | |
| 99 | + linux,code = <BTN_3>; | |
| 100 | + interrupt-parent = <&gsc>; | |
| 101 | + interrupts = <2>; | |
| 102 | + }; | |
| 103 | + | |
| 104 | + tamper { | |
| 105 | + label = "tamper"; | |
| 106 | + linux,code = <BTN_4>; | |
| 107 | + interrupt-parent = <&gsc>; | |
| 108 | + interrupts = <5>; | |
| 109 | + }; | |
| 110 | + | |
| 111 | + switch-hold { | |
| 112 | + label = "switch_hold"; | |
| 113 | + linux,code = <BTN_5>; | |
| 114 | + interrupt-parent = <&gsc>; | |
| 115 | + interrupts = <7>; | |
| 116 | + }; | |
| 117 | + }; | |
| 118 | + | |
| 71 | 119 | leds { |
| 72 | 120 | compatible = "gpio-leds"; |
| 73 | 121 | pinctrl-names = "default"; |
| @@ -205,11 +253,101 @@ · 131 unmodified lines | ||
| 205 | 253 | pinctrl-0 = <&pinctrl_i2c1>; |
| 206 | 254 | status = "okay"; |
| 207 | 255 | |
| 208 | − pca9555: gpio@23 { | |
| 256 | + gsc: gsc@20 { | |
| 257 | + compatible = "gw,gsc"; | |
| 258 | + reg = <0x20>; | |
| 259 | + interrupt-parent = <&gpio1>; | |
| 260 | + interrupts = <4 GPIO_ACTIVE_LOW>; | |
| 261 | + interrupt-controller; | |
| 262 | + #interrupt-cells = <1>; | |
| 263 | + #size-cells = <0>; | |
| 264 | + | |
| 265 | + adc { | |
| 266 | + compatible = "gw,gsc-adc"; | |
| 267 | + #address-cells = <1>; | |
| 268 | + #size-cells = <0>; | |
| 269 | + | |
| 270 | + channel@0 { | |
| 271 | + gw,mode = <0>; | |
| 272 | + reg = <0x00>; | |
| 273 | + label = "temp"; | |
| 274 | + }; | |
| 275 | + | |
| 276 | + channel@2 { | |
| 277 | + gw,mode = <1>; | |
| 278 | + reg = <0x02>; | |
| 279 | + label = "vdd_vin"; | |
| 280 | + }; | |
| 281 | + | |
| 282 | + channel@5 { | |
| 283 | + gw,mode = <1>; | |
| 284 | + reg = <0x05>; | |
| 285 | + label = "vdd_3p3"; | |
| 286 | + }; | |
| 287 | + | |
| 288 | + channel@8 { | |
| 289 | + gw,mode = <1>; | |
| 290 | + reg = <0x08>; | |
| 291 | + label = "vdd_bat"; | |
| 292 | + }; | |
| 293 | + | |
| 294 | + channel@b { | |
| 295 | + gw,mode = <1>; | |
| 296 | + reg = <0x0b>; | |
| 297 | + label = "vdd_5p0"; | |
| 298 | + }; | |
| 299 | + | |
| 300 | + channel@e { | |
| 301 | + gw,mode = <1>; | |
| 302 | + reg = <0xe>; | |
| 303 | + label = "vdd_arm"; | |
| 304 | + }; | |
| 305 | + | |
| 306 | + channel@11 { | |
| 307 | + gw,mode = <1>; | |
| 308 | + reg = <0x11>; | |
| 309 | + label = "vdd_soc"; | |
| 310 | + }; | |
| 311 | + | |
| 312 | + channel@14 { | |
| 313 | + gw,mode = <1>; | |
| 314 | + reg = <0x14>; | |
| 315 | + label = "vdd_3p0"; | |
| 316 | + }; | |
| 317 | + | |
| 318 | + channel@17 { | |
| 319 | + gw,mode = <1>; | |
| 320 | + reg = <0x17>; | |
| 321 | + label = "vdd_1p5"; | |
| 322 | + }; | |
| 323 | + | |
| 324 | + channel@1d { | |
| 325 | + gw,mode = <1>; | |
| 326 | + reg = <0x1d>; | |
| 327 | + label = "vdd_1p8"; | |
| 328 | + }; | |
| 329 | + | |
| 330 | + channel@20 { | |
| 331 | + gw,mode = <1>; | |
| 332 | + reg = <0x20>; | |
| 333 | + label = "vdd_an1"; | |
| 334 | + }; | |
| 335 | + | |
| 336 | + channel@23 { | |
| 337 | + gw,mode = <1>; | |
| 338 | + reg = <0x23>; | |
| 339 | + label = "vdd_2p5"; | |
| 340 | + }; | |
| 341 | + }; | |
| 342 | + }; | |
| 343 | + | |
| 344 | + gsc_gpio: gpio@23 { | |
| 209 | 345 | compatible = "nxp,pca9555"; |
| 210 | 346 | reg = <0x23>; |
| 211 | 347 | gpio-controller; |
| 212 | 348 | #gpio-cells = <2>; |
| 349 | + interrupt-parent = <&gsc>; | |
| 350 | + interrupts = <4>; | |
| 213 | 351 | }; |
| 214 | 352 | |
| 215 | 353 | eeprom1: eeprom@50 { |
| @@ -401,6 +539,7 @@ · 185 unmodified lines | ||
| 401 | 539 | }; |
| 402 | 540 | |
| 403 | 541 | &pwm4 { |
| 542 | + #pwm-cells = <2>; | |
| 404 | 543 | pinctrl-names = "default"; |
| 405 | 544 | pinctrl-0 = <&pinctrl_pwm4>; |
| 406 | 545 | status = "okay"; |
| @@ -503,6 +642,7 @@ · 96 unmodified lines | ||
| 503 | 642 | fsl,pins = < |
| 504 | 643 | MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1 |
| 505 | 644 | MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1 |
| 645 | + MX6QDL_PAD_GPIO_4__GPIO1_IO04 0x0001b0b0 /* GSC_IRQ# */ | |
| 506 | 646 | >; |
| 507 | 647 | }; |
| 508 | 648 | |
| @@ -4,6 +4,7 @@ · 3 unmodified lines | ||
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | #include <dt-bindings/gpio/gpio.h> |
| 7 | +#include <dt-bindings/input/linux-event-codes.h> | |
| 7 | 8 | |
| 8 | 9 | / { |
| 9 | 10 | /* these are used by bootloader for disabling nodes */ |
| @@ -19,6 +20,53 @@ · 9 unmodified lines | ||
| 19 | 20 | stdout-path = &uart2; |
| 20 | 21 | }; |
| 21 | 22 | |
| 23 | + gpio-keys { | |
| 24 | + compatible = "gpio-keys"; | |
| 25 | + #address-cells = <1>; | |
| 26 | + #size-cells = <0>; | |
| 27 | + | |
| 28 | + user-pb { | |
| 29 | + label = "user_pb"; | |
| 30 | + gpios = <&gsc_gpio 0 GPIO_ACTIVE_LOW>; | |
| 31 | + linux,code = <BTN_0>; | |
| 32 | + }; | |
| 33 | + | |
| 34 | + user-pb1x { | |
| 35 | + label = "user_pb1x"; | |
| 36 | + linux,code = <BTN_1>; | |
| 37 | + interrupt-parent = <&gsc>; | |
| 38 | + interrupts = <0>; | |
| 39 | + }; | |
| 40 | + | |
| 41 | + key-erased { | |
| 42 | + label = "key-erased"; | |
| 43 | + linux,code = <BTN_2>; | |
| 44 | + interrupt-parent = <&gsc>; | |
| 45 | + interrupts = <1>; | |
| 46 | + }; | |
| 47 | + | |
| 48 | + eeprom-wp { | |
| 49 | + label = "eeprom_wp"; | |
| 50 | + linux,code = <BTN_3>; | |
| 51 | + interrupt-parent = <&gsc>; | |
| 52 | + interrupts = <2>; | |
| 53 | + }; | |
| 54 | + | |
| 55 | + tamper { | |
| 56 | + label = "tamper"; | |
| 57 | + linux,code = <BTN_4>; | |
| 58 | + interrupt-parent = <&gsc>; | |
| 59 | + interrupts = <5>; | |
| 60 | + }; | |
| 61 | + | |
| 62 | + switch-hold { | |
| 63 | + label = "switch_hold"; | |
| 64 | + linux,code = <BTN_5>; | |
| 65 | + interrupt-parent = <&gsc>; | |
| 66 | + interrupts = <7>; | |
| 67 | + }; | |
| 68 | + }; | |
| 69 | + | |
| 22 | 70 | leds { |
| 23 | 71 | compatible = "gpio-leds"; |
| 24 | 72 | pinctrl-names = "default"; |
| @@ -102,11 +150,101 @@ · 77 unmodified lines | ||
| 102 | 150 | pinctrl-0 = <&pinctrl_i2c1>; |
| 103 | 151 | status = "okay"; |
| 104 | 152 | |
| 105 | − gpio@23 { | |
| 153 | + gsc: gsc@20 { | |
| 154 | + compatible = "gw,gsc"; | |
| 155 | + reg = <0x20>; | |
| 156 | + interrupt-parent = <&gpio1>; | |
| 157 | + interrupts = <4 GPIO_ACTIVE_LOW>; | |
| 158 | + interrupt-controller; | |
| 159 | + #interrupt-cells = <1>; | |
| 160 | + #size-cells = <0>; | |
| 161 | + | |
| 162 | + adc { | |
| 163 | + compatible = "gw,gsc-adc"; | |
| 164 | + #address-cells = <1>; | |
| 165 | + #size-cells = <0>; | |
| 166 | + | |
| 167 | + channel@0 { | |
| 168 | + gw,mode = <0>; | |
| 169 | + reg = <0x00>; | |
| 170 | + label = "temp"; | |
| 171 | + }; | |
| 172 | + | |
| 173 | + channel@2 { | |
| 174 | + gw,mode = <1>; | |
| 175 | + reg = <0x02>; | |
| 176 | + label = "vdd_vin"; | |
| 177 | + }; | |
| 178 | + | |
| 179 | + channel@5 { | |
| 180 | + gw,mode = <1>; | |
| 181 | + reg = <0x05>; | |
| 182 | + label = "vdd_3p3"; | |
| 183 | + }; | |
| 184 | + | |
| 185 | + channel@8 { | |
| 186 | + gw,mode = <1>; | |
| 187 | + reg = <0x08>; | |
| 188 | + label = "vdd_bat"; | |
| 189 | + }; | |
| 190 | + | |
| 191 | + channel@b { | |
| 192 | + gw,mode = <1>; | |
| 193 | + reg = <0x0b>; | |
| 194 | + label = "vdd_5p0"; | |
| 195 | + }; | |
| 196 | + | |
| 197 | + channel@e { | |
| 198 | + gw,mode = <1>; | |
| 199 | + reg = <0xe>; | |
| 200 | + label = "vdd_arm"; | |
| 201 | + }; | |
| 202 | + | |
| 203 | + channel@11 { | |
| 204 | + gw,mode = <1>; | |
| 205 | + reg = <0x11>; | |
| 206 | + label = "vdd_soc"; | |
| 207 | + }; | |
| 208 | + | |
| 209 | + channel@14 { | |
| 210 | + gw,mode = <1>; | |
| 211 | + reg = <0x14>; | |
| 212 | + label = "vdd_3p0"; | |
| 213 | + }; | |
| 214 | + | |
| 215 | + channel@17 { | |
| 216 | + gw,mode = <1>; | |
| 217 | + reg = <0x17>; | |
| 218 | + label = "vdd_1p5"; | |
| 219 | + }; | |
| 220 | + | |
| 221 | + channel@1d { | |
| 222 | + gw,mode = <1>; | |
| 223 | + reg = <0x1d>; | |
| 224 | + label = "vdd_1p8"; | |
| 225 | + }; | |
| 226 | + | |
| 227 | + channel@20 { | |
| 228 | + gw,mode = <1>; | |
| 229 | + reg = <0x20>; | |
| 230 | + label = "vdd_an1"; | |
| 231 | + }; | |
| 232 | + | |
| 233 | + channel@23 { | |
| 234 | + gw,mode = <1>; | |
| 235 | + reg = <0x23>; | |
| 236 | + label = "vdd_2p5"; | |
| 237 | + }; | |
| 238 | + }; | |
| 239 | + }; | |
| 240 | + | |
| 241 | + gsc_gpio: gpio@23 { | |
| 106 | 242 | compatible = "nxp,pca9555"; |
| 107 | 243 | reg = <0x23>; |
| 108 | 244 | gpio-controller; |
| 109 | 245 | #gpio-cells = <2>; |
| 246 | + interrupt-parent = <&gsc>; | |
| 247 | + interrupts = <4>; | |
| 110 | 248 | }; |
| 111 | 249 | |
| 112 | 250 | eeprom@50 { |
| @@ -133,7 +271,7 @@ · 20 unmodified lines | ||
| 133 | 271 | pagesize = <16>; |
| 134 | 272 | }; |
| 135 | 273 | |
| 136 | − rtc@68 { | |
| 274 | + ds1672@68 { | |
| 137 | 275 | compatible = "dallas,ds1672"; |
| 138 | 276 | reg = <0x68>; |
| 139 | 277 | }; |
| @@ -4,6 +4,7 @@ · 3 unmodified lines | ||
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | #include <dt-bindings/gpio/gpio.h> |
| 7 | +#include <dt-bindings/input/linux-event-codes.h> | |
| 7 | 8 | |
| 8 | 9 | / { |
| 9 | 10 | /* these are used by bootloader for disabling nodes */ |
| @@ -22,6 +23,53 @@ · 12 unmodified lines | ||
| 22 | 23 | reg = <0x10000000 0x20000000>; |
| 23 | 24 | }; |
| 24 | 25 | |
| 26 | + gpio-keys { | |
| 27 | + compatible = "gpio-keys"; | |
| 28 | + #address-cells = <1>; | |
| 29 | + #size-cells = <0>; | |
| 30 | + | |
| 31 | + user-pb { | |
| 32 | + label = "user_pb"; | |
| 33 | + gpios = <&gsc_gpio 0 GPIO_ACTIVE_LOW>; | |
| 34 | + linux,code = <BTN_0>; | |
| 35 | + }; | |
| 36 | + | |
| 37 | + user-pb1x { | |
| 38 | + label = "user_pb1x"; | |
| 39 | + linux,code = <BTN_1>; | |
| 40 | + interrupt-parent = <&gsc>; | |
| 41 | + interrupts = <0>; | |
| 42 | + }; | |
| 43 | + | |
| 44 | + key-erased { | |
| 45 | + label = "key-erased"; | |
| 46 | + linux,code = <BTN_2>; | |
| 47 | + interrupt-parent = <&gsc>; | |
| 48 | + interrupts = <1>; | |
| 49 | + }; | |
| 50 | + | |
| 51 | + eeprom-wp { | |
| 52 | + label = "eeprom_wp"; | |
| 53 | + linux,code = <BTN_3>; | |
| 54 | + interrupt-parent = <&gsc>; | |
| 55 | + interrupts = <2>; | |
| 56 | + }; | |
| 57 | + | |
| 58 | + tamper { | |
| 59 | + label = "tamper"; | |
| 60 | + linux,code = <BTN_4>; | |
| 61 | + interrupt-parent = <&gsc>; | |
| 62 | + interrupts = <5>; | |
| 63 | + }; | |
| 64 | + | |
| 65 | + switch-hold { | |
| 66 | + label = "switch_hold"; | |
| 67 | + linux,code = <BTN_5>; | |
| 68 | + interrupt-parent = <&gsc>; | |
| 69 | + interrupts = <7>; | |
| 70 | + }; | |
| 71 | + }; | |
| 72 | + | |
| 25 | 73 | leds { |
| 26 | 74 | compatible = "gpio-leds"; |
| 27 | 75 | pinctrl-names = "default"; |
| @@ -111,11 +159,121 @@ · 83 unmodified lines | ||
| 111 | 159 | pinctrl-0 = <&pinctrl_i2c1>; |
| 112 | 160 | status = "okay"; |
| 113 | 161 | |
| 114 | − gpio@23 { | |
| 162 | + gsc: gsc@20 { | |
| 163 | + compatible = "gw,gsc"; | |
| 164 | + reg = <0x20>; | |
| 165 | + interrupt-parent = <&gpio1>; | |
| 166 | + interrupts = <4 GPIO_ACTIVE_LOW>; | |
| 167 | + interrupt-controller; | |
| 168 | + #interrupt-cells = <1>; | |
| 169 | + #size-cells = <0>; | |
| 170 | + | |
| 171 | + adc { | |
| 172 | + compatible = "gw,gsc-adc"; | |
| 173 | + #address-cells = <1>; | |
| 174 | + #size-cells = <0>; | |
| 175 | + | |
| 176 | + channel@6 { | |
| 177 | + gw,mode = <0>; | |
| 178 | + reg = <0x06>; | |
| 179 | + label = "temp"; | |
| 180 | + }; | |
| 181 | + | |
| 182 | + channel@8 { | |
| 183 | + gw,mode = <3>; | |
| 184 | + reg = <0x08>; | |
| 185 | + label = "vdd_bat"; | |
| 186 | + }; | |
| 187 | + | |
| 188 | + channel@82 { | |
| 189 | + gw,mode = <2>; | |
| 190 | + reg = <0x82>; | |
| 191 | + label = "vdd_vin"; | |
| 192 | + gw,voltage-divider-ohms = <22100 1000>; | |
| 193 | + gw,voltage-offset-microvolt = <800000>; | |
| 194 | + }; | |
| 195 | + | |
| 196 | + channel@84 { | |
| 197 | + gw,mode = <2>; | |
| 198 | + reg = <0x84>; | |
| 199 | + label = "vdd_5p0"; | |
| 200 | + gw,voltage-divider-ohms = <22100 10000>; | |
| 201 | + }; | |
| 202 | + | |
| 203 | + channel@86 { | |
| 204 | + gw,mode = <2>; | |
| 205 | + reg = <0x86>; | |
| 206 | + label = "vdd_3p3"; | |
| 207 | + gw,voltage-divider-ohms = <10000 10000>; | |
| 208 | + }; | |
| 209 | + | |
| 210 | + channel@88 { | |
| 211 | + gw,mode = <2>; | |
| 212 | + reg = <0x88>; | |
| 213 | + label = "vdd_2p5"; | |
| 214 | + gw,voltage-divider-ohms = <10000 10000>; | |
| 215 | + }; | |
| 216 | + | |
| 217 | + channel@8c { | |
| 218 | + gw,mode = <2>; | |
| 219 | + reg = <0x8c>; | |
| 220 | + label = "vdd_3p0"; | |
| 221 | + }; | |
| 222 | + | |
| 223 | + channel@8e { | |
| 224 | + gw,mode = <2>; | |
| 225 | + reg = <0x8e>; | |
| 226 | + label = "vdd_arm"; | |
| 227 | + }; | |
| 228 | + | |
| 229 | + channel@90 { | |
| 230 | + gw,mode = <2>; | |
| 231 | + reg = <0x90>; | |
| 232 | + label = "vdd_soc"; | |
| 233 | + }; | |
| 234 | + | |
| 235 | + channel@92 { | |
| 236 | + gw,mode = <2>; | |
| 237 | + reg = <0x92>; | |
| 238 | + label = "vdd_1p5"; | |
| 239 | + }; | |
| 240 | + | |
| 241 | + channel@98 { | |
| 242 | + gw,mode = <2>; | |
| 243 | + reg = <0x98>; | |
| 244 | + label = "vdd_1p8"; | |
| 245 | + }; | |
| 246 | + | |
| 247 | + channel@9a { | |
| 248 | + gw,mode = <2>; | |
| 249 | + reg = <0x9a>; | |
| 250 | + label = "vdd_1p0"; | |
| 251 | + gw,voltage-divider-ohms = <10000 10000>; | |
| 252 | + }; | |
| 253 | + | |
| 254 | + channel@9c { | |
| 255 | + gw,mode = <2>; | |
| 256 | + reg = <0x9c>; | |
| 257 | + label = "vdd_an1"; | |
| 258 | + gw,voltage-divider-ohms = <10000 10000>; | |
| 259 | + }; | |
| 260 | + | |
| 261 | + channel@a2 { | |
| 262 | + gw,mode = <2>; | |
| 263 | + reg = <0xa2>; | |
| 264 | + label = "vdd_gsc"; | |
| 265 | + gw,voltage-divider-ohms = <10000 10000>; | |
| 266 | + }; | |
| 267 | + }; | |
| 268 | + }; | |
| 269 | + | |
| 270 | + gsc_gpio: gpio@23 { | |
| 115 | 271 | compatible = "nxp,pca9555"; |
| 116 | 272 | reg = <0x23>; |
| 117 | 273 | gpio-controller; |
| 118 | 274 | #gpio-cells = <2>; |
| 275 | + interrupt-parent = <&gsc>; | |
| 276 | + interrupts = <4>; | |
| 119 | 277 | }; |
| 120 | 278 | |
| 121 | 279 | eeprom@50 { |
| @@ -4,6 +4,7 @@ · 3 unmodified lines | ||
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | #include <dt-bindings/gpio/gpio.h> |
| 7 | +#include <dt-bindings/input/linux-event-codes.h> | |
| 7 | 8 | |
| 8 | 9 | / { |
| 9 | 10 | /* these are used by bootloader for disabling nodes */ |
| @@ -20,6 +21,53 @@ · 10 unmodified lines | ||
| 20 | 21 | stdout-path = &uart2; |
| 21 | 22 | }; |
| 22 | 23 | |
| 24 | + gpio-keys { | |
| 25 | + compatible = "gpio-keys"; | |
| 26 | + #address-cells = <1>; | |
| 27 | + #size-cells = <0>; | |
| 28 | + | |
| 29 | + user-pb { | |
| 30 | + label = "user_pb"; | |
| 31 | + gpios = <&gsc_gpio 0 GPIO_ACTIVE_LOW>; | |
| 32 | + linux,code = <BTN_0>; | |
| 33 | + }; | |
| 34 | + | |
| 35 | + user-pb1x { | |
| 36 | + label = "user_pb1x"; | |
| 37 | + linux,code = <BTN_1>; | |
| 38 | + interrupt-parent = <&gsc>; | |
| 39 | + interrupts = <0>; | |
| 40 | + }; | |
| 41 | + | |
| 42 | + key-erased { | |
| 43 | + label = "key-erased"; | |
| 44 | + linux,code = <BTN_2>; | |
| 45 | + interrupt-parent = <&gsc>; | |
| 46 | + interrupts = <1>; | |
| 47 | + }; | |
| 48 | + | |
| 49 | + eeprom-wp { | |
| 50 | + label = "eeprom_wp"; | |
| 51 | + linux,code = <BTN_3>; | |
| 52 | + interrupt-parent = <&gsc>; | |
| 53 | + interrupts = <2>; | |
| 54 | + }; | |
| 55 | + | |
| 56 | + tamper { | |
| 57 | + label = "tamper"; | |
| 58 | + linux,code = <BTN_4>; | |
| 59 | + interrupt-parent = <&gsc>; | |
| 60 | + interrupts = <5>; | |
| 61 | + }; | |
| 62 | + | |
| 63 | + switch-hold { | |
| 64 | + label = "switch_hold"; | |
| 65 | + linux,code = <BTN_5>; | |
| 66 | + interrupt-parent = <&gsc>; | |
| 67 | + interrupts = <7>; | |
| 68 | + }; | |
| 69 | + }; | |
| 70 | + | |
| 23 | 71 | leds { |
| 24 | 72 | compatible = "gpio-leds"; |
| 25 | 73 | pinctrl-names = "default"; |
| @@ -106,11 +154,109 @@ · 80 unmodified lines | ||
| 106 | 154 | pinctrl-0 = <&pinctrl_i2c1>; |
| 107 | 155 | status = "okay"; |
| 108 | 156 | |
| 109 | − gpio@23 { | |
| 157 | + gsc: gsc@20 { | |
| 158 | + compatible = "gw,gsc"; | |
| 159 | + reg = <0x20>; | |
| 160 | + interrupt-parent = <&gpio1>; | |
| 161 | + interrupts = <4 GPIO_ACTIVE_LOW>; | |
| 162 | + interrupt-controller; | |
| 163 | + #interrupt-cells = <1>; | |
| 164 | + #address-cells = <1>; | |
| 165 | + #size-cells = <0>; | |
| 166 | + | |
| 167 | + adc { | |
| 168 | + compatible = "gw,gsc-adc"; | |
| 169 | + #address-cells = <1>; | |
| 170 | + #size-cells = <0>; | |
| 171 | + | |
| 172 | + channel@0 { | |
| 173 | + gw,mode = <0>; | |
| 174 | + reg = <0x00>; | |
| 175 | + label = "temp"; | |
| 176 | + }; | |
| 177 | + | |
| 178 | + channel@2 { | |
| 179 | + gw,mode = <1>; | |
| 180 | + reg = <0x02>; | |
| 181 | + label = "vdd_vin"; | |
| 182 | + }; | |
| 183 | + | |
| 184 | + channel@5 { | |
| 185 | + gw,mode = <1>; | |
| 186 | + reg = <0x05>; | |
| 187 | + label = "vdd_3p3"; | |
| 188 | + }; | |
| 189 | + | |
| 190 | + channel@8 { | |
| 191 | + gw,mode = <1>; | |
| 192 | + reg = <0x08>; | |
| 193 | + label = "vdd_bat"; | |
| 194 | + }; | |
| 195 | + | |
| 196 | + channel@b { | |
| 197 | + gw,mode = <1>; | |
| 198 | + reg = <0x0b>; | |
| 199 | + label = "vdd_5p0"; | |
| 200 | + }; | |
| 201 | + | |
| 202 | + channel@e { | |
| 203 | + gw,mode = <1>; | |
| 204 | + reg = <0xe>; | |
| 205 | + label = "vdd_arm"; | |
| 206 | + }; | |
| 207 | + | |
| 208 | + channel@11 { | |
| 209 | + gw,mode = <1>; | |
| 210 | + reg = <0x11>; | |
| 211 | + label = "vdd_soc"; | |
| 212 | + }; | |
| 213 | + | |
| 214 | + channel@14 { | |
| 215 | + gw,mode = <1>; | |
| 216 | + reg = <0x14>; | |
| 217 | + label = "vdd_3p0"; | |
| 218 | + }; | |
| 219 | + | |
| 220 | + channel@17 { | |
| 221 | + gw,mode = <1>; | |
| 222 | + reg = <0x17>; | |
| 223 | + label = "vdd_1p5"; | |
| 224 | + }; | |
| 225 | + | |
| 226 | + channel@1d { | |
| 227 | + gw,mode = <1>; | |
| 228 | + reg = <0x1d>; | |
| 229 | + label = "vdd_1p8"; | |
| 230 | + }; | |
| 231 | + | |
| 232 | + channel@20 { | |
| 233 | + gw,mode = <1>; | |
| 234 | + reg = <0x20>; | |
| 235 | + label = "vdd_1p0"; | |
| 236 | + }; | |
| 237 | + | |
| 238 | + channel@23 { | |
| 239 | + gw,mode = <1>; | |
| 240 | + reg = <0x23>; | |
| 241 | + label = "vdd_2p5"; | |
| 242 | + }; | |
| 243 | + }; | |
| 244 | + | |
| 245 | + fan-controller@a { | |
| 246 | + compatible = "gw,gsc-fan"; | |
| 247 | + #address-cells = <1>; | |
| 248 | + #size-cells = <0>; | |
| 249 | + reg = <0x0a>; | |
| 250 | + }; | |
| 251 | + }; | |
| 252 | + | |
| 253 | + gsc_gpio: gpio@23 { | |
| 110 | 254 | compatible = "nxp,pca9555"; |
| 111 | 255 | reg = <0x23>; |
| 112 | 256 | gpio-controller; |
| 113 | 257 | #gpio-cells = <2>; |
| 258 | + interrupt-parent = <&gsc>; | |
| 259 | + interrupts = <4>; | |
| 114 | 260 | }; |
| 115 | 261 | |
| 116 | 262 | eeprom@50 { |
| @@ -4,6 +4,7 @@ · 3 unmodified lines | ||
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | #include <dt-bindings/gpio/gpio.h> |
| 7 | +#include <dt-bindings/input/linux-event-codes.h> | |
| 7 | 8 | |
| 8 | 9 | / { |
| 9 | 10 | /* these are used by bootloader for disabling nodes */ |
| @@ -19,6 +20,53 @@ · 9 unmodified lines | ||
| 19 | 20 | stdout-path = &uart2; |
| 20 | 21 | }; |
| 21 | 22 | |
| 23 | + gpio-keys { | |
| 24 | + compatible = "gpio-keys"; | |
| 25 | + #address-cells = <1>; | |
| 26 | + #size-cells = <0>; | |
| 27 | + | |
| 28 | + user-pb { | |
| 29 | + label = "user_pb"; | |
| 30 | + gpios = <&gsc_gpio 0 GPIO_ACTIVE_LOW>; | |
| 31 | + linux,code = <BTN_0>; | |
| 32 | + }; | |
| 33 | + | |
| 34 | + user-pb1x { | |
| 35 | + label = "user_pb1x"; | |
| 36 | + linux,code = <BTN_1>; | |
| 37 | + interrupt-parent = <&gsc>; | |
| 38 | + interrupts = <0>; | |
| 39 | + }; | |
| 40 | + | |
| 41 | + key-erased { | |
| 42 | + label = "key-erased"; | |
| 43 | + linux,code = <BTN_2>; | |
| 44 | + interrupt-parent = <&gsc>; | |
| 45 | + interrupts = <1>; | |
| 46 | + }; | |
| 47 | + | |
| 48 | + eeprom-wp { | |
| 49 | + label = "eeprom_wp"; | |
| 50 | + linux,code = <BTN_3>; | |
| 51 | + interrupt-parent = <&gsc>; | |
| 52 | + interrupts = <2>; | |
| 53 | + }; | |
| 54 | + | |
| 55 | + tamper { | |
| 56 | + label = "tamper"; | |
| 57 | + linux,code = <BTN_4>; | |
| 58 | + interrupt-parent = <&gsc>; | |
| 59 | + interrupts = <5>; | |
| 60 | + }; | |
| 61 | + | |
| 62 | + switch-hold { | |
| 63 | + label = "switch_hold"; | |
| 64 | + linux,code = <BTN_5>; | |
| 65 | + interrupt-parent = <&gsc>; | |
| 66 | + interrupts = <7>; | |
| 67 | + }; | |
| 68 | + }; | |
| 69 | + | |
| 22 | 70 | leds { |
| 23 | 71 | compatible = "gpio-leds"; |
| 24 | 72 | pinctrl-names = "default"; |
| @@ -87,11 +135,114 @@ · 62 unmodified lines | ||
| 87 | 135 | pinctrl-0 = <&pinctrl_i2c1>; |
| 88 | 136 | status = "okay"; |
| 89 | 137 | |
| 90 | − gpio@23 { | |
| 138 | + gsc: gsc@20 { | |
| 139 | + compatible = "gw,gsc"; | |
| 140 | + reg = <0x20>; | |
| 141 | + interrupt-parent = <&gpio1>; | |
| 142 | + interrupts = <4 GPIO_ACTIVE_LOW>; | |
| 143 | + interrupt-controller; | |
| 144 | + #interrupt-cells = <1>; | |
| 145 | + #size-cells = <0>; | |
| 146 | + | |
| 147 | + adc { | |
| 148 | + compatible = "gw,gsc-adc"; | |
| 149 | + #address-cells = <1>; | |
| 150 | + #size-cells = <0>; | |
| 151 | + | |
| 152 | + channel@6 { | |
| 153 | + gw,mode = <0>; | |
| 154 | + reg = <0x06>; | |
| 155 | + label = "temp"; | |
| 156 | + }; | |
| 157 | + | |
| 158 | + channel@8 { | |
| 159 | + gw,mode = <3>; | |
| 160 | + reg = <0x08>; | |
| 161 | + label = "vdd_bat"; | |
| 162 | + }; | |
| 163 | + | |
| 164 | + channel@82 { | |
| 165 | + gw,mode = <2>; | |
| 166 | + reg = <0x82>; | |
| 167 | + label = "vdd_vin"; | |
| 168 | + gw,voltage-divider-ohms = <22100 1000>; | |
| 169 | + gw,voltage-offset-microvolt = <800000>; | |
| 170 | + }; | |
| 171 | + | |
| 172 | + channel@84 { | |
| 173 | + gw,mode = <2>; | |
| 174 | + reg = <0x84>; | |
| 175 | + label = "vdd_5p0"; | |
| 176 | + gw,voltage-divider-ohms = <22100 10000>; | |
| 177 | + }; | |
| 178 | + | |
| 179 | + channel@86 { | |
| 180 | + gw,mode = <2>; | |
| 181 | + reg = <0x86>; | |
| 182 | + label = "vdd_3p3"; | |
| 183 | + gw,voltage-divider-ohms = <10000 10000>; | |
| 184 | + }; | |
| 185 | + | |
| 186 | + channel@88 { | |
| 187 | + gw,mode = <2>; | |
| 188 | + reg = <0x88>; | |
| 189 | + label = "vdd_2p5"; | |
| 190 | + gw,voltage-divider-ohms = <10000 10000>; | |
| 191 | + }; | |
| 192 | + | |
| 193 | + channel@8c { | |
| 194 | + gw,mode = <2>; | |
| 195 | + reg = <0x8c>; | |
| 196 | + label = "vdd_arm"; | |
| 197 | + }; | |
| 198 | + | |
| 199 | + channel@8e { | |
| 200 | + gw,mode = <2>; | |
| 201 | + reg = <0x8e>; | |
| 202 | + label = "vdd_soc"; | |
| 203 | + }; | |
| 204 | + | |
| 205 | + channel@90 { | |
| 206 | + gw,mode = <2>; | |
| 207 | + reg = <0x90>; | |
| 208 | + label = "vdd_1p5"; | |
| 209 | + }; | |
| 210 | + | |
| 211 | + channel@92 { | |
| 212 | + gw,mode = <2>; | |
| 213 | + reg = <0x92>; | |
| 214 | + label = "vdd_1p0"; | |
| 215 | + }; | |
| 216 | + | |
| 217 | + channel@98 { | |
| 218 | + gw,mode = <2>; | |
| 219 | + reg = <0x98>; | |
| 220 | + label = "vdd_3p0"; | |
| 221 | + }; | |
| 222 | + | |
| 223 | + channel@9a { | |
| 224 | + gw,mode = <2>; | |
| 225 | + reg = <0x9a>; | |
| 226 | + label = "vdd_an1"; | |
| 227 | + gw,voltage-divider-ohms = <10000 10000>; | |
| 228 | + }; | |
| 229 | + | |
| 230 | + channel@a2 { | |
| 231 | + gw,mode = <2>; | |
| 232 | + reg = <0xa2>; | |
| 233 | + label = "vdd_gsc"; | |
| 234 | + gw,voltage-divider-ohms = <10000 10000>; | |
| 235 | + }; | |
| 236 | + }; | |
| 237 | + }; | |
| 238 | + | |
| 239 | + gsc_gpio: gpio@23 { | |
| 91 | 240 | compatible = "nxp,pca9555"; |
| 92 | 241 | reg = <0x23>; |
| 93 | 242 | gpio-controller; |
| 94 | 243 | #gpio-cells = <2>; |
| 244 | + interrupt-parent = <&gsc>; | |
| 245 | + interrupts = <4>; | |
| 95 | 246 | }; |
| 96 | 247 | |
| 97 | 248 | eeprom@50 { |
| @@ -245,6 +245,7 @@ · 244 unmodified lines | ||
| 245 | 245 | }; |
| 246 | 246 | |
| 247 | 247 | &pwm3 { |
| 248 | + #pwm-cells = <2>; | |
| 248 | 249 | pinctrl-names = "default"; |
| 249 | 250 | pinctrl-0 = <&pinctrl_pwm3>; |
| 250 | 251 | status = "okay"; |
| @@ -497,6 +497,7 @@ · 496 unmodified lines | ||
| 497 | 497 | }; |
| 498 | 498 | |
| 499 | 499 | &pwm1 { |
| 500 | + #pwm-cells = <2>; | |
| 500 | 501 | pinctrl-names = "default"; |
| 501 | 502 | pinctrl-0 = <&pinctrl_pwm1>; |
| 502 | 503 | status = "okay"; |
| @@ -509,6 +510,7 @@ · 6 unmodified lines | ||
| 509 | 510 | }; |
| 510 | 511 | |
| 511 | 512 | &pwm4 { |
| 513 | + #pwm-cells = <2>; | |
| 512 | 514 | pinctrl-names = "default"; |
| 513 | 515 | pinctrl-0 = <&pinctrl_pwm4>; |
| 514 | 516 | status = "okay"; |
| @@ -736,12 +736,14 @@ · 735 unmodified lines | ||
| 736 | 736 | }; |
| 737 | 737 | |
| 738 | 738 | &pwm1 { |
| 739 | + #pwm-cells = <2>; | |
| 739 | 740 | pinctrl-names = "default"; |
| 740 | 741 | pinctrl-0 = <&pinctrl_pwm1>; |
| 741 | 742 | status = "okay"; |
| 742 | 743 | }; |
| 743 | 744 | |
| 744 | 745 | &pwm2 { |
| 746 | + #pwm-cells = <2>; | |
| 745 | 747 | pinctrl-names = "default"; |
| 746 | 748 | pinctrl-0 = <&pinctrl_pwm2>; |
| 747 | 749 | status = "okay"; |
| @@ -754,6 +756,7 @@ · 6 unmodified lines | ||
| 754 | 756 | }; |
| 755 | 757 | |
| 756 | 758 | &pwm4 { |
| 759 | + #pwm-cells = <2>; | |
| 757 | 760 | pinctrl-names = "default"; |
| 758 | 761 | pinctrl-0 = <&pinctrl_pwm4>; |
| 759 | 762 | status = "okay"; |
| @@ -639,6 +639,7 @@ · 638 unmodified lines | ||
| 639 | 639 | }; |
| 640 | 640 | |
| 641 | 641 | &pwm1 { |
| 642 | + #pwm-cells = <2>; | |
| 642 | 643 | pinctrl-names = "default"; |
| 643 | 644 | pinctrl-0 = <&pinctrl_pwm1>; |
| 644 | 645 | status = "okay"; |
| @@ -651,6 +652,7 @@ · 6 unmodified lines | ||
| 651 | 652 | }; |
| 652 | 653 | |
| 653 | 654 | &pwm4 { |
| 655 | + #pwm-cells = <2>; | |
| 654 | 656 | pinctrl-names = "default"; |
| 655 | 657 | pinctrl-0 = <&pinctrl_pwm4>; |
| 656 | 658 | status = "okay"; |
| @@ -596,6 +596,7 @@ · 595 unmodified lines | ||
| 596 | 596 | }; |
| 597 | 597 | |
| 598 | 598 | &pwm1 { |
| 599 | + #pwm-cells = <2>; | |
| 599 | 600 | pinctrl-names = "default"; |
| 600 | 601 | pinctrl-0 = <&pinctrl_pwm1>; |
| 601 | 602 | status = "okay"; |
| @@ -608,6 +609,7 @@ · 6 unmodified lines | ||
| 608 | 609 | }; |
| 609 | 610 | |
| 610 | 611 | &pwm4 { |
| 612 | + #pwm-cells = <2>; | |
| 611 | 613 | pinctrl-names = "default"; |
| 612 | 614 | pinctrl-0 = <&pinctrl_pwm4>; |
| 613 | 615 | status = "okay"; |
| @@ -218,6 +218,7 @@ · 217 unmodified lines | ||
| 218 | 218 | }; |
| 219 | 219 | |
| 220 | 220 | &pwm1 { |
| 221 | + #pwm-cells = <2>; | |
| 221 | 222 | pinctrl-names = "default"; |
| 222 | 223 | pinctrl-0 = <&pinctrl_pwm1>; |
| 223 | 224 | status = "okay"; |
| @@ -0,0 +1,163 @@ | ||
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT | |
| 2 | +/* | |
| 3 | + * Copyright (c) 2014 Protonic Holland | |
| 4 | + */ | |
| 5 | + | |
| 6 | +#include <dt-bindings/gpio/gpio.h> | |
| 7 | +#include <dt-bindings/input/input.h> | |
| 8 | + | |
| 9 | +/ { | |
| 10 | + chosen { | |
| 11 | + stdout-path = &uart4; | |
| 12 | + }; | |
| 13 | + | |
| 14 | + reg_3v3: regulator-3v3 { | |
| 15 | + compatible = "regulator-fixed"; | |
| 16 | + regulator-name = "3v3"; | |
| 17 | + regulator-min-microvolt = <3300000>; | |
| 18 | + regulator-max-microvolt = <3300000>; | |
| 19 | + }; | |
| 20 | + | |
| 21 | + reg_usb_h1_vbus: regulator-h1-vbus { | |
| 22 | + compatible = "regulator-fixed"; | |
| 23 | + regulator-name = "h1-vbus"; | |
| 24 | + regulator-min-microvolt = <5000000>; | |
| 25 | + regulator-max-microvolt = <5000000>; | |
| 26 | + }; | |
| 27 | + | |
| 28 | + reg_usb_otg_vbus: regulator-otg-vbus { | |
| 29 | + compatible = "regulator-fixed"; | |
| 30 | + regulator-name = "otg-vbus"; | |
| 31 | + regulator-min-microvolt = <5000000>; | |
| 32 | + regulator-max-microvolt = <5000000>; | |
| 33 | + gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>; | |
| 34 | + enable-active-high; | |
| 35 | + }; | |
| 36 | +}; | |
| 37 | + | |
| 38 | +&can1 { | |
| 39 | + pinctrl-names = "default"; | |
| 40 | + status = "okay"; | |
| 41 | +}; | |
| 42 | + | |
| 43 | +&i2c1 { | |
| 44 | + clock-frequency = <100000>; | |
| 45 | + pinctrl-names = "default"; | |
| 46 | + pinctrl-0 = <&pinctrl_i2c1>; | |
| 47 | + status = "okay"; | |
| 48 | +}; | |
| 49 | + | |
| 50 | +&i2c3 { | |
| 51 | + clock-frequency = <100000>; | |
| 52 | + pinctrl-names = "default"; | |
| 53 | + pinctrl-0 = <&pinctrl_i2c3>; | |
| 54 | + status = "okay"; | |
| 55 | + | |
| 56 | + temperature-sensor@70 { | |
| 57 | + compatible = "ti,tmp103"; | |
| 58 | + reg = <0x70>; | |
| 59 | + }; | |
| 60 | +}; | |
| 61 | + | |
| 62 | +&uart4 { | |
| 63 | + pinctrl-names = "default"; | |
| 64 | + pinctrl-0 = <&pinctrl_uart4>; | |
| 65 | + status = "okay"; | |
| 66 | +}; | |
| 67 | + | |
| 68 | +&usbh1 { | |
| 69 | + vbus-supply = <®_usb_h1_vbus>; | |
| 70 | + phy_type = "utmi"; | |
| 71 | + dr_mode = "host"; | |
| 72 | + status = "okay"; | |
| 73 | +}; | |
| 74 | + | |
| 75 | +&usbotg { | |
| 76 | + vbus-supply = <®_usb_otg_vbus>; | |
| 77 | + pinctrl-names = "default"; | |
| 78 | + pinctrl-0 = <&pinctrl_usbotg>; | |
| 79 | + phy_type = "utmi"; | |
| 80 | + dr_mode = "host"; | |
| 81 | + disable-over-current; | |
| 82 | + status = "okay"; | |
| 83 | +}; | |
| 84 | + | |
| 85 | +&usdhc1 { | |
| 86 | + pinctrl-names = "default"; | |
| 87 | + pinctrl-0 = <&pinctrl_usdhc1>; | |
| 88 | + cd-gpios = <&gpio1 1 GPIO_ACTIVE_LOW>; | |
| 89 | + status = "okay"; | |
| 90 | +}; | |
| 91 | + | |
| 92 | +&usdhc3 { | |
| 93 | + pinctrl-names = "default"; | |
| 94 | + pinctrl-0 = <&pinctrl_usdhc3>; | |
| 95 | + bus-width = <8>; | |
| 96 | + non-removable; | |
| 97 | + status = "okay"; | |
| 98 | +}; | |
| 99 | + | |
| 100 | +&iomuxc { | |
| 101 | + pinctrl_can1: can1grp { | |
| 102 | + fsl,pins = < | |
| 103 | + MX6QDL_PAD_KEY_ROW2__FLEXCAN1_RX 0x1b008 | |
| 104 | + MX6QDL_PAD_KEY_COL2__FLEXCAN1_TX 0x1b008 | |
| 105 | + >; | |
| 106 | + }; | |
| 107 | + | |
| 108 | + pinctrl_i2c1: i2c1grp { | |
| 109 | + fsl,pins = < | |
| 110 | + MX6QDL_PAD_CSI0_DAT8__I2C1_SDA 0x4001f8b1 | |
| 111 | + MX6QDL_PAD_CSI0_DAT9__I2C1_SCL 0x4001f8b1 | |
| 112 | + >; | |
| 113 | + }; | |
| 114 | + | |
| 115 | + pinctrl_i2c3: i2c3grp { | |
| 116 | + fsl,pins = < | |
| 117 | + MX6QDL_PAD_GPIO_5__I2C3_SCL 0x4001b8b1 | |
| 118 | + MX6QDL_PAD_GPIO_6__I2C3_SDA 0x4001b8b1 | |
| 119 | + >; | |
| 120 | + }; | |
| 121 | + | |
| 122 | + pinctrl_uart4: uart4grp { | |
| 123 | + fsl,pins = < | |
| 124 | + MX6QDL_PAD_KEY_COL0__UART4_TX_DATA 0x1b0b1 | |
| 125 | + MX6QDL_PAD_KEY_ROW0__UART4_RX_DATA 0x1b0b1 | |
| 126 | + >; | |
| 127 | + }; | |
| 128 | + | |
| 129 | + pinctrl_usdhc1: usdhc1grp { | |
| 130 | + fsl,pins = < | |
| 131 | + MX6QDL_PAD_SD1_CMD__SD1_CMD 0x170f9 | |
| 132 | + MX6QDL_PAD_SD1_CLK__SD1_CLK 0x100f9 | |
| 133 | + MX6QDL_PAD_SD1_DAT0__SD1_DATA0 0x170f9 | |
| 134 | + MX6QDL_PAD_SD1_DAT1__SD1_DATA1 0x170f9 | |
| 135 | + MX6QDL_PAD_SD1_DAT2__SD1_DATA2 0x170f9 | |
| 136 | + MX6QDL_PAD_SD1_DAT3__SD1_DATA3 0x170f9 | |
| 137 | + MX6QDL_PAD_GPIO_1__GPIO1_IO01 0x1b0b0 | |
| 138 | + >; | |
| 139 | + }; | |
| 140 | + | |
| 141 | + pinctrl_usdhc3: usdhc3grp { | |
| 142 | + fsl,pins = < | |
| 143 | + MX6QDL_PAD_SD3_CMD__SD3_CMD 0x17099 | |
| 144 | + MX6QDL_PAD_SD3_CLK__SD3_CLK 0x10099 | |
| 145 | + MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x17099 | |
| 146 | + MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17099 | |
| 147 | + MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17099 | |
| 148 | + MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17099 | |
| 149 | + MX6QDL_PAD_SD3_DAT4__SD3_DATA4 0x17099 | |
| 150 | + MX6QDL_PAD_SD3_DAT5__SD3_DATA5 0x17099 | |
| 151 | + MX6QDL_PAD_SD3_DAT6__SD3_DATA6 0x17099 | |
| 152 | + MX6QDL_PAD_SD3_DAT7__SD3_DATA7 0x17099 | |
| 153 | + MX6QDL_PAD_SD3_RST__SD3_RESET 0x1b0b1 | |
| 154 | + >; | |
| 155 | + }; | |
| 156 | + | |
| 157 | + pinctrl_usbotg: usbotggrp { | |
| 158 | + fsl,pins = < | |
| 159 | + MX6QDL_PAD_EIM_D21__USB_OTG_OC 0x1b0b0 | |
| 160 | + MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x1b0b0 | |
| 161 | + >; | |
| 162 | + }; | |
| 163 | +}; | |
| @@ -800,6 +800,7 @@ · 799 unmodified lines | ||
| 800 | 800 | }; |
| 801 | 801 | |
| 802 | 802 | &pwm3 { |
| 803 | + #pwm-cells = <2>; | |
| 803 | 804 | pinctrl-names = "default"; |
| 804 | 805 | pinctrl-0 = <&pinctrl_pwm3>; |
| 805 | 806 | status = "okay"; |
| @@ -687,18 +687,21 @@ · 686 unmodified lines | ||
| 687 | 687 | }; |
| 688 | 688 | |
| 689 | 689 | &pwm1 { |
| 690 | + #pwm-cells = <2>; | |
| 690 | 691 | pinctrl-names = "default"; |
| 691 | 692 | pinctrl-0 = <&pinctrl_pwm1>; |
| 692 | 693 | status = "okay"; |
| 693 | 694 | }; |
| 694 | 695 | |
| 695 | 696 | &pwm3 { |
| 697 | + #pwm-cells = <2>; | |
| 696 | 698 | pinctrl-names = "default"; |
| 697 | 699 | pinctrl-0 = <&pinctrl_pwm3>; |
| 698 | 700 | status = "okay"; |
| 699 | 701 | }; |
| 700 | 702 | |
| 701 | 703 | &pwm4 { |
| 704 | + #pwm-cells = <2>; | |
| 702 | 705 | pinctrl-names = "default"; |
| 703 | 706 | pinctrl-0 = <&pinctrl_pwm4>; |
| 704 | 707 | status = "okay"; |
| @@ -203,9 +203,21 @@ · 202 unmodified lines | ||
| 203 | 203 | pinctrl-names = "default"; |
| 204 | 204 | pinctrl-0 = <&pinctrl_enet>; |
| 205 | 205 | phy-mode = "rgmii-id"; |
| 206 | − phy-reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>; | |
| 206 | + phy-handle = <&phy>; | |
| 207 | 207 | fsl,magic-packet; |
| 208 | 208 | status = "okay"; |
| 209 | + | |
| 210 | + mdio { | |
| 211 | + #address-cells = <1>; | |
| 212 | + #size-cells = <0>; | |
| 213 | + | |
| 214 | + phy: ethernet-phy@1 { | |
| 215 | + reg = <1>; | |
| 216 | + qca,clk-out-frequency = <125000000>; | |
| 217 | + reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>; | |
| 218 | + reset-assert-us = <10000>; | |
| 219 | + }; | |
| 220 | + }; | |
| 209 | 221 | }; |
| 210 | 222 | |
| 211 | 223 | &hdmi { |
| @@ -729,6 +741,7 @@ · 517 unmodified lines | ||
| 729 | 741 | }; |
| 730 | 742 | |
| 731 | 743 | &pwm1 { |
| 744 | + #pwm-cells = <2>; | |
| 732 | 745 | pinctrl-names = "default"; |
| 733 | 746 | pinctrl-0 = <&pinctrl_pwm1>; |
| 734 | 747 | status = "okay"; |
| @@ -140,6 +140,7 @@ · 139 unmodified lines | ||
| 140 | 140 | }; |
| 141 | 141 | |
| 142 | 142 | &pwm1 { |
| 143 | + #pwm-cells = <2>; | |
| 143 | 144 | pinctrl-names = "default"; |
| 144 | 145 | pinctrl-0 = <&pinctrl_pwm1>; |
| 145 | 146 | status = "okay"; |
| @@ -738,14 +738,12 @@ · 737 unmodified lines | ||
| 738 | 738 | &pwm1 { |
| 739 | 739 | pinctrl-names = "default"; |
| 740 | 740 | pinctrl-0 = <&pinctrl_pwm1>; |
| 741 | − #pwm-cells = <3>; | |
| 742 | 741 | status = "disabled"; |
| 743 | 742 | }; |
| 744 | 743 | |
| 745 | 744 | &pwm2 { |
| 746 | 745 | pinctrl-names = "default"; |
| 747 | 746 | pinctrl-0 = <&pinctrl_pwm2>; |
| 748 | − #pwm-cells = <3>; | |
| 749 | 747 | status = "okay"; |
| 750 | 748 | }; |
| 751 | 749 | |
| @@ -719,6 +719,8 @@ · 718 unmodified lines | ||
| 719 | 719 | mdio { |
| 720 | 720 | #address-cells = <1>; |
| 721 | 721 | #size-cells = <0>; |
| 722 | + clock-frequency = <12500000>; | |
| 723 | + suppress-preamble; | |
| 722 | 724 | status = "okay"; |
| 723 | 725 | |
| 724 | 726 | switch: switch@0 { |
| @@ -69,17 +69,6 @@ · 68 unmodified lines | ||
| 69 | 69 | }; |
| 70 | 70 | }; |
| 71 | 71 | |
| 72 | − tempmon: tempmon { | |
| 73 | − compatible = "fsl,imx6q-tempmon"; | |
| 74 | − interrupt-parent = <&gpc>; | |
| 75 | − interrupts = <0 49 IRQ_TYPE_LEVEL_HIGH>; | |
| 76 | − fsl,tempmon = <&anatop>; | |
| 77 | − nvmem-cells = <&tempmon_calib>, <&tempmon_temp_grade>; | |
| 78 | − nvmem-cell-names = "calib", "temp_grade"; | |
| 79 | − clocks = <&clks IMX6QDL_CLK_PLL3_USB_OTG>; | |
| 80 | − #thermal-sensor-cells = <0>; | |
| 81 | − }; | |
| 82 | − | |
| 83 | 72 | ldb: ldb { |
| 84 | 73 | #address-cells = <1>; |
| 85 | 74 | #size-cells = <0>; |
| @@ -256,7 +245,7 @@ · 170 unmodified lines | ||
| 256 | 245 | interrupt-parent = <&intc>; |
| 257 | 246 | }; |
| 258 | 247 | |
| 259 | − L2: l2-cache@a02000 { | |
| 248 | + L2: cache-controller@a02000 { | |
| 260 | 249 | compatible = "arm,pl310-cache"; |
| 261 | 250 | reg = <0x00a02000 0x1000>; |
| 262 | 251 | interrupts = <0 92 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -510,7 +499,7 @@ · 247 unmodified lines | ||
| 510 | 499 | }; |
| 511 | 500 | |
| 512 | 501 | pwm1: pwm@2080000 { |
| 513 | − #pwm-cells = <2>; | |
| 502 | + #pwm-cells = <3>; | |
| 514 | 503 | compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm"; |
| 515 | 504 | reg = <0x02080000 0x4000>; |
| 516 | 505 | interrupts = <0 83 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -521,7 +510,7 @@ · 4 unmodified lines | ||
| 521 | 510 | }; |
| 522 | 511 | |
| 523 | 512 | pwm2: pwm@2084000 { |
| 524 | − #pwm-cells = <2>; | |
| 513 | + #pwm-cells = <3>; | |
| 525 | 514 | compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm"; |
| 526 | 515 | reg = <0x02084000 0x4000>; |
| 527 | 516 | interrupts = <0 84 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -532,7 +521,7 @@ · 4 unmodified lines | ||
| 532 | 521 | }; |
| 533 | 522 | |
| 534 | 523 | pwm3: pwm@2088000 { |
| 535 | − #pwm-cells = <2>; | |
| 524 | + #pwm-cells = <3>; | |
| 536 | 525 | compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm"; |
| 537 | 526 | reg = <0x02088000 0x4000>; |
| 538 | 527 | interrupts = <0 85 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -543,7 +532,7 @@ · 4 unmodified lines | ||
| 543 | 532 | }; |
| 544 | 533 | |
| 545 | 534 | pwm4: pwm@208c000 { |
| 546 | − #pwm-cells = <2>; | |
| 535 | + #pwm-cells = <3>; | |
| 547 | 536 | compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm"; |
| 548 | 537 | reg = <0x0208c000 0x4000>; |
| 549 | 538 | interrupts = <0 86 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -795,6 +784,17 @@ · 245 unmodified lines | ||
| 795 | 784 | anatop-min-voltage = <725000>; |
| 796 | 785 | anatop-max-voltage = <1450000>; |
| 797 | 786 | }; |
| 787 | + | |
| 788 | + tempmon: tempmon { | |
| 789 | + compatible = "fsl,imx6q-tempmon"; | |
| 790 | + interrupt-parent = <&gpc>; | |
| 791 | + interrupts = <0 49 IRQ_TYPE_LEVEL_HIGH>; | |
| 792 | + fsl,tempmon = <&anatop>; | |
| 793 | + nvmem-cells = <&tempmon_calib>, <&tempmon_temp_grade>; | |
| 794 | + nvmem-cell-names = "calib", "temp_grade"; | |
| 795 | + clocks = <&clks IMX6QDL_CLK_PLL3_USB_OTG>; | |
| 796 | + #thermal-sensor-cells = <0>; | |
| 797 | + }; | |
| 798 | 798 | }; |
| 799 | 799 | |
| 800 | 800 | usbphy1: usbphy@20c9000 { |
| @@ -871,8 +871,7 @@ · 70 unmodified lines | ||
| 871 | 871 | reg = <0x020dc000 0x4000>; |
| 872 | 872 | interrupt-controller; |
| 873 | 873 | #interrupt-cells = <3>; |
| 874 | − interrupts = <0 89 IRQ_TYPE_LEVEL_HIGH>, | |
| 875 | − <0 90 IRQ_TYPE_LEVEL_HIGH>; | |
| 874 | + interrupts = <0 89 IRQ_TYPE_LEVEL_HIGH>; | |
| 876 | 875 | interrupt-parent = <&intc>; |
| 877 | 876 | clocks = <&clks IMX6QDL_CLK_IPG>; |
| 878 | 877 | clock-names = "ipg"; |
| @@ -1057,7 +1056,7 @@ · 178 unmodified lines | ||
| 1057 | 1056 | <0 126 IRQ_TYPE_LEVEL_HIGH>; |
| 1058 | 1057 | }; |
| 1059 | 1058 | |
| 1060 | − usdhc1: usdhc@2190000 { | |
| 1059 | + usdhc1: mmc@2190000 { | |
| 1061 | 1060 | compatible = "fsl,imx6q-usdhc"; |
| 1062 | 1061 | reg = <0x02190000 0x4000>; |
| 1063 | 1062 | interrupts = <0 22 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -1069,7 +1068,7 @@ · 5 unmodified lines | ||
| 1069 | 1068 | status = "disabled"; |
| 1070 | 1069 | }; |
| 1071 | 1070 | |
| 1072 | − usdhc2: usdhc@2194000 { | |
| 1071 | + usdhc2: mmc@2194000 { | |
| 1073 | 1072 | compatible = "fsl,imx6q-usdhc"; |
| 1074 | 1073 | reg = <0x02194000 0x4000>; |
| 1075 | 1074 | interrupts = <0 23 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -1081,7 +1080,7 @@ · 5 unmodified lines | ||
| 1081 | 1080 | status = "disabled"; |
| 1082 | 1081 | }; |
| 1083 | 1082 | |
| 1084 | − usdhc3: usdhc@2198000 { | |
| 1083 | + usdhc3: mmc@2198000 { | |
| 1085 | 1084 | compatible = "fsl,imx6q-usdhc"; |
| 1086 | 1085 | reg = <0x02198000 0x4000>; |
| 1087 | 1086 | interrupts = <0 24 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -1093,7 +1092,7 @@ · 5 unmodified lines | ||
| 1093 | 1092 | status = "disabled"; |
| 1094 | 1093 | }; |
| 1095 | 1094 | |
| 1096 | − usdhc4: usdhc@219c000 { | |
| 1095 | + usdhc4: mmc@219c000 { | |
| 1097 | 1096 | compatible = "fsl,imx6q-usdhc"; |
| 1098 | 1097 | reg = <0x0219c000 0x4000>; |
| 1099 | 1098 | interrupts = <0 25 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -1162,7 +1161,7 @@ · 62 unmodified lines | ||
| 1162 | 1161 | status = "disabled"; |
| 1163 | 1162 | }; |
| 1164 | 1163 | |
| 1165 | − ocotp: ocotp-ctrl@21bc000 { | |
| 1164 | + ocotp: efuse@21bc000 { | |
| 1166 | 1165 | compatible = "fsl,imx6q-ocotp", "syscon"; |
| 1167 | 1166 | reg = <0x021bc000 0x4000>; |
| 1168 | 1167 | clocks = <&clks IMX6QDL_CLK_IIM>; |
| @@ -50,6 +50,10 @@ · 49 unmodified lines | ||
| 50 | 50 | status = "disabled"; |
| 51 | 51 | }; |
| 52 | 52 | |
| 53 | +&sata { | |
| 54 | + status = "okay"; | |
| 55 | +}; | |
| 56 | + | |
| 53 | 57 | &vgen3_reg { |
| 54 | 58 | regulator-always-on; |
| 55 | 59 | }; |
| @@ -53,3 +53,7 @@ · 52 unmodified lines | ||
| 53 | 53 | &pcie { |
| 54 | 54 | status = "disabled"; |
| 55 | 55 | }; |
| 56 | + | |
| 57 | +&sata { | |
| 58 | + status = "okay"; | |
| 59 | +}; | |
| @@ -575,6 +575,7 @@ · 574 unmodified lines | ||
| 575 | 575 | }; |
| 576 | 576 | |
| 577 | 577 | &pwm1 { |
| 578 | + #pwm-cells = <2>; | |
| 578 | 579 | pinctrl-names = "default"; |
| 579 | 580 | pinctrl-0 = <&pinctrl_pwm1>; |
| 580 | 581 | status = "okay"; |
| @@ -93,16 +93,6 @@ · 92 unmodified lines | ||
| 93 | 93 | }; |
| 94 | 94 | }; |
| 95 | 95 | |
| 96 | − tempmon: tempmon { | |
| 97 | − compatible = "fsl,imx6q-tempmon"; | |
| 98 | − interrupts = <0 49 IRQ_TYPE_LEVEL_HIGH>; | |
| 99 | − interrupt-parent = <&gpc>; | |
| 100 | − fsl,tempmon = <&anatop>; | |
| 101 | − nvmem-cells = <&tempmon_calib>, <&tempmon_temp_grade>; | |
| 102 | − nvmem-cell-names = "calib", "temp_grade"; | |
| 103 | − clocks = <&clks IMX6SL_CLK_PLL3_USB_OTG>; | |
| 104 | − }; | |
| 105 | − | |
| 106 | 96 | pmu { |
| 107 | 97 | compatible = "arm,cortex-a9-pmu"; |
| 108 | 98 | interrupt-parent = <&gpc>; |
| @@ -136,7 +126,7 @@ · 27 unmodified lines | ||
| 136 | 126 | interrupt-parent = <&intc>; |
| 137 | 127 | }; |
| 138 | 128 | |
| 139 | − L2: l2-cache@a02000 { | |
| 129 | + L2: cache-controller@a02000 { | |
| 140 | 130 | compatible = "arm,pl310-cache"; |
| 141 | 131 | reg = <0x00a02000 0x1000>; |
| 142 | 132 | interrupts = <0 92 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -344,7 +334,7 @@ · 201 unmodified lines | ||
| 344 | 334 | }; |
| 345 | 335 | |
| 346 | 336 | pwm1: pwm@2080000 { |
| 347 | − #pwm-cells = <2>; | |
| 337 | + #pwm-cells = <3>; | |
| 348 | 338 | compatible = "fsl,imx6sl-pwm", "fsl,imx27-pwm"; |
| 349 | 339 | reg = <0x02080000 0x4000>; |
| 350 | 340 | interrupts = <0 83 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -354,7 +344,7 @@ · 3 unmodified lines | ||
| 354 | 344 | }; |
| 355 | 345 | |
| 356 | 346 | pwm2: pwm@2084000 { |
| 357 | − #pwm-cells = <2>; | |
| 347 | + #pwm-cells = <3>; | |
| 358 | 348 | compatible = "fsl,imx6sl-pwm", "fsl,imx27-pwm"; |
| 359 | 349 | reg = <0x02084000 0x4000>; |
| 360 | 350 | interrupts = <0 84 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -364,7 +354,7 @@ · 3 unmodified lines | ||
| 364 | 354 | }; |
| 365 | 355 | |
| 366 | 356 | pwm3: pwm@2088000 { |
| 367 | − #pwm-cells = <2>; | |
| 357 | + #pwm-cells = <3>; | |
| 368 | 358 | compatible = "fsl,imx6sl-pwm", "fsl,imx27-pwm"; |
| 369 | 359 | reg = <0x02088000 0x4000>; |
| 370 | 360 | interrupts = <0 85 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -374,7 +364,7 @@ · 3 unmodified lines | ||
| 374 | 364 | }; |
| 375 | 365 | |
| 376 | 366 | pwm4: pwm@208c000 { |
| 377 | − #pwm-cells = <2>; | |
| 367 | + #pwm-cells = <3>; | |
| 378 | 368 | compatible = "fsl,imx6sl-pwm", "fsl,imx27-pwm"; |
| 379 | 369 | reg = <0x0208c000 0x4000>; |
| 380 | 370 | interrupts = <0 86 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -628,6 +618,16 @@ · 247 unmodified lines | ||
| 628 | 618 | anatop-min-voltage = <725000>; |
| 629 | 619 | anatop-max-voltage = <1450000>; |
| 630 | 620 | }; |
| 621 | + | |
| 622 | + tempmon: tempmon { | |
| 623 | + compatible = "fsl,imx6q-tempmon"; | |
| 624 | + interrupts = <0 49 IRQ_TYPE_LEVEL_HIGH>; | |
| 625 | + interrupt-parent = <&gpc>; | |
| 626 | + fsl,tempmon = <&anatop>; | |
| 627 | + nvmem-cells = <&tempmon_calib>, <&tempmon_temp_grade>; | |
| 628 | + nvmem-cell-names = "calib", "temp_grade"; | |
| 629 | + clocks = <&clks IMX6SL_CLK_PLL3_USB_OTG>; | |
| 630 | + }; | |
| 631 | 631 | }; |
| 632 | 632 | |
| 633 | 633 | usbphy1: usbphy@20c9000 { |
| @@ -854,7 +854,7 @@ · 220 unmodified lines | ||
| 854 | 854 | status = "disabled"; |
| 855 | 855 | }; |
| 856 | 856 | |
| 857 | − usdhc1: usdhc@2190000 { | |
| 857 | + usdhc1: mmc@2190000 { | |
| 858 | 858 | compatible = "fsl,imx6sl-usdhc", "fsl,imx6q-usdhc"; |
| 859 | 859 | reg = <0x02190000 0x4000>; |
| 860 | 860 | interrupts = <0 22 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -866,7 +866,7 @@ · 5 unmodified lines | ||
| 866 | 866 | status = "disabled"; |
| 867 | 867 | }; |
| 868 | 868 | |
| 869 | − usdhc2: usdhc@2194000 { | |
| 869 | + usdhc2: mmc@2194000 { | |
| 870 | 870 | compatible = "fsl,imx6sl-usdhc", "fsl,imx6q-usdhc"; |
| 871 | 871 | reg = <0x02194000 0x4000>; |
| 872 | 872 | interrupts = <0 23 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -878,7 +878,7 @@ · 5 unmodified lines | ||
| 878 | 878 | status = "disabled"; |
| 879 | 879 | }; |
| 880 | 880 | |
| 881 | − usdhc3: usdhc@2198000 { | |
| 881 | + usdhc3: mmc@2198000 { | |
| 882 | 882 | compatible = "fsl,imx6sl-usdhc", "fsl,imx6q-usdhc"; |
| 883 | 883 | reg = <0x02198000 0x4000>; |
| 884 | 884 | interrupts = <0 24 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -890,7 +890,7 @@ · 5 unmodified lines | ||
| 890 | 890 | status = "disabled"; |
| 891 | 891 | }; |
| 892 | 892 | |
| 893 | − usdhc4: usdhc@219c000 { | |
| 893 | + usdhc4: mmc@219c000 { | |
| 894 | 894 | compatible = "fsl,imx6sl-usdhc", "fsl,imx6q-usdhc"; |
| 895 | 895 | reg = <0x0219c000 0x4000>; |
| 896 | 896 | interrupts = <0 25 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -952,7 +952,7 @@ · 55 unmodified lines | ||
| 952 | 952 | status = "disabled"; |
| 953 | 953 | }; |
| 954 | 954 | |
| 955 | − ocotp: ocotp-ctrl@21bc000 { | |
| 955 | + ocotp: efuse@21bc000 { | |
| 956 | 956 | compatible = "fsl,imx6sl-ocotp", "syscon"; |
| 957 | 957 | reg = <0x021bc000 0x4000>; |
| 958 | 958 | clocks = <&clks IMX6SL_CLK_OCOTP>; |
| @@ -260,6 +260,7 @@ · 259 unmodified lines | ||
| 260 | 260 | }; |
| 261 | 261 | |
| 262 | 262 | &pwm1 { |
| 263 | + #pwm-cells = <2>; | |
| 263 | 264 | pinctrl-names = "default"; |
| 264 | 265 | pinctrl-0 = <&pinctrl_pwm1>; |
| 265 | 266 | status = "okay"; |
| @@ -105,16 +105,6 @@ · 104 unmodified lines | ||
| 105 | 105 | clock-output-names = "ipp_di1"; |
| 106 | 106 | }; |
| 107 | 107 | |
| 108 | − tempmon: temperature-sensor { | |
| 109 | − compatible = "fsl,imx6sll-tempmon", "fsl,imx6sx-tempmon"; | |
| 110 | − interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>; | |
| 111 | − interrupt-parent = <&gpc>; | |
| 112 | − fsl,tempmon = <&anatop>; | |
| 113 | − nvmem-cells = <&tempmon_calib>, <&tempmon_temp_grade>; | |
| 114 | − nvmem-cell-names = "calib", "temp_grade"; | |
| 115 | − clocks = <&clks IMX6SLL_CLK_PLL3_USB_OTG>; | |
| 116 | − }; | |
| 117 | − | |
| 118 | 108 | soc { |
| 119 | 109 | #address-cells = <1>; |
| 120 | 110 | #size-cells = <1>; |
| @@ -136,7 +126,7 @@ · 15 unmodified lines | ||
| 136 | 126 | interrupt-parent = <&intc>; |
| 137 | 127 | }; |
| 138 | 128 | |
| 139 | − L2: l2-cache@a02000 { | |
| 129 | + L2: cache-controller@a02000 { | |
| 140 | 130 | compatible = "arm,pl310-cache"; |
| 141 | 131 | reg = <0x00a02000 0x1000>; |
| 142 | 132 | interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -271,7 +261,7 @@ · 128 unmodified lines | ||
| 271 | 261 | status = "disabled"; |
| 272 | 262 | }; |
| 273 | 263 | |
| 274 | − ssi1: ssi-controller@2028000 { | |
| 264 | + ssi1: ssi@2028000 { | |
| 275 | 265 | compatible = "fsl,imx6sl-ssi", "fsl,imx51-ssi"; |
| 276 | 266 | reg = <0x02028000 0x4000>; |
| 277 | 267 | interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -284,7 +274,7 @@ · 6 unmodified lines | ||
| 284 | 274 | status = "disabled"; |
| 285 | 275 | }; |
| 286 | 276 | |
| 287 | − ssi2: ssi-controller@202c000 { | |
| 277 | + ssi2: ssi@202c000 { | |
| 288 | 278 | compatible = "fsl,imx6sl-ssi", "fsl,imx51-ssi"; |
| 289 | 279 | reg = <0x0202c000 0x4000>; |
| 290 | 280 | interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -297,7 +287,7 @@ · 6 unmodified lines | ||
| 297 | 287 | status = "disabled"; |
| 298 | 288 | }; |
| 299 | 289 | |
| 300 | − ssi3: ssi-controller@2030000 { | |
| 290 | + ssi3: ssi@2030000 { | |
| 301 | 291 | compatible = "fsl,imx6sl-ssi", "fsl,imx51-ssi"; |
| 302 | 292 | reg = <0x02030000 0x4000>; |
| 303 | 293 | interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -331,7 +321,7 @@ · 27 unmodified lines | ||
| 331 | 321 | clocks = <&clks IMX6SLL_CLK_PWM1>, |
| 332 | 322 | <&clks IMX6SLL_CLK_PWM1>; |
| 333 | 323 | clock-names = "ipg", "per"; |
| 334 | − #pwm-cells = <2>; | |
| 324 | + #pwm-cells = <3>; | |
| 335 | 325 | }; |
| 336 | 326 | |
| 337 | 327 | pwm2: pwm@2084000 { |
| @@ -341,7 +331,7 @@ · 3 unmodified lines | ||
| 341 | 331 | clocks = <&clks IMX6SLL_CLK_PWM2>, |
| 342 | 332 | <&clks IMX6SLL_CLK_PWM2>; |
| 343 | 333 | clock-names = "ipg", "per"; |
| 344 | − #pwm-cells = <2>; | |
| 334 | + #pwm-cells = <3>; | |
| 345 | 335 | }; |
| 346 | 336 | |
| 347 | 337 | pwm3: pwm@2088000 { |
| @@ -351,7 +341,7 @@ · 3 unmodified lines | ||
| 351 | 341 | clocks = <&clks IMX6SLL_CLK_PWM3>, |
| 352 | 342 | <&clks IMX6SLL_CLK_PWM3>; |
| 353 | 343 | clock-names = "ipg", "per"; |
| 354 | − #pwm-cells = <2>; | |
| 344 | + #pwm-cells = <3>; | |
| 355 | 345 | }; |
| 356 | 346 | |
| 357 | 347 | pwm4: pwm@208c000 { |
| @@ -361,7 +351,7 @@ · 3 unmodified lines | ||
| 361 | 351 | clocks = <&clks IMX6SLL_CLK_PWM4>, |
| 362 | 352 | <&clks IMX6SLL_CLK_PWM4>; |
| 363 | 353 | clock-names = "ipg", "per"; |
| 364 | − #pwm-cells = <2>; | |
| 354 | + #pwm-cells = <3>; | |
| 365 | 355 | }; |
| 366 | 356 | |
| 367 | 357 | gpt1: timer@2098000 { |
| @@ -531,6 +521,16 @@ · 163 unmodified lines | ||
| 531 | 521 | anatop-max-voltage = <3400000>; |
| 532 | 522 | anatop-enable-bit = <0>; |
| 533 | 523 | }; |
| 524 | + | |
| 525 | + tempmon: temperature-sensor { | |
| 526 | + compatible = "fsl,imx6sll-tempmon", "fsl,imx6sx-tempmon"; | |
| 527 | + interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>; | |
| 528 | + interrupt-parent = <&gpc>; | |
| 529 | + fsl,tempmon = <&anatop>; | |
| 530 | + nvmem-cells = <&tempmon_calib>, <&tempmon_temp_grade>; | |
| 531 | + nvmem-cell-names = "calib", "temp_grade"; | |
| 532 | + clocks = <&clks IMX6SLL_CLK_PLL3_USB_OTG>; | |
| 533 | + }; | |
| 534 | 534 | }; |
| 535 | 535 | |
| 536 | 536 | usbphy1: usb-phy@20c9000 { |
| @@ -786,7 +786,7 @@ · 249 unmodified lines | ||
| 786 | 786 | clocks = <&clks IMX6SLL_CLK_MMDC_P0_IPG>; |
| 787 | 787 | }; |
| 788 | 788 | |
| 789 | − ocotp: ocotp-ctrl@21bc000 { | |
| 789 | + ocotp: efuse@21bc000 { | |
| 790 | 790 | #address-cells = <1>; |
| 791 | 791 | #size-cells = <1>; |
| 792 | 792 | compatible = "fsl,imx6sll-ocotp", "syscon"; |
| @@ -229,6 +229,7 @@ · 228 unmodified lines | ||
| 229 | 229 | }; |
| 230 | 230 | |
| 231 | 231 | &pwm4 { |
| 232 | + #pwm-cells = <2>; | |
| 232 | 233 | pinctrl-names = "default"; |
| 233 | 234 | pinctrl-0 = <&pinctrl_pwm4>; |
| 234 | 235 | status = "okay"; |
| @@ -66,12 +66,68 @@ · 65 unmodified lines | ||
| 66 | 66 | enable-active-high; |
| 67 | 67 | vin-supply = <®_can_en>; |
| 68 | 68 | }; |
| 69 | + | |
| 70 | + reg_cs42888: cs42888_supply { | |
| 71 | + compatible = "regulator-fixed"; | |
| 72 | + regulator-name = "cs42888_supply"; | |
| 73 | + regulator-min-microvolt = <3300000>; | |
| 74 | + regulator-max-microvolt = <3300000>; | |
| 75 | + regulator-always-on; | |
| 76 | + }; | |
| 77 | + | |
| 78 | + sound-cs42888 { | |
| 79 | + compatible = "fsl,imx6-sabreauto-cs42888", | |
| 80 | + "fsl,imx-audio-cs42888"; | |
| 81 | + model = "imx-cs42888"; | |
| 82 | + audio-cpu = <&esai>; | |
| 83 | + audio-asrc = <&asrc>; | |
| 84 | + audio-codec = <&cs42888>; | |
| 85 | + audio-routing = | |
| 86 | + "Line Out Jack", "AOUT1L", | |
| 87 | + "Line Out Jack", "AOUT1R", | |
| 88 | + "Line Out Jack", "AOUT2L", | |
| 89 | + "Line Out Jack", "AOUT2R", | |
| 90 | + "Line Out Jack", "AOUT3L", | |
| 91 | + "Line Out Jack", "AOUT3R", | |
| 92 | + "Line Out Jack", "AOUT4L", | |
| 93 | + "Line Out Jack", "AOUT4R", | |
| 94 | + "AIN1L", "Line In Jack", | |
| 95 | + "AIN1R", "Line In Jack", | |
| 96 | + "AIN2L", "Line In Jack", | |
| 97 | + "AIN2R", "Line In Jack"; | |
| 98 | + }; | |
| 99 | + | |
| 100 | + sound-spdif { | |
| 101 | + compatible = "fsl,imx-audio-spdif"; | |
| 102 | + model = "imx-spdif"; | |
| 103 | + spdif-controller = <&spdif>; | |
| 104 | + spdif-in; | |
| 105 | + }; | |
| 69 | 106 | }; |
| 70 | 107 | |
| 71 | 108 | &anaclk2 { |
| 72 | 109 | clock-frequency = <24576000>; |
| 73 | 110 | }; |
| 74 | 111 | |
| 112 | +&clks { | |
| 113 | + assigned-clocks = <&clks IMX6SX_PLL4_BYPASS_SRC>, | |
| 114 | + <&clks IMX6SX_PLL4_BYPASS>, | |
| 115 | + <&clks IMX6SX_CLK_PLL4_POST_DIV>; | |
| 116 | + assigned-clock-parents = <&clks IMX6SX_CLK_LVDS2_IN>, | |
| 117 | + <&clks IMX6SX_PLL4_BYPASS_SRC>; | |
| 118 | + assigned-clock-rates = <0>, <0>, <24576000>; | |
| 119 | +}; | |
| 120 | + | |
| 121 | +&esai { | |
| 122 | + pinctrl-names = "default"; | |
| 123 | + pinctrl-0 = <&pinctrl_esai>; | |
| 124 | + assigned-clocks = <&clks IMX6SX_CLK_ESAI_SEL>, | |
| 125 | + <&clks IMX6SX_CLK_ESAI_EXTAL>; | |
| 126 | + assigned-clock-parents = <&clks IMX6SX_CLK_PLL4_AUDIO_DIV>; | |
| 127 | + assigned-clock-rates = <0>, <24576000>; | |
| 128 | + status = "okay"; | |
| 129 | +}; | |
| 130 | + | |
| 75 | 131 | &fec1 { |
| 76 | 132 | pinctrl-names = "default"; |
| 77 | 133 | pinctrl-0 = <&pinctrl_enet1>; |
| @@ -193,6 +249,21 @@ · 115 unmodified lines | ||
| 193 | 249 | >; |
| 194 | 250 | }; |
| 195 | 251 | |
| 252 | + pinctrl_esai: esaigrp { | |
| 253 | + fsl,pins = < | |
| 254 | + MX6SX_PAD_CSI_DATA00__ESAI_TX_CLK 0x1b030 | |
| 255 | + MX6SX_PAD_CSI_DATA01__ESAI_TX_FS 0x1b030 | |
| 256 | + MX6SX_PAD_CSI_HSYNC__ESAI_TX0 0x1b030 | |
| 257 | + MX6SX_PAD_CSI_DATA04__ESAI_TX1 0x1b030 | |
| 258 | + MX6SX_PAD_CSI_DATA06__ESAI_TX2_RX3 0x1b030 | |
| 259 | + MX6SX_PAD_CSI_DATA07__ESAI_TX3_RX2 0x1b030 | |
| 260 | + MX6SX_PAD_CSI_DATA02__ESAI_RX_CLK 0x1b030 | |
| 261 | + MX6SX_PAD_CSI_DATA03__ESAI_RX_FS 0x1b030 | |
| 262 | + MX6SX_PAD_CSI_VSYNC__ESAI_TX5_RX0 0x1b030 | |
| 263 | + MX6SX_PAD_CSI_DATA05__ESAI_TX4_RX1 0x1b030 | |
| 264 | + >; | |
| 265 | + }; | |
| 266 | + | |
| 196 | 267 | pinctrl_flexcan1: flexcan1grp { |
| 197 | 268 | fsl,pins = < |
| 198 | 269 | MX6SX_PAD_QSPI1B_DQS__CAN1_TX 0x1b020 |
| @@ -227,6 +298,12 @@ · 28 unmodified lines | ||
| 227 | 298 | >; |
| 228 | 299 | }; |
| 229 | 300 | |
| 301 | + pinctrl_spdif: spdifgrp { | |
| 302 | + fsl,pins = < | |
| 303 | + MX6SX_PAD_ENET2_COL__SPDIF_IN 0x1b0b0 | |
| 304 | + >; | |
| 305 | + }; | |
| 306 | + | |
| 230 | 307 | pinctrl_uart1: uart1grp { |
| 231 | 308 | fsl,pins = < |
| 232 | 309 | MX6SX_PAD_GPIO1_IO04__UART1_DCE_TX 0x1b0b1 |
| @@ -313,6 +390,17 @@ · 80 unmodified lines | ||
| 313 | 390 | pinctrl-0 = <&pinctrl_i2c2>; |
| 314 | 391 | status = "okay"; |
| 315 | 392 | |
| 393 | + cs42888: cs42888@48 { | |
| 394 | + compatible = "cirrus,cs42888"; | |
| 395 | + reg = <0x48>; | |
| 396 | + clocks = <&anaclk2 0>; | |
| 397 | + clock-names = "mclk"; | |
| 398 | + VA-supply = <®_cs42888>; | |
| 399 | + VD-supply = <®_cs42888>; | |
| 400 | + VLS-supply = <®_cs42888>; | |
| 401 | + VLC-supply = <®_cs42888>; | |
| 402 | + }; | |
| 403 | + | |
| 316 | 404 | touchscreen@4 { |
| 317 | 405 | compatible = "eeti,egalax_ts"; |
| 318 | 406 | reg = <0x04>; |
| @@ -454,6 +542,14 @@ · 135 unmodified lines | ||
| 454 | 542 | }; |
| 455 | 543 | }; |
| 456 | 544 | |
| 545 | +&spdif { | |
| 546 | + pinctrl-names = "default"; | |
| 547 | + pinctrl-0 = <&pinctrl_spdif>; | |
| 548 | + assigned-clocks = <&clks IMX6SX_CLK_SPDIF_PODF>; | |
| 549 | + assigned-clock-rates = <24576000>; | |
| 550 | + status = "okay"; | |
| 551 | +}; | |
| 552 | + | |
| 457 | 553 | &wdog1 { |
| 458 | 554 | pinctrl-names = "default"; |
| 459 | 555 | pinctrl-0 = <&pinctrl_wdog>; |
| @@ -0,0 +1,48 @@ | ||
| 1 | +// SPDX-License-Identifier: GPL-2.0 | |
| 2 | +// | |
| 3 | +// Copyright (C) 2014 Freescale Semiconductor, Inc. | |
| 4 | + | |
| 5 | +#include "imx6sx-sdb.dts" | |
| 6 | +/ { | |
| 7 | + | |
| 8 | + sound { | |
| 9 | + status = "disabled"; | |
| 10 | + }; | |
| 11 | + | |
| 12 | + sound-mqs { | |
| 13 | + compatible = "fsl,imx6sx-sdb-mqs", | |
| 14 | + "fsl,imx-audio-mqs"; | |
| 15 | + model = "mqs-audio"; | |
| 16 | + audio-cpu = <&sai1>; | |
| 17 | + audio-asrc = <&asrc>; | |
| 18 | + audio-codec = <&mqs>; | |
| 19 | + }; | |
| 20 | +}; | |
| 21 | + | |
| 22 | +&usdhc2 { | |
| 23 | + /* pin conflict with mqs*/ | |
| 24 | + status = "disabled"; | |
| 25 | +}; | |
| 26 | + | |
| 27 | +&mqs { | |
| 28 | + pinctrl-names = "default"; | |
| 29 | + pinctrl-0 = <&pinctrl_mqs>; | |
| 30 | + clocks = <&clks IMX6SX_CLK_SAI1>; | |
| 31 | + clock-names = "mclk"; | |
| 32 | + status = "okay"; | |
| 33 | +}; | |
| 34 | + | |
| 35 | +&sai1 { | |
| 36 | + pinctrl-0 = <>; | |
| 37 | + status = "okay"; | |
| 38 | +}; | |
| 39 | + | |
| 40 | +&ssi2 { | |
| 41 | + status = "disabled"; | |
| 42 | +}; | |
| 43 | + | |
| 44 | +&sdma { | |
| 45 | + gpr = <&gpr>; | |
| 46 | + /* SDMA event remap for SAI1 */ | |
| 47 | + fsl,sdma-event-remap = <0 15 1>, <0 16 1>; | |
| 48 | +}; | |
| @@ -179,6 +179,15 @@ · 178 unmodified lines | ||
| 179 | 179 | }; |
| 180 | 180 | }; |
| 181 | 181 | }; |
| 182 | + | |
| 183 | + sound-spdif { | |
| 184 | + compatible = "fsl,imx-audio-spdif", | |
| 185 | + "fsl,imx6sx-sdb-spdif"; | |
| 186 | + model = "imx-spdif"; | |
| 187 | + spdif-controller = <&spdif>; | |
| 188 | + spdif-out; | |
| 189 | + }; | |
| 190 | + | |
| 182 | 191 | }; |
| 183 | 192 | |
| 184 | 193 | &audmux { |
| @@ -281,6 +290,7 @@ · 96 unmodified lines | ||
| 281 | 290 | }; |
| 282 | 291 | |
| 283 | 292 | &pwm3 { |
| 293 | + #pwm-cells = <2>; | |
| 284 | 294 | pinctrl-names = "default"; |
| 285 | 295 | pinctrl-0 = <&pinctrl_pwm3>; |
| 286 | 296 | status = "okay"; |
| @@ -296,6 +306,14 @@ · 9 unmodified lines | ||
| 296 | 306 | status = "disabled"; |
| 297 | 307 | }; |
| 298 | 308 | |
| 309 | +&spdif { | |
| 310 | + pinctrl-names = "default"; | |
| 311 | + pinctrl-0 = <&pinctrl_spdif>; | |
| 312 | + assigned-clocks = <&clks IMX6SX_CLK_SPDIF_PODF>; | |
| 313 | + assigned-clock-rates = <24576000>; | |
| 314 | + status = "okay"; | |
| 315 | +}; | |
| 316 | + | |
| 299 | 317 | &ssi2 { |
| 300 | 318 | status = "okay"; |
| 301 | 319 | }; |
| @@ -505,6 +523,13 @@ · 203 unmodified lines | ||
| 505 | 523 | >; |
| 506 | 524 | }; |
| 507 | 525 | |
| 526 | + pinctrl_mqs: mqsgrp { | |
| 527 | + fsl,pins = < | |
| 528 | + MX6SX_PAD_SD2_CLK__MQS_RIGHT 0x120b0 | |
| 529 | + MX6SX_PAD_SD2_CMD__MQS_LEFT 0x120b0 | |
| 530 | + >; | |
| 531 | + }; | |
| 532 | + | |
| 508 | 533 | pinctrl_pcie: pciegrp { |
| 509 | 534 | fsl,pins = < |
| 510 | 535 | MX6SX_PAD_ENET1_COL__GPIO2_IO_0 0x10b0 |
| @@ -562,6 +587,12 @@ · 51 unmodified lines | ||
| 562 | 587 | >; |
| 563 | 588 | }; |
| 564 | 589 | |
| 590 | + pinctrl_spdif: spdifgrp { | |
| 591 | + fsl,pins = < | |
| 592 | + MX6SX_PAD_SD4_DATA4__SPDIF_OUT 0x1b0b0 | |
| 593 | + >; | |
| 594 | + }; | |
| 595 | + | |
| 565 | 596 | pinctrl_uart1: uart1grp { |
| 566 | 597 | fsl,pins = < |
| 567 | 598 | MX6SX_PAD_GPIO1_IO04__UART1_DCE_TX 0x1b0b1 |
| @@ -505,18 +505,21 @@ · 504 unmodified lines | ||
| 505 | 505 | }; |
| 506 | 506 | |
| 507 | 507 | &pwm1 { |
| 508 | + #pwm-cells = <2>; | |
| 508 | 509 | pinctrl-names = "default"; |
| 509 | 510 | pinctrl-0 = <&pinctrl_pwm1>; |
| 510 | 511 | status = "okay"; |
| 511 | 512 | }; |
| 512 | 513 | |
| 513 | 514 | &pwm2 { |
| 515 | + #pwm-cells = <2>; | |
| 514 | 516 | pinctrl-names = "default"; |
| 515 | 517 | pinctrl-0 = <&pinctrl_pwm2>; |
| 516 | 518 | status = "okay"; |
| 517 | 519 | }; |
| 518 | 520 | |
| 519 | 521 | &pwm6 { |
| 522 | + #pwm-cells = <2>; | |
| 520 | 523 | pinctrl-names = "default"; |
| 521 | 524 | pinctrl-0 = <&pinctrl_pwm6>; |
| 522 | 525 | status = "okay"; |
| @@ -134,14 +134,10 @@ · 133 unmodified lines | ||
| 134 | 134 | clock-output-names = "anaclk2"; |
| 135 | 135 | }; |
| 136 | 136 | |
| 137 | − tempmon: tempmon { | |
| 138 | − compatible = "fsl,imx6sx-tempmon", "fsl,imx6q-tempmon"; | |
| 139 | − interrupt-parent = <&gpc>; | |
| 140 | − interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>; | |
| 141 | − fsl,tempmon = <&anatop>; | |
| 142 | − nvmem-cells = <&tempmon_calib>, <&tempmon_temp_grade>; | |
| 143 | − nvmem-cell-names = "calib", "temp_grade"; | |
| 144 | − clocks = <&clks IMX6SX_CLK_PLL3_USB_OTG>; | |
| 137 | + mqs: mqs { | |
| 138 | + compatible = "fsl,imx6sx-mqs"; | |
| 139 | + gpr = <&gpr>; | |
| 140 | + status = "disabled"; | |
| 145 | 141 | }; |
| 146 | 142 | |
| 147 | 143 | pmu { |
| @@ -183,7 +179,7 @@ · 35 unmodified lines | ||
| 183 | 179 | interrupt-parent = <&intc>; |
| 184 | 180 | }; |
| 185 | 181 | |
| 186 | − L2: l2-cache@a02000 { | |
| 182 | + L2: cache-controller@a02000 { | |
| 187 | 183 | compatible = "arm,pl310-cache"; |
| 188 | 184 | reg = <0x00a02000 0x1000>; |
| 189 | 185 | interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -335,6 +331,7 @@ · 145 unmodified lines | ||
| 335 | 331 | }; |
| 336 | 332 | |
| 337 | 333 | esai: esai@2024000 { |
| 334 | + compatible = "fsl,imx6sx-esai", "fsl,imx35-esai"; | |
| 338 | 335 | reg = <0x02024000 0x4000>; |
| 339 | 336 | interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>; |
| 340 | 337 | clocks = <&clks IMX6SX_CLK_ESAI_IPG>, |
| @@ -344,6 +341,9 @@ · 3 unmodified lines | ||
| 344 | 341 | <&clks IMX6SX_CLK_SPBA>; |
| 345 | 342 | clock-names = "core", "mem", "extal", |
| 346 | 343 | "fsys", "spba"; |
| 344 | + dmas = <&sdma 23 21 0>, | |
| 345 | + <&sdma 24 21 0>; | |
| 346 | + dma-names = "rx", "tx"; | |
| 347 | 347 | status = "disabled"; |
| 348 | 348 | }; |
| 349 | 349 | |
| @@ -390,18 +390,28 @@ · 40 unmodified lines | ||
| 390 | 390 | }; |
| 391 | 391 | |
| 392 | 392 | asrc: asrc@2034000 { |
| 393 | + compatible = "fsl,imx6sx-asrc", "fsl,imx53-asrc"; | |
| 393 | 394 | reg = <0x02034000 0x4000>; |
| 394 | 395 | interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>; |
| 395 | − clocks = <&clks IMX6SX_CLK_ASRC_MEM>, | |
| 396 | − <&clks IMX6SX_CLK_ASRC_IPG>, | |
| 397 | − <&clks IMX6SX_CLK_SPDIF>, | |
| 398 | − <&clks IMX6SX_CLK_SPBA>; | |
| 399 | − clock-names = "mem", "ipg", "asrck", "spba"; | |
| 400 | − dmas = <&sdma 17 20 1>, <&sdma 18 20 1>, | |
| 401 | − <&sdma 19 20 1>, <&sdma 20 20 1>, | |
| 402 | − <&sdma 21 20 1>, <&sdma 22 20 1>; | |
| 396 | + clocks = <&clks IMX6SX_CLK_ASRC_IPG>, | |
| 397 | + <&clks IMX6SX_CLK_ASRC_MEM>, <&clks 0>, | |
| 398 | + <&clks 0>, <&clks 0>, <&clks 0>, <&clks 0>, | |
| 399 | + <&clks 0>, <&clks 0>, <&clks 0>, <&clks 0>, | |
| 400 | + <&clks 0>, <&clks 0>, <&clks 0>, <&clks 0>, | |
| 401 | + <&clks IMX6SX_CLK_SPDIF>, <&clks 0>, <&clks 0>, | |
| 402 | + <&clks IMX6SX_CLK_SPBA>; | |
| 403 | + clock-names = "mem", "ipg", "asrck_0", | |
| 404 | + "asrck_1", "asrck_2", "asrck_3", "asrck_4", | |
| 405 | + "asrck_5", "asrck_6", "asrck_7", "asrck_8", | |
| 406 | + "asrck_9", "asrck_a", "asrck_b", "asrck_c", | |
| 407 | + "asrck_d", "asrck_e", "asrck_f", "spba"; | |
| 408 | + dmas = <&sdma 17 23 1>, <&sdma 18 23 1>, | |
| 409 | + <&sdma 19 23 1>, <&sdma 20 23 1>, | |
| 410 | + <&sdma 21 23 1>, <&sdma 22 23 1>; | |
| 403 | 411 | dma-names = "rxa", "rxb", "rxc", |
| 404 | 412 | "txa", "txb", "txc"; |
| 413 | + fsl,asrc-rate = <48000>; | |
| 414 | + fsl,asrc-width = <16>; | |
| 405 | 415 | status = "okay"; |
| 406 | 416 | }; |
| 407 | 417 | }; |
| @@ -413,7 +423,7 @@ · 5 unmodified lines | ||
| 413 | 423 | clocks = <&clks IMX6SX_CLK_PWM1>, |
| 414 | 424 | <&clks IMX6SX_CLK_PWM1>; |
| 415 | 425 | clock-names = "ipg", "per"; |
| 416 | − #pwm-cells = <2>; | |
| 426 | + #pwm-cells = <3>; | |
| 417 | 427 | }; |
| 418 | 428 | |
| 419 | 429 | pwm2: pwm@2084000 { |
| @@ -423,7 +433,7 @@ · 3 unmodified lines | ||
| 423 | 433 | clocks = <&clks IMX6SX_CLK_PWM2>, |
| 424 | 434 | <&clks IMX6SX_CLK_PWM2>; |
| 425 | 435 | clock-names = "ipg", "per"; |
| 426 | − #pwm-cells = <2>; | |
| 436 | + #pwm-cells = <3>; | |
| 427 | 437 | }; |
| 428 | 438 | |
| 429 | 439 | pwm3: pwm@2088000 { |
| @@ -433,7 +443,7 @@ · 3 unmodified lines | ||
| 433 | 443 | clocks = <&clks IMX6SX_CLK_PWM3>, |
| 434 | 444 | <&clks IMX6SX_CLK_PWM3>; |
| 435 | 445 | clock-names = "ipg", "per"; |
| 436 | − #pwm-cells = <2>; | |
| 446 | + #pwm-cells = <3>; | |
| 437 | 447 | }; |
| 438 | 448 | |
| 439 | 449 | pwm4: pwm@208c000 { |
| @@ -443,7 +453,7 @@ · 3 unmodified lines | ||
| 443 | 453 | clocks = <&clks IMX6SX_CLK_PWM4>, |
| 444 | 454 | <&clks IMX6SX_CLK_PWM4>; |
| 445 | 455 | clock-names = "ipg", "per"; |
| 446 | − #pwm-cells = <2>; | |
| 456 | + #pwm-cells = <3>; | |
| 447 | 457 | }; |
| 448 | 458 | |
| 449 | 459 | flexcan1: can@2090000 { |
| @@ -696,6 +706,16 @@ · 246 unmodified lines | ||
| 696 | 706 | anatop-min-voltage = <725000>; |
| 697 | 707 | anatop-max-voltage = <1450000>; |
| 698 | 708 | }; |
| 709 | + | |
| 710 | + tempmon: tempmon { | |
| 711 | + compatible = "fsl,imx6sx-tempmon", "fsl,imx6q-tempmon"; | |
| 712 | + interrupt-parent = <&gpc>; | |
| 713 | + interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>; | |
| 714 | + fsl,tempmon = <&anatop>; | |
| 715 | + nvmem-cells = <&tempmon_calib>, <&tempmon_temp_grade>; | |
| 716 | + nvmem-cell-names = "calib", "temp_grade"; | |
| 717 | + clocks = <&clks IMX6SX_CLK_PLL3_USB_OTG>; | |
| 718 | + }; | |
| 699 | 719 | }; |
| 700 | 720 | |
| 701 | 721 | usbphy1: usbphy@20c9000 { |
| @@ -943,7 +963,7 @@ · 241 unmodified lines | ||
| 943 | 963 | status = "disabled"; |
| 944 | 964 | }; |
| 945 | 965 | |
| 946 | − usdhc1: usdhc@2190000 { | |
| 966 | + usdhc1: mmc@2190000 { | |
| 947 | 967 | compatible = "fsl,imx6sx-usdhc", "fsl,imx6sl-usdhc"; |
| 948 | 968 | reg = <0x02190000 0x4000>; |
| 949 | 969 | interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -955,7 +975,7 @@ · 5 unmodified lines | ||
| 955 | 975 | status = "disabled"; |
| 956 | 976 | }; |
| 957 | 977 | |
| 958 | − usdhc2: usdhc@2194000 { | |
| 978 | + usdhc2: mmc@2194000 { | |
| 959 | 979 | compatible = "fsl,imx6sx-usdhc", "fsl,imx6sl-usdhc"; |
| 960 | 980 | reg = <0x02194000 0x4000>; |
| 961 | 981 | interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -967,7 +987,7 @@ · 5 unmodified lines | ||
| 967 | 987 | status = "disabled"; |
| 968 | 988 | }; |
| 969 | 989 | |
| 970 | − usdhc3: usdhc@2198000 { | |
| 990 | + usdhc3: mmc@2198000 { | |
| 971 | 991 | compatible = "fsl,imx6sx-usdhc", "fsl,imx6sl-usdhc"; |
| 972 | 992 | reg = <0x02198000 0x4000>; |
| 973 | 993 | interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -979,7 +999,7 @@ · 5 unmodified lines | ||
| 979 | 999 | status = "disabled"; |
| 980 | 1000 | }; |
| 981 | 1001 | |
| 982 | − usdhc4: usdhc@219c000 { | |
| 1002 | + usdhc4: mmc@219c000 { | |
| 983 | 1003 | compatible = "fsl,imx6sx-usdhc", "fsl,imx6sl-usdhc"; |
| 984 | 1004 | reg = <0x0219c000 0x4000>; |
| 985 | 1005 | interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -1055,7 +1075,7 @@ · 69 unmodified lines | ||
| 1055 | 1075 | status = "disabled"; |
| 1056 | 1076 | }; |
| 1057 | 1077 | |
| 1058 | − ocotp: ocotp-ctrl@21bc000 { | |
| 1078 | + ocotp: efuse@21bc000 { | |
| 1059 | 1079 | #address-cells = <1>; |
| 1060 | 1080 | #size-cells = <1>; |
| 1061 | 1081 | compatible = "fsl,imx6sx-ocotp", "syscon"; |
| @@ -1337,7 +1357,7 @@ · 275 unmodified lines | ||
| 1337 | 1357 | clocks = <&clks IMX6SX_CLK_PWM5>, |
| 1338 | 1358 | <&clks IMX6SX_CLK_PWM5>; |
| 1339 | 1359 | clock-names = "ipg", "per"; |
| 1340 | − #pwm-cells = <2>; | |
| 1360 | + #pwm-cells = <3>; | |
| 1341 | 1361 | }; |
| 1342 | 1362 | |
| 1343 | 1363 | pwm6: pwm@22a8000 { |
| @@ -1347,7 +1367,7 @@ · 3 unmodified lines | ||
| 1347 | 1367 | clocks = <&clks IMX6SX_CLK_PWM6>, |
| 1348 | 1368 | <&clks IMX6SX_CLK_PWM6>; |
| 1349 | 1369 | clock-names = "ipg", "per"; |
| 1350 | − #pwm-cells = <2>; | |
| 1370 | + #pwm-cells = <3>; | |
| 1351 | 1371 | }; |
| 1352 | 1372 | |
| 1353 | 1373 | pwm7: pwm@22ac000 { |
| @@ -1357,7 +1377,7 @@ · 3 unmodified lines | ||
| 1357 | 1377 | clocks = <&clks IMX6SX_CLK_PWM7>, |
| 1358 | 1378 | <&clks IMX6SX_CLK_PWM7>; |
| 1359 | 1379 | clock-names = "ipg", "per"; |
| 1360 | − #pwm-cells = <2>; | |
| 1380 | + #pwm-cells = <3>; | |
| 1361 | 1381 | }; |
| 1362 | 1382 | |
| 1363 | 1383 | pwm8: pwm@22b0000 { |
| @@ -1367,7 +1387,7 @@ · 3 unmodified lines | ||
| 1367 | 1387 | clocks = <&clks IMX6SX_CLK_PWM8>, |
| 1368 | 1388 | <&clks IMX6SX_CLK_PWM8>; |
| 1369 | 1389 | clock-names = "ipg", "per"; |
| 1370 | − #pwm-cells = <2>; | |
| 1390 | + #pwm-cells = <3>; | |
| 1371 | 1391 | }; |
| 1372 | 1392 | }; |
| 1373 | 1393 | |
| @@ -228,6 +228,7 @@ · 227 unmodified lines | ||
| 228 | 228 | }; |
| 229 | 229 | |
| 230 | 230 | &pwm1 { |
| 231 | + #pwm-cells = <2>; | |
| 231 | 232 | pinctrl-names = "default"; |
| 232 | 233 | pinctrl-0 = <&pinctrl_pwm1>; |
| 233 | 234 | status = "okay"; |
| @@ -168,6 +168,7 @@ · 167 unmodified lines | ||
| 168 | 168 | }; |
| 169 | 169 | |
| 170 | 170 | &pwm5 { |
| 171 | + #pwm-cells = <2>; | |
| 171 | 172 | pinctrl-names = "default"; |
| 172 | 173 | pinctrl-0 = <&pinctrl_pwm5>; |
| 173 | 174 | status = "okay"; |
| @@ -195,6 +195,7 @@ · 194 unmodified lines | ||
| 195 | 195 | }; |
| 196 | 196 | |
| 197 | 197 | &pwm8 { |
| 198 | + #pwm-cells = <2>; | |
| 198 | 199 | pinctrl-names = "default"; |
| 199 | 200 | pinctrl-0 = <&pinctrl_pwm8>; |
| 200 | 201 | status = "okay"; |
| @@ -155,6 +155,7 @@ · 154 unmodified lines | ||
| 155 | 155 | }; |
| 156 | 156 | |
| 157 | 157 | &pwm3 { |
| 158 | + #pwm-cells = <2>; | |
| 158 | 159 | pinctrl-names = "default"; |
| 159 | 160 | pinctrl-0 = <&pinctrl_pwm3>; |
| 160 | 161 | status = "okay"; |
| @@ -187,6 +187,7 @@ · 186 unmodified lines | ||
| 187 | 187 | }; |
| 188 | 188 | |
| 189 | 189 | &pwm8 { |
| 190 | + #pwm-cells = <2>; | |
| 190 | 191 | pinctrl-names = "default"; |
| 191 | 192 | pinctrl-0 = <&pinctrl_pwm8>; |
| 192 | 193 | status = "okay"; |
| @@ -41,6 +41,7 @@ · 40 unmodified lines | ||
| 41 | 41 | }; |
| 42 | 42 | |
| 43 | 43 | &pwm7 { |
| 44 | + #pwm-cells = <2>; | |
| 44 | 45 | pinctrl-names = "default"; |
| 45 | 46 | pinctrl-0 = <&pinctrl_pwm7>; |
| 46 | 47 | status = "okay"; |
| @@ -153,6 +153,7 @@ · 152 unmodified lines | ||
| 153 | 153 | }; |
| 154 | 154 | |
| 155 | 155 | &pwm8 { |
| 156 | + #pwm-cells = <2>; | |
| 156 | 157 | pinctrl-names = "default"; |
| 157 | 158 | pinctrl-0 = <&pinctrl_pwm8>; |
| 158 | 159 | status = "okay"; |
| @@ -175,6 +175,7 @@ · 174 unmodified lines | ||
| 175 | 175 | }; |
| 176 | 176 | |
| 177 | 177 | &pwm3 { |
| 178 | + #pwm-cells = <2>; | |
| 178 | 179 | pinctrl-names = "default"; |
| 179 | 180 | pinctrl-0 = <&pinctrl_pwm3>; |
| 180 | 181 | status = "okay"; |
| @@ -549,7 +549,6 @@ · 548 unmodified lines | ||
| 549 | 549 | &pwm5 { |
| 550 | 550 | pinctrl-names = "default"; |
| 551 | 551 | pinctrl-0 = <&pinctrl_pwm5>; |
| 552 | − #pwm-cells = <3>; | |
| 553 | 552 | status = "okay"; |
| 554 | 553 | }; |
| 555 | 554 | |
| @@ -131,16 +131,6 @@ · 130 unmodified lines | ||
| 131 | 131 | clock-output-names = "ipp_di1"; |
| 132 | 132 | }; |
| 133 | 133 | |
| 134 | − tempmon: tempmon { | |
| 135 | − compatible = "fsl,imx6ul-tempmon", "fsl,imx6sx-tempmon"; | |
| 136 | − interrupt-parent = <&gpc>; | |
| 137 | − interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>; | |
| 138 | − fsl,tempmon = <&anatop>; | |
| 139 | − nvmem-cells = <&tempmon_calib>, <&tempmon_temp_grade>; | |
| 140 | − nvmem-cell-names = "calib", "temp_grade"; | |
| 141 | − clocks = <&clks IMX6UL_CLK_PLL3_USB_OTG>; | |
| 142 | − }; | |
| 143 | − | |
| 144 | 134 | pmu { |
| 145 | 135 | compatible = "arm,cortex-a7-pmu"; |
| 146 | 136 | interrupt-parent = <&gpc>; |
| @@ -351,6 +341,31 @@ · 204 unmodified lines | ||
| 351 | 341 | dma-names = "rx", "tx"; |
| 352 | 342 | status = "disabled"; |
| 353 | 343 | }; |
| 344 | + | |
| 345 | + asrc: asrc@2034000 { | |
| 346 | + compatible = "fsl,imx6ul-asrc", "fsl,imx53-asrc"; | |
| 347 | + reg = <0x2034000 0x4000>; | |
| 348 | + interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>; | |
| 349 | + clocks = <&clks IMX6UL_CLK_ASRC_IPG>, | |
| 350 | + <&clks IMX6UL_CLK_ASRC_MEM>, <&clks 0>, | |
| 351 | + <&clks 0>, <&clks 0>, <&clks 0>, <&clks 0>, | |
| 352 | + <&clks 0>, <&clks 0>, <&clks 0>, <&clks 0>, | |
| 353 | + <&clks 0>, <&clks 0>, <&clks 0>, <&clks 0>, | |
| 354 | + <&clks IMX6UL_CLK_SPDIF>, <&clks 0>, <&clks 0>, | |
| 355 | + <&clks IMX6UL_CLK_SPBA>; | |
| 356 | + clock-names = "mem", "ipg", "asrck_0", | |
| 357 | + "asrck_1", "asrck_2", "asrck_3", "asrck_4", | |
| 358 | + "asrck_5", "asrck_6", "asrck_7", "asrck_8", | |
| 359 | + "asrck_9", "asrck_a", "asrck_b", "asrck_c", | |
| 360 | + "asrck_d", "asrck_e", "asrck_f", "spba"; | |
| 361 | + dmas = <&sdma 17 23 1>, <&sdma 18 23 1>, <&sdma 19 23 1>, | |
| 362 | + <&sdma 20 23 1>, <&sdma 21 23 1>, <&sdma 22 23 1>; | |
| 363 | + dma-names = "rxa", "rxb", "rxc", | |
| 364 | + "txa", "txb", "txc"; | |
| 365 | + fsl,asrc-rate = <48000>; | |
| 366 | + fsl,asrc-width = <16>; | |
| 367 | + status = "okay"; | |
| 368 | + }; | |
| 354 | 369 | }; |
| 355 | 370 | |
| 356 | 371 | tsc: tsc@2040000 { |
| @@ -371,7 +386,7 @@ · 14 unmodified lines | ||
| 371 | 386 | clocks = <&clks IMX6UL_CLK_PWM1>, |
| 372 | 387 | <&clks IMX6UL_CLK_PWM1>; |
| 373 | 388 | clock-names = "ipg", "per"; |
| 374 | − #pwm-cells = <2>; | |
| 389 | + #pwm-cells = <3>; | |
| 375 | 390 | status = "disabled"; |
| 376 | 391 | }; |
| 377 | 392 | |
| @@ -382,7 +397,7 @@ · 4 unmodified lines | ||
| 382 | 397 | clocks = <&clks IMX6UL_CLK_PWM2>, |
| 383 | 398 | <&clks IMX6UL_CLK_PWM2>; |
| 384 | 399 | clock-names = "ipg", "per"; |
| 385 | − #pwm-cells = <2>; | |
| 400 | + #pwm-cells = <3>; | |
| 386 | 401 | status = "disabled"; |
| 387 | 402 | }; |
| 388 | 403 | |
| @@ -393,7 +408,7 @@ · 4 unmodified lines | ||
| 393 | 408 | clocks = <&clks IMX6UL_CLK_PWM3>, |
| 394 | 409 | <&clks IMX6UL_CLK_PWM3>; |
| 395 | 410 | clock-names = "ipg", "per"; |
| 396 | − #pwm-cells = <2>; | |
| 411 | + #pwm-cells = <3>; | |
| 397 | 412 | status = "disabled"; |
| 398 | 413 | }; |
| 399 | 414 | |
| @@ -404,7 +419,7 @@ · 4 unmodified lines | ||
| 404 | 419 | clocks = <&clks IMX6UL_CLK_PWM4>, |
| 405 | 420 | <&clks IMX6UL_CLK_PWM4>; |
| 406 | 421 | clock-names = "ipg", "per"; |
| 407 | − #pwm-cells = <2>; | |
| 422 | + #pwm-cells = <3>; | |
| 408 | 423 | status = "disabled"; |
| 409 | 424 | }; |
| 410 | 425 | |
| @@ -612,6 +627,16 @@ · 201 unmodified lines | ||
| 612 | 627 | anatop-min-voltage = <725000>; |
| 613 | 628 | anatop-max-voltage = <1450000>; |
| 614 | 629 | }; |
| 630 | + | |
| 631 | + tempmon: tempmon { | |
| 632 | + compatible = "fsl,imx6ul-tempmon", "fsl,imx6sx-tempmon"; | |
| 633 | + interrupt-parent = <&gpc>; | |
| 634 | + interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>; | |
| 635 | + fsl,tempmon = <&anatop>; | |
| 636 | + nvmem-cells = <&tempmon_calib>, <&tempmon_temp_grade>; | |
| 637 | + nvmem-cell-names = "calib", "temp_grade"; | |
| 638 | + clocks = <&clks IMX6UL_CLK_PLL3_USB_OTG>; | |
| 639 | + }; | |
| 615 | 640 | }; |
| 616 | 641 | |
| 617 | 642 | usbphy1: usbphy@20c9000 { |
| @@ -734,7 +759,7 @@ · 116 unmodified lines | ||
| 734 | 759 | clocks = <&clks IMX6UL_CLK_PWM5>, |
| 735 | 760 | <&clks IMX6UL_CLK_PWM5>; |
| 736 | 761 | clock-names = "ipg", "per"; |
| 737 | − #pwm-cells = <2>; | |
| 762 | + #pwm-cells = <3>; | |
| 738 | 763 | status = "disabled"; |
| 739 | 764 | }; |
| 740 | 765 | |
| @@ -745,7 +770,7 @@ · 4 unmodified lines | ||
| 745 | 770 | clocks = <&clks IMX6UL_CLK_PWM6>, |
| 746 | 771 | <&clks IMX6UL_CLK_PWM6>; |
| 747 | 772 | clock-names = "ipg", "per"; |
| 748 | − #pwm-cells = <2>; | |
| 773 | + #pwm-cells = <3>; | |
| 749 | 774 | status = "disabled"; |
| 750 | 775 | }; |
| 751 | 776 | |
| @@ -756,7 +781,7 @@ · 4 unmodified lines | ||
| 756 | 781 | clocks = <&clks IMX6UL_CLK_PWM7>, |
| 757 | 782 | <&clks IMX6UL_CLK_PWM7>; |
| 758 | 783 | clock-names = "ipg", "per"; |
| 759 | − #pwm-cells = <2>; | |
| 784 | + #pwm-cells = <3>; | |
| 760 | 785 | status = "disabled"; |
| 761 | 786 | }; |
| 762 | 787 | |
| @@ -767,7 +792,7 @@ · 4 unmodified lines | ||
| 767 | 792 | clocks = <&clks IMX6UL_CLK_PWM8>, |
| 768 | 793 | <&clks IMX6UL_CLK_PWM8>; |
| 769 | 794 | clock-names = "ipg", "per"; |
| 770 | − #pwm-cells = <2>; | |
| 795 | + #pwm-cells = <3>; | |
| 771 | 796 | status = "disabled"; |
| 772 | 797 | }; |
| 773 | 798 | }; |
| @@ -861,7 +886,7 @@ · 87 unmodified lines | ||
| 861 | 886 | status = "disabled"; |
| 862 | 887 | }; |
| 863 | 888 | |
| 864 | − usdhc1: usdhc@2190000 { | |
| 889 | + usdhc1: mmc@2190000 { | |
| 865 | 890 | compatible = "fsl,imx6ul-usdhc", "fsl,imx6sx-usdhc"; |
| 866 | 891 | reg = <0x02190000 0x4000>; |
| 867 | 892 | interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -875,7 +900,7 @@ · 7 unmodified lines | ||
| 875 | 900 | status = "disabled"; |
| 876 | 901 | }; |
| 877 | 902 | |
| 878 | − usdhc2: usdhc@2194000 { | |
| 903 | + usdhc2: mmc@2194000 { | |
| 879 | 904 | compatible = "fsl,imx6ul-usdhc", "fsl,imx6sx-usdhc"; |
| 880 | 905 | reg = <0x02194000 0x4000>; |
| 881 | 906 | interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -948,7 +973,7 @@ · 66 unmodified lines | ||
| 948 | 973 | status = "disabled"; |
| 949 | 974 | }; |
| 950 | 975 | |
| 951 | − ocotp: ocotp-ctrl@21bc000 { | |
| 976 | + ocotp: efuse@21bc000 { | |
| 952 | 977 | #address-cells = <1>; |
| 953 | 978 | #size-cells = <1>; |
| 954 | 979 | compatible = "fsl,imx6ul-ocotp", "syscon"; |
| @@ -145,25 +145,21 @@ · 144 unmodified lines | ||
| 145 | 145 | &pwm4 { |
| 146 | 146 | pinctrl-names = "default"; |
| 147 | 147 | pinctrl-0 = <&pinctrl_pwm4>; |
| 148 | − #pwm-cells = <3>; | |
| 149 | 148 | }; |
| 150 | 149 | |
| 151 | 150 | &pwm5 { |
| 152 | 151 | pinctrl-names = "default"; |
| 153 | 152 | pinctrl-0 = <&pinctrl_pwm5>; |
| 154 | − #pwm-cells = <3>; | |
| 155 | 153 | }; |
| 156 | 154 | |
| 157 | 155 | &pwm6 { |
| 158 | 156 | pinctrl-names = "default"; |
| 159 | 157 | pinctrl-0 = <&pinctrl_pwm6>; |
| 160 | − #pwm-cells = <3>; | |
| 161 | 158 | }; |
| 162 | 159 | |
| 163 | 160 | &pwm7 { |
| 164 | 161 | pinctrl-names = "default"; |
| 165 | 162 | pinctrl-0 = <&pinctrl_pwm7>; |
| 166 | − #pwm-cells = <3>; | |
| 167 | 163 | }; |
| 168 | 164 | |
| 169 | 165 | &sdma { |
| @@ -0,0 +1,18 @@ | ||
| 1 | +// SPDX-License-Identifier: GPL-2.0 | |
| 2 | +/* | |
| 3 | + * Copyright (C) 2020 Linumiz | |
| 4 | + * Author: Parthiban Nallathambi <parthiban@linumiz.com> | |
| 5 | + */ | |
| 6 | + | |
| 7 | +/dts-v1/; | |
| 8 | +#include "imx6ull.dtsi" | |
| 9 | +#include "imx6ull-myir-mys-6ulx.dtsi" | |
| 10 | + | |
| 11 | +/ { | |
| 12 | + model = "MYiR i.MX6ULL MYS-6ULX Single Board Computer with NAND"; | |
| 13 | + compatible = "myir,imx6ull-mys-6ulx-eval", "fsl,imx6ull"; | |
| 14 | +}; | |
| 15 | + | |
| 16 | +&gpmi { | |
| 17 | + status = "okay"; | |
| 18 | +}; | |
| @@ -0,0 +1,238 @@ | ||
| 1 | +// SPDX-License-Identifier: GPL-2.0 | |
| 2 | +/* | |
| 3 | + * Copyright (C) 2020 Linumiz | |
| 4 | + * Author: Parthiban Nallathambi <parthiban@linumiz.com> | |
| 5 | + */ | |
| 6 | + | |
| 7 | +#include <dt-bindings/gpio/gpio.h> | |
| 8 | +#include <dt-bindings/interrupt-controller/irq.h> | |
| 9 | +#include <dt-bindings/pwm/pwm.h> | |
| 10 | + | |
| 11 | +/ { | |
| 12 | + model = "MYiR MYS-6ULX Single Board Computer"; | |
| 13 | + compatible = "fsl,imx6ull"; | |
| 14 | + | |
| 15 | + chosen { | |
| 16 | + stdout-path = &uart1; | |
| 17 | + }; | |
| 18 | + | |
| 19 | + reg_vdd_5v: regulator-vdd-5v { | |
| 20 | + compatible = "regulator-fixed"; | |
| 21 | + regulator-name = "VDD_5V"; | |
| 22 | + regulator-min-microvolt = <5000000>; | |
| 23 | + regulator-max-microvolt = <5000000>; | |
| 24 | + regulator-always-on; | |
| 25 | + regulator-boot-on; | |
| 26 | + }; | |
| 27 | + | |
| 28 | + reg_vdd_3v3: regulator-vdd-3v3 { | |
| 29 | + compatible = "regulator-fixed"; | |
| 30 | + regulator-name = "VDD_3V3"; | |
| 31 | + regulator-min-microvolt = <3300000>; | |
| 32 | + regulator-max-microvolt = <3300000>; | |
| 33 | + regulator-always-on; | |
| 34 | + vin-supply = <®_vdd_5v>; | |
| 35 | + }; | |
| 36 | +}; | |
| 37 | + | |
| 38 | +&fec1 { | |
| 39 | + pinctrl-names = "default"; | |
| 40 | + pinctrl-0 = <&pinctrl_enet1>; | |
| 41 | + phy-mode = "rmii"; | |
| 42 | + phy-handle = <ðphy0>; | |
| 43 | + phy-supply = <®_vdd_3v3>; | |
| 44 | + status = "okay"; | |
| 45 | + | |
| 46 | + mdio: mdio { | |
| 47 | + #address-cells = <1>; | |
| 48 | + #size-cells = <0>; | |
| 49 | + | |
| 50 | + ethphy0: ethernet-phy@0 { | |
| 51 | + reg = <0>; | |
| 52 | + interrupt-parent = <&gpio5>; | |
| 53 | + interrupts = <5 IRQ_TYPE_LEVEL_LOW>; | |
| 54 | + clocks = <&clks IMX6UL_CLK_ENET_REF>; | |
| 55 | + clock-names = "rmii-ref"; | |
| 56 | + }; | |
| 57 | + }; | |
| 58 | +}; | |
| 59 | + | |
| 60 | +&gpmi { | |
| 61 | + pinctrl-names = "default"; | |
| 62 | + pinctrl-0 = <&pinctrl_gpmi_nand>; | |
| 63 | + nand-on-flash-bbt; | |
| 64 | + status = "disabled"; | |
| 65 | +}; | |
| 66 | + | |
| 67 | +&uart1 { | |
| 68 | + pinctrl-names = "default"; | |
| 69 | + pinctrl-0 = <&pinctrl_uart1>; | |
| 70 | + status = "okay"; | |
| 71 | +}; | |
| 72 | + | |
| 73 | +&usbotg1 { | |
| 74 | + pinctrl-names = "default"; | |
| 75 | + pinctrl-0 = <&pinctrl_usb_otg1_id>; | |
| 76 | + dr_mode = "otg"; | |
| 77 | + status = "okay"; | |
| 78 | +}; | |
| 79 | + | |
| 80 | +&usbotg2 { | |
| 81 | + dr_mode = "host"; | |
| 82 | + disable-over-current; | |
| 83 | + status = "okay"; | |
| 84 | +}; | |
| 85 | + | |
| 86 | +&usdhc1 { | |
| 87 | + pinctrl-names = "default", "state_100mhz", "state_200mhz"; | |
| 88 | + pinctrl-0 = <&pinctrl_usdhc1>; | |
| 89 | + pinctrl-1 = <&pinctrl_usdhc1_100mhz>; | |
| 90 | + pinctrl-2 = <&pinctrl_usdhc1_200mhz>; | |
| 91 | + cd-gpios = <&gpio1 19 GPIO_ACTIVE_LOW>; | |
| 92 | + no-1-8-v; | |
| 93 | + keep-power-in-suspend; | |
| 94 | + wakeup-source; | |
| 95 | + vmmc-supply = <®_vdd_3v3>; | |
| 96 | + status = "okay"; | |
| 97 | +}; | |
| 98 | + | |
| 99 | +&usdhc2 { | |
| 100 | + pinctrl-names = "default"; | |
| 101 | + pinctrl-0 = <&pinctrl_usdhc2>; | |
| 102 | + pinctrl-1 = <&pinctrl_usdhc2_100mhz>; | |
| 103 | + pinctrl-2 = <&pinctrl_usdhc2_200mhz>; | |
| 104 | + bus-width = <8>; | |
| 105 | + non-removable; | |
| 106 | + keep-power-in-suspend; | |
| 107 | + vmmc-supply = <®_vdd_3v3>; | |
| 108 | +}; | |
| 109 | + | |
| 110 | +&iomuxc { | |
| 111 | + pinctrl_enet1: enet1grp { | |
| 112 | + fsl,pins = < | |
| 113 | + MX6UL_PAD_GPIO1_IO06__ENET1_MDIO 0x1b0b0 | |
| 114 | + MX6UL_PAD_GPIO1_IO07__ENET1_MDC 0x1b0b0 | |
| 115 | + MX6UL_PAD_ENET1_RX_EN__ENET1_RX_EN 0x1b0b0 | |
| 116 | + MX6UL_PAD_ENET1_RX_ER__ENET1_RX_ER 0x1b0b0 | |
| 117 | + MX6UL_PAD_ENET1_RX_DATA0__ENET1_RDATA00 0x1b0b0 | |
| 118 | + MX6UL_PAD_ENET1_RX_DATA1__ENET1_RDATA01 0x1b0b0 | |
| 119 | + MX6UL_PAD_ENET1_TX_EN__ENET1_TX_EN 0x1b0b0 | |
| 120 | + MX6UL_PAD_ENET1_TX_DATA0__ENET1_TDATA00 0x1b0b0 | |
| 121 | + MX6UL_PAD_ENET1_TX_DATA1__ENET1_TDATA01 0x1b0b0 | |
| 122 | + MX6UL_PAD_ENET1_TX_CLK__ENET1_REF_CLK1 0x4001b031 | |
| 123 | + MX6UL_PAD_SNVS_TAMPER5__GPIO5_IO05 0x1b0b0 | |
| 124 | + >; | |
| 125 | + }; | |
| 126 | + | |
| 127 | + pinctrl_gpmi_nand: gpminandgrp { | |
| 128 | + fsl,pins = < | |
| 129 | + MX6UL_PAD_NAND_CLE__RAWNAND_CLE 0x0b0b1 | |
| 130 | + MX6UL_PAD_NAND_ALE__RAWNAND_ALE 0x0b0b1 | |
| 131 | + MX6UL_PAD_NAND_WP_B__RAWNAND_WP_B 0x0b0b1 | |
| 132 | + MX6UL_PAD_NAND_READY_B__RAWNAND_READY_B 0x0b000 | |
| 133 | + MX6UL_PAD_NAND_CE0_B__RAWNAND_CE0_B 0x0b0b1 | |
| 134 | + MX6UL_PAD_NAND_RE_B__RAWNAND_RE_B 0x0b0b1 | |
| 135 | + MX6UL_PAD_NAND_WE_B__RAWNAND_WE_B 0x0b0b1 | |
| 136 | + MX6UL_PAD_NAND_DATA00__RAWNAND_DATA00 0x0b0b1 | |
| 137 | + MX6UL_PAD_NAND_DATA01__RAWNAND_DATA01 0x0b0b1 | |
| 138 | + MX6UL_PAD_NAND_DATA02__RAWNAND_DATA02 0x0b0b1 | |
| 139 | + MX6UL_PAD_NAND_DATA03__RAWNAND_DATA03 0x0b0b1 | |
| 140 | + MX6UL_PAD_NAND_DATA04__RAWNAND_DATA04 0x0b0b1 | |
| 141 | + MX6UL_PAD_NAND_DATA05__RAWNAND_DATA05 0x0b0b1 | |
| 142 | + MX6UL_PAD_NAND_DATA06__RAWNAND_DATA06 0x0b0b1 | |
| 143 | + MX6UL_PAD_NAND_DATA07__RAWNAND_DATA07 0x0b0b1 | |
| 144 | + >; | |
| 145 | + }; | |
| 146 | + | |
| 147 | + pinctrl_uart1: uart1grp { | |
| 148 | + fsl,pins = < | |
| 149 | + MX6UL_PAD_UART1_TX_DATA__UART1_DCE_TX 0x1b0b1 | |
| 150 | + MX6UL_PAD_UART1_RX_DATA__UART1_DCE_RX 0x1b0b1 | |
| 151 | + >; | |
| 152 | + }; | |
| 153 | + | |
| 154 | + pinctrl_usb_otg1_id: usbotg1idgrp { | |
| 155 | + fsl,pins = < | |
| 156 | + MX6UL_PAD_GPIO1_IO00__ANATOP_OTG1_ID 0x17059 | |
| 157 | + >; | |
| 158 | + }; | |
| 159 | + | |
| 160 | + pinctrl_usdhc1: usdhc1grp { | |
| 161 | + fsl,pins = < | |
| 162 | + MX6UL_PAD_SD1_CMD__USDHC1_CMD 0x17059 | |
| 163 | + MX6UL_PAD_SD1_CLK__USDHC1_CLK 0x10059 | |
| 164 | + MX6UL_PAD_SD1_DATA0__USDHC1_DATA0 0x17059 | |
| 165 | + MX6UL_PAD_SD1_DATA1__USDHC1_DATA1 0x17059 | |
| 166 | + MX6UL_PAD_SD1_DATA2__USDHC1_DATA2 0x17059 | |
| 167 | + MX6UL_PAD_SD1_DATA3__USDHC1_DATA3 0x17059 | |
| 168 | + MX6UL_PAD_UART1_RTS_B__GPIO1_IO19 0x17059 | |
| 169 | + >; | |
| 170 | + }; | |
| 171 | + | |
| 172 | + pinctrl_usdhc1_100mhz: usdhc1grp100mhz { | |
| 173 | + fsl,pins = < | |
| 174 | + MX6UL_PAD_SD1_CMD__USDHC1_CMD 0x170b9 | |
| 175 | + MX6UL_PAD_SD1_CLK__USDHC1_CLK 0x100b9 | |
| 176 | + MX6UL_PAD_SD1_DATA0__USDHC1_DATA0 0x170b9 | |
| 177 | + MX6UL_PAD_SD1_DATA1__USDHC1_DATA1 0x170b9 | |
| 178 | + MX6UL_PAD_SD1_DATA2__USDHC1_DATA2 0x170b9 | |
| 179 | + MX6UL_PAD_SD1_DATA3__USDHC1_DATA3 0x170b9 | |
| 180 | + >; | |
| 181 | + }; | |
| 182 | + | |
| 183 | + pinctrl_usdhc1_200mhz: usdhc1grp200mhz { | |
| 184 | + fsl,pins = < | |
| 185 | + MX6UL_PAD_SD1_CMD__USDHC1_CMD 0x170f9 | |
| 186 | + MX6UL_PAD_SD1_CLK__USDHC1_CLK 0x100f9 | |
| 187 | + MX6UL_PAD_SD1_DATA0__USDHC1_DATA0 0x170f9 | |
| 188 | + MX6UL_PAD_SD1_DATA1__USDHC1_DATA1 0x170f9 | |
| 189 | + MX6UL_PAD_SD1_DATA2__USDHC1_DATA2 0x170f9 | |
| 190 | + MX6UL_PAD_SD1_DATA3__USDHC1_DATA3 0x170f9 | |
| 191 | + >; | |
| 192 | + }; | |
| 193 | + | |
| 194 | + pinctrl_usdhc2: usdhc2grp { | |
| 195 | + fsl,pins = < | |
| 196 | + MX6UL_PAD_NAND_RE_B__USDHC2_CLK 0x10069 | |
| 197 | + MX6UL_PAD_NAND_WE_B__USDHC2_CMD 0x17059 | |
| 198 | + MX6UL_PAD_NAND_DATA00__USDHC2_DATA0 0x17059 | |
| 199 | + MX6UL_PAD_NAND_DATA01__USDHC2_DATA1 0x17059 | |
| 200 | + MX6UL_PAD_NAND_DATA02__USDHC2_DATA2 0x17059 | |
| 201 | + MX6UL_PAD_NAND_DATA03__USDHC2_DATA3 0x17059 | |
| 202 | + MX6UL_PAD_NAND_DATA04__USDHC2_DATA4 0x17059 | |
| 203 | + MX6UL_PAD_NAND_DATA05__USDHC2_DATA5 0x17059 | |
| 204 | + MX6UL_PAD_NAND_DATA06__USDHC2_DATA6 0x17059 | |
| 205 | + MX6UL_PAD_NAND_DATA07__USDHC2_DATA7 0x17059 | |
| 206 | + >; | |
| 207 | + }; | |
| 208 | + | |
| 209 | + pinctrl_usdhc2_100mhz: usdhc2grp100mhz { | |
| 210 | + fsl,pins = < | |
| 211 | + MX6UL_PAD_NAND_RE_B__USDHC2_CLK 0x100b9 | |
| 212 | + MX6UL_PAD_NAND_WE_B__USDHC2_CMD 0x170b9 | |
| 213 | + MX6UL_PAD_NAND_DATA00__USDHC2_DATA0 0x170b9 | |
| 214 | + MX6UL_PAD_NAND_DATA01__USDHC2_DATA1 0x170b9 | |
| 215 | + MX6UL_PAD_NAND_DATA02__USDHC2_DATA2 0x170b9 | |
| 216 | + MX6UL_PAD_NAND_DATA03__USDHC2_DATA3 0x170b9 | |
| 217 | + MX6UL_PAD_NAND_DATA04__USDHC2_DATA4 0x170b9 | |
| 218 | + MX6UL_PAD_NAND_DATA05__USDHC2_DATA5 0x170b9 | |
| 219 | + MX6UL_PAD_NAND_DATA06__USDHC2_DATA6 0x170b9 | |
| 220 | + MX6UL_PAD_NAND_DATA07__USDHC2_DATA7 0x170b9 | |
| 221 | + >; | |
| 222 | + }; | |
| 223 | + | |
| 224 | + pinctrl_usdhc2_200mhz: usdhc2grp200mhz { | |
| 225 | + fsl,pins = < | |
| 226 | + MX6UL_PAD_NAND_RE_B__USDHC2_CLK 0x100f9 | |
| 227 | + MX6UL_PAD_NAND_WE_B__USDHC2_CMD 0x170f9 | |
| 228 | + MX6UL_PAD_NAND_DATA00__USDHC2_DATA0 0x170f9 | |
| 229 | + MX6UL_PAD_NAND_DATA01__USDHC2_DATA1 0x170f9 | |
| 230 | + MX6UL_PAD_NAND_DATA02__USDHC2_DATA2 0x170f9 | |
| 231 | + MX6UL_PAD_NAND_DATA03__USDHC2_DATA3 0x170f9 | |
| 232 | + MX6UL_PAD_NAND_DATA04__USDHC2_DATA4 0x170f9 | |
| 233 | + MX6UL_PAD_NAND_DATA05__USDHC2_DATA5 0x170f9 | |
| 234 | + MX6UL_PAD_NAND_DATA06__USDHC2_DATA6 0x170f9 | |
| 235 | + MX6UL_PAD_NAND_DATA07__USDHC2_DATA7 0x170f9 | |
| 236 | + >; | |
| 237 | + }; | |
| 238 | +}; | |
| @@ -147,16 +147,6 @@ · 146 unmodified lines | ||
| 147 | 147 | }; |
| 148 | 148 | }; |
| 149 | 149 | |
| 150 | − tempmon: tempmon { | |
| 151 | − compatible = "fsl,imx7d-tempmon"; | |
| 152 | − interrupt-parent = <&gpc>; | |
| 153 | − interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>; | |
| 154 | − fsl,tempmon = <&anatop>; | |
| 155 | − nvmem-cells = <&tempmon_calib>, <&fuse_grade>; | |
| 156 | − nvmem-cell-names = "calib", "temp_grade"; | |
| 157 | − clocks = <&clks IMX7D_PLL_SYS_MAIN_CLK>; | |
| 158 | − }; | |
| 159 | − | |
| 160 | 150 | timer { |
| 161 | 151 | compatible = "arm,armv7-timer"; |
| 162 | 152 | interrupt-parent = <&intc>; |
| @@ -536,7 +526,7 @@ · 373 unmodified lines | ||
| 536 | 526 | }; |
| 537 | 527 | }; |
| 538 | 528 | |
| 539 | − ocotp: ocotp-ctrl@30350000 { | |
| 529 | + ocotp: efuse@30350000 { | |
| 540 | 530 | #address-cells = <1>; |
| 541 | 531 | #size-cells = <1>; |
| 542 | 532 | compatible = "fsl,imx7d-ocotp", "syscon"; |
| @@ -586,6 +576,16 @@ · 43 unmodified lines | ||
| 586 | 576 | anatop-max-voltage = <1300000>; |
| 587 | 577 | anatop-enable-bit = <0>; |
| 588 | 578 | }; |
| 579 | + | |
| 580 | + tempmon: tempmon { | |
| 581 | + compatible = "fsl,imx7d-tempmon"; | |
| 582 | + interrupt-parent = <&gpc>; | |
| 583 | + interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>; | |
| 584 | + fsl,tempmon = <&anatop>; | |
| 585 | + nvmem-cells = <&tempmon_calib>, <&fuse_grade>; | |
| 586 | + nvmem-cell-names = "calib", "temp_grade"; | |
| 587 | + clocks = <&clks IMX7D_PLL_SYS_MAIN_CLK>; | |
| 588 | + }; | |
| 589 | 589 | }; |
| 590 | 590 | |
| 591 | 591 | snvs: snvs@30370000 { |
| @@ -1126,7 +1126,7 @@ · 534 unmodified lines | ||
| 1126 | 1126 | reg = <0x30b30200 0x200>; |
| 1127 | 1127 | }; |
| 1128 | 1128 | |
| 1129 | − usdhc1: usdhc@30b40000 { | |
| 1129 | + usdhc1: mmc@30b40000 { | |
| 1130 | 1130 | compatible = "fsl,imx7d-usdhc", "fsl,imx6sl-usdhc"; |
| 1131 | 1131 | reg = <0x30b40000 0x10000>; |
| 1132 | 1132 | interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -1138,7 +1138,7 @@ · 5 unmodified lines | ||
| 1138 | 1138 | status = "disabled"; |
| 1139 | 1139 | }; |
| 1140 | 1140 | |
| 1141 | − usdhc2: usdhc@30b50000 { | |
| 1141 | + usdhc2: mmc@30b50000 { | |
| 1142 | 1142 | compatible = "fsl,imx7d-usdhc", "fsl,imx6sl-usdhc"; |
| 1143 | 1143 | reg = <0x30b50000 0x10000>; |
| 1144 | 1144 | interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -1150,7 +1150,7 @@ · 5 unmodified lines | ||
| 1150 | 1150 | status = "disabled"; |
| 1151 | 1151 | }; |
| 1152 | 1152 | |
| 1153 | − usdhc3: usdhc@30b60000 { | |
| 1153 | + usdhc3: mmc@30b60000 { | |
| 1154 | 1154 | compatible = "fsl,imx7d-usdhc", "fsl,imx6sl-usdhc"; |
| 1155 | 1155 | reg = <0x30b60000 0x10000>; |
| 1156 | 1156 | interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -452,7 +452,7 @@ · 451 unmodified lines | ||
| 452 | 452 | reg = <0x410a3000 0x1000>; |
| 453 | 453 | }; |
| 454 | 454 | |
| 455 | − ocotp: ocotp-ctrl@410a6000 { | |
| 455 | + ocotp: efuse@410a6000 { | |
| 456 | 456 | compatible = "fsl,imx7ulp-ocotp", "syscon"; |
| 457 | 457 | reg = <0x410a6000 0x4000>; |
| 458 | 458 | clocks = <&scg1 IMX7ULP_CLK_DUMMY>; |
| @@ -9,7 +9,7 @@ · 8 unmodified lines | ||
| 9 | 9 | * L2 cache. If your B3 silently fails to boot, u-boot is probably too |
| 10 | 10 | * old. Either upgrade, or consider the following email: |
| 11 | 11 | * |
| 12 | − * http://lists.debian.org/debian-arm/2012/08/msg00128.html | |
| 12 | + * https://lists.debian.org/debian-arm/2012/08/msg00128.html | |
| 13 | 13 | */ |
| 14 | 14 | |
| 15 | 15 | /dts-v1/; |
| @@ -59,6 +59,7 @@ · 58 unmodified lines | ||
| 59 | 59 | ethernet0 = &enet0; |
| 60 | 60 | ethernet1 = &enet1; |
| 61 | 61 | ethernet2 = &enet2; |
| 62 | + rtc1 = &ftm_alarm0; | |
| 62 | 63 | serial0 = &lpuart0; |
| 63 | 64 | serial1 = &lpuart1; |
| 64 | 65 | serial2 = &lpuart2; |
| @@ -772,7 +773,7 @@ · 707 unmodified lines | ||
| 772 | 773 | fsl,tmr-prsc = <2>; |
| 773 | 774 | fsl,tmr-add = <0xaaaaaaab>; |
| 774 | 775 | fsl,tmr-fiper1 = <999999995>; |
| 775 | − fsl,tmr-fiper2 = <99990>; | |
| 776 | + fsl,tmr-fiper2 = <999999995>; | |
| 776 | 777 | fsl,max-adj = <499999999>; |
| 777 | 778 | fsl,extts-fifo; |
| 778 | 779 | }; |
| @@ -1002,5 +1003,19 @@ · 223 unmodified lines | ||
| 1002 | 1003 | big-endian; |
| 1003 | 1004 | }; |
| 1004 | 1005 | |
| 1006 | + rcpm: power-controller@1ee2140 { | |
| 1007 | + compatible = "fsl,ls1021a-rcpm", "fsl,qoriq-rcpm-2.1+"; | |
| 1008 | + reg = <0x0 0x1ee2140 0x0 0x8>; | |
| 1009 | + #fsl,rcpm-wakeup-cells = <2>; | |
| 1010 | + }; | |
| 1011 | + | |
| 1012 | + ftm_alarm0: timer0@29d0000 { | |
| 1013 | + compatible = "fsl,ls1021a-ftm-alarm"; | |
| 1014 | + reg = <0x0 0x29d0000 0x0 0x10000>; | |
| 1015 | + reg-names = "ftm"; | |
| 1016 | + fsl,rcpm-wakeup = <&rcpm 0x20000 0x0>; | |
| 1017 | + interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>; | |
| 1018 | + big-endian; | |
| 1019 | + }; | |
| 1005 | 1020 | }; |
| 1006 | 1021 | }; |
| @@ -140,6 +140,13 @@ · 139 unmodified lines | ||
| 140 | 140 | status = "disabled"; |
| 141 | 141 | }; |
| 142 | 142 | |
| 143 | + sdhc: mmc@8e00 { | |
| 144 | + compatible = "amlogic,meson-mx-sdhc"; | |
| 145 | + reg = <0x8e00 0x42>; | |
| 146 | + interrupts = <GIC_SPI 78 IRQ_TYPE_EDGE_RISING>; | |
| 147 | + status = "disabled"; | |
| 148 | + }; | |
| 149 | + | |
| 143 | 150 | gpio_intc: interrupt-controller@9880 { |
| 144 | 151 | compatible = "amlogic,meson-gpio-intc"; |
| 145 | 152 | reg = <0x9880 0x10>; |
| @@ -6,6 +6,7 @@ · 5 unmodified lines | ||
| 6 | 6 | #include <dt-bindings/clock/meson8-ddr-clkc.h> |
| 7 | 7 | #include <dt-bindings/clock/meson8b-clkc.h> |
| 8 | 8 | #include <dt-bindings/gpio/meson8-gpio.h> |
| 9 | +#include <dt-bindings/power/meson8-power.h> | |
| 9 | 10 | #include <dt-bindings/reset/amlogic,meson8b-clkc-reset.h> |
| 10 | 11 | #include <dt-bindings/reset/amlogic,meson8b-reset.h> |
| 11 | 12 | #include "meson.dtsi" |
| @@ -385,6 +386,15 @@ · 373 unmodified lines | ||
| 385 | 386 | }; |
| 386 | 387 | }; |
| 387 | 388 | |
| 389 | + sdxc_b_pins: sdxc-b { | |
| 390 | + mux { | |
| 391 | + groups = "sdxc_d0_b", "sdxc_d13_b", | |
| 392 | + "sdxc_clk_b", "sdxc_cmd_b"; | |
| 393 | + function = "sdxc_b"; | |
| 394 | + bias-pull-up; | |
| 395 | + }; | |
| 396 | + }; | |
| 397 | + | |
| 388 | 398 | spi_nor_pins: nor { |
| 389 | 399 | mux { |
| 390 | 400 | groups = "nor_d", "nor_q", "nor_c", "nor_cs"; |
| @@ -454,6 +464,8 @@ · 63 unmodified lines | ||
| 454 | 464 | ðmac { |
| 455 | 465 | clocks = <&clkc CLKID_ETH>; |
| 456 | 466 | clock-names = "stmmaceth"; |
| 467 | + | |
| 468 | + power-domains = <&pwrc PWRC_MESON8_ETHERNET_MEM_ID>; | |
| 457 | 469 | }; |
| 458 | 470 | |
| 459 | 471 | &gpio_intc { |
| @@ -469,6 +481,16 @@ · 9 unmodified lines | ||
| 469 | 481 | #clock-cells = <1>; |
| 470 | 482 | #reset-cells = <1>; |
| 471 | 483 | }; |
| 484 | + | |
| 485 | + pwrc: power-controller { | |
| 486 | + compatible = "amlogic,meson8-pwrc"; | |
| 487 | + #power-domain-cells = <1>; | |
| 488 | + amlogic,ao-sysctrl = <&pmu>; | |
| 489 | + clocks = <&clkc CLKID_VPU>; | |
| 490 | + clock-names = "vpu"; | |
| 491 | + assigned-clocks = <&clkc CLKID_VPU>; | |
| 492 | + assigned-clock-rates = <364285714>; | |
| 493 | + }; | |
| 472 | 494 | }; |
| 473 | 495 | |
| 474 | 496 | &hwrng { |
| @@ -547,6 +569,16 @@ · 72 unmodified lines | ||
| 547 | 569 | nvmem-cell-names = "temperature_calib"; |
| 548 | 570 | }; |
| 549 | 571 | |
| 572 | +&sdhc { | |
| 573 | + compatible = "amlogic,meson8-sdhc", "amlogic,meson-mx-sdhc"; | |
| 574 | + clocks = <&xtal>, | |
| 575 | + <&clkc CLKID_FCLK_DIV4>, | |
| 576 | + <&clkc CLKID_FCLK_DIV3>, | |
| 577 | + <&clkc CLKID_FCLK_DIV5>, | |
| 578 | + <&clkc CLKID_SDHC>; | |
| 579 | + clock-names = "clkin0", "clkin1", "clkin2", "clkin3", "pclk"; | |
| 580 | +}; | |
| 581 | + | |
| 550 | 582 | &sdio { |
| 551 | 583 | compatible = "amlogic,meson8-sdio", "amlogic,meson-mx-sdio"; |
| 552 | 584 | clocks = <&clkc CLKID_SDIO>, <&clkc CLKID_CLK81>; |
| @@ -27,6 +27,11 @@ · 26 unmodified lines | ||
| 27 | 27 | reg = <0x40000000 0x40000000>; |
| 28 | 28 | }; |
| 29 | 29 | |
| 30 | + emmc_pwrseq: emmc-pwrseq { | |
| 31 | + compatible = "mmc-pwrseq-emmc"; | |
| 32 | + reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>; | |
| 33 | + }; | |
| 34 | + | |
| 30 | 35 | gpio-keys { |
| 31 | 36 | compatible = "gpio-keys-polled"; |
| 32 | 37 | #address-cells = <1>; |
| @@ -299,6 +304,26 @@ · 266 unmodified lines | ||
| 299 | 304 | vref-supply = <&vcc_1v8>; |
| 300 | 305 | }; |
| 301 | 306 | |
| 307 | +&sdhc { | |
| 308 | + status = "okay"; | |
| 309 | + | |
| 310 | + pinctrl-0 = <&sdxc_c_pins>; | |
| 311 | + pinctrl-names = "default"; | |
| 312 | + | |
| 313 | + bus-width = <8>; | |
| 314 | + max-frequency = <50000000>; | |
| 315 | + | |
| 316 | + cap-mmc-highspeed; | |
| 317 | + disable-wp; | |
| 318 | + non-removable; | |
| 319 | + no-sdio; | |
| 320 | + | |
| 321 | + mmc-pwrseq = <&emmc_pwrseq>; | |
| 322 | + | |
| 323 | + vmmc-supply = <&vcc_3v3>; | |
| 324 | + vqmmc-supply = <&vcc_3v3>; | |
| 325 | +}; | |
| 326 | + | |
| 302 | 327 | &sdio { |
| 303 | 328 | status = "okay"; |
| 304 | 329 | |
| @@ -15,6 +15,7 @@ · 14 unmodified lines | ||
| 15 | 15 | aliases { |
| 16 | 16 | serial0 = &uart_AO; |
| 17 | 17 | mmc0 = &sd_card_slot; |
| 18 | + mmc1 = &sdhc; | |
| 18 | 19 | }; |
| 19 | 20 | |
| 20 | 21 | chosen { |
| @@ -26,6 +27,11 @@ · 5 unmodified lines | ||
| 26 | 27 | reg = <0x40000000 0x40000000>; |
| 27 | 28 | }; |
| 28 | 29 | |
| 30 | + emmc_pwrseq: emmc-pwrseq { | |
| 31 | + compatible = "mmc-pwrseq-emmc"; | |
| 32 | + reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>; | |
| 33 | + }; | |
| 34 | + | |
| 29 | 35 | leds { |
| 30 | 36 | compatible = "gpio-leds"; |
| 31 | 37 | blue { |
| @@ -310,6 +316,26 @@ · 278 unmodified lines | ||
| 310 | 316 | vref-supply = <&vcc_1v8>; |
| 311 | 317 | }; |
| 312 | 318 | |
| 319 | +&sdhc { | |
| 320 | + status = "okay"; | |
| 321 | + | |
| 322 | + pinctrl-0 = <&sdxc_c_pins>; | |
| 323 | + pinctrl-names = "default"; | |
| 324 | + | |
| 325 | + bus-width = <8>; | |
| 326 | + max-frequency = <100000000>; | |
| 327 | + | |
| 328 | + disable-wp; | |
| 329 | + cap-mmc-highspeed; | |
| 330 | + mmc-hs200-1_8v; | |
| 331 | + no-sdio; | |
| 332 | + | |
| 333 | + mmc-pwrseq = <&emmc_pwrseq>; | |
| 334 | + | |
| 335 | + vmmc-supply = <&vcc_3v3>; | |
| 336 | + vqmmc-supply = <&vcc_1v8>; | |
| 337 | +}; | |
| 338 | + | |
| 313 | 339 | &sdio { |
| 314 | 340 | status = "okay"; |
| 315 | 341 | |
| @@ -7,6 +7,7 @@ · 6 unmodified lines | ||
| 7 | 7 | #include <dt-bindings/clock/meson8-ddr-clkc.h> |
| 8 | 8 | #include <dt-bindings/clock/meson8b-clkc.h> |
| 9 | 9 | #include <dt-bindings/gpio/meson8b-gpio.h> |
| 10 | +#include <dt-bindings/power/meson8-power.h> | |
| 10 | 11 | #include <dt-bindings/reset/amlogic,meson8b-reset.h> |
| 11 | 12 | #include <dt-bindings/reset/amlogic,meson8b-clkc-reset.h> |
| 12 | 13 | #include "meson.dtsi" |
| @@ -362,6 +363,16 @@ · 349 unmodified lines | ||
| 362 | 363 | }; |
| 363 | 364 | }; |
| 364 | 365 | |
| 366 | + sdxc_c_pins: sdxc-c { | |
| 367 | + mux { | |
| 368 | + groups = "sdxc_d0_c", "sdxc_d13_c", | |
| 369 | + "sdxc_d47_c", "sdxc_clk_c", | |
| 370 | + "sdxc_cmd_c"; | |
| 371 | + function = "sdxc_c"; | |
| 372 | + bias-pull-up; | |
| 373 | + }; | |
| 374 | + }; | |
| 375 | + | |
| 365 | 376 | pwm_c1_pins: pwm-c1 { |
| 366 | 377 | mux { |
| 367 | 378 | groups = "pwm_c1"; |
| @@ -433,6 +444,8 @@ · 65 unmodified lines | ||
| 433 | 444 | |
| 434 | 445 | resets = <&reset RESET_ETHERNET>; |
| 435 | 446 | reset-names = "stmmaceth"; |
| 447 | + | |
| 448 | + power-domains = <&pwrc PWRC_MESON8_ETHERNET_MEM_ID>; | |
| 436 | 449 | }; |
| 437 | 450 | |
| 438 | 451 | &gpio_intc { |
| @@ -449,6 +462,30 @@ · 10 unmodified lines | ||
| 449 | 462 | #clock-cells = <1>; |
| 450 | 463 | #reset-cells = <1>; |
| 451 | 464 | }; |
| 465 | + | |
| 466 | + pwrc: power-controller { | |
| 467 | + compatible = "amlogic,meson8b-pwrc"; | |
| 468 | + #power-domain-cells = <1>; | |
| 469 | + amlogic,ao-sysctrl = <&pmu>; | |
| 470 | + resets = <&reset RESET_DBLK>, | |
| 471 | + <&reset RESET_PIC_DC>, | |
| 472 | + <&reset RESET_HDMI_APB>, | |
| 473 | + <&reset RESET_HDMI_SYSTEM_RESET>, | |
| 474 | + <&reset RESET_VENCI>, | |
| 475 | + <&reset RESET_VENCP>, | |
| 476 | + <&reset RESET_VDAC_4>, | |
| 477 | + <&reset RESET_VENCL>, | |
| 478 | + <&reset RESET_VIU>, | |
| 479 | + <&reset RESET_VENC>, | |
| 480 | + <&reset RESET_RDMA>; | |
| 481 | + reset-names = "dblk", "pic_dc", "hdmi_apb", "hdmi_system", | |
| 482 | + "venci", "vencp", "vdac", "vencl", "viu", | |
| 483 | + "venc", "rdma"; | |
| 484 | + clocks = <&clkc CLKID_VPU>; | |
| 485 | + clock-names = "vpu"; | |
| 486 | + assigned-clocks = <&clkc CLKID_VPU>; | |
| 487 | + assigned-clock-rates = <182142857>; | |
| 488 | + }; | |
| 452 | 489 | }; |
| 453 | 490 | |
| 454 | 491 | &hwrng { |
| @@ -527,6 +564,16 @@ · 72 unmodified lines | ||
| 527 | 564 | nvmem-cell-names = "temperature_calib"; |
| 528 | 565 | }; |
| 529 | 566 | |
| 567 | +&sdhc { | |
| 568 | + compatible = "amlogic,meson8-sdhc", "amlogic,meson-mx-sdhc"; | |
| 569 | + clocks = <&xtal>, | |
| 570 | + <&clkc CLKID_FCLK_DIV4>, | |
| 571 | + <&clkc CLKID_FCLK_DIV3>, | |
| 572 | + <&clkc CLKID_FCLK_DIV5>, | |
| 573 | + <&clkc CLKID_SDHC>; | |
| 574 | + clock-names = "clkin0", "clkin1", "clkin2", "clkin3", "pclk"; | |
| 575 | +}; | |
| 576 | + | |
| 530 | 577 | &sdio { |
| 531 | 578 | compatible = "amlogic,meson8b-sdio", "amlogic,meson-mx-sdio"; |
| 532 | 579 | clocks = <&clkc CLKID_SDIO>, <&clkc CLKID_CLK81>; |
| @@ -61,10 +61,33 @@ · 60 unmodified lines | ||
| 61 | 61 | }; |
| 62 | 62 | }; |
| 63 | 63 | |
| 64 | +&pwrc { | |
| 65 | + compatible = "amlogic,meson8m2-pwrc"; | |
| 66 | + resets = <&reset RESET_DBLK>, | |
| 67 | + <&reset RESET_PIC_DC>, | |
| 68 | + <&reset RESET_HDMI_APB>, | |
| 69 | + <&reset RESET_HDMI_SYSTEM_RESET>, | |
| 70 | + <&reset RESET_VENCI>, | |
| 71 | + <&reset RESET_VENCP>, | |
| 72 | + <&reset RESET_VDAC_4>, | |
| 73 | + <&reset RESET_VENCL>, | |
| 74 | + <&reset RESET_VIU>, | |
| 75 | + <&reset RESET_VENC>, | |
| 76 | + <&reset RESET_RDMA>; | |
| 77 | + reset-names = "dblk", "pic_dc", "hdmi_apb", "hdmi_system", "venci", | |
| 78 | + "vencp", "vdac", "vencl", "viu", "venc", "rdma"; | |
| 79 | + assigned-clocks = <&clkc CLKID_VPU>; | |
| 80 | + assigned-clock-rates = <364000000>; | |
| 81 | +}; | |
| 82 | + | |
| 64 | 83 | &saradc { |
| 65 | 84 | compatible = "amlogic,meson8m2-saradc", "amlogic,meson-saradc"; |
| 66 | 85 | }; |
| 67 | 86 | |
| 87 | +&sdhc { | |
| 88 | + compatible = "amlogic,meson8m2-sdhc", "amlogic,meson-mx-sdhc"; | |
| 89 | +}; | |
| 90 | + | |
| 68 | 91 | &usb0_phy { |
| 69 | 92 | compatible = "amlogic,meson8m2-usb2-phy", "amlogic,meson-mx-usb2-phy"; |
| 70 | 93 | }; |
| @@ -57,30 +57,12 @@ · 56 unmodified lines | ||
| 57 | 57 | linux,code = <SW_TABLET_MODE>; |
| 58 | 58 | wakeup-source; |
| 59 | 59 | }; |
| 60 | − | |
| 61 | − microphone_insert { | |
| 62 | − label = "Microphone Plug"; | |
| 63 | − gpios = <&gpio 96 GPIO_ACTIVE_HIGH>; | |
| 64 | − linux,input-type = <EV_SW>; | |
| 65 | − linux,code = <SW_MICROPHONE_INSERT>; | |
| 66 | − debounce-interval = <100>; | |
| 67 | − wakeup-source; | |
| 68 | − }; | |
| 69 | − | |
| 70 | − headphone_insert { | |
| 71 | − label = "Headphone Plug"; | |
| 72 | − gpios = <&gpio 97 GPIO_ACTIVE_HIGH>; | |
| 73 | − linux,input-type = <EV_SW>; | |
| 74 | − linux,code = <SW_HEADPHONE_INSERT>; | |
| 75 | − debounce-interval = <100>; | |
| 76 | − wakeup-source; | |
| 77 | − }; | |
| 78 | 60 | }; |
| 79 | 61 | |
| 80 | − camera_i2c { | |
| 62 | + i2c { | |
| 81 | 63 | compatible = "i2c-gpio"; |
| 82 | − gpios = <&gpio 109 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>, | |
| 83 | − <&gpio 108 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; | |
| 64 | + sda-gpios = <&gpio 109 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; | |
| 65 | + scl-gpios = <&gpio 108 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; | |
| 84 | 66 | #address-cells = <1>; |
| 85 | 67 | #size-cells = <0>; |
| 86 | 68 | i2c-gpio,timeout-ms = <1000>; |
| @@ -123,6 +105,18 @@ · 36 unmodified lines | ||
| 123 | 105 | reset-gpios = <&gpio 58 GPIO_ACTIVE_HIGH>; |
| 124 | 106 | }; |
| 125 | 107 | |
| 108 | + sound-card { | |
| 109 | + compatible = "audio-graph-card"; | |
| 110 | + label = "OLPC XO"; | |
| 111 | + dais = <&sspa0_dai>; | |
| 112 | + routing = "Headphones", "HPOL", | |
| 113 | + "Headphones", "HPOR", | |
| 114 | + "MIC2", "Mic Jack"; | |
| 115 | + widgets = "Headphone", "Headphones", "Microphone", "Mic Jack"; | |
| 116 | + hp-det-gpio = <&gpio 97 GPIO_ACTIVE_HIGH>; | |
| 117 | + mic-det-gpio = <&gpio 96 GPIO_ACTIVE_HIGH>; | |
| 118 | + }; | |
| 119 | + | |
| 126 | 120 | soc { |
| 127 | 121 | axi@d4200000 { |
| 128 | 122 | ap-sp@d4290000 { |
| @@ -197,6 +191,14 @@ · 68 unmodified lines | ||
| 197 | 191 | compatible = "realtek,alc5631"; |
| 198 | 192 | reg = <0x1a>; |
| 199 | 193 | status = "okay"; |
| 194 | + | |
| 195 | + port { | |
| 196 | + rt5631_0: endpoint { | |
| 197 | + mclk-fs = <256>; | |
| 198 | + clocks = <&audio_clk 0>; | |
| 199 | + remote-endpoint = <&sspa0_0>; | |
| 200 | + }; | |
| 201 | + }; | |
| 200 | 202 | }; |
| 201 | 203 | }; |
| 202 | 204 | |
| @@ -221,7 +223,8 @@ · 18 unmodified lines | ||
| 221 | 223 | }; |
| 222 | 224 | |
| 223 | 225 | &ssp3 { |
| 224 | − #address-cells = <0>; | |
| 226 | + /delete-property/ #address-cells; | |
| 227 | + /delete-property/ #size-cells; | |
| 225 | 228 | spi-slave; |
| 226 | 229 | status = "okay"; |
| 227 | 230 | ready-gpio = <&gpio 125 GPIO_ACTIVE_HIGH>; |
| @@ -242,3 +245,34 @@ · 14 unmodified lines | ||
| 242 | 245 | }; |
| 243 | 246 | }; |
| 244 | 247 | }; |
| 248 | + | |
| 249 | +&asram { | |
| 250 | + status = "okay"; | |
| 251 | +}; | |
| 252 | + | |
| 253 | +&adma0 { | |
| 254 | + status = "okay"; | |
| 255 | +}; | |
| 256 | + | |
| 257 | +&audio_clk { | |
| 258 | + status = "okay"; | |
| 259 | +}; | |
| 260 | + | |
| 261 | +&sspa0 { | |
| 262 | + status = "okay"; | |
| 263 | + dmas = <&adma0 0>, <&adma0 1>; | |
| 264 | + dma-names = "tx", "rx"; | |
| 265 | + | |
| 266 | + sspa0_dai: port { | |
| 267 | + sspa0_0: endpoint { | |
| 268 | + remote-endpoint = <&rt5631_0>; | |
| 269 | + frame-master; | |
| 270 | + bitclock-master; | |
| 271 | + dai-format = "i2s"; | |
| 272 | + }; | |
| 273 | + }; | |
| 274 | +}; | |
| 275 | + | |
| 276 | +&gpu { | |
| 277 | + status = "okay"; | |
| 278 | +}; | |
| @@ -5,6 +5,7 @@ · 4 unmodified lines | ||
| 5 | 5 | */ |
| 6 | 6 | |
| 7 | 7 | #include <dt-bindings/clock/marvell,mmp2.h> |
| 8 | +#include <dt-bindings/power/marvell,mmp2.h> | |
| 8 | 9 | |
| 9 | 10 | / { |
| 10 | 11 | #address-cells = <1>; |
| @@ -38,6 +39,17 @@ · 27 unmodified lines | ||
| 38 | 39 | reg = <0xd4200000 0x00200000>; |
| 39 | 40 | ranges; |
| 40 | 41 | |
| 42 | + gpu: gpu@d420d000 { | |
| 43 | + compatible = "vivante,gc"; | |
| 44 | + reg = <0xd420d000 0x4000>; | |
| 45 | + interrupts = <8>; | |
| 46 | + status = "disabled"; | |
| 47 | + clocks = <&soc_clocks MMP2_CLK_GPU_3D>, | |
| 48 | + <&soc_clocks MMP2_CLK_GPU_BUS>; | |
| 49 | + clock-names = "core", "bus"; | |
| 50 | + power-domains = <&soc_clocks MMP2_POWER_DOMAIN_GPU>; | |
| 51 | + }; | |
| 52 | + | |
| 41 | 53 | intc: interrupt-controller@d4282000 { |
| 42 | 54 | compatible = "mrvl,mmp2-intc"; |
| 43 | 55 | interrupt-controller; |
| @@ -192,6 +204,63 @@ · 148 unmodified lines | ||
| 192 | 204 | clock-output-names = "mclk"; |
| 193 | 205 | status = "disabled"; |
| 194 | 206 | }; |
| 207 | + | |
| 208 | + adma0: dma-controller@d42a0800 { | |
| 209 | + compatible = "marvell,adma-1.0"; | |
| 210 | + reg = <0xd42a0800 0x100>; | |
| 211 | + interrupts = <48>; | |
| 212 | + #dma-cells = <1>; | |
| 213 | + asram = <&asram>; | |
| 214 | + iram = <&asram>; | |
| 215 | + status = "disabled"; | |
| 216 | + }; | |
| 217 | + | |
| 218 | + adma1: dma-controller@d42a0900 { | |
| 219 | + compatible = "marvell,adma-1.0"; | |
| 220 | + reg = <0xd42a0900 0x100>; | |
| 221 | + interrupts = <48>; | |
| 222 | + #dma-cells = <1>; | |
| 223 | + status = "disabled"; | |
| 224 | + }; | |
| 225 | + | |
| 226 | + audio_clk: clocks@d42a0c30 { | |
| 227 | + compatible = "marvell,mmp2-audio-clock"; | |
| 228 | + reg = <0xd42a0c30 0x10>; | |
| 229 | + clock-names = "audio", "vctcxo", "i2s0", "i2s1"; | |
| 230 | + clocks = <&soc_clocks MMP2_CLK_AUDIO>, | |
| 231 | + <&soc_clocks MMP2_CLK_VCTCXO>, | |
| 232 | + <&soc_clocks MMP2_CLK_I2S0>, | |
| 233 | + <&soc_clocks MMP2_CLK_I2S1>; | |
| 234 | + power-domains = <&soc_clocks MMP2_POWER_DOMAIN_AUDIO>; | |
| 235 | + #clock-cells = <1>; | |
| 236 | + status = "disabled"; | |
| 237 | + }; | |
| 238 | + | |
| 239 | + sspa0: audio-controller@d42a0c00 { | |
| 240 | + compatible = "marvell,mmp-sspa"; | |
| 241 | + reg = <0xd42a0c00 0x30>, | |
| 242 | + <0xd42a0c80 0x30>; | |
| 243 | + interrupts = <2>; | |
| 244 | + clock-names = "audio", "bitclk"; | |
| 245 | + clocks = <&soc_clocks MMP2_CLK_AUDIO>, | |
| 246 | + <&audio_clk 1>; | |
| 247 | + power-domains = <&soc_clocks MMP2_POWER_DOMAIN_AUDIO>; | |
| 248 | + #sound-dai-cells = <0>; | |
| 249 | + status = "disabled"; | |
| 250 | + }; | |
| 251 | + | |
| 252 | + sspa1: audio-controller@d42a0d00 { | |
| 253 | + compatible = "marvell,mmp-sspa"; | |
| 254 | + reg = <0xd42a0d00 0x30>, | |
| 255 | + <0xd42a0d80 0x30>; | |
| 256 | + interrupts = <3>; | |
| 257 | + clock-names = "audio", "bitclk"; | |
| 258 | + clocks = <&soc_clocks MMP2_CLK_AUDIO>, | |
| 259 | + <&audio_clk 2>; | |
| 260 | + power-domains = <&soc_clocks MMP2_POWER_DOMAIN_AUDIO>; | |
| 261 | + #sound-dai-cells = <0>; | |
| 262 | + status = "disabled"; | |
| 263 | + }; | |
| 195 | 264 | }; |
| 196 | 265 | |
| 197 | 266 | apb@d4000000 { /* APB */ |
| @@ -201,6 +270,14 @@ · 3 unmodified lines | ||
| 201 | 270 | reg = <0xd4000000 0x00200000>; |
| 202 | 271 | ranges; |
| 203 | 272 | |
| 273 | + dma-controller@d4000000 { | |
| 274 | + compatible = "marvell,pdma-1.0"; | |
| 275 | + reg = <0xd4000000 0x10000>; | |
| 276 | + interrupts = <48>; | |
| 277 | + #dma-channels = <16>; | |
| 278 | + status = "disabled"; | |
| 279 | + }; | |
| 280 | + | |
| 204 | 281 | timer0: timer@d4014000 { |
| 205 | 282 | compatible = "mrvl,mmp-timer"; |
| 206 | 283 | reg = <0xd4014000 0x100>; |
| @@ -413,14 +490,24 @@ · 206 unmodified lines | ||
| 413 | 490 | }; |
| 414 | 491 | }; |
| 415 | 492 | |
| 493 | + asram: sram@e0000000 { | |
| 494 | + compatible = "mmio-sram"; | |
| 495 | + reg = <0xe0000000 0x10000>; | |
| 496 | + ranges = <0 0xe0000000 0x10000>; | |
| 497 | + #address-cells = <1>; | |
| 498 | + #size-cells = <1>; | |
| 499 | + status = "disabled"; | |
| 500 | + }; | |
| 501 | + | |
| 416 | 502 | soc_clocks: clocks { |
| 417 | 503 | compatible = "marvell,mmp2-clock"; |
| 418 | − reg = <0xd4050000 0x1000>, | |
| 504 | + reg = <0xd4050000 0x2000>, | |
| 419 | 505 | <0xd4282800 0x400>, |
| 420 | 506 | <0xd4015000 0x1000>; |
| 421 | 507 | reg-names = "mpmu", "apmu", "apbc"; |
| 422 | 508 | #clock-cells = <1>; |
| 423 | 509 | #reset-cells = <1>; |
| 510 | + #power-domain-cells = <1>; | |
| 424 | 511 | }; |
| 425 | 512 | }; |
| 426 | 513 | }; |
| @@ -114,3 +114,11 @@ · 113 unmodified lines | ||
| 114 | 114 | cs-gpios = <&gpio 56 GPIO_ACTIVE_LOW>; |
| 115 | 115 | status = "okay"; |
| 116 | 116 | }; |
| 117 | + | |
| 118 | +&gpu_2d { | |
| 119 | + status = "okay"; | |
| 120 | +}; | |
| 121 | + | |
| 122 | +&gpu_3d { | |
| 123 | + status = "okay"; | |
| 124 | +}; | |
| @@ -4,6 +4,7 @@ · 3 unmodified lines | ||
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | #include <dt-bindings/clock/marvell,mmp2.h> |
| 7 | +#include <dt-bindings/power/marvell,mmp2.h> | |
| 7 | 8 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
| 8 | 9 | |
| 9 | 10 | / { |
| @@ -310,6 +311,30 @@ · 300 unmodified lines | ||
| 310 | 311 | clock-output-names = "mclk"; |
| 311 | 312 | status = "disabled"; |
| 312 | 313 | }; |
| 314 | + | |
| 315 | + gpu_3d: gpu@d420d000 { | |
| 316 | + compatible = "vivante,gc"; | |
| 317 | + reg = <0xd420d000 0x2000>; | |
| 318 | + interrupt-parent = <&gpu_mux>; | |
| 319 | + interrupts = <0>; | |
| 320 | + status = "disabled"; | |
| 321 | + clocks = <&soc_clocks MMP3_CLK_GPU_3D>, | |
| 322 | + <&soc_clocks MMP3_CLK_GPU_BUS>; | |
| 323 | + clock-names = "core", "bus"; | |
| 324 | + power-domains = <&soc_clocks MMP2_POWER_DOMAIN_GPU>; | |
| 325 | + }; | |
| 326 | + | |
| 327 | + gpu_2d: gpu@d420f000 { | |
| 328 | + compatible = "vivante,gc"; | |
| 329 | + reg = <0xd420f000 0x2000>; | |
| 330 | + interrupt-parent = <&gpu_mux>; | |
| 331 | + interrupts = <2>; | |
| 332 | + status = "disabled"; | |
| 333 | + clocks = <&soc_clocks MMP3_CLK_GPU_2D>, | |
| 334 | + <&soc_clocks MMP3_CLK_GPU_BUS>; | |
| 335 | + clock-names = "core", "bus"; | |
| 336 | + power-domains = <&soc_clocks MMP2_POWER_DOMAIN_GPU>; | |
| 337 | + }; | |
| 313 | 338 | }; |
| 314 | 339 | |
| 315 | 340 | apb@d4000000 { |
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | /* |
| 2 | 2 | * Device Tree Source for OMAP2 SoC |
| 3 | 3 | * |
| 4 | − * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ | |
| 4 | + * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/ | |
| 5 | 5 | * |
| 6 | 6 | * This file is licensed under the terms of the GNU General Public License |
| 7 | 7 | * version 2. This program is licensed "as is" without any warranty of any |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | /dts-v1/; |
| 6 | 6 | |
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | /* |
| 2 | 2 | * Device Tree Source for OMAP2420 SoC |
| 3 | 3 | * |
| 4 | − * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ | |
| 4 | + * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ | |
| 5 | 5 | * |
| 6 | 6 | * This file is licensed under the terms of the GNU General Public License |
| 7 | 7 | * version 2. This program is licensed "as is" without any warranty of any |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | /dts-v1/; |
| 6 | 6 | |
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | /* |
| 2 | 2 | * Device Tree Source for OMAP243x SoC |
| 3 | 3 | * |
| 4 | − * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ | |
| 4 | + * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ | |
| 5 | 5 | * |
| 6 | 6 | * This file is licensed under the terms of the GNU General Public License |
| 7 | 7 | * version 2. This program is licensed "as is" without any warranty of any |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | #include "omap3-beagle-xm.dts" |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | /dts-v1/; |
| 6 | 6 | |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | /dts-v1/; |
| 6 | 6 | |
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | /* |
| 2 | 2 | * Device Tree Source for OMAP3 SoC CPU thermal |
| 3 | 3 | * |
| 4 | − * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/ | |
| 4 | + * Copyright (C) 2017 Texas Instruments Incorporated - https://www.ti.com/ | |
| 5 | 5 | * |
| 6 | 6 | * This file is licensed under the terms of the GNU General Public License |
| 7 | 7 | * version 2. This program is licensed "as is" without any warranty of any |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | /dts-v1/; |
| 6 | 6 | |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | /dts-v1/; |
| 6 | 6 | |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | * Copyright (C) 2014 Stefan Roese <sr@denx.de> |
| 5 | 5 | */ |
| 6 | 6 | |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | * Copyright (C) 2014 Stefan Roese <sr@denx.de> |
| 5 | 5 | */ |
| 6 | 6 | |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | * Copyright (C) 2014 Stefan Roese <sr@denx.de> |
| 5 | 5 | */ |
| 6 | 6 | |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | /dts-v1/; |
| 6 | 6 | |
| @@ -19,7 +19,11 @@ · 18 unmodified lines | ||
| 19 | 19 | * but it is not widely used and to prevent kernel crash rather AES is disabled. |
| 20 | 20 | * There is also no runtime detection code if AES is disabled in L3 firewall... |
| 21 | 21 | */ |
| 22 | −&aes { | |
| 22 | +&aes1_target { | |
| 23 | + status = "disabled"; | |
| 24 | +}; | |
| 25 | + | |
| 26 | +&aes2_target { | |
| 23 | 27 | status = "disabled"; |
| 24 | 28 | }; |
| 25 | 29 | |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | * Copyright (C) 2014 Stefan Roese <sr@denx.de> |
| 5 | 5 | */ |
| 6 | 6 | /dts-v1/; |
| @@ -8,7 +8,11 @@ · 1 unmodified line | ||
| 8 | 8 | #include "omap34xx.dtsi" |
| 9 | 9 | |
| 10 | 10 | /* Secure omaps have some devices inaccessible depending on the firmware */ |
| 11 | −&aes { | |
| 11 | +&aes1_target { | |
| 12 | + status = "disabled"; | |
| 13 | +}; | |
| 14 | + | |
| 15 | +&aes2_target { | |
| 12 | 16 | status = "disabled"; |
| 13 | 17 | }; |
| 14 | 18 | |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | * Copyright (C) 2014 Stefan Roese <sr@denx.de> |
| 5 | 5 | */ |
| 6 | 6 | |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | /dts-v1/; |
| 6 | 6 | |
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | /* |
| 2 | 2 | * Device Tree Source for OMAP3 SoC |
| 3 | 3 | * |
| 4 | − * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ | |
| 4 | + * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/ | |
| 5 | 5 | * |
| 6 | 6 | * This file is licensed under the terms of the GNU General Public License |
| 7 | 7 | * version 2. This program is licensed "as is" without any warranty of any |
| @@ -157,13 +157,56 @@ · 149 unmodified lines | ||
| 157 | 157 | }; |
| 158 | 158 | }; |
| 159 | 159 | |
| 160 | − aes: aes@480c5000 { | |
| 161 | − compatible = "ti,omap3-aes"; | |
| 162 | − ti,hwmods = "aes"; | |
| 163 | − reg = <0x480c5000 0x50>; | |
| 164 | − interrupts = <0>; | |
| 165 | − dmas = <&sdma 65 &sdma 66>; | |
| 166 | − dma-names = "tx", "rx"; | |
| 160 | + aes1_target: target-module@480a6000 { | |
| 161 | + compatible = "ti,sysc-omap2", "ti,sysc"; | |
| 162 | + reg = <0x480a6044 0x4>, | |
| 163 | + <0x480a6048 0x4>, | |
| 164 | + <0x480a604c 0x4>; | |
| 165 | + reg-names = "rev", "sysc", "syss"; | |
| 166 | + ti,sysc-mask = <(SYSC_OMAP2_AUTOIDLE)>; | |
| 167 | + ti,sysc-sidle = <SYSC_IDLE_FORCE>, | |
| 168 | + <SYSC_IDLE_NO>, | |
| 169 | + <SYSC_IDLE_SMART>; | |
| 170 | + ti,syss-mask = <1>; | |
| 171 | + clocks = <&aes1_ick>; | |
| 172 | + clock-names = "ick"; | |
| 173 | + #address-cells = <1>; | |
| 174 | + #size-cells = <1>; | |
| 175 | + ranges = <0 0x480a6000 0x2000>; | |
| 176 | + | |
| 177 | + aes1: aes1@0 { | |
| 178 | + compatible = "ti,omap3-aes"; | |
| 179 | + reg = <0 0x50>; | |
| 180 | + interrupts = <0>; | |
| 181 | + dmas = <&sdma 9 &sdma 10>; | |
| 182 | + dma-names = "tx", "rx"; | |
| 183 | + }; | |
| 184 | + }; | |
| 185 | + | |
| 186 | + aes2_target: target-module@480c5000 { | |
| 187 | + compatible = "ti,sysc-omap2", "ti,sysc"; | |
| 188 | + reg = <0x480c5044 0x4>, | |
| 189 | + <0x480c5048 0x4>, | |
| 190 | + <0x480c504c 0x4>; | |
| 191 | + reg-names = "rev", "sysc", "syss"; | |
| 192 | + ti,sysc-mask = <(SYSC_OMAP2_AUTOIDLE)>; | |
| 193 | + ti,sysc-sidle = <SYSC_IDLE_FORCE>, | |
| 194 | + <SYSC_IDLE_NO>, | |
| 195 | + <SYSC_IDLE_SMART>; | |
| 196 | + ti,syss-mask = <1>; | |
| 197 | + clocks = <&aes2_ick>; | |
| 198 | + clock-names = "ick"; | |
| 199 | + #address-cells = <1>; | |
| 200 | + #size-cells = <1>; | |
| 201 | + ranges = <0 0x480c5000 0x2000>; | |
| 202 | + | |
| 203 | + aes2: aes2@0 { | |
| 204 | + compatible = "ti,omap3-aes"; | |
| 205 | + reg = <0 0x50>; | |
| 206 | + interrupts = <0>; | |
| 207 | + dmas = <&sdma 65 &sdma 66>; | |
| 208 | + dma-names = "tx", "rx"; | |
| 209 | + }; | |
| 167 | 210 | }; |
| 168 | 211 | |
| 169 | 212 | prm: prm@48306000 { |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | /dts-v1/; |
| 6 | 6 | |
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | /* |
| 2 | 2 | * Device Tree Source for OMAP34xx/OMAP35xx SoC |
| 3 | 3 | * |
| 4 | − * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | |
| 4 | + * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ | |
| 5 | 5 | * |
| 6 | 6 | * This file is licensed under the terms of the GNU General Public License |
| 7 | 7 | * version 2. This program is licensed "as is" without any warranty of any |
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | /* |
| 2 | 2 | * Device Tree Source for OMAP3 SoC |
| 3 | 3 | * |
| 4 | − * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ | |
| 4 | + * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ | |
| 5 | 5 | * |
| 6 | 6 | * This file is licensed under the terms of the GNU General Public License |
| 7 | 7 | * version 2. This program is licensed "as is" without any warranty of any |
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | /* |
| 2 | 2 | * Device Tree Source for OMAP4/5 SoC CPU thermal |
| 3 | 3 | * |
| 4 | − * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | |
| 4 | + * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ | |
| 5 | 5 | * Contact: Eduardo Valentin <eduardo.valentin@ti.com> |
| 6 | 6 | * |
| 7 | 7 | * This file is licensed under the terms of the GNU General Public License |
| @@ -333,8 +333,9 @@ · 332 unmodified lines | ||
| 333 | 333 | compatible = "ti,omap4430-timer"; |
| 334 | 334 | reg = <0x00000000 0x80>, |
| 335 | 335 | <0x49038000 0x80>; |
| 336 | − clocks = <&abe_clkctrl OMAP4_TIMER5_CLKCTRL 24>; | |
| 337 | − clock-names = "fck"; | |
| 336 | + clocks = <&abe_clkctrl OMAP4_TIMER5_CLKCTRL 24>, | |
| 337 | + <&syc_clk_div_ck>; | |
| 338 | + clock-names = "fck", "timer_sys_ck"; | |
| 338 | 339 | interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; |
| 339 | 340 | ti,timer-dsp; |
| 340 | 341 | }; |
| @@ -363,8 +364,9 @@ · 22 unmodified lines | ||
| 363 | 364 | compatible = "ti,omap4430-timer"; |
| 364 | 365 | reg = <0x00000000 0x80>, |
| 365 | 366 | <0x4903a000 0x80>; |
| 366 | − clocks = <&abe_clkctrl OMAP4_TIMER6_CLKCTRL 24>; | |
| 367 | − clock-names = "fck"; | |
| 367 | + clocks = <&abe_clkctrl OMAP4_TIMER6_CLKCTRL 24>, | |
| 368 | + <&syc_clk_div_ck>; | |
| 369 | + clock-names = "fck", "timer_sys_ck"; | |
| 368 | 370 | interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>; |
| 369 | 371 | ti,timer-dsp; |
| 370 | 372 | }; |
| @@ -393,8 +395,9 @@ · 22 unmodified lines | ||
| 393 | 395 | compatible = "ti,omap4430-timer"; |
| 394 | 396 | reg = <0x00000000 0x80>, |
| 395 | 397 | <0x4903c000 0x80>; |
| 396 | − clocks = <&abe_clkctrl OMAP4_TIMER7_CLKCTRL 24>; | |
| 397 | − clock-names = "fck"; | |
| 398 | + clocks = <&abe_clkctrl OMAP4_TIMER7_CLKCTRL 24>, | |
| 399 | + <&syc_clk_div_ck>; | |
| 400 | + clock-names = "fck", "timer_sys_ck"; | |
| 398 | 401 | interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>; |
| 399 | 402 | ti,timer-dsp; |
| 400 | 403 | }; |
| @@ -423,8 +426,9 @@ · 22 unmodified lines | ||
| 423 | 426 | compatible = "ti,omap4430-timer"; |
| 424 | 427 | reg = <0x00000000 0x80>, |
| 425 | 428 | <0x4903e000 0x80>; |
| 426 | − clocks = <&abe_clkctrl OMAP4_TIMER8_CLKCTRL 24>; | |
| 427 | − clock-names = "fck"; | |
| 429 | + clocks = <&abe_clkctrl OMAP4_TIMER8_CLKCTRL 24>, | |
| 430 | + <&syc_clk_div_ck>; | |
| 431 | + clock-names = "fck", "timer_sys_ck"; | |
| 428 | 432 | interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>; |
| 429 | 433 | ti,timer-pwm; |
| 430 | 434 | ti,timer-dsp; |
| @@ -240,7 +240,6 @@ · 239 unmodified lines | ||
| 240 | 240 | |
| 241 | 241 | target-module@62000 { /* 0x4a062000, ap 11 16.0 */ |
| 242 | 242 | compatible = "ti,sysc-omap2", "ti,sysc"; |
| 243 | − ti,hwmods = "usb_tll_hs"; | |
| 244 | 243 | reg = <0x62000 0x4>, |
| 245 | 244 | <0x62010 0x4>, |
| 246 | 245 | <0x62014 0x4>; |
| @@ -268,7 +267,6 @@ · 21 unmodified lines | ||
| 268 | 267 | |
| 269 | 268 | target-module@64000 { /* 0x4a064000, ap 86 1e.0 */ |
| 270 | 269 | compatible = "ti,sysc-omap4", "ti,sysc"; |
| 271 | − ti,hwmods = "usb_host_hs"; | |
| 272 | 270 | reg = <0x64000 0x4>, |
| 273 | 271 | <0x64010 0x4>, |
| 274 | 272 | <0x64014 0x4>; |
| @@ -1163,8 +1161,9 @@ · 888 unmodified lines | ||
| 1163 | 1161 | timer1: timer@0 { |
| 1164 | 1162 | compatible = "ti,omap3430-timer"; |
| 1165 | 1163 | reg = <0x0 0x80>; |
| 1166 | − clocks = <&l4_wkup_clkctrl OMAP4_TIMER1_CLKCTRL 24>; | |
| 1167 | − clock-names = "fck"; | |
| 1164 | + clocks = <&l4_wkup_clkctrl OMAP4_TIMER1_CLKCTRL 24>, | |
| 1165 | + <&sys_clkin_ck>; | |
| 1166 | + clock-names = "fck", "timer_sys_ck"; | |
| 1168 | 1167 | interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; |
| 1169 | 1168 | ti,timer-alwon; |
| 1170 | 1169 | }; |
| @@ -1439,8 +1438,9 @@ · 268 unmodified lines | ||
| 1439 | 1438 | timer2: timer@0 { |
| 1440 | 1439 | compatible = "ti,omap3430-timer"; |
| 1441 | 1440 | reg = <0x0 0x80>; |
| 1442 | − clocks = <&l4_per_clkctrl OMAP4_TIMER2_CLKCTRL 24>; | |
| 1443 | − clock-names = "fck"; | |
| 1441 | + clocks = <&l4_per_clkctrl OMAP4_TIMER2_CLKCTRL 24>, | |
| 1442 | + <&sys_clkin_ck>; | |
| 1443 | + clock-names = "fck", "timer_sys_ck"; | |
| 1444 | 1444 | interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>; |
| 1445 | 1445 | }; |
| 1446 | 1446 | }; |
| @@ -1466,8 +1466,9 @@ · 19 unmodified lines | ||
| 1466 | 1466 | timer3: timer@0 { |
| 1467 | 1467 | compatible = "ti,omap4430-timer"; |
| 1468 | 1468 | reg = <0x0 0x80>; |
| 1469 | − clocks = <&l4_per_clkctrl OMAP4_TIMER3_CLKCTRL 24>; | |
| 1470 | − clock-names = "fck"; | |
| 1469 | + clocks = <&l4_per_clkctrl OMAP4_TIMER3_CLKCTRL 24>, | |
| 1470 | + <&sys_clkin_ck>; | |
| 1471 | + clock-names = "fck", "timer_sys_ck"; | |
| 1471 | 1472 | interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>; |
| 1472 | 1473 | }; |
| 1473 | 1474 | }; |
| @@ -1493,8 +1494,9 @@ · 19 unmodified lines | ||
| 1493 | 1494 | timer4: timer@0 { |
| 1494 | 1495 | compatible = "ti,omap4430-timer"; |
| 1495 | 1496 | reg = <0x0 0x80>; |
| 1496 | − clocks = <&l4_per_clkctrl OMAP4_TIMER4_CLKCTRL 24>; | |
| 1497 | − clock-names = "fck"; | |
| 1497 | + clocks = <&l4_per_clkctrl OMAP4_TIMER4_CLKCTRL 24>, | |
| 1498 | + <&sys_clkin_ck>; | |
| 1499 | + clock-names = "fck", "timer_sys_ck"; | |
| 1498 | 1500 | interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>; |
| 1499 | 1501 | }; |
| 1500 | 1502 | }; |
| @@ -1520,8 +1522,9 @@ · 19 unmodified lines | ||
| 1520 | 1522 | timer9: timer@0 { |
| 1521 | 1523 | compatible = "ti,omap4430-timer"; |
| 1522 | 1524 | reg = <0x0 0x80>; |
| 1523 | − clocks = <&l4_per_clkctrl OMAP4_TIMER9_CLKCTRL 24>; | |
| 1524 | − clock-names = "fck"; | |
| 1525 | + clocks = <&l4_per_clkctrl OMAP4_TIMER9_CLKCTRL 24>, | |
| 1526 | + <&sys_clkin_ck>; | |
| 1527 | + clock-names = "fck", "timer_sys_ck"; | |
| 1525 | 1528 | interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>; |
| 1526 | 1529 | ti,timer-pwm; |
| 1527 | 1530 | }; |
| @@ -1954,8 +1957,9 @@ · 426 unmodified lines | ||
| 1954 | 1957 | timer10: timer@0 { |
| 1955 | 1958 | compatible = "ti,omap3430-timer"; |
| 1956 | 1959 | reg = <0x0 0x80>; |
| 1957 | − clocks = <&l4_per_clkctrl OMAP4_TIMER10_CLKCTRL 24>; | |
| 1958 | − clock-names = "fck"; | |
| 1960 | + clocks = <&l4_per_clkctrl OMAP4_TIMER10_CLKCTRL 24>, | |
| 1961 | + <&sys_clkin_ck>; | |
| 1962 | + clock-names = "fck", "timer_sys_ck"; | |
| 1959 | 1963 | interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>; |
| 1960 | 1964 | ti,timer-pwm; |
| 1961 | 1965 | }; |
| @@ -1982,8 +1986,9 @@ · 20 unmodified lines | ||
| 1982 | 1986 | timer11: timer@0 { |
| 1983 | 1987 | compatible = "ti,omap4430-timer"; |
| 1984 | 1988 | reg = <0x0 0x80>; |
| 1985 | − clocks = <&l4_per_clkctrl OMAP4_TIMER11_CLKCTRL 24>; | |
| 1986 | − clock-names = "fck"; | |
| 1989 | + clocks = <&l4_per_clkctrl OMAP4_TIMER11_CLKCTRL 24>, | |
| 1990 | + <&sys_clkin_ck>; | |
| 1991 | + clock-names = "fck", "timer_sys_ck"; | |
| 1987 | 1992 | interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>; |
| 1988 | 1993 | ti,timer-pwm; |
| 1989 | 1994 | }; |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | /dts-v1/; |
| 6 | 6 | |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2011-2013 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2011-2013 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | #include <dt-bindings/input/input.h> |
| 6 | 6 | #include "elpida_ecb240abacn.dtsi" |
| @@ -12,6 +12,26 @@ · 5 unmodified lines | ||
| 12 | 12 | reg = <0x80000000 0x40000000>; /* 1 GB */ |
| 13 | 13 | }; |
| 14 | 14 | |
| 15 | + reserved-memory { | |
| 16 | + #address-cells = <1>; | |
| 17 | + #size-cells = <1>; | |
| 18 | + ranges; | |
| 19 | + | |
| 20 | + dsp_memory_region: dsp-memory@98000000 { | |
| 21 | + compatible = "shared-dma-pool"; | |
| 22 | + reg = <0x98000000 0x800000>; | |
| 23 | + reusable; | |
| 24 | + status = "okay"; | |
| 25 | + }; | |
| 26 | + | |
| 27 | + ipu_memory_region: ipu-memory@98800000 { | |
| 28 | + compatible = "shared-dma-pool"; | |
| 29 | + reg = <0x98800000 0x7000000>; | |
| 30 | + reusable; | |
| 31 | + status = "okay"; | |
| 32 | + }; | |
| 33 | + }; | |
| 34 | + | |
| 15 | 35 | chosen { |
| 16 | 36 | stdout-path = &uart3; |
| 17 | 37 | }; |
| @@ -571,3 +591,17 @@ · 553 unmodified lines | ||
| 571 | 591 | }; |
| 572 | 592 | }; |
| 573 | 593 | }; |
| 594 | + | |
| 595 | +&dsp { | |
| 596 | + status = "okay"; | |
| 597 | + memory-region = <&dsp_memory_region>; | |
| 598 | + ti,timers = <&timer5>; | |
| 599 | + ti,watchdog-timers = <&timer6>; | |
| 600 | +}; | |
| 601 | + | |
| 602 | +&ipu { | |
| 603 | + status = "okay"; | |
| 604 | + memory-region = <&ipu_memory_region>; | |
| 605 | + ti,timers = <&timer3>; | |
| 606 | + ti,watchdog-timers = <&timer9>, <&timer11>; | |
| 607 | +}; | |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | /dts-v1/; |
| 6 | 6 | |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | /dts-v1/; |
| 6 | 6 | |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | #include "omap4-sdp.dts" |
| 6 | 6 | |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | /dts-v1/; |
| 6 | 6 | |
| @@ -428,7 +428,7 @@ · 421 unmodified lines | ||
| 428 | 428 | |
| 429 | 429 | /* |
| 430 | 430 | * Temperature Sensor |
| 431 | − * http://www.ti.com/lit/ds/symlink/tmp105.pdf | |
| 431 | + * https://www.ti.com/lit/ds/symlink/tmp105.pdf | |
| 432 | 432 | */ |
| 433 | 433 | tmp105@48 { |
| 434 | 434 | compatible = "ti,tmp105"; |
| @@ -453,7 +453,7 @@ · 18 unmodified lines | ||
| 453 | 453 | |
| 454 | 454 | /* |
| 455 | 455 | * 3-Axis Digital Compass |
| 456 | − * http://www.sparkfun.com/datasheets/Sensors/Magneto/HMC5843.pdf | |
| 456 | + * https://www.sparkfun.com/datasheets/Sensors/Magneto/HMC5843.pdf | |
| 457 | 457 | */ |
| 458 | 458 | hmc5843@1e { |
| 459 | 459 | compatible = "honeywell,hmc5843"; |
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | 3 | * Copyright (C) 2014 Joachim Eastwood <manabian@gmail.com> |
| 4 | − * Copyright (C) 2012 Variscite Ltd. - http://www.variscite.com | |
| 4 | + * Copyright (C) 2012 Variscite Ltd. - https://www.variscite.com | |
| 5 | 5 | */ |
| 6 | 6 | #include "omap4460.dtsi" |
| 7 | 7 | #include "omap4-mcpdm.dtsi" |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | #include <dt-bindings/bus/ti-sysc.h> |
| @@ -26,6 +26,8 @@ · 19 unmodified lines | ||
| 26 | 26 | serial1 = &uart2; |
| 27 | 27 | serial2 = &uart3; |
| 28 | 28 | serial3 = &uart4; |
| 29 | + rproc0 = &dsp; | |
| 30 | + rproc1 = &ipu; | |
| 29 | 31 | }; |
| 30 | 32 | |
| 31 | 33 | cpus { |
| @@ -71,7 +73,7 @@ · 39 unmodified lines | ||
| 71 | 73 | interrupt-parent = <&gic>; |
| 72 | 74 | }; |
| 73 | 75 | |
| 74 | − L2: l2-cache-controller@48242000 { | |
| 76 | + L2: cache-controller@48242000 { | |
| 75 | 77 | compatible = "arm,pl310-cache"; |
| 76 | 78 | reg = <0x48242000 0x1000>; |
| 77 | 79 | cache-unified; |
| @@ -106,10 +108,6 @@ · 28 unmodified lines | ||
| 106 | 108 | sram = <&ocmcram>; |
| 107 | 109 | }; |
| 108 | 110 | |
| 109 | − dsp { | |
| 110 | − compatible = "ti,omap3-c64"; | |
| 111 | − }; | |
| 112 | − | |
| 113 | 111 | iva { |
| 114 | 112 | compatible = "ti,ivahd"; |
| 115 | 113 | ti,hwmods = "iva"; |
| @@ -277,6 +275,29 @@ · 161 unmodified lines | ||
| 277 | 275 | hw-caps-temp-alert; |
| 278 | 276 | }; |
| 279 | 277 | |
| 278 | + dsp: dsp { | |
| 279 | + compatible = "ti,omap4-dsp"; | |
| 280 | + ti,bootreg = <&scm_conf 0x304 0>; | |
| 281 | + iommus = <&mmu_dsp>; | |
| 282 | + resets = <&prm_tesla 0>; | |
| 283 | + clocks = <&tesla_clkctrl OMAP4_DSP_CLKCTRL 0>; | |
| 284 | + firmware-name = "omap4-dsp-fw.xe64T"; | |
| 285 | + mboxes = <&mailbox &mbox_dsp>; | |
| 286 | + status = "disabled"; | |
| 287 | + }; | |
| 288 | + | |
| 289 | + ipu: ipu@55020000 { | |
| 290 | + compatible = "ti,omap4-ipu"; | |
| 291 | + reg = <0x55020000 0x10000>; | |
| 292 | + reg-names = "l2ram"; | |
| 293 | + iommus = <&mmu_ipu>; | |
| 294 | + resets = <&prm_core 0>, <&prm_core 1>; | |
| 295 | + clocks = <&ducati_clkctrl OMAP4_IPU_CLKCTRL 0>; | |
| 296 | + firmware-name = "omap4-ipu-fw.xem3"; | |
| 297 | + mboxes = <&mailbox &mbox_ipu>; | |
| 298 | + status = "disabled"; | |
| 299 | + }; | |
| 300 | + | |
| 280 | 301 | aes1_target: target-module@4b501000 { |
| 281 | 302 | compatible = "ti,sysc-omap2", "ti,sysc"; |
| 282 | 303 | reg = <0x4b501080 0x4>, |
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | /* |
| 2 | 2 | * Device Tree Source for OMAP443x SoC |
| 3 | 3 | * |
| 4 | − * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | |
| 4 | + * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ | |
| 5 | 5 | * |
| 6 | 6 | * This file is licensed under the terms of the GNU General Public License |
| 7 | 7 | * version 2. This program is licensed "as is" without any warranty of any |
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | /* |
| 2 | 2 | * Device Tree Source for OMAP4460 SoC |
| 3 | 3 | * |
| 4 | − * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ | |
| 4 | + * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ | |
| 5 | 5 | * |
| 6 | 6 | * This file is licensed under the terms of the GNU General Public License |
| 7 | 7 | * version 2. This program is licensed "as is" without any warranty of any |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | #include "omap5.dtsi" |
| 6 | 6 | #include <dt-bindings/interrupt-controller/irq.h> |
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | /* |
| 2 | 2 | * Device Tree Source for OMAP543x SoC CORE thermal |
| 3 | 3 | * |
| 4 | − * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | |
| 4 | + * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ | |
| 5 | 5 | * Contact: Eduardo Valentin <eduardo.valentin@ti.com> |
| 6 | 6 | * |
| 7 | 7 | * This file is licensed under the terms of the GNU General Public License |
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | /* |
| 2 | 2 | * Device Tree Source for OMAP543x SoC GPU thermal |
| 3 | 3 | * |
| 4 | − * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | |
| 4 | + * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ | |
| 5 | 5 | * Contact: Eduardo Valentin <eduardo.valentin@ti.com> |
| 6 | 6 | * |
| 7 | 7 | * This file is licensed under the terms of the GNU General Public License |
| @@ -298,8 +298,9 @@ · 297 unmodified lines | ||
| 298 | 298 | compatible = "ti,omap5430-timer"; |
| 299 | 299 | reg = <0x0 0x80>, |
| 300 | 300 | <0x49038000 0x80>; |
| 301 | − clocks = <&abe_clkctrl OMAP5_TIMER5_CLKCTRL 24>; | |
| 302 | − clock-names = "fck"; | |
| 301 | + clocks = <&abe_clkctrl OMAP5_TIMER5_CLKCTRL 24>, | |
| 302 | + <&dss_syc_gfclk_div>; | |
| 303 | + clock-names = "fck", "timer_sys_ck"; | |
| 303 | 304 | interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; |
| 304 | 305 | ti,timer-dsp; |
| 305 | 306 | ti,timer-pwm; |
| @@ -329,8 +330,9 @@ · 23 unmodified lines | ||
| 329 | 330 | compatible = "ti,omap5430-timer"; |
| 330 | 331 | reg = <0x0 0x80>, |
| 331 | 332 | <0x4903a000 0x80>; |
| 332 | − clocks = <&abe_clkctrl OMAP5_TIMER6_CLKCTRL 24>; | |
| 333 | − clock-names = "fck"; | |
| 333 | + clocks = <&abe_clkctrl OMAP5_TIMER6_CLKCTRL 24>, | |
| 334 | + <&dss_syc_gfclk_div>; | |
| 335 | + clock-names = "fck", "timer_sys_ck"; | |
| 334 | 336 | interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>; |
| 335 | 337 | ti,timer-dsp; |
| 336 | 338 | ti,timer-pwm; |
| @@ -360,8 +362,9 @@ · 23 unmodified lines | ||
| 360 | 362 | compatible = "ti,omap5430-timer"; |
| 361 | 363 | reg = <0x0 0x80>, |
| 362 | 364 | <0x4903c000 0x80>; |
| 363 | − clocks = <&abe_clkctrl OMAP5_TIMER7_CLKCTRL 24>; | |
| 364 | − clock-names = "fck"; | |
| 365 | + clocks = <&abe_clkctrl OMAP5_TIMER7_CLKCTRL 24>, | |
| 366 | + <&dss_syc_gfclk_div>; | |
| 367 | + clock-names = "fck", "timer_sys_ck"; | |
| 365 | 368 | interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>; |
| 366 | 369 | ti,timer-dsp; |
| 367 | 370 | }; |
| @@ -390,8 +393,9 @@ · 22 unmodified lines | ||
| 390 | 393 | compatible = "ti,omap5430-timer"; |
| 391 | 394 | reg = <0x0 0x80>, |
| 392 | 395 | <0x4903e000 0x80>; |
| 393 | − clocks = <&abe_clkctrl OMAP5_TIMER8_CLKCTRL 24>; | |
| 394 | − clock-names = "fck"; | |
| 396 | + clocks = <&abe_clkctrl OMAP5_TIMER8_CLKCTRL 24>, | |
| 397 | + <&dss_syc_gfclk_div>; | |
| 398 | + clock-names = "fck", "timer_sys_ck"; | |
| 395 | 399 | interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>; |
| 396 | 400 | ti,timer-dsp; |
| 397 | 401 | ti,timer-pwm; |
| @@ -167,7 +167,6 @@ · 166 unmodified lines | ||
| 167 | 167 | |
| 168 | 168 | target-module@20000 { /* 0x4a020000, ap 109 08.0 */ |
| 169 | 169 | compatible = "ti,sysc-omap4", "ti,sysc"; |
| 170 | − ti,hwmods = "usb_otg_ss"; | |
| 171 | 170 | reg = <0x20000 0x4>, |
| 172 | 171 | <0x20010 0x4>; |
| 173 | 172 | reg-names = "rev", "sysc"; |
| @@ -269,7 +268,6 @@ · 95 unmodified lines | ||
| 269 | 268 | |
| 270 | 269 | target-module@62000 { /* 0x4a062000, ap 11 0e.0 */ |
| 271 | 270 | compatible = "ti,sysc-omap2", "ti,sysc"; |
| 272 | − ti,hwmods = "usb_tll_hs"; | |
| 273 | 271 | reg = <0x62000 0x4>, |
| 274 | 272 | <0x62010 0x4>, |
| 275 | 273 | <0x62014 0x4>; |
| @@ -298,7 +296,6 @@ · 22 unmodified lines | ||
| 298 | 296 | |
| 299 | 297 | target-module@64000 { /* 0x4a064000, ap 71 1e.0 */ |
| 300 | 298 | compatible = "ti,sysc-omap4", "ti,sysc"; |
| 301 | − ti,hwmods = "usb_host_hs"; | |
| 302 | 299 | reg = <0x64000 0x4>, |
| 303 | 300 | <0x64010 0x4>; |
| 304 | 301 | reg-names = "rev", "sysc"; |
| @@ -1082,8 +1079,9 @@ · 777 unmodified lines | ||
| 1082 | 1079 | timer2: timer@0 { |
| 1083 | 1080 | compatible = "ti,omap5430-timer"; |
| 1084 | 1081 | reg = <0x0 0x80>; |
| 1085 | − clocks = <&l4per_clkctrl OMAP5_TIMER2_CLKCTRL 24>; | |
| 1086 | − clock-names = "fck"; | |
| 1082 | + clocks = <&l4per_clkctrl OMAP5_TIMER2_CLKCTRL 24>, | |
| 1083 | + <&sys_clkin>; | |
| 1084 | + clock-names = "fck", "timer_sys_ck"; | |
| 1087 | 1085 | interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>; |
| 1088 | 1086 | }; |
| 1089 | 1087 | }; |
| @@ -1109,8 +1107,9 @@ · 19 unmodified lines | ||
| 1109 | 1107 | timer3: timer@0 { |
| 1110 | 1108 | compatible = "ti,omap5430-timer"; |
| 1111 | 1109 | reg = <0x0 0x80>; |
| 1112 | − clocks = <&l4per_clkctrl OMAP5_TIMER3_CLKCTRL 24>; | |
| 1113 | − clock-names = "fck"; | |
| 1110 | + clocks = <&l4per_clkctrl OMAP5_TIMER3_CLKCTRL 24>, | |
| 1111 | + <&sys_clkin>; | |
| 1112 | + clock-names = "fck", "timer_sys_ck"; | |
| 1114 | 1113 | interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>; |
| 1115 | 1114 | }; |
| 1116 | 1115 | }; |
| @@ -1136,8 +1135,9 @@ · 19 unmodified lines | ||
| 1136 | 1135 | timer4: timer@0 { |
| 1137 | 1136 | compatible = "ti,omap5430-timer"; |
| 1138 | 1137 | reg = <0x0 0x80>; |
| 1139 | − clocks = <&l4per_clkctrl OMAP5_TIMER4_CLKCTRL 24>; | |
| 1140 | − clock-names = "fck"; | |
| 1138 | + clocks = <&l4per_clkctrl OMAP5_TIMER4_CLKCTRL 24>, | |
| 1139 | + <&sys_clkin>; | |
| 1140 | + clock-names = "fck", "timer_sys_ck"; | |
| 1141 | 1141 | interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>; |
| 1142 | 1142 | }; |
| 1143 | 1143 | }; |
| @@ -1163,8 +1163,9 @@ · 19 unmodified lines | ||
| 1163 | 1163 | timer9: timer@0 { |
| 1164 | 1164 | compatible = "ti,omap5430-timer"; |
| 1165 | 1165 | reg = <0x0 0x80>; |
| 1166 | − clocks = <&l4per_clkctrl OMAP5_TIMER9_CLKCTRL 24>; | |
| 1167 | − clock-names = "fck"; | |
| 1166 | + clocks = <&l4per_clkctrl OMAP5_TIMER9_CLKCTRL 24>, | |
| 1167 | + <&sys_clkin>; | |
| 1168 | + clock-names = "fck", "timer_sys_ck"; | |
| 1168 | 1169 | interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>; |
| 1169 | 1170 | ti,timer-pwm; |
| 1170 | 1171 | }; |
| @@ -1730,8 +1731,9 @@ · 559 unmodified lines | ||
| 1730 | 1731 | timer10: timer@0 { |
| 1731 | 1732 | compatible = "ti,omap5430-timer"; |
| 1732 | 1733 | reg = <0x0 0x80>; |
| 1733 | − clocks = <&l4per_clkctrl OMAP5_TIMER10_CLKCTRL 24>; | |
| 1734 | − clock-names = "fck"; | |
| 1734 | + clocks = <&l4per_clkctrl OMAP5_TIMER10_CLKCTRL 24>, | |
| 1735 | + <&sys_clkin>; | |
| 1736 | + clock-names = "fck", "timer_sys_ck"; | |
| 1735 | 1737 | interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>; |
| 1736 | 1738 | ti,timer-pwm; |
| 1737 | 1739 | }; |
| @@ -1758,8 +1760,9 @@ · 20 unmodified lines | ||
| 1758 | 1760 | timer11: timer@0 { |
| 1759 | 1761 | compatible = "ti,omap5430-timer"; |
| 1760 | 1762 | reg = <0x0 0x80>; |
| 1761 | − clocks = <&l4per_clkctrl OMAP5_TIMER11_CLKCTRL 24>; | |
| 1762 | − clock-names = "fck"; | |
| 1763 | + clocks = <&l4per_clkctrl OMAP5_TIMER11_CLKCTRL 24>, | |
| 1764 | + <&sys_clkin>; | |
| 1765 | + clock-names = "fck", "timer_sys_ck"; | |
| 1763 | 1766 | interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>; |
| 1764 | 1767 | ti,timer-pwm; |
| 1765 | 1768 | }; |
| @@ -2387,8 +2390,9 @@ · 621 unmodified lines | ||
| 2387 | 2390 | timer1: timer@0 { |
| 2388 | 2391 | compatible = "ti,omap5430-timer"; |
| 2389 | 2392 | reg = <0x0 0x80>; |
| 2390 | − clocks = <&wkupaon_clkctrl OMAP5_TIMER1_CLKCTRL 24>; | |
| 2391 | − clock-names = "fck"; | |
| 2393 | + clocks = <&wkupaon_clkctrl OMAP5_TIMER1_CLKCTRL 24>, | |
| 2394 | + <&sys_clkin>; | |
| 2395 | + clock-names = "fck", "timer_sys_ck"; | |
| 2392 | 2396 | interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; |
| 2393 | 2397 | ti,timer-alwon; |
| 2394 | 2398 | }; |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | */ |
| 5 | 5 | /dts-v1/; |
| 6 | 6 | |
| @@ -15,6 +15,26 @@ · 8 unmodified lines | ||
| 15 | 15 | reg = <0 0x80000000 0 0x7f000000>; /* 2032 MB */ |
| 16 | 16 | }; |
| 17 | 17 | |
| 18 | + reserved-memory { | |
| 19 | + #address-cells = <2>; | |
| 20 | + #size-cells = <2>; | |
| 21 | + ranges; | |
| 22 | + | |
| 23 | + dsp_memory_region: dsp-memory@95000000 { | |
| 24 | + compatible = "shared-dma-pool"; | |
| 25 | + reg = <0 0x95000000 0 0x800000>; | |
| 26 | + reusable; | |
| 27 | + status = "okay"; | |
| 28 | + }; | |
| 29 | + | |
| 30 | + ipu_memory_region: ipu-memory@95800000 { | |
| 31 | + compatible = "shared-dma-pool"; | |
| 32 | + reg = <0 0x95800000 0 0x3800000>; | |
| 33 | + reusable; | |
| 34 | + status = "okay"; | |
| 35 | + }; | |
| 36 | + }; | |
| 37 | + | |
| 18 | 38 | aliases { |
| 19 | 39 | ethernet = ðernet; |
| 20 | 40 | }; |
| @@ -198,3 +218,17 @@ · 177 unmodified lines | ||
| 198 | 218 | &wlcore { |
| 199 | 219 | compatible = "ti,wl1837"; |
| 200 | 220 | }; |
| 221 | + | |
| 222 | +&dsp { | |
| 223 | + status = "okay"; | |
| 224 | + memory-region = <&dsp_memory_region>; | |
| 225 | + ti,timers = <&timer5>; | |
| 226 | + ti,watchdog-timers = <&timer6>; | |
| 227 | +}; | |
| 228 | + | |
| 229 | +&ipu { | |
| 230 | + status = "okay"; | |
| 231 | + memory-region = <&ipu_memory_region>; | |
| 232 | + ti,timers = <&timer3>; | |
| 233 | + ti,watchdog-timers = <&timer9>, <&timer11>; | |
| 234 | +}; | |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | 2 | /* |
| 3 | − * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ | |
| 3 | + * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ | |
| 4 | 4 | * |
| 5 | 5 | * Based on "omap4.dtsi" |
| 6 | 6 | */ |
| @@ -31,6 +31,8 @@ · 24 unmodified lines | ||
| 31 | 31 | serial3 = &uart4; |
| 32 | 32 | serial4 = &uart5; |
| 33 | 33 | serial5 = &uart6; |
| 34 | + rproc0 = &dsp; | |
| 35 | + rproc1 = &ipu; | |
| 34 | 36 | }; |
| 35 | 37 | |
| 36 | 38 | cpus { |
| @@ -216,6 +218,29 @@ · 179 unmodified lines | ||
| 216 | 218 | }; |
| 217 | 219 | }; |
| 218 | 220 | |
| 221 | + dsp: dsp { | |
| 222 | + compatible = "ti,omap5-dsp"; | |
| 223 | + ti,bootreg = <&scm_conf 0x304 0>; | |
| 224 | + iommus = <&mmu_dsp>; | |
| 225 | + resets = <&prm_dsp 0>; | |
| 226 | + clocks = <&dsp_clkctrl OMAP5_MMU_DSP_CLKCTRL 0>; | |
| 227 | + firmware-name = "omap5-dsp-fw.xe64T"; | |
| 228 | + mboxes = <&mailbox &mbox_dsp>; | |
| 229 | + status = "disabled"; | |
| 230 | + }; | |
| 231 | + | |
| 232 | + ipu: ipu@55020000 { | |
| 233 | + compatible = "ti,omap5-ipu"; | |
| 234 | + reg = <0x55020000 0x10000>; | |
| 235 | + reg-names = "l2ram"; | |
| 236 | + iommus = <&mmu_ipu>; | |
| 237 | + resets = <&prm_core 0>, <&prm_core 1>; | |
| 238 | + clocks = <&ipu_clkctrl OMAP5_MMU_IPU_CLKCTRL 0>; | |
| 239 | + firmware-name = "omap5-ipu-fw.xem4"; | |
| 240 | + mboxes = <&mailbox &mbox_ipu>; | |
| 241 | + status = "disabled"; | |
| 242 | + }; | |
| 243 | + | |
| 219 | 244 | dmm@4e000000 { |
| 220 | 245 | compatible = "ti,omap5-dmm"; |
| 221 | 246 | reg = <0x4e000000 0x800>; |
| @@ -0,0 +1,308 @@ | ||
| 1 | +// SPDX-License-Identifier: GPL-2.0 | |
| 2 | +#include "qcom-ipq8064.dtsi" | |
| 3 | +#include <dt-bindings/input/input.h> | |
| 4 | + | |
| 5 | +/ { | |
| 6 | + model = "MikroTik RB3011UiAS-RM"; | |
| 7 | + compatible = "mikrotik,rb3011"; | |
| 8 | + | |
| 9 | + aliases { | |
| 10 | + serial0 = &gsbi7_serial; | |
| 11 | + ethernet0 = &gmac0; | |
| 12 | + ethernet1 = &gmac3; | |
| 13 | + mdio-gpio0 = &mdio0; | |
| 14 | + mdio-gpio1 = &mdio1; | |
| 15 | + }; | |
| 16 | + | |
| 17 | + chosen { | |
| 18 | + bootargs = "loglevel=8 console=ttyMSM0,115200"; | |
| 19 | + stdout-path = "serial0:115200n8"; | |
| 20 | + }; | |
| 21 | + | |
| 22 | + memory@0 { | |
| 23 | + reg = <0x42000000 0x3e000000>; | |
| 24 | + device_type = "memory"; | |
| 25 | + }; | |
| 26 | + | |
| 27 | + mdio0: mdio@0 { | |
| 28 | + status = "okay"; | |
| 29 | + compatible = "virtual,mdio-gpio"; | |
| 30 | + gpios = <&qcom_pinmux 1 GPIO_ACTIVE_HIGH>, | |
| 31 | + <&qcom_pinmux 0 GPIO_ACTIVE_HIGH>; | |
| 32 | + #address-cells = <1>; | |
| 33 | + #size-cells = <0>; | |
| 34 | + | |
| 35 | + pinctrl-0 = <&mdio0_pins>; | |
| 36 | + pinctrl-names = "default"; | |
| 37 | + | |
| 38 | + switch0: switch@10 { | |
| 39 | + compatible = "qca,qca8337"; | |
| 40 | + #address-cells = <1>; | |
| 41 | + #size-cells = <0>; | |
| 42 | + | |
| 43 | + dsa,member = <0 0>; | |
| 44 | + | |
| 45 | + pinctrl-0 = <&sw0_reset_pin>; | |
| 46 | + pinctrl-names = "default"; | |
| 47 | + | |
| 48 | + reset-gpios = <&qcom_pinmux 16 GPIO_ACTIVE_LOW>; | |
| 49 | + reg = <0x10>; | |
| 50 | + | |
| 51 | + ports { | |
| 52 | + #address-cells = <1>; | |
| 53 | + #size-cells = <0>; | |
| 54 | + | |
| 55 | + switch0cpu: port@0 { | |
| 56 | + reg = <0>; | |
| 57 | + label = "cpu"; | |
| 58 | + ethernet = <&gmac0>; | |
| 59 | + phy-mode = "rgmii-id"; | |
| 60 | + fixed-link { | |
| 61 | + speed = <1000>; | |
| 62 | + full-duplex; | |
| 63 | + }; | |
| 64 | + }; | |
| 65 | + | |
| 66 | + port@1 { | |
| 67 | + reg = <1>; | |
| 68 | + label = "sw1"; | |
| 69 | + }; | |
| 70 | + | |
| 71 | + port@2 { | |
| 72 | + reg = <2>; | |
| 73 | + label = "sw2"; | |
| 74 | + }; | |
| 75 | + | |
| 76 | + port@3 { | |
| 77 | + reg = <3>; | |
| 78 | + label = "sw3"; | |
| 79 | + }; | |
| 80 | + | |
| 81 | + port@4 { | |
| 82 | + reg = <4>; | |
| 83 | + label = "sw4"; | |
| 84 | + }; | |
| 85 | + | |
| 86 | + port@5 { | |
| 87 | + reg = <5>; | |
| 88 | + label = "sw5"; | |
| 89 | + }; | |
| 90 | + }; | |
| 91 | + }; | |
| 92 | + }; | |
| 93 | + | |
| 94 | + mdio1: mdio@1 { | |
| 95 | + status = "okay"; | |
| 96 | + compatible = "virtual,mdio-gpio"; | |
| 97 | + gpios = <&qcom_pinmux 11 GPIO_ACTIVE_HIGH>, | |
| 98 | + <&qcom_pinmux 10 GPIO_ACTIVE_HIGH>; | |
| 99 | + #address-cells = <1>; | |
| 100 | + #size-cells = <0>; | |
| 101 | + | |
| 102 | + pinctrl-0 = <&mdio1_pins>; | |
| 103 | + pinctrl-names = "default"; | |
| 104 | + | |
| 105 | + switch1: switch@14 { | |
| 106 | + compatible = "qca,qca8337"; | |
| 107 | + #address-cells = <1>; | |
| 108 | + #size-cells = <0>; | |
| 109 | + | |
| 110 | + dsa,member = <1 0>; | |
| 111 | + | |
| 112 | + pinctrl-0 = <&sw1_reset_pin>; | |
| 113 | + pinctrl-names = "default"; | |
| 114 | + | |
| 115 | + reset-gpios = <&qcom_pinmux 17 GPIO_ACTIVE_LOW>; | |
| 116 | + reg = <0x10>; | |
| 117 | + | |
| 118 | + ports { | |
| 119 | + #address-cells = <1>; | |
| 120 | + #size-cells = <0>; | |
| 121 | + | |
| 122 | + switch1cpu: port@0 { | |
| 123 | + reg = <0>; | |
| 124 | + label = "cpu"; | |
| 125 | + ethernet = <&gmac3>; | |
| 126 | + phy-mode = "sgmii"; | |
| 127 | + fixed-link { | |
| 128 | + speed = <1000>; | |
| 129 | + full-duplex; | |
| 130 | + }; | |
| 131 | + }; | |
| 132 | + | |
| 133 | + port@1 { | |
| 134 | + reg = <1>; | |
| 135 | + label = "sw6"; | |
| 136 | + }; | |
| 137 | + | |
| 138 | + port@2 { | |
| 139 | + reg = <2>; | |
| 140 | + label = "sw7"; | |
| 141 | + }; | |
| 142 | + | |
| 143 | + port@3 { | |
| 144 | + reg = <3>; | |
| 145 | + label = "sw8"; | |
| 146 | + }; | |
| 147 | + | |
| 148 | + port@4 { | |
| 149 | + reg = <4>; | |
| 150 | + label = "sw9"; | |
| 151 | + }; | |
| 152 | + | |
| 153 | + port@5 { | |
| 154 | + reg = <5>; | |
| 155 | + label = "sw10"; | |
| 156 | + }; | |
| 157 | + }; | |
| 158 | + }; | |
| 159 | + }; | |
| 160 | + | |
| 161 | + soc { | |
| 162 | + gsbi5: gsbi@1a200000 { | |
| 163 | + qcom,mode = <GSBI_PROT_SPI>; | |
| 164 | + status = "okay"; | |
| 165 | + | |
| 166 | + spi4: spi@1a280000 { | |
| 167 | + status = "okay"; | |
| 168 | + spi-max-frequency = <50000000>; | |
| 169 | + | |
| 170 | + pinctrl-0 = <&spi_pins>; | |
| 171 | + pinctrl-names = "default"; | |
| 172 | + | |
| 173 | + cs-gpios = <&qcom_pinmux 20 GPIO_ACTIVE_HIGH>; | |
| 174 | + | |
| 175 | + norflash: s25fl016k@0 { | |
| 176 | + compatible = "jedec,spi-nor"; | |
| 177 | + #address-cells = <1>; | |
| 178 | + #size-cells = <1>; | |
| 179 | + spi-max-frequency = <50000000>; | |
| 180 | + reg = <0>; | |
| 181 | + | |
| 182 | + partition@0 { | |
| 183 | + label = "RouterBoot"; | |
| 184 | + reg = <0x0 0x40000>; | |
| 185 | + }; | |
| 186 | + }; | |
| 187 | + }; | |
| 188 | + }; | |
| 189 | + | |
| 190 | + gpio_keys { | |
| 191 | + compatible = "gpio-keys"; | |
| 192 | + pinctrl-0 = <&buttons_pins>; | |
| 193 | + pinctrl-names = "default"; | |
| 194 | + | |
| 195 | + button@1 { | |
| 196 | + label = "reset"; | |
| 197 | + linux,code = <KEY_RESTART>; | |
| 198 | + gpios = <&qcom_pinmux 66 GPIO_ACTIVE_LOW>; | |
| 199 | + linux,input-type = <1>; | |
| 200 | + debounce-interval = <60>; | |
| 201 | + }; | |
| 202 | + }; | |
| 203 | + | |
| 204 | + leds { | |
| 205 | + compatible = "gpio-leds"; | |
| 206 | + pinctrl-0 = <&leds_pins>; | |
| 207 | + pinctrl-names = "default"; | |
| 208 | + | |
| 209 | + led@7 { | |
| 210 | + label = "rb3011:green:user"; | |
| 211 | + gpios = <&qcom_pinmux 33 GPIO_ACTIVE_HIGH>; | |
| 212 | + default-state = "off"; | |
| 213 | + }; | |
| 214 | + }; | |
| 215 | + | |
| 216 | + }; | |
| 217 | +}; | |
| 218 | + | |
| 219 | +&gmac0 { | |
| 220 | + status = "okay"; | |
| 221 | + | |
| 222 | + phy-mode = "rgmii"; | |
| 223 | + qcom,id = <0>; | |
| 224 | + phy-handle = <&switch0cpu>; | |
| 225 | + | |
| 226 | + fixed-link { | |
| 227 | + speed = <1000>; | |
| 228 | + full-duplex; | |
| 229 | + }; | |
| 230 | +}; | |
| 231 | + | |
| 232 | +&gmac3 { | |
| 233 | + status = "okay"; | |
| 234 | + | |
| 235 | + phy-mode = "sgmii"; | |
| 236 | + qcom,id = <3>; | |
| 237 | + phy-handle = <&switch1cpu>; | |
| 238 | + | |
| 239 | + fixed-link { | |
| 240 | + speed = <1000>; | |
| 241 | + full-duplex; | |
| 242 | + }; | |
| 243 | +}; | |
| 244 | + | |
| 245 | +&gsbi7 { | |
| 246 | + status = "okay"; | |
| 247 | + qcom,mode = <GSBI_PROT_I2C_UART>; | |
| 248 | +}; | |
| 249 | + | |
| 250 | +&gsbi7_serial { | |
| 251 | + status = "okay"; | |
| 252 | +}; | |
| 253 | + | |
| 254 | +&qcom_pinmux { | |
| 255 | + buttons_pins: buttons_pins { | |
| 256 | + mux { | |
| 257 | + pins = "gpio66"; | |
| 258 | + drive-strength = <16>; | |
| 259 | + bias-disable; | |
| 260 | + }; | |
| 261 | + }; | |
| 262 | + | |
| 263 | + leds_pins: leds_pins { | |
| 264 | + mux { | |
| 265 | + pins = "gpio33"; | |
| 266 | + drive-strength = <16>; | |
| 267 | + bias-disable; | |
| 268 | + }; | |
| 269 | + }; | |
| 270 | + | |
| 271 | + mdio0_pins: mdio0_pins { | |
| 272 | + mux { | |
| 273 | + pins = "gpio0", "gpio1"; | |
| 274 | + function = "gpio"; | |
| 275 | + drive-strength = <8>; | |
| 276 | + bias-disable; | |
| 277 | + }; | |
| 278 | + }; | |
| 279 | + | |
| 280 | + mdio1_pins: mdio1_pins { | |
| 281 | + mux { | |
| 282 | + pins = "gpio10", "gpio11"; | |
| 283 | + function = "gpio"; | |
| 284 | + drive-strength = <8>; | |
| 285 | + bias-disable; | |
| 286 | + }; | |
| 287 | + }; | |
| 288 | + | |
| 289 | + sw0_reset_pin: sw0_reset_pin { | |
| 290 | + mux { | |
| 291 | + pins = "gpio16"; | |
| 292 | + drive-strength = <16>; | |
| 293 | + function = "gpio"; | |
| 294 | + bias-disable; | |
| 295 | + input-disable; | |
| 296 | + }; | |
| 297 | + }; | |
| 298 | + | |
| 299 | + sw1_reset_pin: sw1_reset_pin { | |
| 300 | + mux { | |
| 301 | + pins = "gpio17"; | |
| 302 | + drive-strength = <16>; | |
| 303 | + function = "gpio"; | |
| 304 | + bias-disable; | |
| 305 | + input-disable; | |
| 306 | + }; | |
| 307 | + }; | |
| 308 | +}; | |
| @@ -425,6 +425,13 @@ · 424 unmodified lines | ||
| 425 | 425 | qcom,controller-type = "pmic-arbiter"; |
| 426 | 426 | }; |
| 427 | 427 | |
| 428 | + qfprom: qfprom@700000 { | |
| 429 | + compatible = "qcom,qfprom"; | |
| 430 | + reg = <0x00700000 0x1000>; | |
| 431 | + #address-cells = <1>; | |
| 432 | + #size-cells = <1>; | |
| 433 | + }; | |
| 434 | + | |
| 428 | 435 | gcc: clock-controller@900000 { |
| 429 | 436 | compatible = "qcom,gcc-ipq8064"; |
| 430 | 437 | reg = <0x00900000 0x4000>; |
| @@ -597,6 +604,114 @@ · 166 unmodified lines | ||
| 597 | 604 | perst-gpio = <&qcom_pinmux 63 GPIO_ACTIVE_LOW>; |
| 598 | 605 | }; |
| 599 | 606 | |
| 607 | + nss_common: syscon@03000000 { | |
| 608 | + compatible = "syscon"; | |
| 609 | + reg = <0x03000000 0x0000FFFF>; | |
| 610 | + }; | |
| 611 | + | |
| 612 | + qsgmii_csr: syscon@1bb00000 { | |
| 613 | + compatible = "syscon"; | |
| 614 | + reg = <0x1bb00000 0x000001FF>; | |
| 615 | + }; | |
| 616 | + | |
| 617 | + stmmac_axi_setup: stmmac-axi-config { | |
| 618 | + snps,wr_osr_lmt = <7>; | |
| 619 | + snps,rd_osr_lmt = <7>; | |
| 620 | + snps,blen = <16 0 0 0 0 0 0>; | |
| 621 | + }; | |
| 622 | + | |
| 623 | + gmac0: ethernet@37000000 { | |
| 624 | + device_type = "network"; | |
| 625 | + compatible = "qcom,ipq806x-gmac"; | |
| 626 | + reg = <0x37000000 0x200000>; | |
| 627 | + interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>; | |
| 628 | + interrupt-names = "macirq"; | |
| 629 | + | |
| 630 | + snps,axi-config = <&stmmac_axi_setup>; | |
| 631 | + snps,pbl = <32>; | |
| 632 | + snps,aal = <1>; | |
| 633 | + | |
| 634 | + qcom,nss-common = <&nss_common>; | |
| 635 | + qcom,qsgmii-csr = <&qsgmii_csr>; | |
| 636 | + | |
| 637 | + clocks = <&gcc GMAC_CORE1_CLK>; | |
| 638 | + clock-names = "stmmaceth"; | |
| 639 | + | |
| 640 | + resets = <&gcc GMAC_CORE1_RESET>; | |
| 641 | + reset-names = "stmmaceth"; | |
| 642 | + | |
| 643 | + status = "disabled"; | |
| 644 | + }; | |
| 645 | + | |
| 646 | + gmac1: ethernet@37200000 { | |
| 647 | + device_type = "network"; | |
| 648 | + compatible = "qcom,ipq806x-gmac"; | |
| 649 | + reg = <0x37200000 0x200000>; | |
| 650 | + interrupts = <GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>; | |
| 651 | + interrupt-names = "macirq"; | |
| 652 | + | |
| 653 | + snps,axi-config = <&stmmac_axi_setup>; | |
| 654 | + snps,pbl = <32>; | |
| 655 | + snps,aal = <1>; | |
| 656 | + | |
| 657 | + qcom,nss-common = <&nss_common>; | |
| 658 | + qcom,qsgmii-csr = <&qsgmii_csr>; | |
| 659 | + | |
| 660 | + clocks = <&gcc GMAC_CORE2_CLK>; | |
| 661 | + clock-names = "stmmaceth"; | |
| 662 | + | |
| 663 | + resets = <&gcc GMAC_CORE2_RESET>; | |
| 664 | + reset-names = "stmmaceth"; | |
| 665 | + | |
| 666 | + status = "disabled"; | |
| 667 | + }; | |
| 668 | + | |
| 669 | + gmac2: ethernet@37400000 { | |
| 670 | + device_type = "network"; | |
| 671 | + compatible = "qcom,ipq806x-gmac"; | |
| 672 | + reg = <0x37400000 0x200000>; | |
| 673 | + interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>; | |
| 674 | + interrupt-names = "macirq"; | |
| 675 | + | |
| 676 | + snps,axi-config = <&stmmac_axi_setup>; | |
| 677 | + snps,pbl = <32>; | |
| 678 | + snps,aal = <1>; | |
| 679 | + | |
| 680 | + qcom,nss-common = <&nss_common>; | |
| 681 | + qcom,qsgmii-csr = <&qsgmii_csr>; | |
| 682 | + | |
| 683 | + clocks = <&gcc GMAC_CORE3_CLK>; | |
| 684 | + clock-names = "stmmaceth"; | |
| 685 | + | |
| 686 | + resets = <&gcc GMAC_CORE3_RESET>; | |
| 687 | + reset-names = "stmmaceth"; | |
| 688 | + | |
| 689 | + status = "disabled"; | |
| 690 | + }; | |
| 691 | + | |
| 692 | + gmac3: ethernet@37600000 { | |
| 693 | + device_type = "network"; | |
| 694 | + compatible = "qcom,ipq806x-gmac"; | |
| 695 | + reg = <0x37600000 0x200000>; | |
| 696 | + interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>; | |
| 697 | + interrupt-names = "macirq"; | |
| 698 | + | |
| 699 | + snps,axi-config = <&stmmac_axi_setup>; | |
| 700 | + snps,pbl = <32>; | |
| 701 | + snps,aal = <1>; | |
| 702 | + | |
| 703 | + qcom,nss-common = <&nss_common>; | |
| 704 | + qcom,qsgmii-csr = <&qsgmii_csr>; | |
| 705 | + | |
| 706 | + clocks = <&gcc GMAC_CORE4_CLK>; | |
| 707 | + clock-names = "stmmaceth"; | |
| 708 | + | |
| 709 | + resets = <&gcc GMAC_CORE4_RESET>; | |
| 710 | + reset-names = "stmmaceth"; | |
| 711 | + | |
| 712 | + status = "disabled"; | |
| 713 | + }; | |
| 714 | + | |
| 600 | 715 | vsdcc_fixed: vsdcc-regulator { |
| 601 | 716 | compatible = "regulator-fixed"; |
| 602 | 717 | regulator-name = "SDCC Power"; |
| @@ -323,7 +323,7 @@ · 322 unmodified lines | ||
| 323 | 323 | status = "disabled"; |
| 324 | 324 | }; |
| 325 | 325 | |
| 326 | − sdhi0: sd@e804e000 { | |
| 326 | + sdhi0: mmc@e804e000 { | |
| 327 | 327 | compatible = "renesas,sdhi-r7s72100"; |
| 328 | 328 | reg = <0xe804e000 0x100>; |
| 329 | 329 | interrupts = <GIC_SPI 270 IRQ_TYPE_LEVEL_HIGH>, |
| @@ -339,7 +339,7 @@ · 9 unmodified lines | ||
| 339 | 339 | status = "disabled"; |
| 340 | 340 | }; |
| 341 | 341 | |
| 342 | − sdhi1: sd@e804e800 { | |
| 342 | + sdhi1: mmc@e804e800 { | |
| 343 | 343 | compatible = "renesas,sdhi-r7s72100"; |
| 344 | 344 | reg = <0xe804e800 0x100>; |
| 345 | 345 | interrupts = <GIC_SPI 273 IRQ_TYPE_LEVEL_HIGH>, |
| @@ -416,7 +416,7 @@ · 415 unmodified lines | ||
| 416 | 416 | status = "disabled"; |
| 417 | 417 | }; |
| 418 | 418 | |
| 419 | − sdhi0: sd@e8228000 { | |
| 419 | + sdhi0: mmc@e8228000 { | |
| 420 | 420 | compatible = "renesas,sdhi-r7s9210"; |
| 421 | 421 | reg = <0xe8228000 0x8c0>; |
| 422 | 422 | interrupts = <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -428,7 +428,7 @@ · 5 unmodified lines | ||
| 428 | 428 | status = "disabled"; |
| 429 | 429 | }; |
| 430 | 430 | |
| 431 | − sdhi1: sd@e822a000 { | |
| 431 | + sdhi1: mmc@e822a000 { | |
| 432 | 432 | compatible = "renesas,sdhi-r7s9210"; |
| 433 | 433 | reg = <0xe822a000 0x8c0>; |
| 434 | 434 | interrupts = <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -409,7 +409,7 @@ · 408 unmodified lines | ||
| 409 | 409 | status = "disabled"; |
| 410 | 410 | }; |
| 411 | 411 | |
| 412 | − sdhi0: sd@ee100000 { | |
| 412 | + sdhi0: mmc@ee100000 { | |
| 413 | 413 | compatible = "renesas,sdhi-r8a73a4"; |
| 414 | 414 | reg = <0 0xee100000 0 0x100>; |
| 415 | 415 | interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -419,7 +419,7 @@ · 3 unmodified lines | ||
| 419 | 419 | status = "disabled"; |
| 420 | 420 | }; |
| 421 | 421 | |
| 422 | − sdhi1: sd@ee120000 { | |
| 422 | + sdhi1: mmc@ee120000 { | |
| 423 | 423 | compatible = "renesas,sdhi-r8a73a4"; |
| 424 | 424 | reg = <0 0xee120000 0 0x100>; |
| 425 | 425 | interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -429,7 +429,7 @@ · 3 unmodified lines | ||
| 429 | 429 | status = "disabled"; |
| 430 | 430 | }; |
| 431 | 431 | |
| 432 | − sdhi2: sd@ee140000 { | |
| 432 | + sdhi2: mmc@ee140000 { | |
| 433 | 433 | compatible = "renesas,sdhi-r8a73a4"; |
| 434 | 434 | reg = <0 0xee140000 0 0x100>; |
| 435 | 435 | interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -349,7 +349,7 @@ · 348 unmodified lines | ||
| 349 | 349 | status = "disabled"; |
| 350 | 350 | }; |
| 351 | 351 | |
| 352 | − sdhi0: sd@e6850000 { | |
| 352 | + sdhi0: mmc@e6850000 { | |
| 353 | 353 | compatible = "renesas,sdhi-r8a7740"; |
| 354 | 354 | reg = <0xe6850000 0x100>; |
| 355 | 355 | interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>, |
| @@ -362,7 +362,7 @@ · 6 unmodified lines | ||
| 362 | 362 | status = "disabled"; |
| 363 | 363 | }; |
| 364 | 364 | |
| 365 | − sdhi1: sd@e6860000 { | |
| 365 | + sdhi1: mmc@e6860000 { | |
| 366 | 366 | compatible = "renesas,sdhi-r8a7740"; |
| 367 | 367 | reg = <0xe6860000 0x100>; |
| 368 | 368 | interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>, |
| @@ -375,7 +375,7 @@ · 6 unmodified lines | ||
| 375 | 375 | status = "disabled"; |
| 376 | 376 | }; |
| 377 | 377 | |
| 378 | − sdhi2: sd@e6870000 { | |
| 378 | + sdhi2: mmc@e6870000 { | |
| 379 | 379 | compatible = "renesas,sdhi-r8a7740"; |
| 380 | 380 | reg = <0xe6870000 0x100>; |
| 381 | 381 | interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>, |
| @@ -0,0 +1,97 @@ | ||
| 1 | +// SPDX-License-Identifier: GPL-2.0 | |
| 2 | +/* | |
| 3 | + * Device Tree Source for the iWave-RZ/G1H Qseven board development | |
| 4 | + * platform with camera daughter board | |
| 5 | + * | |
| 6 | + * Copyright (C) 2020 Renesas Electronics Corp. | |
| 7 | + */ | |
| 8 | + | |
| 9 | +/dts-v1/; | |
| 10 | +#include "r8a7742-iwg21d-q7.dts" | |
| 11 | + | |
| 12 | +/ { | |
| 13 | + model = "iWave Systems RZ/G1H Qseven development platform with camera add-on"; | |
| 14 | + compatible = "iwave,g21d", "iwave,g21m", "renesas,r8a7742"; | |
| 15 | + | |
| 16 | + aliases { | |
| 17 | + serial0 = &scif0; | |
| 18 | + serial1 = &scif1; | |
| 19 | + serial3 = &scifb1; | |
| 20 | + serial5 = &hscif0; | |
| 21 | + ethernet1 = ðer; | |
| 22 | + }; | |
| 23 | +}; | |
| 24 | + | |
| 25 | +&avb { | |
| 26 | + /* Pins shared with VIN0, keep status disabled */ | |
| 27 | + status = "disabled"; | |
| 28 | +}; | |
| 29 | + | |
| 30 | +ðer { | |
| 31 | + pinctrl-0 = <ðer_pins>; | |
| 32 | + pinctrl-names = "default"; | |
| 33 | + | |
| 34 | + phy-handle = <&phy1>; | |
| 35 | + renesas,ether-link-active-low; | |
| 36 | + status = "okay"; | |
| 37 | + | |
| 38 | + phy1: ethernet-phy@1 { | |
| 39 | + reg = <1>; | |
| 40 | + micrel,led-mode = <1>; | |
| 41 | + }; | |
| 42 | +}; | |
| 43 | + | |
| 44 | +&hscif0 { | |
| 45 | + pinctrl-0 = <&hscif0_pins>; | |
| 46 | + pinctrl-names = "default"; | |
| 47 | + uart-has-rtscts; | |
| 48 | + status = "okay"; | |
| 49 | +}; | |
| 50 | + | |
| 51 | +&pfc { | |
| 52 | + ether_pins: ether { | |
| 53 | + groups = "eth_mdio", "eth_rmii"; | |
| 54 | + function = "eth"; | |
| 55 | + }; | |
| 56 | + | |
| 57 | + hscif0_pins: hscif0 { | |
| 58 | + groups = "hscif0_data", "hscif0_ctrl"; | |
| 59 | + function = "hscif0"; | |
| 60 | + }; | |
| 61 | + | |
| 62 | + scif0_pins: scif0 { | |
| 63 | + groups = "scif0_data"; | |
| 64 | + function = "scif0"; | |
| 65 | + }; | |
| 66 | + | |
| 67 | + scif1_pins: scif1 { | |
| 68 | + groups = "scif1_data"; | |
| 69 | + function = "scif1"; | |
| 70 | + }; | |
| 71 | + | |
| 72 | + scifb1_pins: scifb1 { | |
| 73 | + groups = "scifb1_data"; | |
| 74 | + function = "scifb1"; | |
| 75 | + }; | |
| 76 | +}; | |
| 77 | + | |
| 78 | +&scif0 { | |
| 79 | + pinctrl-0 = <&scif0_pins>; | |
| 80 | + pinctrl-names = "default"; | |
| 81 | + status = "okay"; | |
| 82 | +}; | |
| 83 | + | |
| 84 | +&scif1 { | |
| 85 | + pinctrl-0 = <&scif1_pins>; | |
| 86 | + pinctrl-names = "default"; | |
| 87 | + status = "okay"; | |
| 88 | +}; | |
| 89 | + | |
| 90 | +&scifb1 { | |
| 91 | + pinctrl-0 = <&scifb1_pins>; | |
| 92 | + pinctrl-names = "default"; | |
| 93 | + status = "okay"; | |
| 94 | + | |
| 95 | + rts-gpios = <&gpio4 21 GPIO_ACTIVE_LOW>; | |
| 96 | + cts-gpios = <&gpio4 17 GPIO_ACTIVE_LOW>; | |
| 97 | +}; | |
| @@ -5,6 +5,29 @@ · 4 unmodified lines | ||
| 5 | 5 | * Copyright (C) 2020 Renesas Electronics Corp. |
| 6 | 6 | */ |
| 7 | 7 | |
| 8 | +/* | |
| 9 | + * SSI-SGTL5000 | |
| 10 | + * | |
| 11 | + * This command is required when Playback/Capture | |
| 12 | + * | |
| 13 | + * amixer set "DVC Out" 100% | |
| 14 | + * amixer set "DVC In" 100% | |
| 15 | + * | |
| 16 | + * You can use Mute | |
| 17 | + * | |
| 18 | + * amixer set "DVC Out Mute" on | |
| 19 | + * amixer set "DVC In Mute" on | |
| 20 | + * | |
| 21 | + * You can use Volume Ramp | |
| 22 | + * | |
| 23 | + * amixer set "DVC Out Ramp Up Rate" "0.125 dB/64 steps" | |
| 24 | + * amixer set "DVC Out Ramp Down Rate" "0.125 dB/512 steps" | |
| 25 | + * amixer set "DVC Out Ramp" on | |
| 26 | + * aplay xxx.wav & | |
| 27 | + * amixer set "DVC Out" 80% // Volume Down | |
| 28 | + * amixer set "DVC Out" 100% // Volume Up | |
| 29 | + */ | |
| 30 | + | |
| 8 | 31 | /dts-v1/; |
| 9 | 32 | #include "r8a7742-iwg21m.dtsi" |
| 10 | 33 | |
| @@ -14,19 +37,158 @@ · 3 unmodified lines | ||
| 14 | 37 | |
| 15 | 38 | aliases { |
| 16 | 39 | serial2 = &scifa2; |
| 40 | + serial4 = &scifb2; | |
| 41 | + ethernet0 = &avb; | |
| 17 | 42 | }; |
| 18 | 43 | |
| 19 | 44 | chosen { |
| 20 | 45 | bootargs = "ignore_loglevel root=/dev/mmcblk0p1 rw rootwait"; |
| 21 | 46 | stdout-path = "serial2:115200n8"; |
| 22 | 47 | }; |
| 48 | + | |
| 49 | + audio_clock: audio_clock { | |
| 50 | + compatible = "fixed-clock"; | |
| 51 | + #clock-cells = <0>; | |
| 52 | + clock-frequency = <26000000>; | |
| 53 | + }; | |
| 54 | + | |
| 55 | + reg_1p5v: 1p5v { | |
| 56 | + compatible = "regulator-fixed"; | |
| 57 | + regulator-name = "1P5V"; | |
| 58 | + regulator-min-microvolt = <1500000>; | |
| 59 | + regulator-max-microvolt = <1500000>; | |
| 60 | + regulator-always-on; | |
| 61 | + }; | |
| 62 | + | |
| 63 | + rsnd_sgtl5000: sound { | |
| 64 | + compatible = "simple-audio-card"; | |
| 65 | + simple-audio-card,format = "i2s"; | |
| 66 | + simple-audio-card,bitclock-master = <&sndcodec>; | |
| 67 | + simple-audio-card,frame-master = <&sndcodec>; | |
| 68 | + | |
| 69 | + sndcpu: simple-audio-card,cpu { | |
| 70 | + sound-dai = <&rcar_sound>; | |
| 71 | + }; | |
| 72 | + | |
| 73 | + sndcodec: simple-audio-card,codec { | |
| 74 | + sound-dai = <&sgtl5000>; | |
| 75 | + }; | |
| 76 | + }; | |
| 77 | + | |
| 78 | + vcc_sdhi2: regulator-vcc-sdhi2 { | |
| 79 | + compatible = "regulator-fixed"; | |
| 80 | + | |
| 81 | + regulator-name = "SDHI2 Vcc"; | |
| 82 | + regulator-min-microvolt = <3300000>; | |
| 83 | + regulator-max-microvolt = <3300000>; | |
| 84 | + | |
| 85 | + gpio = <&gpio1 27 GPIO_ACTIVE_LOW>; | |
| 86 | + }; | |
| 87 | + | |
| 88 | + vccq_sdhi2: regulator-vccq-sdhi2 { | |
| 89 | + compatible = "regulator-gpio"; | |
| 90 | + | |
| 91 | + regulator-name = "SDHI2 VccQ"; | |
| 92 | + regulator-min-microvolt = <1800000>; | |
| 93 | + regulator-max-microvolt = <3300000>; | |
| 94 | + | |
| 95 | + gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>; | |
| 96 | + gpios-states = <1>; | |
| 97 | + states = <3300000 1>, <1800000 0>; | |
| 98 | + }; | |
| 99 | +}; | |
| 100 | + | |
| 101 | +&avb { | |
| 102 | + pinctrl-0 = <&avb_pins>; | |
| 103 | + pinctrl-names = "default"; | |
| 104 | + | |
| 105 | + phy-handle = <&phy3>; | |
| 106 | + phy-mode = "gmii"; | |
| 107 | + renesas,no-ether-link; | |
| 108 | + status = "okay"; | |
| 109 | + | |
| 110 | + phy3: ethernet-phy@3 { | |
| 111 | + reg = <3>; | |
| 112 | + micrel,led-mode = <1>; | |
| 113 | + }; | |
| 114 | +}; | |
| 115 | + | |
| 116 | +&i2c2 { | |
| 117 | + pinctrl-0 = <&i2c2_pins>; | |
| 118 | + pinctrl-names = "default"; | |
| 119 | + | |
| 120 | + status = "okay"; | |
| 121 | + clock-frequency = <400000>; | |
| 122 | + | |
| 123 | + sgtl5000: codec@a { | |
| 124 | + compatible = "fsl,sgtl5000"; | |
| 125 | + #sound-dai-cells = <0>; | |
| 126 | + reg = <0x0a>; | |
| 127 | + clocks = <&audio_clock>; | |
| 128 | + VDDA-supply = <®_3p3v>; | |
| 129 | + VDDIO-supply = <®_3p3v>; | |
| 130 | + VDDD-supply = <®_1p5v>; | |
| 131 | + }; | |
| 23 | 132 | }; |
| 24 | 133 | |
| 25 | 134 | &pfc { |
| 135 | + avb_pins: avb { | |
| 136 | + groups = "avb_mdio", "avb_gmii"; | |
| 137 | + function = "avb"; | |
| 138 | + }; | |
| 139 | + | |
| 140 | + i2c2_pins: i2c2 { | |
| 141 | + groups = "i2c2_b"; | |
| 142 | + function = "i2c2"; | |
| 143 | + }; | |
| 144 | + | |
| 26 | 145 | scifa2_pins: scifa2 { |
| 27 | 146 | groups = "scifa2_data_c"; |
| 28 | 147 | function = "scifa2"; |
| 29 | 148 | }; |
| 149 | + | |
| 150 | + scifb2_pins: scifb2 { | |
| 151 | + groups = "scifb2_data", "scifb2_ctrl"; | |
| 152 | + function = "scifb2"; | |
| 153 | + }; | |
| 154 | + | |
| 155 | + sdhi2_pins: sd2 { | |
| 156 | + groups = "sdhi2_data4", "sdhi2_ctrl"; | |
| 157 | + function = "sdhi2"; | |
| 158 | + power-source = <3300>; | |
| 159 | + }; | |
| 160 | + | |
| 161 | + sdhi2_pins_uhs: sd2_uhs { | |
| 162 | + groups = "sdhi2_data4", "sdhi2_ctrl"; | |
| 163 | + function = "sdhi2"; | |
| 164 | + power-source = <1800>; | |
| 165 | + }; | |
| 166 | + | |
| 167 | + sound_pins: sound { | |
| 168 | + groups = "ssi34_ctrl", "ssi3_data", "ssi4_data"; | |
| 169 | + function = "ssi"; | |
| 170 | + }; | |
| 171 | +}; | |
| 172 | + | |
| 173 | +&rcar_sound { | |
| 174 | + pinctrl-0 = <&sound_pins>; | |
| 175 | + pinctrl-names = "default"; | |
| 176 | + status = "okay"; | |
| 177 | + | |
| 178 | + /* Single DAI */ | |
| 179 | + #sound-dai-cells = <0>; | |
| 180 | + | |
| 181 | + rcar_sound,dai { | |
| 182 | + dai0 { | |
| 183 | + playback = <&ssi4 &src4 &dvc1>; | |
| 184 | + capture = <&ssi3 &src3 &dvc0>; | |
| 185 | + }; | |
| 186 | + }; | |
| 187 | +}; | |
| 188 | + | |
| 189 | +&rwdt { | |
| 190 | + timeout-sec = <60>; | |
| 191 | + status = "okay"; | |
| 30 | 192 | }; |
| 31 | 193 | |
| 32 | 194 | &scifa2 { |
| @@ -35,3 +197,28 @@ · 2 unmodified lines | ||
| 35 | 197 | |
| 36 | 198 | status = "okay"; |
| 37 | 199 | }; |
| 200 | + | |
| 201 | +&scifb2 { | |
| 202 | + pinctrl-0 = <&scifb2_pins>; | |
| 203 | + pinctrl-names = "default"; | |
| 204 | + | |
| 205 | + uart-has-rtscts; | |
| 206 | + status = "okay"; | |
| 207 | +}; | |
| 208 | + | |
| 209 | +&sdhi2 { | |
| 210 | + pinctrl-0 = <&sdhi2_pins>; | |
| 211 | + pinctrl-1 = <&sdhi2_pins_uhs>; | |
| 212 | + pinctrl-names = "default", "state_uhs"; | |
| 213 | + | |
| 214 | + vmmc-supply = <&vcc_sdhi2>; | |
| 215 | + vqmmc-supply = <&vccq_sdhi2>; | |
| 216 | + cd-gpios = <&gpio3 22 GPIO_ACTIVE_LOW>; | |
| 217 | + wp-gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>; | |
| 218 | + sd-uhs-sdr50; | |
| 219 | + status = "okay"; | |
| 220 | +}; | |
| 221 | + | |
| 222 | +&ssi4 { | |
| 223 | + shared-pin; | |
| 224 | +}; | |
| @@ -15,9 +15,31 @@ · 14 unmodified lines | ||
| 15 | 15 | #address-cells = <2>; |
| 16 | 16 | #size-cells = <2>; |
| 17 | 17 | |
| 18 | + /* | |
| 19 | + * The external audio clocks are configured as 0 Hz fixed frequency | |
| 20 | + * clocks by default. | |
| 21 | + * Boards that provide audio clocks should override them. | |
| 22 | + */ | |
| 23 | + audio_clk_a: audio_clk_a { | |
| 24 | + compatible = "fixed-clock"; | |
| 25 | + #clock-cells = <0>; | |
| 26 | + clock-frequency = <0>; | |
| 27 | + }; | |
| 28 | + audio_clk_b: audio_clk_b { | |
| 29 | + compatible = "fixed-clock"; | |
| 30 | + #clock-cells = <0>; | |
| 31 | + clock-frequency = <0>; | |
| 32 | + }; | |
| 33 | + audio_clk_c: audio_clk_c { | |
| 34 | + compatible = "fixed-clock"; | |
| 35 | + #clock-cells = <0>; | |
| 36 | + clock-frequency = <0>; | |
| 37 | + }; | |
| 38 | + | |
| 18 | 39 | cpus { |
| 19 | 40 | #address-cells = <1>; |
| 20 | 41 | #size-cells = <0>; |
| 42 | + enable-method = "renesas,apmu"; | |
| 21 | 43 | |
| 22 | 44 | cpu0: cpu@0 { |
| 23 | 45 | device_type = "cpu"; |
| @@ -200,6 +222,17 @@ · 176 unmodified lines | ||
| 200 | 222 | #size-cells = <2>; |
| 201 | 223 | ranges; |
| 202 | 224 | |
| 225 | + rwdt: watchdog@e6020000 { | |
| 226 | + compatible = "renesas,r8a7742-wdt", | |
| 227 | + "renesas,rcar-gen2-wdt"; | |
| 228 | + reg = <0 0xe6020000 0 0x0c>; | |
| 229 | + interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>; | |
| 230 | + clocks = <&cpg CPG_MOD 402>; | |
| 231 | + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; | |
| 232 | + resets = <&cpg 402>; | |
| 233 | + status = "disabled"; | |
| 234 | + }; | |
| 235 | + | |
| 203 | 236 | gpio0: gpio@e6050000 { |
| 204 | 237 | compatible = "renesas,gpio-r8a7742", |
| 205 | 238 | "renesas,rcar-gen2-gpio"; |
| @@ -305,6 +338,18 @@ · 99 unmodified lines | ||
| 305 | 338 | #reset-cells = <1>; |
| 306 | 339 | }; |
| 307 | 340 | |
| 341 | + apmu@e6151000 { | |
| 342 | + compatible = "renesas,r8a7742-apmu", "renesas,apmu"; | |
| 343 | + reg = <0 0xe6151000 0 0x188>; | |
| 344 | + cpus = <&cpu4 &cpu5 &cpu6 &cpu7>; | |
| 345 | + }; | |
| 346 | + | |
| 347 | + apmu@e6152000 { | |
| 348 | + compatible = "renesas,r8a7742-apmu", "renesas,apmu"; | |
| 349 | + reg = <0 0xe6152000 0 0x188>; | |
| 350 | + cpus = <&cpu0 &cpu1 &cpu2 &cpu3>; | |
| 351 | + }; | |
| 352 | + | |
| 308 | 353 | rst: reset-controller@e6160000 { |
| 309 | 354 | compatible = "renesas,r8a7742-rst"; |
| 310 | 355 | reg = <0 0xe6160000 0 0x0100>; |
| @@ -330,6 +375,17 @@ · 19 unmodified lines | ||
| 330 | 375 | resets = <&cpg 407>; |
| 331 | 376 | }; |
| 332 | 377 | |
| 378 | + thermal: thermal@e61f0000 { | |
| 379 | + compatible = "renesas,thermal-r8a7742", | |
| 380 | + "renesas,rcar-gen2-thermal"; | |
| 381 | + reg = <0 0xe61f0000 0 0x10>, <0 0xe61f0100 0 0x38>; | |
| 382 | + interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>; | |
| 383 | + clocks = <&cpg CPG_MOD 522>; | |
| 384 | + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; | |
| 385 | + resets = <&cpg 522>; | |
| 386 | + #thermal-sensor-cells = <0>; | |
| 387 | + }; | |
| 388 | + | |
| 333 | 389 | icram0: sram@e63a0000 { |
| 334 | 390 | compatible = "mmio-sram"; |
| 335 | 391 | reg = <0 0xe63a0000 0 0x12000>; |
| @@ -359,6 +415,195 @@ · 23 unmodified lines | ||
| 359 | 415 | ranges = <0 0 0xe6300000 0x40000>; |
| 360 | 416 | }; |
| 361 | 417 | |
| 418 | + i2c0: i2c@e6508000 { | |
| 419 | + #address-cells = <1>; | |
| 420 | + #size-cells = <0>; | |
| 421 | + compatible = "renesas,i2c-r8a7742", | |
| 422 | + "renesas,rcar-gen2-i2c"; | |
| 423 | + reg = <0 0xe6508000 0 0x40>; | |
| 424 | + interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>; | |
| 425 | + clocks = <&cpg CPG_MOD 931>; | |
| 426 | + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; | |
| 427 | + resets = <&cpg 931>; | |
| 428 | + i2c-scl-internal-delay-ns = <110>; | |
| 429 | + status = "disabled"; | |
| 430 | + }; | |
| 431 | + | |
| 432 | + i2c1: i2c@e6518000 { | |
| 433 | + #address-cells = <1>; | |
| 434 | + #size-cells = <0>; | |
| 435 | + compatible = "renesas,i2c-r8a7742", | |
| 436 | + "renesas,rcar-gen2-i2c"; | |
| 437 | + reg = <0 0xe6518000 0 0x40>; | |
| 438 | + interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>; | |
| 439 | + clocks = <&cpg CPG_MOD 930>; | |
| 440 | + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; | |
| 441 | + resets = <&cpg 930>; | |
| 442 | + i2c-scl-internal-delay-ns = <6>; | |
| 443 | + status = "disabled"; | |
| 444 | + }; | |
| 445 | + | |
| 446 | + i2c2: i2c@e6530000 { | |
| 447 | + #address-cells = <1>; | |
| 448 | + #size-cells = <0>; | |
| 449 | + compatible = "renesas,i2c-r8a7742", | |
| 450 | + "renesas,rcar-gen2-i2c"; | |
| 451 | + reg = <0 0xe6530000 0 0x40>; | |
| 452 | + interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>; | |
| 453 | + clocks = <&cpg CPG_MOD 929>; | |
| 454 | + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; | |
| 455 | + resets = <&cpg 929>; | |
| 456 | + i2c-scl-internal-delay-ns = <6>; | |
| 457 | + status = "disabled"; | |
| 458 | + }; | |
| 459 | + | |
| 460 | + i2c3: i2c@e6540000 { | |
| 461 | + #address-cells = <1>; | |
| 462 | + #size-cells = <0>; | |
| 463 | + compatible = "renesas,i2c-r8a7742", | |
| 464 | + "renesas,rcar-gen2-i2c"; | |
| 465 | + reg = <0 0xe6540000 0 0x40>; | |
| 466 | + interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>; | |
| 467 | + clocks = <&cpg CPG_MOD 928>; | |
| 468 | + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; | |
| 469 | + resets = <&cpg 928>; | |
| 470 | + i2c-scl-internal-delay-ns = <110>; | |
| 471 | + status = "disabled"; | |
| 472 | + }; | |
| 473 | + | |
| 474 | + iic0: i2c@e6500000 { | |
| 475 | + #address-cells = <1>; | |
| 476 | + #size-cells = <0>; | |
| 477 | + compatible = "renesas,iic-r8a7742", | |
| 478 | + "renesas,rcar-gen2-iic", | |
| 479 | + "renesas,rmobile-iic"; | |
| 480 | + reg = <0 0xe6500000 0 0x425>; | |
| 481 | + interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>; | |
| 482 | + clocks = <&cpg CPG_MOD 318>; | |
| 483 | + dmas = <&dmac0 0x61>, <&dmac0 0x62>, | |
| 484 | + <&dmac1 0x61>, <&dmac1 0x62>; | |
| 485 | + dma-names = "tx", "rx", "tx", "rx"; | |
| 486 | + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; | |
| 487 | + resets = <&cpg 318>; | |
| 488 | + status = "disabled"; | |
| 489 | + }; | |
| 490 | + | |
| 491 | + iic1: i2c@e6510000 { | |
| 492 | + #address-cells = <1>; | |
| 493 | + #size-cells = <0>; | |
| 494 | + compatible = "renesas,iic-r8a7742", | |
| 495 | + "renesas,rcar-gen2-iic", | |
| 496 | + "renesas,rmobile-iic"; | |
| 497 | + reg = <0 0xe6510000 0 0x425>; | |
| 498 | + interrupts = <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>; | |
| 499 | + clocks = <&cpg CPG_MOD 323>; | |
| 500 | + dmas = <&dmac0 0x65>, <&dmac0 0x66>, | |
| 501 | + <&dmac1 0x65>, <&dmac1 0x66>; | |
| 502 | + dma-names = "tx", "rx", "tx", "rx"; | |
| 503 | + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; | |
| 504 | + resets = <&cpg 323>; | |
| 505 | + status = "disabled"; | |
| 506 | + }; | |
| 507 | + | |
| 508 | + iic2: i2c@e6520000 { | |
| 509 | + #address-cells = <1>; | |
| 510 | + #size-cells = <0>; | |
| 511 | + compatible = "renesas,iic-r8a7742", | |
| 512 | + "renesas,rcar-gen2-iic", | |
| 513 | + "renesas,rmobile-iic"; | |
| 514 | + reg = <0 0xe6520000 0 0x425>; | |
| 515 | + interrupts = <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>; | |
| 516 | + clocks = <&cpg CPG_MOD 300>; | |
| 517 | + dmas = <&dmac0 0x69>, <&dmac0 0x6a>, | |
| 518 | + <&dmac1 0x69>, <&dmac1 0x6a>; | |
| 519 | + dma-names = "tx", "rx", "tx", "rx"; | |
| 520 | + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; | |
| 521 | + resets = <&cpg 300>; | |
| 522 | + status = "disabled"; | |
| 523 | + }; | |
| 524 | + | |
| 525 | + iic3: i2c@e60b0000 { | |
| 526 | + #address-cells = <1>; | |
| 527 | + #size-cells = <0>; | |
| 528 | + compatible = "renesas,iic-r8a7742"; | |
| 529 | + reg = <0 0xe60b0000 0 0x425>; | |
| 530 | + interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>; | |
| 531 | + clocks = <&cpg CPG_MOD 926>; | |
| 532 | + dmas = <&dmac0 0x77>, <&dmac0 0x78>, | |
| 533 | + <&dmac1 0x77>, <&dmac1 0x78>; | |
| 534 | + dma-names = "tx", "rx", "tx", "rx"; | |
| 535 | + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; | |
| 536 | + resets = <&cpg 926>; | |
| 537 | + status = "disabled"; | |
| 538 | + }; | |
| 539 | + | |
| 540 | + hsusb: usb@e6590000 { | |
| 541 | + compatible = "renesas,usbhs-r8a7742", | |
| 542 | + "renesas,rcar-gen2-usbhs"; | |
| 543 | + reg = <0 0xe6590000 0 0x100>; | |
| 544 | + interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>; | |
| 545 | + clocks = <&cpg CPG_MOD 704>; | |
| 546 | + dmas = <&usb_dmac0 0>, <&usb_dmac0 1>, | |
| 547 | + <&usb_dmac1 0>, <&usb_dmac1 1>; | |
| 548 | + dma-names = "ch0", "ch1", "ch2", "ch3"; | |
| 549 | + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; | |
| 550 | + resets = <&cpg 704>; | |
| 551 | + renesas,buswait = <4>; | |
| 552 | + phys = <&usb0 1>; | |
| 553 | + phy-names = "usb"; | |
| 554 | + status = "disabled"; | |
| 555 | + }; | |
| 556 | + | |
| 557 | + usbphy: usb-phy@e6590100 { | |
| 558 | + compatible = "renesas,usb-phy-r8a7742", | |
| 559 | + "renesas,rcar-gen2-usb-phy"; | |
| 560 | + reg = <0 0xe6590100 0 0x100>; | |
| 561 | + #address-cells = <1>; | |
| 562 | + #size-cells = <0>; | |
| 563 | + clocks = <&cpg CPG_MOD 704>; | |
| 564 | + clock-names = "usbhs"; | |
| 565 | + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; | |
| 566 | + resets = <&cpg 704>; | |
| 567 | + status = "disabled"; | |
| 568 | + | |
| 569 | + usb0: usb-channel@0 { | |
| 570 | + reg = <0>; | |
| 571 | + #phy-cells = <1>; | |
| 572 | + }; | |
| 573 | + usb2: usb-channel@2 { | |
| 574 | + reg = <2>; | |
| 575 | + #phy-cells = <1>; | |
| 576 | + }; | |
| 577 | + }; | |
| 578 | + | |
| 579 | + usb_dmac0: dma-controller@e65a0000 { | |
| 580 | + compatible = "renesas,r8a7742-usb-dmac", | |
| 581 | + "renesas,usb-dmac"; | |
| 582 | + reg = <0 0xe65a0000 0 0x100>; | |
| 583 | + interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>, | |
| 584 | + <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>; | |
| 585 | + interrupt-names = "ch0", "ch1"; | |
| 586 | + clocks = <&cpg CPG_MOD 330>; | |
| 587 | + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; | |
| 588 | + resets = <&cpg 330>; | |
| 589 | + #dma-cells = <1>; | |
| 590 | + dma-channels = <2>; | |
| 591 | + }; | |
| 592 | + | |
| 593 | + usb_dmac1: dma-controller@e65b0000 { | |
| 594 | + compatible = "renesas,r8a7742-usb-dmac", | |
| 595 | + "renesas,usb-dmac"; | |
| 596 | + reg = <0 0xe65b0000 0 0x100>; | |
| 597 | + interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>, | |
| 598 | + <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>; | |
| 599 | + interrupt-names = "ch0", "ch1"; | |
| 600 | + clocks = <&cpg CPG_MOD 331>; | |
| 601 | + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; | |
| 602 | + resets = <&cpg 331>; | |
| 603 | + #dma-cells = <1>; | |
| 604 | + dma-channels = <2>; | |
| 605 | + }; | |
| 606 | + | |
| 362 | 607 | dmac0: dma-controller@e6700000 { |
| 363 | 608 | compatible = "renesas,dmac-r8a7742", |
| 364 | 609 | "renesas,rcar-dmac"; |
| @@ -425,6 +670,19 @@ · 60 unmodified lines | ||
| 425 | 670 | dma-channels = <15>; |
| 426 | 671 | }; |
| 427 | 672 | |
| 673 | + avb: ethernet@e6800000 { | |
| 674 | + compatible = "renesas,etheravb-r8a7742", | |
| 675 | + "renesas,etheravb-rcar-gen2"; | |
| 676 | + reg = <0 0xe6800000 0 0x800>, <0 0xee0e8000 0 0x4000>; | |
| 677 | + interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>; | |
| 678 | + clocks = <&cpg CPG_MOD 812>; | |
| 679 | + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; | |
| 680 | + resets = <&cpg 812>; | |
| 681 | + #address-cells = <1>; | |
| 682 | + #size-cells = <0>; | |
| 683 | + status = "disabled"; | |
| 684 | + }; | |
| 685 | + | |
| 428 | 686 | scifa0: serial@e6c40000 { |
| 429 | 687 | compatible = "renesas,scifa-r8a7742", |
| 430 | 688 | "renesas,rcar-gen2-scifa", "renesas,scifa"; |
| @@ -595,6 +853,515 @@ · 164 unmodified lines | ||
| 595 | 853 | status = "disabled"; |
| 596 | 854 | }; |
| 597 | 855 | |
| 856 | + msiof0: spi@e6e20000 { | |
| 857 | + compatible = "renesas,msiof-r8a7742", | |
| 858 | + "renesas,rcar-gen2-msiof"; | |
| 859 | + reg = <0 0xe6e20000 0 0x0064>; | |
| 860 | + interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>; | |
| 861 | + clocks = <&cpg CPG_MOD 0>; | |
| 862 | + dmas = <&dmac0 0x51>, <&dmac0 0x52>, | |
| 863 | + <&dmac1 0x51>, <&dmac1 0x52>; | |
| 864 | + dma-names = "tx", "rx", "tx", "rx"; | |
| 865 | + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; | |
| 866 | + resets = <&cpg 0>; | |
| 867 | + #address-cells = <1>; | |
| 868 | + #size-cells = <0>; | |
| 869 | + status = "disabled"; | |
| 870 | + }; | |
| 871 | + | |
| 872 | + msiof1: spi@e6e10000 { | |
| 873 | + compatible = "renesas,msiof-r8a7742", | |
| 874 | + "renesas,rcar-gen2-msiof"; | |
| 875 | + reg = <0 0xe6e10000 0 0x0064>; | |
| 876 | + interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>; | |
| 877 | + clocks = <&cpg CPG_MOD 208>; | |
| 878 | + dmas = <&dmac0 0x55>, <&dmac0 0x56>, | |
| 879 | + <&dmac1 0x55>, <&dmac1 0x56>; | |
| 880 | + dma-names = "tx", "rx", "tx", "rx"; | |
| 881 | + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; | |
| 882 | + resets = <&cpg 208>; | |
| 883 | + #address-cells = <1>; | |
| 884 | + #size-cells = <0>; | |
| 885 | + status = "disabled"; | |
| 886 | + }; | |
| 887 | + | |
| 888 | + msiof2: spi@e6e00000 { | |
| 889 | + compatible = "renesas,msiof-r8a7742", | |
| 890 | + "renesas,rcar-gen2-msiof"; | |
| 891 | + reg = <0 0xe6e00000 0 0x0064>; | |
| 892 | + interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>; | |
| 893 | + clocks = <&cpg CPG_MOD 205>; | |
| 894 | + dmas = <&dmac0 0x41>, <&dmac0 0x42>, | |
| 895 | + <&dmac1 0x41>, <&dmac1 0x42>; | |
| 896 | + dma-names = "tx", "rx", "tx", "rx"; | |
| 897 | + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; | |
| 898 | + resets = <&cpg 205>; | |
| 899 | + #address-cells = <1>; | |
| 900 | + #size-cells = <0>; | |
| 901 | + status = "disabled"; | |
| 902 | + }; | |
| 903 | + | |
| 904 | + msiof3: spi@e6c90000 { | |
| 905 | + compatible = "renesas,msiof-r8a7742", | |
| 906 | + "renesas,rcar-gen2-msiof"; | |
| 907 | + reg = <0 0xe6c90000 0 0x0064>; | |
| 908 | + interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>; | |
| 909 | + clocks = <&cpg CPG_MOD 215>; | |
| 910 | + dmas = <&dmac0 0x45>, <&dmac0 0x46>, | |
| 911 | + <&dmac1 0x45>, <&dmac1 0x46>; | |
| 912 | + dma-names = "tx", "rx", "tx", "rx"; | |
| 913 | + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; | |
| 914 | + resets = <&cpg 215>; | |
| 915 | + #address-cells = <1>; | |
| 916 | + #size-cells = <0>; | |
| 917 | + status = "disabled"; | |
| 918 | + }; | |
| 919 | + | |
| 920 | + rcar_sound: sound@ec500000 { | |
| 921 | + /* | |
| 922 | + * #sound-dai-cells is required | |
| 923 | + * | |
| 924 | + * Single DAI : #sound-dai-cells = <0>; <&rcar_sound>; | |
| 925 | + * Multi DAI : #sound-dai-cells = <1>; <&rcar_sound N>; | |
| 926 | + */ | |
| 927 | + compatible = "renesas,rcar_sound-r8a7742", | |
| 928 | + "renesas,rcar_sound-gen2"; | |
| 929 | + reg = <0 0xec500000 0 0x1000>, /* SCU */ | |
| 930 | + <0 0xec5a0000 0 0x100>, /* ADG */ | |
| 931 | + <0 0xec540000 0 0x1000>, /* SSIU */ | |
| 932 | + <0 0xec541000 0 0x280>, /* SSI */ | |
| 933 | + <0 0xec740000 0 0x200>; /* Audio DMAC peri peri*/ | |
| 934 | + reg-names = "scu", "adg", "ssiu", "ssi", "audmapp"; | |
| 935 | + | |
| 936 | + clocks = <&cpg CPG_MOD 1005>, | |
| 937 | + <&cpg CPG_MOD 1006>, <&cpg CPG_MOD 1007>, | |
| 938 | + <&cpg CPG_MOD 1008>, <&cpg CPG_MOD 1009>, | |
| 939 | + <&cpg CPG_MOD 1010>, <&cpg CPG_MOD 1011>, | |
| 940 | + <&cpg CPG_MOD 1012>, <&cpg CPG_MOD 1013>, | |
| 941 | + <&cpg CPG_MOD 1014>, <&cpg CPG_MOD 1015>, | |
| 942 | + <&cpg CPG_MOD 1022>, <&cpg CPG_MOD 1023>, | |
| 943 | + <&cpg CPG_MOD 1024>, <&cpg CPG_MOD 1025>, | |
| 944 | + <&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>, | |
| 945 | + <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>, | |
| 946 | + <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>, | |
| 947 | + <&cpg CPG_MOD 1021>, <&cpg CPG_MOD 1020>, | |
| 948 | + <&cpg CPG_MOD 1021>, <&cpg CPG_MOD 1020>, | |
| 949 | + <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>, | |
| 950 | + <&audio_clk_a>, <&audio_clk_b>, <&audio_clk_c>, | |
| 951 | + <&cpg CPG_CORE R8A7742_CLK_M2>; | |
| 952 | + clock-names = "ssi-all", | |
| 953 | + "ssi.9", "ssi.8", "ssi.7", "ssi.6", | |
| 954 | + "ssi.5", "ssi.4", "ssi.3", "ssi.2", | |
| 955 | + "ssi.1", "ssi.0", | |
| 956 | + "src.9", "src.8", "src.7", "src.6", | |
| 957 | + "src.5", "src.4", "src.3", "src.2", | |
| 958 | + "src.1", "src.0", | |
| 959 | + "ctu.0", "ctu.1", | |
| 960 | + "mix.0", "mix.1", | |
| 961 | + "dvc.0", "dvc.1", | |
| 962 | + "clk_a", "clk_b", "clk_c", "clk_i"; | |
| 963 | + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; | |
| 964 | + resets = <&cpg 1005>, | |
| 965 | + <&cpg 1006>, <&cpg 1007>, | |
| 966 | + <&cpg 1008>, <&cpg 1009>, | |
| 967 | + <&cpg 1010>, <&cpg 1011>, | |
| 968 | + <&cpg 1012>, <&cpg 1013>, | |
| 969 | + <&cpg 1014>, <&cpg 1015>; | |
| 970 | + reset-names = "ssi-all", | |
| 971 | + "ssi.9", "ssi.8", "ssi.7", "ssi.6", | |
| 972 | + "ssi.5", "ssi.4", "ssi.3", "ssi.2", | |
| 973 | + "ssi.1", "ssi.0"; | |
| 974 | + | |
| 975 | + status = "disabled"; | |
| 976 | + | |
| 977 | + rcar_sound,dvc { | |
| 978 | + dvc0: dvc-0 { | |
| 979 | + dmas = <&audma1 0xbc>; | |
| 980 | + dma-names = "tx"; | |
| 981 | + }; | |
| 982 | + dvc1: dvc-1 { | |
| 983 | + dmas = <&audma1 0xbe>; | |
| 984 | + dma-names = "tx"; | |
| 985 | + }; | |
| 986 | + }; | |
| 987 | + | |
| 988 | + rcar_sound,mix { | |
| 989 | + mix0: mix-0 { }; | |
| 990 | + mix1: mix-1 { }; | |
| 991 | + }; | |
| 992 | + | |
| 993 | + rcar_sound,ctu { | |
| 994 | + ctu00: ctu-0 { }; | |
| 995 | + ctu01: ctu-1 { }; | |
| 996 | + ctu02: ctu-2 { }; | |
| 997 | + ctu03: ctu-3 { }; | |
| 998 | + ctu10: ctu-4 { }; | |
| 999 | + ctu11: ctu-5 { }; | |
| 1000 | + ctu12: ctu-6 { }; | |
| 1001 | + ctu13: ctu-7 { }; | |
| 1002 | + }; | |
| 1003 | + | |
| 1004 | + rcar_sound,src { | |
| 1005 | + src0: src-0 { | |
| 1006 | + interrupts = <GIC_SPI 352 IRQ_TYPE_LEVEL_HIGH>; | |
| 1007 | + dmas = <&audma0 0x85>, <&audma1 0x9a>; | |
| 1008 | + dma-names = "rx", "tx"; | |
| 1009 | + }; | |
| 1010 | + src1: src-1 { | |
| 1011 | + interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>; | |
| 1012 | + dmas = <&audma0 0x87>, <&audma1 0x9c>; | |
| 1013 | + dma-names = "rx", "tx"; | |
| 1014 | + }; | |
| 1015 | + src2: src-2 { | |
| 1016 | + interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>; | |
| 1017 | + dmas = <&audma0 0x89>, <&audma1 0x9e>; | |
| 1018 | + dma-names = "rx", "tx"; | |
| 1019 | + }; | |
| 1020 | + src3: src-3 { | |
| 1021 | + interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>; | |
| 1022 | + dmas = <&audma0 0x8b>, <&audma1 0xa0>; | |
| 1023 | + dma-names = "rx", "tx"; | |
| 1024 | + }; | |
| 1025 | + src4: src-4 { | |
| 1026 | + interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>; | |
| 1027 | + dmas = <&audma0 0x8d>, <&audma1 0xb0>; | |
| 1028 | + dma-names = "rx", "tx"; | |
| 1029 | + }; | |
| 1030 | + src5: src-5 { | |
| 1031 | + interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>; | |
| 1032 | + dmas = <&audma0 0x8f>, <&audma1 0xb2>; | |
| 1033 | + dma-names = "rx", "tx"; | |
| 1034 | + }; | |
| 1035 | + src6: src-6 { | |
| 1036 | + interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>; | |
| 1037 | + dmas = <&audma0 0x91>, <&audma1 0xb4>; | |
| 1038 | + dma-names = "rx", "tx"; | |
| 1039 | + }; | |
| 1040 | + src7: src-7 { | |
| 1041 | + interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>; | |
| 1042 | + dmas = <&audma0 0x93>, <&audma1 0xb6>; | |
| 1043 | + dma-names = "rx", "tx"; | |
| 1044 | + }; | |
| 1045 | + src8: src-8 { | |
| 1046 | + interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>; | |
| 1047 | + dmas = <&audma0 0x95>, <&audma1 0xb8>; | |
| 1048 | + dma-names = "rx", "tx"; | |
| 1049 | + }; | |
| 1050 | + src9: src-9 { | |
| 1051 | + interrupts = <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>; | |
| 1052 | + dmas = <&audma0 0x97>, <&audma1 0xba>; | |
| 1053 | + dma-names = "rx", "tx"; | |
| 1054 | + }; | |
| 1055 | + }; | |
| 1056 | + | |
| 1057 | + rcar_sound,ssi { | |
| 1058 | + ssi0: ssi-0 { | |
| 1059 | + interrupts = <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>; | |
| 1060 | + dmas = <&audma0 0x01>, <&audma1 0x02>, | |
| 1061 | + <&audma0 0x15>, <&audma1 0x16>; | |
| 1062 | + dma-names = "rx", "tx", "rxu", "txu"; | |
| 1063 | + }; | |
| 1064 | + ssi1: ssi-1 { | |
| 1065 | + interrupts = <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>; | |
| 1066 | + dmas = <&audma0 0x03>, <&audma1 0x04>, | |
| 1067 | + <&audma0 0x49>, <&audma1 0x4a>; | |
| 1068 | + dma-names = "rx", "tx", "rxu", "txu"; | |
| 1069 | + }; | |
| 1070 | + ssi2: ssi-2 { | |
| 1071 | + interrupts = <GIC_SPI 372 IRQ_TYPE_LEVEL_HIGH>; | |
| 1072 | + dmas = <&audma0 0x05>, <&audma1 0x06>, | |
| 1073 | + <&audma0 0x63>, <&audma1 0x64>; | |
| 1074 | + dma-names = "rx", "tx", "rxu", "txu"; | |
| 1075 | + }; | |
| 1076 | + ssi3: ssi-3 { | |
| 1077 | + interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>; | |
| 1078 | + dmas = <&audma0 0x07>, <&audma1 0x08>, | |
| 1079 | + <&audma0 0x6f>, <&audma1 0x70>; | |
| 1080 | + dma-names = "rx", "tx", "rxu", "txu"; | |
| 1081 | + }; | |
| 1082 | + ssi4: ssi-4 { | |
| 1083 | + interrupts = <GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH>; | |
| 1084 | + dmas = <&audma0 0x09>, <&audma1 0x0a>, | |
| 1085 | + <&audma0 0x71>, <&audma1 0x72>; | |
| 1086 | + dma-names = "rx", "tx", "rxu", "txu"; | |
| 1087 | + }; | |
| 1088 | + ssi5: ssi-5 { | |
| 1089 | + interrupts = <GIC_SPI 375 IRQ_TYPE_LEVEL_HIGH>; | |
| 1090 | + dmas = <&audma0 0x0b>, <&audma1 0x0c>, | |
| 1091 | + <&audma0 0x73>, <&audma1 0x74>; | |
| 1092 | + dma-names = "rx", "tx", "rxu", "txu"; | |
| 1093 | + }; | |
| 1094 | + ssi6: ssi-6 { | |
| 1095 | + interrupts = <GIC_SPI 376 IRQ_TYPE_LEVEL_HIGH>; | |
| 1096 | + dmas = <&audma0 0x0d>, <&audma1 0x0e>, | |
| 1097 | + <&audma0 0x75>, <&audma1 0x76>; | |
| 1098 | + dma-names = "rx", "tx", "rxu", "txu"; | |
| 1099 | + }; | |
| 1100 | + ssi7: ssi-7 { | |
| 1101 | + interrupts = <GIC_SPI 377 IRQ_TYPE_LEVEL_HIGH>; | |
| 1102 | + dmas = <&audma0 0x0f>, <&audma1 0x10>, | |
| 1103 | + <&audma0 0x79>, <&audma1 0x7a>; | |
| 1104 | + dma-names = "rx", "tx", "rxu", "txu"; | |
| 1105 | + }; | |
| 1106 | + ssi8: ssi-8 { | |
| 1107 | + interrupts = <GIC_SPI 378 IRQ_TYPE_LEVEL_HIGH>; | |
| 1108 | + dmas = <&audma0 0x11>, <&audma1 0x12>, | |
| 1109 | + <&audma0 0x7b>, <&audma1 0x7c>; | |
| 1110 | + dma-names = "rx", "tx", "rxu", "txu"; | |
| 1111 | + }; | |
| 1112 | + ssi9: ssi-9 { | |
| 1113 | + interrupts = <GIC_SPI 379 IRQ_TYPE_LEVEL_HIGH>; | |
| 1114 | + dmas = <&audma0 0x13>, <&audma1 0x14>, | |
| 1115 | + <&audma0 0x7d>, <&audma1 0x7e>; | |
| 1116 | + dma-names = "rx", "tx", "rxu", "txu"; | |
| 1117 | + }; | |
| 1118 | + }; | |
| 1119 | + }; | |
| 1120 | + | |
| 1121 | + audma0: dma-controller@ec700000 { | |
| 1122 | + compatible = "renesas,dmac-r8a7742", | |
| 1123 | + "renesas,rcar-dmac"; | |
| 1124 | + reg = <0 0xec700000 0 0x10000>; | |
| 1125 | + interrupts = <GIC_SPI 346 IRQ_TYPE_LEVEL_HIGH>, | |
| 1126 | + <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>, | |
| 1127 | + <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>, | |
| 1128 | + <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>, | |
| 1129 | + <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>, | |
| 1130 | + <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>, | |
| 1131 | + <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>, | |
| 1132 | + <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>, | |
| 1133 | + <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>, | |
| 1134 | + <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>, | |
| 1135 | + <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>, | |
| 1136 | + <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>, | |
| 1137 | + <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>, | |
| 1138 | + <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>; | |
| 1139 | + interrupt-names = "error", | |
| 1140 | + "ch0", "ch1", "ch2", "ch3", | |
| 1141 | + "ch4", "ch5", "ch6", "ch7", | |
| 1142 | + "ch8", "ch9", "ch10", "ch11", | |
| 1143 | + "ch12"; | |
| 1144 | + clocks = <&cpg CPG_MOD 502>; | |
| 1145 | + clock-names = "fck"; | |
| 1146 | + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; | |
| 1147 | + resets = <&cpg 502>; | |
| 1148 | + #dma-cells = <1>; | |
| 1149 | + dma-channels = <13>; | |
| 1150 | + }; | |
| 1151 | + | |
| 1152 | + audma1: dma-controller@ec720000 { | |
| 1153 | + compatible = "renesas,dmac-r8a7742", | |
| 1154 | + "renesas,rcar-dmac"; | |
| 1155 | + reg = <0 0xec720000 0 0x10000>; | |
| 1156 | + interrupts = <GIC_SPI 347 IRQ_TYPE_LEVEL_HIGH>, | |
| 1157 | + <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>, | |
| 1158 | + <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>, | |
| 1159 | + <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>, | |
| 1160 | + <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>, | |
| 1161 | + <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>, | |
| 1162 | + <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>, | |
| 1163 | + <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>, | |
| 1164 | + <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>, | |
| 1165 | + <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>, | |
| 1166 | + <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>, | |
| 1167 | + <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>, | |
| 1168 | + <GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH>, | |
| 1169 | + <GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>; | |
| 1170 | + interrupt-names = "error", | |
| 1171 | + "ch0", "ch1", "ch2", "ch3", | |
| 1172 | + "ch4", "ch5", "ch6", "ch7", | |
| 1173 | + "ch8", "ch9", "ch10", "ch11", | |
| 1174 | + "ch12"; | |
| 1175 | + clocks = <&cpg CPG_MOD 501>; | |
| 1176 | + clock-names = "fck"; | |
| 1177 | + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; | |
| 1178 | + resets = <&cpg 501>; | |
| 1179 | + #dma-cells = <1>; | |
| 1180 | + dma-channels = <13>; | |
| 1181 | + }; | |
| 1182 | + | |
| 1183 | + xhci: usb@ee000000 { | |
| 1184 | + compatible = "renesas,xhci-r8a7742", | |
| 1185 | + "renesas,rcar-gen2-xhci"; | |
| 1186 | + reg = <0 0xee000000 0 0xc00>; | |
| 1187 | + interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>; | |
| 1188 | + clocks = <&cpg CPG_MOD 328>; | |
| 1189 | + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; | |
| 1190 | + resets = <&cpg 328>; | |
| 1191 | + phys = <&usb2 1>; | |
| 1192 | + phy-names = "usb"; | |
| 1193 | + status = "disabled"; | |
| 1194 | + }; | |
| 1195 | + | |
| 1196 | + pci0: pci@ee090000 { | |
| 1197 | + compatible = "renesas,pci-r8a7742", | |
| 1198 | + "renesas,pci-rcar-gen2"; | |
| 1199 | + device_type = "pci"; | |
| 1200 | + reg = <0 0xee090000 0 0xc00>, | |
| 1201 | + <0 0xee080000 0 0x1100>; | |
| 1202 | + interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>; | |
| 1203 | + clocks = <&cpg CPG_MOD 703>; | |
| 1204 | + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; | |
| 1205 | + resets = <&cpg 703>; | |
| 1206 | + status = "disabled"; | |
| 1207 | + | |
| 1208 | + bus-range = <0 0>; | |
| 1209 | + #address-cells = <3>; | |
| 1210 | + #size-cells = <2>; | |
| 1211 | + #interrupt-cells = <1>; | |
| 1212 | + ranges = <0x02000000 0 0xee080000 0 0xee080000 0 0x00010000>; | |
| 1213 | + interrupt-map-mask = <0xf800 0 0 0x7>; | |
| 1214 | + interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>, | |
| 1215 | + <0x0800 0 0 1 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>, | |
| 1216 | + <0x1000 0 0 2 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>; | |
| 1217 | + | |
| 1218 | + usb@1,0 { | |
| 1219 | + reg = <0x800 0 0 0 0>; | |
| 1220 | + phys = <&usb0 0>; | |
| 1221 | + phy-names = "usb"; | |
| 1222 | + }; | |
| 1223 | + | |
| 1224 | + usb@2,0 { | |
| 1225 | + reg = <0x1000 0 0 0 0>; | |
| 1226 | + phys = <&usb0 0>; | |
| 1227 | + phy-names = "usb"; | |
| 1228 | + }; | |
| 1229 | + }; | |
| 1230 | + | |
| 1231 | + pci1: pci@ee0b0000 { | |
| 1232 | + compatible = "renesas,pci-r8a7742", | |
| 1233 | + "renesas,pci-rcar-gen2"; | |
| 1234 | + device_type = "pci"; | |
| 1235 | + reg = <0 0xee0b0000 0 0xc00>, | |
| 1236 | + <0 0xee0a0000 0 0x1100>; | |
| 1237 | + interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>; | |
| 1238 | + clocks = <&cpg CPG_MOD 703>; | |
| 1239 | + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; | |
| 1240 | + resets = <&cpg 703>; | |
| 1241 | + status = "disabled"; | |
| 1242 | + | |
| 1243 | + bus-range = <1 1>; | |
| 1244 | + #address-cells = <3>; | |
| 1245 | + #size-cells = <2>; | |
| 1246 | + #interrupt-cells = <1>; | |
| 1247 | + ranges = <0x02000000 0 0xee0a0000 0 0xee0a0000 0 0x00010000>; | |
| 1248 | + interrupt-map-mask = <0xf800 0 0 0x7>; | |
| 1249 | + interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>, | |
| 1250 | + <0x0800 0 0 1 &gic GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>, | |
| 1251 | + <0x1000 0 0 2 &gic GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>; | |
| 1252 | + }; | |
| 1253 | + | |
| 1254 | + pci2: pci@ee0d0000 { | |
| 1255 | + compatible = "renesas,pci-r8a7742", | |
| 1256 | + "renesas,pci-rcar-gen2"; | |
| 1257 | + device_type = "pci"; | |
| 1258 | + clocks = <&cpg CPG_MOD 703>; | |
| 1259 | + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; | |
| 1260 | + resets = <&cpg 703>; | |
| 1261 | + reg = <0 0xee0d0000 0 0xc00>, | |
| 1262 | + <0 0xee0c0000 0 0x1100>; | |
| 1263 | + interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>; | |
| 1264 | + status = "disabled"; | |
| 1265 | + | |
| 1266 | + bus-range = <2 2>; | |
| 1267 | + #address-cells = <3>; | |
| 1268 | + #size-cells = <2>; | |
| 1269 | + #interrupt-cells = <1>; | |
| 1270 | + ranges = <0x02000000 0 0xee0c0000 0 0xee0c0000 0 0x00010000>; | |
| 1271 | + interrupt-map-mask = <0xf800 0 0 0x7>; | |
| 1272 | + interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>, | |
| 1273 | + <0x0800 0 0 1 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>, | |
| 1274 | + <0x1000 0 0 2 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>; | |
| 1275 | + | |
| 1276 | + usb@1,0 { | |
| 1277 | + reg = <0x20800 0 0 0 0>; | |
| 1278 | + phys = <&usb2 0>; | |
| 1279 | + phy-names = "usb"; | |
| 1280 | + }; | |
| 1281 | + | |
| 1282 | + usb@2,0 { | |
| 1283 | + reg = <0x21000 0 0 0 0>; | |
| 1284 | + phys = <&usb2 0>; | |
| 1285 | + phy-names = "usb"; | |
| 1286 | + }; | |
| 1287 | + }; | |
| 1288 | + | |
| 1289 | + sdhi0: mmc@ee100000 { | |
| 1290 | + compatible = "renesas,sdhi-r8a7742", | |
| 1291 | + "renesas,rcar-gen2-sdhi"; | |
| 1292 | + reg = <0 0xee100000 0 0x328>; | |
| 1293 | + interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>; | |
| 1294 | + clocks = <&cpg CPG_MOD 314>; | |
| 1295 | + dmas = <&dmac0 0xcd>, <&dmac0 0xce>, | |
| 1296 | + <&dmac1 0xcd>, <&dmac1 0xce>; | |
| 1297 | + dma-names = "tx", "rx", "tx", "rx"; | |
| 1298 | + max-frequency = <195000000>; | |
| 1299 | + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; | |
| 1300 | + resets = <&cpg 314>; | |
| 1301 | + status = "disabled"; | |
| 1302 | + }; | |
| 1303 | + | |
| 1304 | + sdhi1: mmc@ee120000 { | |
| 1305 | + compatible = "renesas,sdhi-r8a7742", | |
| 1306 | + "renesas,rcar-gen2-sdhi"; | |
| 1307 | + reg = <0 0xee120000 0 0x328>; | |
| 1308 | + interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>; | |
| 1309 | + clocks = <&cpg CPG_MOD 313>; | |
| 1310 | + dmas = <&dmac0 0xc9>, <&dmac0 0xca>, | |
| 1311 | + <&dmac1 0xc9>, <&dmac1 0xca>; | |
| 1312 | + dma-names = "tx", "rx", "tx", "rx"; | |
| 1313 | + max-frequency = <195000000>; | |
| 1314 | + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; | |
| 1315 | + resets = <&cpg 313>; | |
| 1316 | + status = "disabled"; | |
| 1317 | + }; | |
| 1318 | + | |
| 1319 | + sdhi2: mmc@ee140000 { | |
| 1320 | + compatible = "renesas,sdhi-r8a7742", | |
| 1321 | + "renesas,rcar-gen2-sdhi"; | |
| 1322 | + reg = <0 0xee140000 0 0x100>; | |
| 1323 | + interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>; | |
| 1324 | + clocks = <&cpg CPG_MOD 312>; | |
| 1325 | + dmas = <&dmac0 0xc1>, <&dmac0 0xc2>, | |
| 1326 | + <&dmac1 0xc1>, <&dmac1 0xc2>; | |
| 1327 | + dma-names = "tx", "rx", "tx", "rx"; | |
| 1328 | + max-frequency = <97500000>; | |
| 1329 | + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; | |
| 1330 | + resets = <&cpg 312>; | |
| 1331 | + status = "disabled"; | |
| 1332 | + }; | |
| 1333 | + | |
| 1334 | + sdhi3: mmc@ee160000 { | |
| 1335 | + compatible = "renesas,sdhi-r8a7742", | |
| 1336 | + "renesas,rcar-gen2-sdhi"; | |
| 1337 | + reg = <0 0xee160000 0 0x100>; | |
| 1338 | + interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>; | |
| 1339 | + clocks = <&cpg CPG_MOD 311>; | |
| 1340 | + dmas = <&dmac0 0xd3>, <&dmac0 0xd4>, | |
| 1341 | + <&dmac1 0xd3>, <&dmac1 0xd4>; | |
| 1342 | + dma-names = "tx", "rx", "tx", "rx"; | |
| 1343 | + max-frequency = <97500000>; | |
| 1344 | + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; | |
| 1345 | + resets = <&cpg 311>; | |
| 1346 | + status = "disabled"; | |
| 1347 | + }; | |
| 1348 | + | |
| 1349 | + mmcif0: mmc@ee200000 { | |
| 1350 | + compatible = "renesas,mmcif-r8a7742", | |
| 1351 | + "renesas,sh-mmcif"; | |
| 1352 | + reg = <0 0xee200000 0 0x80>; | |
| 1353 | + interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>; | |
| 1354 | + clocks = <&cpg CPG_MOD 315>; | |
| 1355 | + dmas = <&dmac0 0xd1>, <&dmac0 0xd2>, | |
| 1356 | + <&dmac1 0xd1>, <&dmac1 0xd2>; | |
| 1357 | + dma-names = "tx", "rx", "tx", "rx"; | |
| 1358 | + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; | |
| 1359 | + resets = <&cpg 315>; | |
| 1360 | + reg-io-width = <4>; | |
| 1361 | + status = "disabled"; | |
| 1362 | + max-frequency = <97500000>; | |
| 1363 | + }; | |
| 1364 | + | |
| 598 | 1365 | mmcif1: mmc@ee220000 { |
| 599 | 1366 | compatible = "renesas,mmcif-r8a7742", |
| 600 | 1367 | "renesas,sh-mmcif"; |
| @@ -611,6 +1378,42 @@ · 10 unmodified lines | ||
| 611 | 1378 | max-frequency = <97500000>; |
| 612 | 1379 | }; |
| 613 | 1380 | |
| 1381 | + sata0: sata@ee300000 { | |
| 1382 | + compatible = "renesas,sata-r8a7742", | |
| 1383 | + "renesas,rcar-gen2-sata"; | |
| 1384 | + reg = <0 0xee300000 0 0x200000>; | |
| 1385 | + interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>; | |
| 1386 | + clocks = <&cpg CPG_MOD 815>; | |
| 1387 | + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; | |
| 1388 | + resets = <&cpg 815>; | |
| 1389 | + status = "disabled"; | |
| 1390 | + }; | |
| 1391 | + | |
| 1392 | + sata1: sata@ee500000 { | |
| 1393 | + compatible = "renesas,sata-r8a7742", | |
| 1394 | + "renesas,rcar-gen2-sata"; | |
| 1395 | + reg = <0 0xee500000 0 0x200000>; | |
| 1396 | + interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>; | |
| 1397 | + clocks = <&cpg CPG_MOD 814>; | |
| 1398 | + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; | |
| 1399 | + resets = <&cpg 814>; | |
| 1400 | + status = "disabled"; | |
| 1401 | + }; | |
| 1402 | + | |
| 1403 | + ether: ethernet@ee700000 { | |
| 1404 | + compatible = "renesas,ether-r8a7742", | |
| 1405 | + "renesas,rcar-gen2-ether"; | |
| 1406 | + reg = <0 0xee700000 0 0x400>; | |
| 1407 | + interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>; | |
| 1408 | + clocks = <&cpg CPG_MOD 813>; | |
| 1409 | + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; | |
| 1410 | + resets = <&cpg 813>; | |
| 1411 | + phy-mode = "rmii"; | |
| 1412 | + #address-cells = <1>; | |
| 1413 | + #size-cells = <0>; | |
| 1414 | + status = "disabled"; | |
| 1415 | + }; | |
| 1416 | + | |
| 614 | 1417 | gic: interrupt-controller@f1001000 { |
| 615 | 1418 | compatible = "arm,gic-400"; |
| 616 | 1419 | #interrupt-cells = <3>; |
| @@ -629,6 +1432,57 @@ · 12 unmodified lines | ||
| 629 | 1432 | compatible = "renesas,prr"; |
| 630 | 1433 | reg = <0 0xff000044 0 4>; |
| 631 | 1434 | }; |
| 1435 | + | |
| 1436 | + cmt0: timer@ffca0000 { | |
| 1437 | + compatible = "renesas,r8a7742-cmt0", | |
| 1438 | + "renesas,rcar-gen2-cmt0"; | |
| 1439 | + reg = <0 0xffca0000 0 0x1004>; | |
| 1440 | + interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>, | |
| 1441 | + <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>; | |
| 1442 | + clocks = <&cpg CPG_MOD 124>; | |
| 1443 | + clock-names = "fck"; | |
| 1444 | + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; | |
| 1445 | + resets = <&cpg 124>; | |
| 1446 | + status = "disabled"; | |
| 1447 | + }; | |
| 1448 | + | |
| 1449 | + cmt1: timer@e6130000 { | |
| 1450 | + compatible = "renesas,r8a7742-cmt1", | |
| 1451 | + "renesas,rcar-gen2-cmt1"; | |
| 1452 | + reg = <0 0xe6130000 0 0x1004>; | |
| 1453 | + interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>, | |
| 1454 | + <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>, | |
| 1455 | + <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>, | |
| 1456 | + <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, | |
| 1457 | + <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>, | |
| 1458 | + <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>, | |
| 1459 | + <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>, | |
| 1460 | + <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>; | |
| 1461 | + clocks = <&cpg CPG_MOD 329>; | |
| 1462 | + clock-names = "fck"; | |
| 1463 | + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; | |
| 1464 | + resets = <&cpg 329>; | |
| 1465 | + status = "disabled"; | |
| 1466 | + }; | |
| 1467 | + }; | |
| 1468 | + | |
| 1469 | + thermal-zones { | |
| 1470 | + cpu_thermal: cpu-thermal { | |
| 1471 | + polling-delay-passive = <0>; | |
| 1472 | + polling-delay = <0>; | |
| 1473 | + | |
| 1474 | + thermal-sensors = <&thermal>; | |
| 1475 | + | |
| 1476 | + trips { | |
| 1477 | + cpu-crit { | |
| 1478 | + temperature = <95000>; | |
| 1479 | + hysteresis = <0>; | |
| 1480 | + type = "critical"; | |
| 1481 | + }; | |
| 1482 | + }; | |
| 1483 | + cooling-maps { | |
| 1484 | + }; | |
| 1485 | + }; | |
| 632 | 1486 | }; |
| 633 | 1487 | |
| 634 | 1488 | timer { |
| @@ -1520,7 +1520,7 @@ · 1519 unmodified lines | ||
| 1520 | 1520 | }; |
| 1521 | 1521 | }; |
| 1522 | 1522 | |
| 1523 | − sdhi0: sd@ee100000 { | |
| 1523 | + sdhi0: mmc@ee100000 { | |
| 1524 | 1524 | compatible = "renesas,sdhi-r8a7743", |
| 1525 | 1525 | "renesas,rcar-gen2-sdhi"; |
| 1526 | 1526 | reg = <0 0xee100000 0 0x328>; |
| @@ -1535,7 +1535,7 @@ · 8 unmodified lines | ||
| 1535 | 1535 | status = "disabled"; |
| 1536 | 1536 | }; |
| 1537 | 1537 | |
| 1538 | − sdhi1: sd@ee140000 { | |
| 1538 | + sdhi1: mmc@ee140000 { | |
| 1539 | 1539 | compatible = "renesas,sdhi-r8a7743", |
| 1540 | 1540 | "renesas,rcar-gen2-sdhi"; |
| 1541 | 1541 | reg = <0 0xee140000 0 0x100>; |
| @@ -1550,7 +1550,7 @@ · 8 unmodified lines | ||
| 1550 | 1550 | status = "disabled"; |
| 1551 | 1551 | }; |
| 1552 | 1552 | |
| 1553 | − sdhi2: sd@ee160000 { | |
| 1553 | + sdhi2: mmc@ee160000 { | |
| 1554 | 1554 | compatible = "renesas,sdhi-r8a7743", |
| 1555 | 1555 | "renesas,rcar-gen2-sdhi"; |
| 1556 | 1556 | reg = <0 0xee160000 0 0x100>; |
| @@ -1520,7 +1520,7 @@ · 1519 unmodified lines | ||
| 1520 | 1520 | }; |
| 1521 | 1521 | }; |
| 1522 | 1522 | |
| 1523 | − sdhi0: sd@ee100000 { | |
| 1523 | + sdhi0: mmc@ee100000 { | |
| 1524 | 1524 | compatible = "renesas,sdhi-r8a7744", |
| 1525 | 1525 | "renesas,rcar-gen2-sdhi"; |
| 1526 | 1526 | reg = <0 0xee100000 0 0x328>; |
| @@ -1535,7 +1535,7 @@ · 8 unmodified lines | ||
| 1535 | 1535 | status = "disabled"; |
| 1536 | 1536 | }; |
| 1537 | 1537 | |
| 1538 | − sdhi1: sd@ee140000 { | |
| 1538 | + sdhi1: mmc@ee140000 { | |
| 1539 | 1539 | compatible = "renesas,sdhi-r8a7744", |
| 1540 | 1540 | "renesas,rcar-gen2-sdhi"; |
| 1541 | 1541 | reg = <0 0xee140000 0 0x100>; |
| @@ -1550,7 +1550,7 @@ · 8 unmodified lines | ||
| 1550 | 1550 | status = "disabled"; |
| 1551 | 1551 | }; |
| 1552 | 1552 | |
| 1553 | − sdhi2: sd@ee160000 { | |
| 1553 | + sdhi2: mmc@ee160000 { | |
| 1554 | 1554 | compatible = "renesas,sdhi-r8a7744", |
| 1555 | 1555 | "renesas,rcar-gen2-sdhi"; |
| 1556 | 1556 | reg = <0 0xee160000 0 0x100>; |
| @@ -1396,7 +1396,7 @@ · 1395 unmodified lines | ||
| 1396 | 1396 | }; |
| 1397 | 1397 | }; |
| 1398 | 1398 | |
| 1399 | − sdhi0: sd@ee100000 { | |
| 1399 | + sdhi0: mmc@ee100000 { | |
| 1400 | 1400 | compatible = "renesas,sdhi-r8a7745", |
| 1401 | 1401 | "renesas,rcar-gen2-sdhi"; |
| 1402 | 1402 | reg = <0 0xee100000 0 0x328>; |
| @@ -1411,7 +1411,7 @@ · 8 unmodified lines | ||
| 1411 | 1411 | status = "disabled"; |
| 1412 | 1412 | }; |
| 1413 | 1413 | |
| 1414 | − sdhi1: sd@ee140000 { | |
| 1414 | + sdhi1: mmc@ee140000 { | |
| 1415 | 1415 | compatible = "renesas,sdhi-r8a7745", |
| 1416 | 1416 | "renesas,rcar-gen2-sdhi"; |
| 1417 | 1417 | reg = <0 0xee140000 0 0x100>; |
| @@ -1426,7 +1426,7 @@ · 8 unmodified lines | ||
| 1426 | 1426 | status = "disabled"; |
| 1427 | 1427 | }; |
| 1428 | 1428 | |
| 1429 | − sdhi2: sd@ee160000 { | |
| 1429 | + sdhi2: mmc@ee160000 { | |
| 1430 | 1430 | compatible = "renesas,sdhi-r8a7745", |
| 1431 | 1431 | "renesas,rcar-gen2-sdhi"; |
| 1432 | 1432 | reg = <0 0xee160000 0 0x100>; |
| @@ -882,7 +882,7 @@ · 881 unmodified lines | ||
| 882 | 882 | status = "disabled"; |
| 883 | 883 | }; |
| 884 | 884 | |
| 885 | − sdhi0: sd@ee100000 { | |
| 885 | + sdhi0: mmc@ee100000 { | |
| 886 | 886 | compatible = "renesas,sdhi-r8a77470", |
| 887 | 887 | "renesas,rcar-gen2-sdhi"; |
| 888 | 888 | reg = <0 0xee100000 0 0x328>; |
| @@ -897,7 +897,7 @@ · 8 unmodified lines | ||
| 897 | 897 | status = "disabled"; |
| 898 | 898 | }; |
| 899 | 899 | |
| 900 | − sdhi1: sd@ee300000 { | |
| 900 | + sdhi1: mmc@ee300000 { | |
| 901 | 901 | compatible = "renesas,sdhi-mmc-r8a77470"; |
| 902 | 902 | reg = <0 0xee300000 0 0x2000>; |
| 903 | 903 | interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -908,7 +908,7 @@ · 4 unmodified lines | ||
| 908 | 908 | status = "disabled"; |
| 909 | 909 | }; |
| 910 | 910 | |
| 911 | − sdhi2: sd@ee160000 { | |
| 911 | + sdhi2: mmc@ee160000 { | |
| 912 | 912 | compatible = "renesas,sdhi-r8a77470", |
| 913 | 913 | "renesas,rcar-gen2-sdhi"; |
| 914 | 914 | reg = <0 0xee160000 0 0x328>; |
| @@ -78,7 +78,8 @@ · 77 unmodified lines | ||
| 78 | 78 | <0xfe780010 4>, |
| 79 | 79 | <0xfe780024 4>, |
| 80 | 80 | <0xfe780044 4>, |
| 81 | − <0xfe780064 4>; | |
| 81 | + <0xfe780064 4>, | |
| 82 | + <0xfe780000 4>; | |
| 82 | 83 | interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>, |
| 83 | 84 | <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>, |
| 84 | 85 | <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>, |
| @@ -400,7 +401,7 @@ · 315 unmodified lines | ||
| 400 | 401 | status = "disabled"; |
| 401 | 402 | }; |
| 402 | 403 | |
| 403 | − sdhi0: sd@ffe4c000 { | |
| 404 | + sdhi0: mmc@ffe4c000 { | |
| 404 | 405 | compatible = "renesas,sdhi-r8a7778", |
| 405 | 406 | "renesas,rcar-gen1-sdhi"; |
| 406 | 407 | reg = <0xffe4c000 0x100>; |
| @@ -410,7 +411,7 @@ · 3 unmodified lines | ||
| 410 | 411 | status = "disabled"; |
| 411 | 412 | }; |
| 412 | 413 | |
| 413 | − sdhi1: sd@ffe4d000 { | |
| 414 | + sdhi1: mmc@ffe4d000 { | |
| 414 | 415 | compatible = "renesas,sdhi-r8a7778", |
| 415 | 416 | "renesas,rcar-gen1-sdhi"; |
| 416 | 417 | reg = <0xffe4d000 0x100>; |
| @@ -420,7 +421,7 @@ · 3 unmodified lines | ||
| 420 | 421 | status = "disabled"; |
| 421 | 422 | }; |
| 422 | 423 | |
| 423 | − sdhi2: sd@ffe4f000 { | |
| 424 | + sdhi2: mmc@ffe4f000 { | |
| 424 | 425 | compatible = "renesas,sdhi-r8a7778", |
| 425 | 426 | "renesas,rcar-gen1-sdhi"; |
| 426 | 427 | reg = <0xffe4f000 0x100>; |
| @@ -385,7 +385,7 @@ · 384 unmodified lines | ||
| 385 | 385 | status = "disabled"; |
| 386 | 386 | }; |
| 387 | 387 | |
| 388 | − sdhi0: sd@ffe4c000 { | |
| 388 | + sdhi0: mmc@ffe4c000 { | |
| 389 | 389 | compatible = "renesas,sdhi-r8a7779", |
| 390 | 390 | "renesas,rcar-gen1-sdhi"; |
| 391 | 391 | reg = <0xffe4c000 0x100>; |
| @@ -395,7 +395,7 @@ · 3 unmodified lines | ||
| 395 | 395 | status = "disabled"; |
| 396 | 396 | }; |
| 397 | 397 | |
| 398 | − sdhi1: sd@ffe4d000 { | |
| 398 | + sdhi1: mmc@ffe4d000 { | |
| 399 | 399 | compatible = "renesas,sdhi-r8a7779", |
| 400 | 400 | "renesas,rcar-gen1-sdhi"; |
| 401 | 401 | reg = <0xffe4d000 0x100>; |
| @@ -405,7 +405,7 @@ · 3 unmodified lines | ||
| 405 | 405 | status = "disabled"; |
| 406 | 406 | }; |
| 407 | 407 | |
| 408 | − sdhi2: sd@ffe4e000 { | |
| 408 | + sdhi2: mmc@ffe4e000 { | |
| 409 | 409 | compatible = "renesas,sdhi-r8a7779", |
| 410 | 410 | "renesas,rcar-gen1-sdhi"; |
| 411 | 411 | reg = <0xffe4e000 0x100>; |
| @@ -415,7 +415,7 @@ · 3 unmodified lines | ||
| 415 | 415 | status = "disabled"; |
| 416 | 416 | }; |
| 417 | 417 | |
| 418 | − sdhi3: sd@ffe4f000 { | |
| 418 | + sdhi3: mmc@ffe4f000 { | |
| 419 | 419 | compatible = "renesas,sdhi-r8a7779", |
| 420 | 420 | "renesas,rcar-gen1-sdhi"; |
| 421 | 421 | reg = <0xffe4f000 0x100>; |
| @@ -343,7 +343,6 @@ · 342 unmodified lines | ||
| 343 | 343 | composite-in@20 { |
| 344 | 344 | compatible = "adi,adv7180"; |
| 345 | 345 | reg = <0x20>; |
| 346 | − remote = <&vin1>; | |
| 347 | 346 | |
| 348 | 347 | port { |
| 349 | 348 | adv7180: endpoint { |
| @@ -1467,7 +1467,7 @@ · 1466 unmodified lines | ||
| 1467 | 1467 | }; |
| 1468 | 1468 | }; |
| 1469 | 1469 | |
| 1470 | − sdhi0: sd@ee100000 { | |
| 1470 | + sdhi0: mmc@ee100000 { | |
| 1471 | 1471 | compatible = "renesas,sdhi-r8a7790", |
| 1472 | 1472 | "renesas,rcar-gen2-sdhi"; |
| 1473 | 1473 | reg = <0 0xee100000 0 0x328>; |
| @@ -1482,7 +1482,7 @@ · 8 unmodified lines | ||
| 1482 | 1482 | status = "disabled"; |
| 1483 | 1483 | }; |
| 1484 | 1484 | |
| 1485 | − sdhi1: sd@ee120000 { | |
| 1485 | + sdhi1: mmc@ee120000 { | |
| 1486 | 1486 | compatible = "renesas,sdhi-r8a7790", |
| 1487 | 1487 | "renesas,rcar-gen2-sdhi"; |
| 1488 | 1488 | reg = <0 0xee120000 0 0x328>; |
| @@ -1497,7 +1497,7 @@ · 8 unmodified lines | ||
| 1497 | 1497 | status = "disabled"; |
| 1498 | 1498 | }; |
| 1499 | 1499 | |
| 1500 | − sdhi2: sd@ee140000 { | |
| 1500 | + sdhi2: mmc@ee140000 { | |
| 1501 | 1501 | compatible = "renesas,sdhi-r8a7790", |
| 1502 | 1502 | "renesas,rcar-gen2-sdhi"; |
| 1503 | 1503 | reg = <0 0xee140000 0 0x100>; |
| @@ -1512,7 +1512,7 @@ · 8 unmodified lines | ||
| 1512 | 1512 | status = "disabled"; |
| 1513 | 1513 | }; |
| 1514 | 1514 | |
| 1515 | − sdhi3: sd@ee160000 { | |
| 1515 | + sdhi3: mmc@ee160000 { | |
| 1516 | 1516 | compatible = "renesas,sdhi-r8a7790", |
| 1517 | 1517 | "renesas,rcar-gen2-sdhi"; |
| 1518 | 1518 | reg = <0 0xee160000 0 0x100>; |
| @@ -366,7 +366,6 @@ · 365 unmodified lines | ||
| 366 | 366 | composite-in@20 { |
| 367 | 367 | compatible = "adi,adv7180"; |
| 368 | 368 | reg = <0x20>; |
| 369 | − remote = <&vin1>; | |
| 370 | 369 | |
| 371 | 370 | port { |
| 372 | 371 | adv7180: endpoint { |
| @@ -162,7 +162,6 @@ · 161 unmodified lines | ||
| 162 | 162 | composite-in@20 { |
| 163 | 163 | compatible = "adi,adv7180"; |
| 164 | 164 | reg = <0x20>; |
| 165 | − remote = <&vin0>; | |
| 166 | 165 | |
| 167 | 166 | port { |
| 168 | 167 | adv7180: endpoint { |
| @@ -1563,7 +1563,7 @@ · 1562 unmodified lines | ||
| 1563 | 1563 | }; |
| 1564 | 1564 | }; |
| 1565 | 1565 | |
| 1566 | − sdhi0: sd@ee100000 { | |
| 1566 | + sdhi0: mmc@ee100000 { | |
| 1567 | 1567 | compatible = "renesas,sdhi-r8a7791", |
| 1568 | 1568 | "renesas,rcar-gen2-sdhi"; |
| 1569 | 1569 | reg = <0 0xee100000 0 0x328>; |
| @@ -1578,7 +1578,7 @@ · 8 unmodified lines | ||
| 1578 | 1578 | status = "disabled"; |
| 1579 | 1579 | }; |
| 1580 | 1580 | |
| 1581 | − sdhi1: sd@ee140000 { | |
| 1581 | + sdhi1: mmc@ee140000 { | |
| 1582 | 1582 | compatible = "renesas,sdhi-r8a7791", |
| 1583 | 1583 | "renesas,rcar-gen2-sdhi"; |
| 1584 | 1584 | reg = <0 0xee140000 0 0x100>; |
| @@ -1593,7 +1593,7 @@ · 8 unmodified lines | ||
| 1593 | 1593 | status = "disabled"; |
| 1594 | 1594 | }; |
| 1595 | 1595 | |
| 1596 | − sdhi2: sd@ee160000 { | |
| 1596 | + sdhi2: mmc@ee160000 { | |
| 1597 | 1597 | compatible = "renesas,sdhi-r8a7791", |
| 1598 | 1598 | "renesas,rcar-gen2-sdhi"; |
| 1599 | 1599 | reg = <0 0xee160000 0 0x100>; |
| @@ -780,7 +780,7 @@ · 779 unmodified lines | ||
| 780 | 780 | status = "disabled"; |
| 781 | 781 | }; |
| 782 | 782 | |
| 783 | − sdhi0: sd@ee100000 { | |
| 783 | + sdhi0: mmc@ee100000 { | |
| 784 | 784 | compatible = "renesas,sdhi-r8a7792", |
| 785 | 785 | "renesas,rcar-gen2-sdhi"; |
| 786 | 786 | reg = <0 0xee100000 0 0x328>; |
| @@ -334,9 +334,8 @@ · 333 unmodified lines | ||
| 334 | 334 | composite-in@20 { |
| 335 | 335 | compatible = "adi,adv7180cp"; |
| 336 | 336 | reg = <0x20>; |
| 337 | − remote = <&vin1>; | |
| 338 | 337 | |
| 339 | − port { | |
| 338 | + ports { | |
| 340 | 339 | #address-cells = <1>; |
| 341 | 340 | #size-cells = <0>; |
| 342 | 341 | |
| @@ -394,7 +393,7 @@ · 51 unmodified lines | ||
| 394 | 393 | interrupts = <2 IRQ_TYPE_LEVEL_LOW>; |
| 395 | 394 | default-input = <0>; |
| 396 | 395 | |
| 397 | − port { | |
| 396 | + ports { | |
| 398 | 397 | #address-cells = <1>; |
| 399 | 398 | #size-cells = <0>; |
| 400 | 399 | |
| @@ -1227,7 +1227,7 @@ · 1226 unmodified lines | ||
| 1227 | 1227 | dma-channels = <13>; |
| 1228 | 1228 | }; |
| 1229 | 1229 | |
| 1230 | − sdhi0: sd@ee100000 { | |
| 1230 | + sdhi0: mmc@ee100000 { | |
| 1231 | 1231 | compatible = "renesas,sdhi-r8a7793", |
| 1232 | 1232 | "renesas,rcar-gen2-sdhi"; |
| 1233 | 1233 | reg = <0 0xee100000 0 0x328>; |
| @@ -1242,7 +1242,7 @@ · 8 unmodified lines | ||
| 1242 | 1242 | status = "disabled"; |
| 1243 | 1243 | }; |
| 1244 | 1244 | |
| 1245 | − sdhi1: sd@ee140000 { | |
| 1245 | + sdhi1: mmc@ee140000 { | |
| 1246 | 1246 | compatible = "renesas,sdhi-r8a7793", |
| 1247 | 1247 | "renesas,rcar-gen2-sdhi"; |
| 1248 | 1248 | reg = <0 0xee140000 0 0x100>; |
| @@ -1257,7 +1257,7 @@ · 8 unmodified lines | ||
| 1257 | 1257 | status = "disabled"; |
| 1258 | 1258 | }; |
| 1259 | 1259 | |
| 1260 | − sdhi2: sd@ee160000 { | |
| 1260 | + sdhi2: mmc@ee160000 { | |
| 1261 | 1261 | compatible = "renesas,sdhi-r8a7793", |
| 1262 | 1262 | "renesas,rcar-gen2-sdhi"; |
| 1263 | 1263 | reg = <0 0xee160000 0 0x100>; |
| @@ -167,7 +167,6 @@ · 166 unmodified lines | ||
| 167 | 167 | composite-in@20 { |
| 168 | 168 | compatible = "adi,adv7180"; |
| 169 | 169 | reg = <0x20>; |
| 170 | − remote = <&vin0>; | |
| 171 | 170 | |
| 172 | 171 | port { |
| 173 | 172 | adv7180: endpoint { |
| @@ -236,7 +236,6 @@ · 235 unmodified lines | ||
| 236 | 236 | composite-in@20 { |
| 237 | 237 | compatible = "adi,adv7180"; |
| 238 | 238 | reg = <0x20>; |
| 239 | − remote = <&vin0>; | |
| 240 | 239 | |
| 241 | 240 | port { |
| 242 | 241 | adv7180: endpoint { |
| @@ -1232,7 +1232,7 @@ · 1231 unmodified lines | ||
| 1232 | 1232 | }; |
| 1233 | 1233 | }; |
| 1234 | 1234 | |
| 1235 | − sdhi0: sd@ee100000 { | |
| 1235 | + sdhi0: mmc@ee100000 { | |
| 1236 | 1236 | compatible = "renesas,sdhi-r8a7794", |
| 1237 | 1237 | "renesas,rcar-gen2-sdhi"; |
| 1238 | 1238 | reg = <0 0xee100000 0 0x328>; |
| @@ -1247,7 +1247,7 @@ · 8 unmodified lines | ||
| 1247 | 1247 | status = "disabled"; |
| 1248 | 1248 | }; |
| 1249 | 1249 | |
| 1250 | − sdhi1: sd@ee140000 { | |
| 1250 | + sdhi1: mmc@ee140000 { | |
| 1251 | 1251 | compatible = "renesas,sdhi-r8a7794", |
| 1252 | 1252 | "renesas,rcar-gen2-sdhi"; |
| 1253 | 1253 | reg = <0 0xee140000 0 0x100>; |
| @@ -1262,7 +1262,7 @@ · 8 unmodified lines | ||
| 1262 | 1262 | status = "disabled"; |
| 1263 | 1263 | }; |
| 1264 | 1264 | |
| 1265 | − sdhi2: sd@ee160000 { | |
| 1265 | + sdhi2: mmc@ee160000 { | |
| 1266 | 1266 | compatible = "renesas,sdhi-r8a7794", |
| 1267 | 1267 | "renesas,rcar-gen2-sdhi"; |
| 1268 | 1268 | reg = <0 0xee160000 0 0x100>; |
| @@ -174,7 +174,7 @@ · 173 unmodified lines | ||
| 174 | 174 | }; |
| 175 | 175 | |
| 176 | 176 | gic: interrupt-controller@44101000 { |
| 177 | − compatible = "arm,cortex-a7-gic", "arm,gic-400"; | |
| 177 | + compatible = "arm,gic-400", "arm,cortex-a7-gic"; | |
| 178 | 178 | interrupt-controller; |
| 179 | 179 | #interrupt-cells = <3>; |
| 180 | 180 | reg = <0x44101000 0x1000>, /* Distributer */ |
| @@ -67,6 +67,7 @@ · 66 unmodified lines | ||
| 67 | 67 | <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>; |
| 68 | 68 | #dma-cells = <1>; |
| 69 | 69 | arm,pl330-broken-no-flushp; |
| 70 | + arm,pl330-periph-burst; | |
| 70 | 71 | clocks = <&cru ACLK_DMAC2>; |
| 71 | 72 | clock-names = "apb_pclk"; |
| 72 | 73 | }; |
| @@ -107,6 +107,7 @@ · 106 unmodified lines | ||
| 107 | 107 | interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>, |
| 108 | 108 | <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>; |
| 109 | 109 | #dma-cells = <1>; |
| 110 | + arm,pl330-periph-burst; | |
| 110 | 111 | clocks = <&cru ACLK_DMAC>; |
| 111 | 112 | clock-names = "apb_pclk"; |
| 112 | 113 | }; |
| @@ -520,9 +521,9 @@ · 407 unmodified lines | ||
| 520 | 521 | resets = <&cru SRST_TSADC>; |
| 521 | 522 | reset-names = "tsadc-apb"; |
| 522 | 523 | pinctrl-names = "init", "default", "sleep"; |
| 523 | − pinctrl-0 = <&otp_gpio>; | |
| 524 | + pinctrl-0 = <&otp_pin>; | |
| 524 | 525 | pinctrl-1 = <&otp_out>; |
| 525 | − pinctrl-2 = <&otp_gpio>; | |
| 526 | + pinctrl-2 = <&otp_pin>; | |
| 526 | 527 | #thermal-sensor-cells = <0>; |
| 527 | 528 | rockchip,hw-tshut-temp = <95000>; |
| 528 | 529 | status = "disabled"; |
| @@ -1111,7 +1112,7 @@ · 582 unmodified lines | ||
| 1111 | 1112 | }; |
| 1112 | 1113 | |
| 1113 | 1114 | tsadc { |
| 1114 | − otp_gpio: otp-gpio { | |
| 1115 | + otp_pin: otp-pin { | |
| 1115 | 1116 | rockchip,pins = <0 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>; |
| 1116 | 1117 | }; |
| 1117 | 1118 | |
| @@ -0,0 +1,17 @@ | ||
| 1 | +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) | |
| 2 | +/* | |
| 3 | + * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd | |
| 4 | + * Copyright (c) 2019 Vamrs Limited | |
| 5 | + * Copyright (c) 2019 Amarula Solutions(India) | |
| 6 | + */ | |
| 7 | + | |
| 8 | +/dts-v1/; | |
| 9 | +#include "rk3288.dtsi" | |
| 10 | +#include <arm/rockchip-radxa-dalang-carrier.dtsi> | |
| 11 | +#include "rk3288-vmarc-som.dtsi" | |
| 12 | + | |
| 13 | +/ { | |
| 14 | + model = "Radxa ROCK Pi N8"; | |
| 15 | + compatible = "radxa,rockpi-n8", "vamrs,rk3288-vmarc-som", | |
| 16 | + "rockchip,rk3288"; | |
| 17 | +}; | |
| @@ -44,10 +44,25 @@ · 43 unmodified lines | ||
| 44 | 44 | }; |
| 45 | 45 | }; |
| 46 | 46 | |
| 47 | +&sdio0 { | |
| 48 | + #address-cells = <1>; | |
| 49 | + #size-cells = <0>; | |
| 50 | + | |
| 51 | + btmrvl: btmrvl@2 { | |
| 52 | + compatible = "marvell,sd8897-bt"; | |
| 53 | + reg = <2>; | |
| 54 | + interrupt-parent = <&gpio4>; | |
| 55 | + interrupts = <RK_PD7 IRQ_TYPE_LEVEL_LOW>; | |
| 56 | + marvell,wakeup-pin = /bits/ 16 <13>; | |
| 57 | + pinctrl-names = "default"; | |
| 58 | + pinctrl-0 = <&bt_host_wake_l>; | |
| 59 | + }; | |
| 60 | +}; | |
| 61 | + | |
| 47 | 62 | &sdmmc { |
| 48 | 63 | disable-wp; |
| 49 | 64 | pinctrl-names = "default"; |
| 50 | − pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd_disabled &sdmmc_cd_gpio | |
| 65 | + pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd_disabled &sdmmc_cd_pin | |
| 51 | 66 | &sdmmc_bus4>; |
| 52 | 67 | }; |
| 53 | 68 | |
| @@ -192,7 +192,7 @@ · 191 unmodified lines | ||
| 192 | 192 | &sdmmc { |
| 193 | 193 | disable-wp; |
| 194 | 194 | pinctrl-names = "default"; |
| 195 | − pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd_disabled &sdmmc_cd_gpio | |
| 195 | + pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd_disabled &sdmmc_cd_pin | |
| 196 | 196 | &sdmmc_bus4>; |
| 197 | 197 | }; |
| 198 | 198 | |
| @@ -18,8 +18,8 @@ · 17 unmodified lines | ||
| 18 | 18 | }; |
| 19 | 19 | |
| 20 | 20 | &sdmmc { |
| 21 | − pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd_disabled &sdmmc_cd_gpio | |
| 22 | − &sdmmc_wp_gpio &sdmmc_bus4>; | |
| 21 | + pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd_disabled &sdmmc_cd_pin | |
| 22 | + &sdmmc_wp_pin &sdmmc_bus4>; | |
| 23 | 23 | wp-gpios = <&gpio7 10 GPIO_ACTIVE_HIGH>; |
| 24 | 24 | |
| 25 | 25 | /delete-property/ disable-wp; |
| @@ -27,7 +27,7 @@ · 1 unmodified line | ||
| 27 | 27 | |
| 28 | 28 | &pinctrl { |
| 29 | 29 | sdmmc { |
| 30 | − sdmmc_wp_gpio: sdmmc-wp-gpio { | |
| 30 | + sdmmc_wp_pin: sdmmc-wp-pin { | |
| 31 | 31 | rockchip,pins = <7 RK_PB2 RK_FUNC_GPIO &pcfg_pull_up>; |
| 32 | 32 | }; |
| 33 | 33 | }; |
| @@ -114,7 +114,7 @@ · 113 unmodified lines | ||
| 114 | 114 | &sdmmc { |
| 115 | 115 | disable-wp; |
| 116 | 116 | pinctrl-names = "default"; |
| 117 | − pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd_disabled &sdmmc_cd_gpio | |
| 117 | + pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd_disabled &sdmmc_cd_pin | |
| 118 | 118 | &sdmmc_bus4>; |
| 119 | 119 | }; |
| 120 | 120 | |
| @@ -105,7 +105,7 @@ · 104 unmodified lines | ||
| 105 | 105 | }; |
| 106 | 106 | |
| 107 | 107 | sdmmc { |
| 108 | − sdmmc_wp_gpio: sdmmc-wp-gpio { | |
| 108 | + sdmmc_wp_pin: sdmmc-wp-pin { | |
| 109 | 109 | rockchip,pins = <7 RK_PB2 RK_FUNC_GPIO &pcfg_pull_up>; |
| 110 | 110 | }; |
| 111 | 111 | }; |
| @@ -126,8 +126,8 @@ · 14 unmodified lines | ||
| 126 | 126 | |
| 127 | 127 | &sdmmc { |
| 128 | 128 | pinctrl-names = "default"; |
| 129 | − pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd_disabled &sdmmc_cd_gpio | |
| 130 | − &sdmmc_wp_gpio &sdmmc_bus4>; | |
| 129 | + pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd_disabled &sdmmc_cd_pin | |
| 130 | + &sdmmc_wp_pin &sdmmc_bus4>; | |
| 131 | 131 | wp-gpios = <&gpio7 RK_PB2 GPIO_ACTIVE_HIGH>; |
| 132 | 132 | }; |
| 133 | 133 | |
| @@ -41,7 +41,7 @@ · 40 unmodified lines | ||
| 41 | 41 | }; |
| 42 | 42 | |
| 43 | 43 | /* This is where we actually hook up CD */ |
| 44 | − sdmmc_cd_gpio: sdmmc-cd-gpio { | |
| 44 | + sdmmc_cd_pin: sdmmc-cd-pin { | |
| 45 | 45 | rockchip,pins = <7 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>; |
| 46 | 46 | }; |
| 47 | 47 | }; |
| @@ -54,7 +54,7 @@ · 53 unmodified lines | ||
| 54 | 54 | &sdmmc { |
| 55 | 55 | disable-wp; |
| 56 | 56 | pinctrl-names = "default"; |
| 57 | − pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd_disabled &sdmmc_cd_gpio | |
| 57 | + pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd_disabled &sdmmc_cd_pin | |
| 58 | 58 | &sdmmc_bus4>; |
| 59 | 59 | }; |
| 60 | 60 | |
| @@ -0,0 +1,322 @@ | ||
| 1 | +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) | |
| 2 | +/* | |
| 3 | + * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd | |
| 4 | + * Copyright (c) 2019 Vamrs Limited | |
| 5 | + * Copyright (c) 2019 Amarula Solutions(India) | |
| 6 | + */ | |
| 7 | + | |
| 8 | +#include <dt-bindings/gpio/gpio.h> | |
| 9 | +#include <dt-bindings/pinctrl/rockchip.h> | |
| 10 | + | |
| 11 | +/ { | |
| 12 | + compatible = "vamrs,rk3288-vmarc-som", "rockchip,rk3288"; | |
| 13 | + | |
| 14 | + vccio_flash: vccio-flash-regulator { | |
| 15 | + compatible = "regulator-fixed"; | |
| 16 | + regulator-name = "vccio_flash"; | |
| 17 | + regulator-min-microvolt = <1800000>; | |
| 18 | + regulator-max-microvolt = <1800000>; | |
| 19 | + vin-supply = <&vcc_io>; | |
| 20 | + }; | |
| 21 | +}; | |
| 22 | + | |
| 23 | +&emmc { | |
| 24 | + bus-width = <8>; | |
| 25 | + cap-mmc-highspeed; | |
| 26 | + disable-wp; | |
| 27 | + non-removable; | |
| 28 | + pinctrl-names = "default"; | |
| 29 | + pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_pwr &emmc_bus8>; | |
| 30 | + vmmc-supply = <&vcc_io>; | |
| 31 | + vqmmc-supply = <&vccio_flash>; | |
| 32 | + status = "okay"; | |
| 33 | +}; | |
| 34 | + | |
| 35 | +&gmac { | |
| 36 | + assigned-clocks = <&cru SCLK_MAC>; | |
| 37 | + phy-supply = <&vcc_io>; | |
| 38 | + snps,reset-gpio = <&gpio4 RK_PA7 GPIO_ACTIVE_HIGH>; | |
| 39 | +}; | |
| 40 | + | |
| 41 | +&hdmi { | |
| 42 | + ddc-i2c-bus = <&i2c5>; | |
| 43 | + pinctrl-names = "default"; | |
| 44 | + pinctrl-0 = <&hdmi_cec_c0>; | |
| 45 | +}; | |
| 46 | + | |
| 47 | +&i2c0 { | |
| 48 | + clock-frequency = <400000>; | |
| 49 | + status = "okay"; | |
| 50 | + | |
| 51 | + rk808: pmic@1b { | |
| 52 | + compatible = "rockchip,rk808"; | |
| 53 | + reg = <0x1b>; | |
| 54 | + interrupt-parent = <&gpio0>; | |
| 55 | + interrupts = <RK_PA4 IRQ_TYPE_LEVEL_LOW>; | |
| 56 | + pinctrl-names = "default"; | |
| 57 | + pinctrl-0 = <&pmic_int &global_pwroff>; | |
| 58 | + rockchip,system-power-controller; | |
| 59 | + wakeup-source; | |
| 60 | + #clock-cells = <1>; | |
| 61 | + clock-output-names = "rk808-clkout1", "rk808-clkout2"; | |
| 62 | + | |
| 63 | + vcc1-supply = <&vcc5v0_sys>; | |
| 64 | + vcc2-supply = <&vcc5v0_sys>; | |
| 65 | + vcc3-supply = <&vcc5v0_sys>; | |
| 66 | + vcc4-supply = <&vcc5v0_sys>; | |
| 67 | + vcc6-supply = <&vcc5v0_sys>; | |
| 68 | + vcc7-supply = <&vcc5v0_sys>; | |
| 69 | + vcc8-supply = <&vcc_io>; | |
| 70 | + vcc9-supply = <&vcc_io>; | |
| 71 | + vcc10-supply = <&vcc5v0_sys>; | |
| 72 | + vcc11-supply = <&vcc5v0_sys>; | |
| 73 | + vcc12-supply = <&vcc_io>; | |
| 74 | + vddio-supply = <&vcc_io>; | |
| 75 | + | |
| 76 | + regulators { | |
| 77 | + vdd_cpu: DCDC_REG1 { | |
| 78 | + regulator-name = "vdd_arm"; | |
| 79 | + regulator-always-on; | |
| 80 | + regulator-boot-on; | |
| 81 | + regulator-min-microvolt = <750000>; | |
| 82 | + regulator-max-microvolt = <1400000>; | |
| 83 | + regulator-state-mem { | |
| 84 | + regulator-off-in-suspend; | |
| 85 | + }; | |
| 86 | + }; | |
| 87 | + | |
| 88 | + vdd_gpu: DCDC_REG2 { | |
| 89 | + regulator-name = "vdd_gpu"; | |
| 90 | + regulator-always-on; | |
| 91 | + regulator-boot-on; | |
| 92 | + regulator-min-microvolt = <850000>; | |
| 93 | + regulator-max-microvolt = <1250000>; | |
| 94 | + regulator-ramp-delay = <6000>; | |
| 95 | + regulator-state-mem { | |
| 96 | + regulator-off-in-suspend; | |
| 97 | + }; | |
| 98 | + }; | |
| 99 | + | |
| 100 | + vcc_ddr: DCDC_REG3 { | |
| 101 | + regulator-name = "vcc_ddr"; | |
| 102 | + regulator-always-on; | |
| 103 | + regulator-boot-on; | |
| 104 | + regulator-state-mem { | |
| 105 | + regulator-on-in-suspend; | |
| 106 | + }; | |
| 107 | + }; | |
| 108 | + | |
| 109 | + vcc_io: DCDC_REG4 { | |
| 110 | + regulator-name = "vcc_io"; | |
| 111 | + regulator-always-on; | |
| 112 | + regulator-boot-on; | |
| 113 | + regulator-min-microvolt = <3300000>; | |
| 114 | + regulator-max-microvolt = <3300000>; | |
| 115 | + regulator-state-mem { | |
| 116 | + regulator-on-in-suspend; | |
| 117 | + regulator-suspend-microvolt = <3300000>; | |
| 118 | + }; | |
| 119 | + }; | |
| 120 | + | |
| 121 | + vcc_tp: LDO_REG1 { | |
| 122 | + regulator-name = "vcc_tp"; | |
| 123 | + regulator-always-on; | |
| 124 | + regulator-boot-on; | |
| 125 | + regulator-min-microvolt = <3300000>; | |
| 126 | + regulator-max-microvolt = <3300000>; | |
| 127 | + regulator-state-mem { | |
| 128 | + regulator-off-in-suspend; | |
| 129 | + }; | |
| 130 | + }; | |
| 131 | + | |
| 132 | + vcca_codec: LDO_REG2 { | |
| 133 | + regulator-name = "vcca_codec"; | |
| 134 | + regulator-always-on; | |
| 135 | + regulator-boot-on; | |
| 136 | + regulator-min-microvolt = <3300000>; | |
| 137 | + regulator-max-microvolt = <3300000>; | |
| 138 | + regulator-state-mem { | |
| 139 | + regulator-on-in-suspend; | |
| 140 | + regulator-suspend-microvolt = <3300000>; | |
| 141 | + }; | |
| 142 | + }; | |
| 143 | + | |
| 144 | + vdd_10: LDO_REG3 { | |
| 145 | + regulator-name = "vdd_10"; | |
| 146 | + regulator-always-on; | |
| 147 | + regulator-boot-on; | |
| 148 | + regulator-min-microvolt = <1000000>; | |
| 149 | + regulator-max-microvolt = <1000000>; | |
| 150 | + regulator-state-mem { | |
| 151 | + regulator-on-in-suspend; | |
| 152 | + regulator-suspend-microvolt = <1000000>; | |
| 153 | + }; | |
| 154 | + }; | |
| 155 | + | |
| 156 | + vcc_wl: LDO_REG4 { | |
| 157 | + regulator-name = "vcc_wl"; | |
| 158 | + regulator-always-on; | |
| 159 | + regulator-boot-on; | |
| 160 | + regulator-min-microvolt = <1800000>; | |
| 161 | + regulator-max-microvolt = <1800000>; | |
| 162 | + regulator-state-mem { | |
| 163 | + regulator-on-in-suspend; | |
| 164 | + }; | |
| 165 | + }; | |
| 166 | + | |
| 167 | + vccio_sd: LDO_REG5 { | |
| 168 | + regulator-name = "vccio_sd"; | |
| 169 | + regulator-always-on; | |
| 170 | + regulator-boot-on; | |
| 171 | + regulator-min-microvolt = <1800000>; | |
| 172 | + regulator-max-microvolt = <3300000>; | |
| 173 | + regulator-state-mem { | |
| 174 | + regulator-on-in-suspend; | |
| 175 | + regulator-suspend-microvolt = <3300000>; | |
| 176 | + }; | |
| 177 | + }; | |
| 178 | + | |
| 179 | + vdd10_lcd: LDO_REG6 { | |
| 180 | + regulator-name = "vdd10_lcd"; | |
| 181 | + regulator-always-on; | |
| 182 | + regulator-boot-on; | |
| 183 | + regulator-min-microvolt = <1000000>; | |
| 184 | + regulator-max-microvolt = <1000000>; | |
| 185 | + regulator-state-mem { | |
| 186 | + regulator-off-in-suspend; | |
| 187 | + }; | |
| 188 | + }; | |
| 189 | + | |
| 190 | + vcc_18: LDO_REG7 { | |
| 191 | + regulator-name = "vcc_18"; | |
| 192 | + regulator-always-on; | |
| 193 | + regulator-boot-on; | |
| 194 | + regulator-min-microvolt = <1800000>; | |
| 195 | + regulator-max-microvolt = <1800000>; | |
| 196 | + regulator-state-mem { | |
| 197 | + regulator-on-in-suspend; | |
| 198 | + regulator-suspend-microvolt = <1800000>; | |
| 199 | + }; | |
| 200 | + }; | |
| 201 | + | |
| 202 | + vcc18_lcd: LDO_REG8 { | |
| 203 | + regulator-name = "vcc18_lcd"; | |
| 204 | + regulator-always-on; | |
| 205 | + regulator-boot-on; | |
| 206 | + regulator-min-microvolt = <1800000>; | |
| 207 | + regulator-max-microvolt = <1800000>; | |
| 208 | + regulator-state-mem { | |
| 209 | + regulator-off-in-suspend; | |
| 210 | + }; | |
| 211 | + }; | |
| 212 | + | |
| 213 | + vcc_sd: SWITCH_REG1 { | |
| 214 | + regulator-name = "vcc_sd"; | |
| 215 | + regulator-always-on; | |
| 216 | + regulator-boot-on; | |
| 217 | + regulator-state-mem { | |
| 218 | + regulator-off-in-suspend; | |
| 219 | + }; | |
| 220 | + }; | |
| 221 | + | |
| 222 | + vcc_lcd: SWITCH_REG2 { | |
| 223 | + regulator-name = "vcc_lcd"; | |
| 224 | + regulator-always-on; | |
| 225 | + regulator-boot-on; | |
| 226 | + regulator-state-mem { | |
| 227 | + regulator-off-in-suspend; | |
| 228 | + }; | |
| 229 | + }; | |
| 230 | + }; | |
| 231 | + }; | |
| 232 | +}; | |
| 233 | + | |
| 234 | +&i2c5 { | |
| 235 | + status = "okay"; | |
| 236 | +}; | |
| 237 | + | |
| 238 | +&io_domains { | |
| 239 | + bb-supply = <&vcc_io>; | |
| 240 | + flash0-supply = <&vccio_flash>; | |
| 241 | + gpio1830-supply = <&vcc_18>; | |
| 242 | + gpio30-supply = <&vcc_io>; | |
| 243 | + sdcard-supply = <&vccio_sd>; | |
| 244 | + status = "okay"; | |
| 245 | +}; | |
| 246 | + | |
| 247 | +&pinctrl { | |
| 248 | + pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma { | |
| 249 | + drive-strength = <8>; | |
| 250 | + }; | |
| 251 | + | |
| 252 | + pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma { | |
| 253 | + bias-pull-up; | |
| 254 | + drive-strength = <8>; | |
| 255 | + }; | |
| 256 | + | |
| 257 | + pmic { | |
| 258 | + pmic_int: pmic-int { | |
| 259 | + rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up>; | |
| 260 | + }; | |
| 261 | + }; | |
| 262 | + | |
| 263 | + sdmmc { | |
| 264 | + sdmmc_bus4: sdmmc-bus4 { | |
| 265 | + rockchip,pins = | |
| 266 | + <6 RK_PC0 1 &pcfg_pull_up_drv_8ma>, | |
| 267 | + <6 RK_PC1 1 &pcfg_pull_up_drv_8ma>, | |
| 268 | + <6 RK_PC2 1 &pcfg_pull_up_drv_8ma>, | |
| 269 | + <6 RK_PC3 1 &pcfg_pull_up_drv_8ma>; | |
| 270 | + }; | |
| 271 | + | |
| 272 | + sdmmc_clk: sdmmc-clk { | |
| 273 | + rockchip,pins = <6 RK_PC4 1 &pcfg_pull_none_drv_8ma>; | |
| 274 | + }; | |
| 275 | + | |
| 276 | + sdmmc_cmd: sdmmc-cmd { | |
| 277 | + rockchip,pins = <6 RK_PC5 1 &pcfg_pull_up_drv_8ma>; | |
| 278 | + }; | |
| 279 | + }; | |
| 280 | + | |
| 281 | + vbus_host { | |
| 282 | + usb1_en_oc: usb1-en-oc { | |
| 283 | + rockchip,pins = <0 RK_PC1 RK_FUNC_GPIO &pcfg_pull_up>; | |
| 284 | + }; | |
| 285 | + }; | |
| 286 | + | |
| 287 | + vbus_typec { | |
| 288 | + usb0_en_oc: usb0-en-oc { | |
| 289 | + rockchip,pins = <0 RK_PB5 RK_FUNC_GPIO &pcfg_pull_up>; | |
| 290 | + }; | |
| 291 | + }; | |
| 292 | +}; | |
| 293 | + | |
| 294 | +&usbphy { | |
| 295 | + status = "okay"; | |
| 296 | +}; | |
| 297 | + | |
| 298 | +&usb_host0_ehci { | |
| 299 | + status = "okay"; | |
| 300 | +}; | |
| 301 | + | |
| 302 | +&usb_host0_ohci { | |
| 303 | + status = "okay"; | |
| 304 | +}; | |
| 305 | + | |
| 306 | +&usb_host1 { | |
| 307 | + status = "okay"; | |
| 308 | +}; | |
| 309 | + | |
| 310 | +&usb_otg { | |
| 311 | + status = "okay"; | |
| 312 | +}; | |
| 313 | + | |
| 314 | +&vbus_host { | |
| 315 | + enable-active-high; | |
| 316 | + gpio = <&gpio0 RK_PC1 GPIO_ACTIVE_HIGH>; /* USB1_EN_OC# */ | |
| 317 | +}; | |
| 318 | + | |
| 319 | +&vbus_typec { | |
| 320 | + enable-active-high; | |
| 321 | + gpio = <&gpio0 RK_PB5 GPIO_ACTIVE_HIGH>; /* USB0_EN_OC# */ | |
| 322 | +}; | |
| @@ -99,8 +99,6 @@ · 98 unmodified lines | ||
| 99 | 99 | pinctrl-0 = <&otg_vbus_drv>; |
| 100 | 100 | regulator-min-microvolt = <5000000>; |
| 101 | 101 | regulator-max-microvolt = <5000000>; |
| 102 | − regulator-always-on; | |
| 103 | − regulator-boot-on; | |
| 104 | 102 | vin-supply = <&vsus_5v>; |
| 105 | 103 | }; |
| 106 | 104 | |
| @@ -416,6 +414,7 @@ · 309 unmodified lines | ||
| 416 | 414 | }; |
| 417 | 415 | |
| 418 | 416 | &usb_otg { |
| 417 | + vbus-supply = <&vusb1_5v>; | |
| 419 | 418 | status = "okay"; |
| 420 | 419 | }; |
| 421 | 420 | |
| @@ -167,6 +167,7 @@ · 166 unmodified lines | ||
| 167 | 167 | <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>; |
| 168 | 168 | #dma-cells = <1>; |
| 169 | 169 | arm,pl330-broken-no-flushp; |
| 170 | + arm,pl330-periph-burst; | |
| 170 | 171 | clocks = <&cru ACLK_DMAC2>; |
| 171 | 172 | clock-names = "apb_pclk"; |
| 172 | 173 | }; |
| @@ -178,6 +179,7 @@ · 5 unmodified lines | ||
| 178 | 179 | <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>; |
| 179 | 180 | #dma-cells = <1>; |
| 180 | 181 | arm,pl330-broken-no-flushp; |
| 182 | + arm,pl330-periph-burst; | |
| 181 | 183 | clocks = <&cru ACLK_DMAC1>; |
| 182 | 184 | clock-names = "apb_pclk"; |
| 183 | 185 | status = "disabled"; |
| @@ -190,6 +192,7 @@ · 6 unmodified lines | ||
| 190 | 192 | <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>; |
| 191 | 193 | #dma-cells = <1>; |
| 192 | 194 | arm,pl330-broken-no-flushp; |
| 195 | + arm,pl330-periph-burst; | |
| 193 | 196 | clocks = <&cru ACLK_DMAC1>; |
| 194 | 197 | clock-names = "apb_pclk"; |
| 195 | 198 | }; |
| @@ -574,9 +577,9 @@ · 378 unmodified lines | ||
| 574 | 577 | resets = <&cru SRST_TSADC>; |
| 575 | 578 | reset-names = "tsadc-apb"; |
| 576 | 579 | pinctrl-names = "init", "default", "sleep"; |
| 577 | − pinctrl-0 = <&otp_gpio>; | |
| 580 | + pinctrl-0 = <&otp_pin>; | |
| 578 | 581 | pinctrl-1 = <&otp_out>; |
| 579 | − pinctrl-2 = <&otp_gpio>; | |
| 582 | + pinctrl-2 = <&otp_pin>; | |
| 580 | 583 | #thermal-sensor-cells = <1>; |
| 581 | 584 | rockchip,grf = <&grf>; |
| 582 | 585 | rockchip,hw-tshut-temp = <95000>; |
| @@ -613,7 +616,16 @@ · 30 unmodified lines | ||
| 613 | 616 | status = "disabled"; |
| 614 | 617 | }; |
| 615 | 618 | |
| 616 | − /* NOTE: ohci@ff520000 doesn't actually work on hardware */ | |
| 619 | + /* NOTE: doesn't work on RK3288, but was fixed on RK3288W */ | |
| 620 | + usb_host0_ohci: usb@ff520000 { | |
| 621 | + compatible = "generic-ohci"; | |
| 622 | + reg = <0x0 0xff520000 0x0 0x100>; | |
| 623 | + interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; | |
| 624 | + clocks = <&cru HCLK_USBHOST0>; | |
| 625 | + phys = <&usbphy1>; | |
| 626 | + phy-names = "usb"; | |
| 627 | + status = "disabled"; | |
| 628 | + }; | |
| 617 | 629 | |
| 618 | 630 | usb_host1: usb@ff540000 { |
| 619 | 631 | compatible = "rockchip,rk3288-usb", "rockchip,rk3066-usb", |
| @@ -1929,7 +1941,7 @@ · 1309 unmodified lines | ||
| 1929 | 1941 | }; |
| 1930 | 1942 | |
| 1931 | 1943 | tsadc { |
| 1932 | − otp_gpio: otp-gpio { | |
| 1944 | + otp_pin: otp-pin { | |
| 1933 | 1945 | rockchip,pins = <0 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>; |
| 1934 | 1946 | }; |
| 1935 | 1947 | |
| @@ -45,6 +45,7 @@ · 44 unmodified lines | ||
| 45 | 45 | <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>; |
| 46 | 46 | #dma-cells = <1>; |
| 47 | 47 | arm,pl330-broken-no-flushp; |
| 48 | + arm,pl330-periph-burst; | |
| 48 | 49 | clocks = <&cru ACLK_DMA1>; |
| 49 | 50 | clock-names = "apb_pclk"; |
| 50 | 51 | }; |
| @@ -56,6 +57,7 @@ · 5 unmodified lines | ||
| 56 | 57 | <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>; |
| 57 | 58 | #dma-cells = <1>; |
| 58 | 59 | arm,pl330-broken-no-flushp; |
| 60 | + arm,pl330-periph-burst; | |
| 59 | 61 | clocks = <&cru ACLK_DMA1>; |
| 60 | 62 | clock-names = "apb_pclk"; |
| 61 | 63 | status = "disabled"; |
| @@ -68,6 +70,7 @@ · 6 unmodified lines | ||
| 68 | 70 | <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>; |
| 69 | 71 | #dma-cells = <1>; |
| 70 | 72 | arm,pl330-broken-no-flushp; |
| 73 | + arm,pl330-periph-burst; | |
| 71 | 74 | clocks = <&cru ACLK_DMA2>; |
| 72 | 75 | clock-names = "apb_pclk"; |
| 73 | 76 | }; |
| @@ -8,36 +8,66 @@ · 7 unmodified lines | ||
| 8 | 8 | #include <dt-bindings/pwm/pwm.h> |
| 9 | 9 | |
| 10 | 10 | / { |
| 11 | − chosen { | |
| 12 | − stdout-path = "serial2:1500000n8"; | |
| 11 | + clkin_gmac: external-gmac-clock { | |
| 12 | + compatible = "fixed-clock"; | |
| 13 | + clock-frequency = <125000000>; | |
| 14 | + clock-output-names = "clkin_gmac"; | |
| 15 | + #clock-cells = <0>; | |
| 13 | 16 | }; |
| 14 | −}; | |
| 15 | 17 | |
| 16 | −&gmac { | |
| 17 | − status = "okay"; | |
| 18 | + vcc12v_dcin: vcc12v-dcin-regulator { | |
| 19 | + compatible = "regulator-fixed"; | |
| 20 | + regulator-name = "vcc12v_dcin"; | |
| 21 | + regulator-always-on; | |
| 22 | + regulator-boot-on; | |
| 23 | + regulator-min-microvolt = <12000000>; | |
| 24 | + regulator-max-microvolt = <12000000>; | |
| 25 | + }; | |
| 26 | + | |
| 27 | + vcc5v0_sys: vcc5v0-sys-regulator { | |
| 28 | + compatible = "regulator-fixed"; | |
| 29 | + regulator-name = "vcc5v0_sys"; | |
| 30 | + regulator-always-on; | |
| 31 | + regulator-boot-on; | |
| 32 | + regulator-min-microvolt = <5000000>; | |
| 33 | + regulator-max-microvolt = <5000000>; | |
| 34 | + vin-supply = <&vcc12v_dcin>; | |
| 35 | + }; | |
| 36 | + | |
| 37 | + vbus_host: vbus-host { | |
| 38 | + compatible = "regulator-fixed"; | |
| 39 | + pinctrl-names = "default"; | |
| 40 | + pinctrl-0 = <&usb1_en_oc>; | |
| 41 | + regulator-name = "vbus_host"; /* HOST-5V */ | |
| 42 | + regulator-always-on; | |
| 43 | + vin-supply = <&vcc5v0_sys>; | |
| 44 | + }; | |
| 45 | + | |
| 46 | + vbus_typec: vbus-typec { | |
| 47 | + compatible = "regulator-fixed"; | |
| 48 | + pinctrl-names = "default"; | |
| 49 | + pinctrl-0 = <&usb0_en_oc>; | |
| 50 | + regulator-name = "vbus_typec"; | |
| 51 | + regulator-always-on; | |
| 52 | + vin-supply = <&vcc5v0_sys>; | |
| 53 | + }; | |
| 18 | 54 | }; |
| 19 | 55 | |
| 20 | −&i2c1 { | |
| 56 | +&gmac { | |
| 57 | + assigned-clock-parents = <&clkin_gmac>; | |
| 58 | + clock_in_out = "input"; | |
| 59 | + phy-mode = "rgmii"; | |
| 60 | + pinctrl-names = "default"; | |
| 61 | + pinctrl-0 = <&rgmii_pins>; | |
| 62 | + snps,reset-active-low; | |
| 63 | + snps,reset-delays-us = <0 10000 50000>; | |
| 64 | + tx_delay = <0x28>; | |
| 65 | + rx_delay = <0x11>; | |
| 21 | 66 | status = "okay"; |
| 22 | − i2c-scl-rising-time-ns = <140>; | |
| 23 | − i2c-scl-falling-time-ns = <30>; | |
| 24 | 67 | }; |
| 25 | 68 | |
| 26 | −&i2c2 { | |
| 69 | +&hdmi { | |
| 27 | 70 | status = "okay"; |
| 28 | − clock-frequency = <400000>; | |
| 29 | − | |
| 30 | − hym8563: hym8563@51 { | |
| 31 | − compatible = "haoyu,hym8563"; | |
| 32 | − reg = <0x51>; | |
| 33 | − #clock-cells = <0>; | |
| 34 | − clock-frequency = <32768>; | |
| 35 | − clock-output-names = "hym8563"; | |
| 36 | − pinctrl-names = "default"; | |
| 37 | − pinctrl-0 = <&hym8563_int>; | |
| 38 | − interrupt-parent = <&gpio4>; | |
| 39 | − interrupts = <30 IRQ_TYPE_LEVEL_LOW>; | |
| 40 | − }; | |
| 41 | 71 | }; |
| 42 | 72 | |
| 43 | 73 | &pwm0 { |
| @@ -52,10 +82,8 @@ · 8 unmodified lines | ||
| 52 | 82 | bus-width = <4>; |
| 53 | 83 | cap-mmc-highspeed; |
| 54 | 84 | cap-sd-highspeed; |
| 55 | − cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>; | |
| 56 | 85 | disable-wp; |
| 57 | 86 | vqmmc-supply = <&vccio_sd>; |
| 58 | − max-frequency = <150000000>; | |
| 59 | 87 | pinctrl-names = "default"; |
| 60 | 88 | pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>; |
| 61 | 89 | status = "okay"; |
| @@ -71,11 +99,18 @@ · 9 unmodified lines | ||
| 71 | 99 | status = "okay"; |
| 72 | 100 | }; |
| 73 | 101 | |
| 74 | −&pinctrl { | |
| 75 | − hym8563 { | |
| 76 | − hym8563_int: hym8563-int { | |
| 77 | − rockchip,pins = | |
| 78 | − <4 RK_PD6 0 &pcfg_pull_up>; | |
| 79 | − }; | |
| 80 | − }; | |
| 102 | +&vopb { | |
| 103 | + status = "okay"; | |
| 104 | +}; | |
| 105 | + | |
| 106 | +&vopb_mmu { | |
| 107 | + status = "okay"; | |
| 108 | +}; | |
| 109 | + | |
| 110 | +&vopl { | |
| 111 | + status = "okay"; | |
| 112 | +}; | |
| 113 | + | |
| 114 | +&vopl_mmu { | |
| 115 | + status = "okay"; | |
| 81 | 116 | }; |
| @@ -97,6 +97,7 @@ · 96 unmodified lines | ||
| 97 | 97 | interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>; |
| 98 | 98 | #dma-cells = <1>; |
| 99 | 99 | arm,pl330-broken-no-flushp; |
| 100 | + arm,pl330-periph-burst; | |
| 100 | 101 | clocks = <&cru ACLK_DMAC>; |
| 101 | 102 | clock-names = "apb_pclk"; |
| 102 | 103 | }; |
| @@ -351,9 +352,9 @@ · 248 unmodified lines | ||
| 351 | 352 | clocks = <&cru SCLK_TSADC>, <&cru PCLK_TSADC>; |
| 352 | 353 | clock-names = "tsadc", "apb_pclk"; |
| 353 | 354 | pinctrl-names = "init", "default", "sleep"; |
| 354 | − pinctrl-0 = <&otp_gpio>; | |
| 355 | + pinctrl-0 = <&otp_pin>; | |
| 355 | 356 | pinctrl-1 = <&otp_out>; |
| 356 | − pinctrl-2 = <&otp_gpio>; | |
| 357 | + pinctrl-2 = <&otp_pin>; | |
| 357 | 358 | resets = <&cru SRST_TSADC>; |
| 358 | 359 | reset-names = "tsadc-apb"; |
| 359 | 360 | rockchip,hw-tshut-temp = <120000>; |
| @@ -728,7 +729,7 @@ · 368 unmodified lines | ||
| 728 | 729 | <0 RK_PC6 3 &pcfg_pull_none>; |
| 729 | 730 | }; |
| 730 | 731 | |
| 731 | − i2c2m1_gpio: i2c2m1-gpio { | |
| 732 | + i2c2m1_pins: i2c2m1-pins { | |
| 732 | 733 | rockchip,pins = <0 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>, |
| 733 | 734 | <0 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>; |
| 734 | 735 | }; |
| @@ -740,7 +741,7 @@ · 5 unmodified lines | ||
| 740 | 741 | <1 RK_PD4 2 &pcfg_pull_none>; |
| 741 | 742 | }; |
| 742 | 743 | |
| 743 | − i2c2m05v_gpio: i2c2m05v-gpio { | |
| 744 | + i2c2m05v_pins: i2c2m05v-pins { | |
| 744 | 745 | rockchip,pins = <1 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>, |
| 745 | 746 | <1 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>; |
| 746 | 747 | }; |
| @@ -867,7 +868,7 @@ · 120 unmodified lines | ||
| 867 | 868 | rockchip,pins = <0 RK_PB7 1 &pcfg_pull_none>; |
| 868 | 869 | }; |
| 869 | 870 | |
| 870 | − otp_gpio: otp-gpio { | |
| 871 | + otp_pin: otp-pin { | |
| 871 | 872 | rockchip,pins = <0 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>; |
| 872 | 873 | }; |
| 873 | 874 | }; |
| @@ -886,7 +887,7 @@ · 12 unmodified lines | ||
| 886 | 887 | rockchip,pins = <3 RK_PA3 1 &pcfg_pull_none>; |
| 887 | 888 | }; |
| 888 | 889 | |
| 889 | − uart0_rts_gpio: uart0-rts-gpio { | |
| 890 | + uart0_rts_pin: uart0-rts-pin { | |
| 890 | 891 | rockchip,pins = <3 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>; |
| 891 | 892 | }; |
| 892 | 893 | }; |
| @@ -69,6 +69,18 @@ · 68 unmodified lines | ||
| 69 | 69 | pinctrl-0 = <&touchkey_vdd_ena>; |
| 70 | 70 | }; |
| 71 | 71 | |
| 72 | + gp2a_vled: regulator-fixed-2 { | |
| 73 | + compatible = "regulator-fixed"; | |
| 74 | + regulator-name = "VLED"; | |
| 75 | + enable-active-high; | |
| 76 | + gpio = <&gpj1 4 GPIO_ACTIVE_HIGH>; | |
| 77 | + regulator-min-microvolt = <2800000>; | |
| 78 | + regulator-max-microvolt = <2800000>; | |
| 79 | + | |
| 80 | + pinctrl-names = "default"; | |
| 81 | + pinctrl-0 = <&gp2a_power>; | |
| 82 | + }; | |
| 83 | + | |
| 72 | 84 | wifi_pwrseq: wifi-pwrseq { |
| 73 | 85 | compatible = "mmc-pwrseq-simple"; |
| 74 | 86 | reset-gpios = <&gpg1 2 GPIO_ACTIVE_LOW>; |
| @@ -137,9 +149,13 @@ · 62 unmodified lines | ||
| 137 | 149 | pinctrl-names = "default"; |
| 138 | 150 | pinctrl-0 = <&accel_i2c_pins>; |
| 139 | 151 | |
| 140 | − status = "disabled"; | |
| 152 | + accelerometer@38 { | |
| 153 | + compatible = "bosch,bma023"; | |
| 154 | + reg = <0x38>; | |
| 141 | 155 | |
| 142 | − /* bma023 accelerometer, no mainline binding */ | |
| 156 | + vdd-supply = <&ldo9_reg>; | |
| 157 | + vddio-supply = <&ldo9_reg>; | |
| 158 | + }; | |
| 143 | 159 | }; |
| 144 | 160 | |
| 145 | 161 | i2c_pmic: i2c-gpio-2 { |
| @@ -425,10 +441,8 @@ · 279 unmodified lines | ||
| 425 | 441 | pinctrl-names = "default"; |
| 426 | 442 | pinctrl-0 = <&fg_i2c_pins>; |
| 427 | 443 | |
| 428 | − fuelgauge@36 { | |
| 444 | + fg: fuelgauge@36 { | |
| 429 | 445 | compatible = "maxim,max17040"; |
| 430 | − interrupt-parent = <&vic0>; | |
| 431 | − interrupts = <7>; | |
| 432 | 446 | reg = <0x36>; |
| 433 | 447 | }; |
| 434 | 448 | }; |
| @@ -470,9 +484,21 @@ · 35 unmodified lines | ||
| 470 | 484 | pinctrl-names = "default"; |
| 471 | 485 | pinctrl-0 = <&prox_i2c_pins>; |
| 472 | 486 | |
| 473 | − status = "disabled"; | |
| 487 | + light-sensor@44 { | |
| 488 | + compatible = "sharp,gp2ap002a00f"; | |
| 489 | + reg = <0x44>; | |
| 490 | + interrupt-parent = <&gph0>; | |
| 491 | + interrupts = <2 IRQ_TYPE_EDGE_FALLING>; | |
| 492 | + vdd-supply = <&gp2a_vled>; | |
| 493 | + vio-supply = <&gp2a_vled>; | |
| 494 | + io-channels = <&gp2a_shunt>; | |
| 495 | + io-channel-names = "alsout"; | |
| 496 | + sharp,proximity-far-hysteresis = /bits/ 8 <0x40>; | |
| 497 | + sharp,proximity-close-hysteresis = /bits/ 8 <0x20>; | |
| 474 | 498 | |
| 475 | − /* Sharp gp2a prox/light sensor, incomplete mainline binding */ | |
| 499 | + pinctrl-names = "default"; | |
| 500 | + pinctrl-0 = <&gp2a_irq>; | |
| 501 | + }; | |
| 476 | 502 | }; |
| 477 | 503 | |
| 478 | 504 | i2c_magnetometer: i2c-gpio-7 { |
| @@ -545,6 +571,14 @@ · 66 unmodified lines | ||
| 545 | 571 | vdd-supply = <&ldo4_reg>; |
| 546 | 572 | |
| 547 | 573 | status = "okay"; |
| 574 | + | |
| 575 | + gp2a_shunt: current-sense-shunt { | |
| 576 | + compatible = "current-sense-shunt"; | |
| 577 | + io-channels = <&adc 9>; | |
| 578 | + shunt-resistor-micro-ohms = <47000000>; /* 47 ohms */ | |
| 579 | + #io-channel-cells = <0>; | |
| 580 | + io-channel-ranges; | |
| 581 | + }; | |
| 548 | 582 | }; |
| 549 | 583 | |
| 550 | 584 | &fimd { |
| @@ -595,6 +629,13 @@ · 44 unmodified lines | ||
| 595 | 629 | }; |
| 596 | 630 | |
| 597 | 631 | &pinctrl0 { |
| 632 | + bt_reset: bt-reset { | |
| 633 | + samsung,pins = "gpb-3"; | |
| 634 | + samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; | |
| 635 | + samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>; | |
| 636 | + samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; | |
| 637 | + }; | |
| 638 | + | |
| 598 | 639 | wlan_bt_en: wlan-bt-en { |
| 599 | 640 | samsung,pins = "gpb-5"; |
| 600 | 641 | samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; |
| @@ -620,6 +661,19 @@ · 19 unmodified lines | ||
| 620 | 661 | samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>; |
| 621 | 662 | }; |
| 622 | 663 | |
| 664 | + bt_wake: bt-wake { | |
| 665 | + samsung,pins = "gpg3-4"; | |
| 666 | + samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; | |
| 667 | + samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>; | |
| 668 | + }; | |
| 669 | + | |
| 670 | + gp2a_irq: gp2a-irq { | |
| 671 | + samsung,pins = "gph0-2"; | |
| 672 | + samsung,pin-function = <EXYNOS_PIN_FUNC_F>; | |
| 673 | + samsung,pin-pud = <S3C64XX_PIN_PULL_DOWN>; | |
| 674 | + samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; | |
| 675 | + }; | |
| 676 | + | |
| 623 | 677 | pmic_dvs_pins: pmic-dvs-pins { |
| 624 | 678 | samsung,pins = "gph0-3", "gph0-4", "gph0-5"; |
| 625 | 679 | samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; |
| @@ -688,6 +742,13 @@ · 62 unmodified lines | ||
| 688 | 742 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; |
| 689 | 743 | }; |
| 690 | 744 | |
| 745 | + gp2a_power: gp2a-power { | |
| 746 | + samsung,pins = "gpj1-4"; | |
| 747 | + samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; | |
| 748 | + samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>; | |
| 749 | + samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; | |
| 750 | + }; | |
| 751 | + | |
| 691 | 752 | touchkey_i2c_pins: touchkey-i2c-pins { |
| 692 | 753 | samsung,pins = "gpj3-0", "gpj3-1"; |
| 693 | 754 | samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>; |
| @@ -797,16 +858,23 @@ · 103 unmodified lines | ||
| 797 | 858 | }; |
| 798 | 859 | |
| 799 | 860 | &uart0 { |
| 861 | + assigned-clocks = <&clocks MOUT_UART0>, <&clocks SCLK_UART0>; | |
| 862 | + assigned-clock-rates = <0>, <111166667>; | |
| 863 | + assigned-clock-parents = <&clocks MOUT_MPLL>; | |
| 864 | + | |
| 800 | 865 | status = "okay"; |
| 801 | 866 | |
| 802 | 867 | bluetooth { |
| 803 | − compatible = "brcm,bcm43438-bt"; | |
| 804 | − max-speed = <115200>; | |
| 868 | + compatible = "brcm,bcm4329-bt"; | |
| 869 | + max-speed = <3000000>; | |
| 805 | 870 | pinctrl-names = "default"; |
| 806 | − pinctrl-0 = <&uart0_data &uart0_fctl &bt_host_wake>; | |
| 871 | + pinctrl-0 = <&uart0_data &uart0_fctl &bt_host_wake | |
| 872 | + &bt_reset &bt_wake>; | |
| 807 | 873 | shutdown-gpios = <&gpb 3 GPIO_ACTIVE_HIGH>; |
| 808 | 874 | device-wakeup-gpios = <&gpg3 4 GPIO_ACTIVE_HIGH>; |
| 809 | − host-wakeup-gpios = <&gph2 5 GPIO_ACTIVE_HIGH>; | |
| 875 | + interrupt-parent = <&gph2>; | |
| 876 | + interrupts = <5 IRQ_TYPE_LEVEL_HIGH>; | |
| 877 | + interrupt-names = "host-wake"; | |
| 810 | 878 | }; |
| 811 | 879 | }; |
| 812 | 880 | |
| @@ -37,10 +37,27 @@ · 36 unmodified lines | ||
| 37 | 37 | }; |
| 38 | 38 | }; |
| 39 | 39 | |
| 40 | +&fg { | |
| 41 | + compatible = "maxim,max77836-battery"; | |
| 42 | + | |
| 43 | + interrupt-parent = <&gph3>; | |
| 44 | + interrupts = <3 IRQ_TYPE_EDGE_FALLING>; | |
| 45 | + | |
| 46 | + pinctrl-names = "default"; | |
| 47 | + pinctrl-0 = <&fg_irq>; | |
| 48 | +}; | |
| 49 | + | |
| 40 | 50 | &pinctrl0 { |
| 41 | 51 | pinctrl-names = "default"; |
| 42 | 52 | pinctrl-0 = <&sleep_cfg>; |
| 43 | 53 | |
| 54 | + fg_irq: fg-irq { | |
| 55 | + samsung,pins = "gph3-3"; | |
| 56 | + samsung,pin-function = <EXYNOS_PIN_FUNC_F>; | |
| 57 | + samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>; | |
| 58 | + samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; | |
| 59 | + }; | |
| 60 | + | |
| 44 | 61 | /* Based on vendor kernel v2.6.35.7 */ |
| 45 | 62 | sleep_cfg: sleep-cfg { |
| 46 | 63 | PIN_SLP(gpa0-0, PREV, NONE); |
| @@ -273,6 +273,8 @@ · 272 unmodified lines | ||
| 273 | 273 | gph3: gph3 { |
| 274 | 274 | gpio-controller; |
| 275 | 275 | #gpio-cells = <2>; |
| 276 | + | |
| 277 | + interrupt-controller; | |
| 276 | 278 | #interrupt-cells = <2>; |
| 277 | 279 | }; |
| 278 | 280 | |
| @@ -661,6 +661,13 @@ · 660 unmodified lines | ||
| 661 | 661 | status = "disabled"; |
| 662 | 662 | }; |
| 663 | 663 | |
| 664 | + rtt: rtt@fffffe20 { | |
| 665 | + compatible = "microchip,sam9x60-rtt", "atmel,at91sam9260-rtt"; | |
| 666 | + reg = <0xfffffe20 0x20>; | |
| 667 | + interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; | |
| 668 | + clocks = <&clk32k 0>; | |
| 669 | + }; | |
| 670 | + | |
| 664 | 671 | pit: timer@fffffe40 { |
| 665 | 672 | compatible = "atmel,at91sam9260-pit"; |
| 666 | 673 | reg = <0xfffffe40 0x10>; |
| @@ -321,7 +321,7 @@ · 320 unmodified lines | ||
| 321 | 321 | status = "disabled"; |
| 322 | 322 | }; |
| 323 | 323 | |
| 324 | − sdhi0: sd@ee100000 { | |
| 324 | + sdhi0: mmc@ee100000 { | |
| 325 | 325 | compatible = "renesas,sdhi-sh73a0"; |
| 326 | 326 | reg = <0xee100000 0x100>; |
| 327 | 327 | interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>, |
| @@ -334,7 +334,7 @@ · 6 unmodified lines | ||
| 334 | 334 | }; |
| 335 | 335 | |
| 336 | 336 | /* SDHI1 and SDHI2 have no CD pins, no need for CD IRQ */ |
| 337 | − sdhi1: sd@ee120000 { | |
| 337 | + sdhi1: mmc@ee120000 { | |
| 338 | 338 | compatible = "renesas,sdhi-sh73a0"; |
| 339 | 339 | reg = <0xee120000 0x100>; |
| 340 | 340 | interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>, |
| @@ -346,7 +346,7 @@ · 5 unmodified lines | ||
| 346 | 346 | status = "disabled"; |
| 347 | 347 | }; |
| 348 | 348 | |
| 349 | − sdhi2: sd@ee140000 { | |
| 349 | + sdhi2: mmc@ee140000 { | |
| 350 | 350 | compatible = "renesas,sdhi-sh73a0"; |
| 351 | 351 | reg = <0xee140000 0x100>; |
| 352 | 352 | interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>, |
| @@ -584,6 +584,7 @@ · 231 unmodified lines | ||
| 584 | 584 | compatible = "renesas,fsi2-sh73a0", "renesas,sh_fsi2"; |
| 585 | 585 | reg = <0xec230000 0x400>; |
| 586 | 586 | interrupts = <GIC_SPI 146 0x4>; |
| 587 | + clocks = <&mstp3_clks SH73A0_CLK_FSI>; | |
| 587 | 588 | power-domains = <&pd_a4mp>; |
| 588 | 589 | status = "disabled"; |
| 589 | 590 | }; |
| @@ -829,6 +829,7 @@ · 828 unmodified lines | ||
| 829 | 829 | num-cs = <4>; |
| 830 | 830 | clocks = <&spi_m_clk>; |
| 831 | 831 | resets = <&rst SPIM0_RESET>; |
| 832 | + reset-names = "spi"; | |
| 832 | 833 | status = "disabled"; |
| 833 | 834 | }; |
| 834 | 835 | |
| @@ -841,6 +842,7 @@ · 6 unmodified lines | ||
| 841 | 842 | num-cs = <4>; |
| 842 | 843 | clocks = <&spi_m_clk>; |
| 843 | 844 | resets = <&rst SPIM1_RESET>; |
| 845 | + reset-names = "spi"; | |
| 844 | 846 | status = "disabled"; |
| 845 | 847 | }; |
| 846 | 848 | |
| @@ -613,6 +613,7 @@ · 612 unmodified lines | ||
| 613 | 613 | /*32bit_access;*/ |
| 614 | 614 | clocks = <&spi_m_clk>; |
| 615 | 615 | resets = <&rst SPIM0_RESET>; |
| 616 | + reset-names = "spi"; | |
| 616 | 617 | status = "disabled"; |
| 617 | 618 | }; |
| 618 | 619 | |
| @@ -628,6 +629,7 @@ · 9 unmodified lines | ||
| 628 | 629 | rx-dma-channel = <&pdma 17>; |
| 629 | 630 | clocks = <&spi_m_clk>; |
| 630 | 631 | resets = <&rst SPIM1_RESET>; |
| 632 | + reset-names = "spi"; | |
| 631 | 633 | status = "disabled"; |
| 632 | 634 | }; |
| 633 | 635 | |
| @@ -162,6 +162,11 @@ · 161 unmodified lines | ||
| 162 | 162 | compatible = "ltc2977"; |
| 163 | 163 | reg = <0x5c>; |
| 164 | 164 | }; |
| 165 | + | |
| 166 | + temp@4c { | |
| 167 | + compatible = "maxim,max1619"; | |
| 168 | + reg = <0x4c>; | |
| 169 | + }; | |
| 165 | 170 | }; |
| 166 | 171 | |
| 167 | 172 | &uart1 { |
| @@ -201,7 +201,19 @@ · 200 unmodified lines | ||
| 201 | 201 | compatible = "stericsson,ab8500-sysctrl"; |
| 202 | 202 | }; |
| 203 | 203 | |
| 204 | − ab8500-pwm { | |
| 204 | + ab8500-pwm-1 { | |
| 205 | + compatible = "stericsson,ab8500-pwm"; | |
| 206 | + clocks = <&ab8500_clock AB8500_SYSCLK_INT>; | |
| 207 | + clock-names = "intclk"; | |
| 208 | + }; | |
| 209 | + | |
| 210 | + ab8500-pwm-2 { | |
| 211 | + compatible = "stericsson,ab8500-pwm"; | |
| 212 | + clocks = <&ab8500_clock AB8500_SYSCLK_INT>; | |
| 213 | + clock-names = "intclk"; | |
| 214 | + }; | |
| 215 | + | |
| 216 | + ab8500-pwm-3 { | |
| 205 | 217 | compatible = "stericsson,ab8500-pwm"; |
| 206 | 218 | clocks = <&ab8500_clock AB8500_SYSCLK_INT>; |
| 207 | 219 | clock-names = "intclk"; |
| @@ -260,7 +260,7 @@ · 259 unmodified lines | ||
| 260 | 260 | reg = <0x80150000 0x2000>; |
| 261 | 261 | }; |
| 262 | 262 | |
| 263 | − L2: l2-cache { | |
| 263 | + L2: cache-controller { | |
| 264 | 264 | compatible = "arm,pl310-cache"; |
| 265 | 265 | reg = <0xa0412000 0x1000>; |
| 266 | 266 | interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; |
| @@ -15,7 +15,7 @@ · 14 unmodified lines | ||
| 15 | 15 | <0x08000000 0x04000000>; |
| 16 | 16 | }; |
| 17 | 17 | |
| 18 | − L2: l2-cache { | |
| 18 | + L2: cache-controller { | |
| 19 | 19 | compatible = "arm,l210-cache"; |
| 20 | 20 | reg = <0x10210000 0x1000>; |
| 21 | 21 | interrupt-parent = <&vica>; |
| @@ -24,6 +24,32 @@ · 23 unmodified lines | ||
| 24 | 24 | stdout-path = &serial2; |
| 25 | 25 | }; |
| 26 | 26 | |
| 27 | + i2c-gpio-0 { | |
| 28 | + compatible = "i2c-gpio"; | |
| 29 | + sda-gpios = <&gpio2 14 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; | |
| 30 | + scl-gpios = <&gpio2 13 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; | |
| 31 | + | |
| 32 | + pinctrl-names = "default"; | |
| 33 | + pinctrl-0 = <&i2c_gpio_0_default>; | |
| 34 | + | |
| 35 | + #address-cells = <1>; | |
| 36 | + #size-cells = <0>; | |
| 37 | + | |
| 38 | + touchkey@20 { | |
| 39 | + compatible = "coreriver,tc360-touchkey"; | |
| 40 | + reg = <0x20>; | |
| 41 | + vdd-supply = <&ab8500_ldo_aux4_reg>; | |
| 42 | + vcc-supply = <&ab8500_ldo_aux6_reg>; | |
| 43 | + | |
| 44 | + interrupt-parent = <&gpio2>; | |
| 45 | + interrupts = <15 IRQ_TYPE_EDGE_FALLING>; | |
| 46 | + | |
| 47 | + pinctrl-names = "default"; | |
| 48 | + pinctrl-0 = <&touchkey_default>; | |
| 49 | + linux,keycodes = <KEY_MENU KEY_BACK>; | |
| 50 | + }; | |
| 51 | + }; | |
| 52 | + | |
| 27 | 53 | i2c-gpio-1 { |
| 28 | 54 | compatible = "i2c-gpio"; |
| 29 | 55 | sda-gpios = <&gpio4 24 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; |
| @@ -403,6 +429,16 @@ · 373 unmodified lines | ||
| 403 | 429 | }; |
| 404 | 430 | }; |
| 405 | 431 | |
| 432 | + i2c-gpio-0 { | |
| 433 | + i2c_gpio_0_default: i2c_gpio_0 { | |
| 434 | + golden_cfg1 { | |
| 435 | + pins = "GPIO77", /* TOUCHKEY_SCL */ | |
| 436 | + "GPIO78"; /* TOUCHKEY_SDA */ | |
| 437 | + ste,config = <&gpio_in_nopull>; | |
| 438 | + }; | |
| 439 | + }; | |
| 440 | + }; | |
| 441 | + | |
| 406 | 442 | i2c-gpio-1 { |
| 407 | 443 | i2c_gpio_1_default: i2c_gpio_1 { |
| 408 | 444 | golden_cfg1 { |
| @@ -413,6 +449,15 @@ · 4 unmodified lines | ||
| 413 | 449 | }; |
| 414 | 450 | }; |
| 415 | 451 | |
| 452 | + touchkey { | |
| 453 | + touchkey_default: touchkey_default { | |
| 454 | + golden_cfg1 { | |
| 455 | + pins = "GPIO79"; /* TOUCHKEY_INT */ | |
| 456 | + ste,config = <&gpio_in_nopull>; | |
| 457 | + }; | |
| 458 | + }; | |
| 459 | + }; | |
| 460 | + | |
| 416 | 461 | sdi0 { |
| 417 | 462 | sd_level_translator_default: sd_level_translator_default { |
| 418 | 463 | golden_cfg1 { |
| @@ -349,8 +349,8 @@ · 348 unmodified lines | ||
| 349 | 349 | interrupt-parent = <&gpio7>; |
| 350 | 350 | interrupts = <0 IRQ_TYPE_EDGE_RISING>; |
| 351 | 351 | |
| 352 | − mount-matrix = "0", "1", "0", | |
| 353 | − "-1", "0", "0", | |
| 352 | + mount-matrix = "0", "-1", "0", | |
| 353 | + "1", "0", "0", | |
| 354 | 354 | "0", "0", "1"; |
| 355 | 355 | vdd-supply = <&ab8500_ldo_aux1_reg>; |
| 356 | 356 | vddio-supply = <&ab8500_ldo_aux8_reg>; |
| @@ -104,17 +104,17 @@ · 103 unmodified lines | ||
| 104 | 104 | |
| 105 | 105 | leds { |
| 106 | 106 | compatible = "gpio-leds"; |
| 107 | − green { | |
| 107 | + led-green { | |
| 108 | 108 | gpios = <&gpiog 6 1>; |
| 109 | 109 | linux,default-trigger = "heartbeat"; |
| 110 | 110 | }; |
| 111 | − orange { | |
| 111 | + led-orange { | |
| 112 | 112 | gpios = <&gpiog 7 1>; |
| 113 | 113 | }; |
| 114 | − red { | |
| 114 | + led-red { | |
| 115 | 115 | gpios = <&gpiog 10 1>; |
| 116 | 116 | }; |
| 117 | − blue { | |
| 117 | + led-blue { | |
| 118 | 118 | gpios = <&gpiog 12 1>; |
| 119 | 119 | }; |
| 120 | 120 | }; |
| @@ -240,7 +240,7 @@ · 119 unmodified lines | ||
| 240 | 240 | |
| 241 | 241 | <dc { |
| 242 | 242 | status = "okay"; |
| 243 | − pinctrl-0 = <<dc_pins>; | |
| 243 | + pinctrl-0 = <<dc_pins_a>; | |
| 244 | 244 | pinctrl-names = "default"; |
| 245 | 245 | |
| 246 | 246 | port { |
| @@ -66,17 +66,17 @@ · 65 unmodified lines | ||
| 66 | 66 | |
| 67 | 67 | leds { |
| 68 | 68 | compatible = "gpio-leds"; |
| 69 | − green { | |
| 69 | + led-green { | |
| 70 | 70 | gpios = <&gpiof 10 1>; |
| 71 | 71 | linux,default-trigger = "heartbeat"; |
| 72 | 72 | }; |
| 73 | − orange { | |
| 73 | + led-orange { | |
| 74 | 74 | gpios = <&stmfx_pinctrl 17 1>; |
| 75 | 75 | }; |
| 76 | − red { | |
| 76 | + led-red { | |
| 77 | 77 | gpios = <&gpiob 7 1>; |
| 78 | 78 | }; |
| 79 | − blue { | |
| 79 | + led-blue { | |
| 80 | 80 | gpios = <&stmfx_pinctrl 19 1>; |
| 81 | 81 | }; |
| 82 | 82 | }; |
| @@ -257,7 +257,7 @@ · 256 unmodified lines | ||
| 257 | 257 | }; |
| 258 | 258 | }; |
| 259 | 259 | |
| 260 | − pwm1_pins: pwm-1 { | |
| 260 | + pwm1_pins: pwm1-0 { | |
| 261 | 261 | pins { |
| 262 | 262 | pinmux = <STM32_PINMUX('A', 8, AF1)>, /* TIM1_CH1 */ |
| 263 | 263 | <STM32_PINMUX('B', 13, AF1)>, /* TIM1_CH1N */ |
| @@ -265,7 +265,7 @@ · 1 unmodified line | ||
| 265 | 265 | }; |
| 266 | 266 | }; |
| 267 | 267 | |
| 268 | − pwm3_pins: pwm-3 { | |
| 268 | + pwm3_pins: pwm3-0 { | |
| 269 | 269 | pins { |
| 270 | 270 | pinmux = <STM32_PINMUX('B', 4, AF2)>, /* TIM3_CH1 */ |
| 271 | 271 | <STM32_PINMUX('B', 5, AF2)>; /* TIM3_CH2 */ |
| @@ -282,7 +282,7 @@ · 10 unmodified lines | ||
| 282 | 282 | }; |
| 283 | 283 | }; |
| 284 | 284 | |
| 285 | − ltdc_pins: ltdc-0 { | |
| 285 | + ltdc_pins_a: ltdc-0 { | |
| 286 | 286 | pins { |
| 287 | 287 | pinmux = <STM32_PINMUX('I', 12, AF14)>, /* LCD_HSYNC */ |
| 288 | 288 | <STM32_PINMUX('I', 13, AF14)>, /* LCD_VSYNC */ |
| @@ -316,6 +316,85 @@ · 27 unmodified lines | ||
| 316 | 316 | }; |
| 317 | 317 | }; |
| 318 | 318 | |
| 319 | + ltdc_pins_b: ltdc-1 { | |
| 320 | + pins { | |
| 321 | + pinmux = <STM32_PINMUX('C', 6, AF14)>, | |
| 322 | + /* LCD_HSYNC */ | |
| 323 | + <STM32_PINMUX('A', 4, AF14)>, | |
| 324 | + /* LCD_VSYNC */ | |
| 325 | + <STM32_PINMUX('G', 7, AF14)>, | |
| 326 | + /* LCD_CLK */ | |
| 327 | + <STM32_PINMUX('C', 10, AF14)>, | |
| 328 | + /* LCD_R2 */ | |
| 329 | + <STM32_PINMUX('B', 0, AF9)>, | |
| 330 | + /* LCD_R3 */ | |
| 331 | + <STM32_PINMUX('A', 11, AF14)>, | |
| 332 | + /* LCD_R4 */ | |
| 333 | + <STM32_PINMUX('A', 12, AF14)>, | |
| 334 | + /* LCD_R5 */ | |
| 335 | + <STM32_PINMUX('B', 1, AF9)>, | |
| 336 | + /* LCD_R6*/ | |
| 337 | + <STM32_PINMUX('G', 6, AF14)>, | |
| 338 | + /* LCD_R7 */ | |
| 339 | + <STM32_PINMUX('A', 6, AF14)>, | |
| 340 | + /* LCD_G2 */ | |
| 341 | + <STM32_PINMUX('G', 10, AF9)>, | |
| 342 | + /* LCD_G3 */ | |
| 343 | + <STM32_PINMUX('B', 10, AF14)>, | |
| 344 | + /* LCD_G4 */ | |
| 345 | + <STM32_PINMUX('D', 6, AF14)>, | |
| 346 | + /* LCD_B2 */ | |
| 347 | + <STM32_PINMUX('G', 11, AF14)>, | |
| 348 | + /* LCD_B3*/ | |
| 349 | + <STM32_PINMUX('B', 11, AF14)>, | |
| 350 | + /* LCD_G5 */ | |
| 351 | + <STM32_PINMUX('C', 7, AF14)>, | |
| 352 | + /* LCD_G6 */ | |
| 353 | + <STM32_PINMUX('D', 3, AF14)>, | |
| 354 | + /* LCD_G7 */ | |
| 355 | + <STM32_PINMUX('G', 12, AF9)>, | |
| 356 | + /* LCD_B4 */ | |
| 357 | + <STM32_PINMUX('A', 3, AF14)>, | |
| 358 | + /* LCD_B5 */ | |
| 359 | + <STM32_PINMUX('B', 8, AF14)>, | |
| 360 | + /* LCD_B6 */ | |
| 361 | + <STM32_PINMUX('B', 9, AF14)>, | |
| 362 | + /* LCD_B7 */ | |
| 363 | + <STM32_PINMUX('F', 10, AF14)>; | |
| 364 | + /* LCD_DE */ | |
| 365 | + slew-rate = <2>; | |
| 366 | + }; | |
| 367 | + }; | |
| 368 | + | |
| 369 | + spi5_pins: spi5-0 { | |
| 370 | + pins1 { | |
| 371 | + pinmux = <STM32_PINMUX('F', 7, AF5)>, | |
| 372 | + /* SPI5_CLK */ | |
| 373 | + <STM32_PINMUX('F', 9, AF5)>; | |
| 374 | + /* SPI5_MOSI */ | |
| 375 | + bias-disable; | |
| 376 | + drive-push-pull; | |
| 377 | + slew-rate = <0>; | |
| 378 | + }; | |
| 379 | + pins2 { | |
| 380 | + pinmux = <STM32_PINMUX('F', 8, AF5)>; | |
| 381 | + /* SPI5_MISO */ | |
| 382 | + bias-disable; | |
| 383 | + }; | |
| 384 | + }; | |
| 385 | + | |
| 386 | + i2c3_pins: i2c3-0 { | |
| 387 | + pins { | |
| 388 | + pinmux = <STM32_PINMUX('C', 9, AF4)>, | |
| 389 | + /* I2C3_SDA */ | |
| 390 | + <STM32_PINMUX('A', 8, AF4)>; | |
| 391 | + /* I2C3_SCL */ | |
| 392 | + bias-disable; | |
| 393 | + drive-open-drain; | |
| 394 | + slew-rate = <3>; | |
| 395 | + }; | |
| 396 | + }; | |
| 397 | + | |
| 319 | 398 | dcmi_pins: dcmi-0 { |
| 320 | 399 | pins { |
| 321 | 400 | pinmux = <STM32_PINMUX('A', 4, AF13)>, /* DCMI_HSYNC */ |
| @@ -49,6 +49,8 @@ · 48 unmodified lines | ||
| 49 | 49 | #include "stm32f429.dtsi" |
| 50 | 50 | #include "stm32f429-pinctrl.dtsi" |
| 51 | 51 | #include <dt-bindings/input/input.h> |
| 52 | +#include <dt-bindings/interrupt-controller/irq.h> | |
| 53 | +#include <dt-bindings/gpio/gpio.h> | |
| 52 | 54 | |
| 53 | 55 | / { |
| 54 | 56 | model = "STMicroelectronics STM32F429i-DISCO board"; |
| @@ -70,10 +72,10 @@ · 15 unmodified lines | ||
| 70 | 72 | |
| 71 | 73 | leds { |
| 72 | 74 | compatible = "gpio-leds"; |
| 73 | − red { | |
| 75 | + led-red { | |
| 74 | 76 | gpios = <&gpiog 14 0>; |
| 75 | 77 | }; |
| 76 | − green { | |
| 78 | + led-green { | |
| 77 | 79 | gpios = <&gpiog 13 0>; |
| 78 | 80 | linux,default-trigger = "heartbeat"; |
| 79 | 81 | }; |
| @@ -108,12 +110,103 @@ · 28 unmodified lines | ||
| 108 | 110 | status = "okay"; |
| 109 | 111 | }; |
| 110 | 112 | |
| 113 | +&i2c3 { | |
| 114 | + pinctrl-names = "default"; | |
| 115 | + pinctrl-0 = <&i2c3_pins>; | |
| 116 | + clock-frequency = <100000>; | |
| 117 | + status = "okay"; | |
| 118 | + | |
| 119 | + stmpe811@41 { | |
| 120 | + compatible = "st,stmpe811"; | |
| 121 | + reg = <0x41>; | |
| 122 | + interrupts = <15 IRQ_TYPE_EDGE_FALLING>; | |
| 123 | + interrupt-parent = <&gpioa>; | |
| 124 | + /* 3.25 MHz ADC clock speed */ | |
| 125 | + st,adc-freq = <1>; | |
| 126 | + /* 12-bit ADC */ | |
| 127 | + st,mod-12b = <1>; | |
| 128 | + /* internal ADC reference */ | |
| 129 | + st,ref-sel = <0>; | |
| 130 | + /* ADC converstion time: 80 clocks */ | |
| 131 | + st,sample-time = <4>; | |
| 132 | + | |
| 133 | + stmpe_touchscreen { | |
| 134 | + compatible = "st,stmpe-ts"; | |
| 135 | + /* 8 sample average control */ | |
| 136 | + st,ave-ctrl = <3>; | |
| 137 | + /* 7 length fractional part in z */ | |
| 138 | + st,fraction-z = <7>; | |
| 139 | + /* | |
| 140 | + * 50 mA typical 80 mA max touchscreen drivers | |
| 141 | + * current limit value | |
| 142 | + */ | |
| 143 | + st,i-drive = <1>; | |
| 144 | + /* 1 ms panel driver settling time */ | |
| 145 | + st,settling = <3>; | |
| 146 | + /* 5 ms touch detect interrupt delay */ | |
| 147 | + st,touch-det-delay = <5>; | |
| 148 | + }; | |
| 149 | + | |
| 150 | + stmpe_adc { | |
| 151 | + compatible = "st,stmpe-adc"; | |
| 152 | + /* forbid to use ADC channels 3-0 (touch) */ | |
| 153 | + st,norequest-mask = <0x0F>; | |
| 154 | + }; | |
| 155 | + }; | |
| 156 | +}; | |
| 157 | + | |
| 158 | +<dc { | |
| 159 | + status = "okay"; | |
| 160 | + pinctrl-0 = <<dc_pins_b>; | |
| 161 | + pinctrl-names = "default"; | |
| 162 | + | |
| 163 | + port { | |
| 164 | + ltdc_out_rgb: endpoint { | |
| 165 | + remote-endpoint = <&panel_in_rgb>; | |
| 166 | + }; | |
| 167 | + }; | |
| 168 | +}; | |
| 169 | + | |
| 111 | 170 | &rtc { |
| 112 | 171 | assigned-clocks = <&rcc 1 CLK_RTC>; |
| 113 | 172 | assigned-clock-parents = <&rcc 1 CLK_LSI>; |
| 114 | 173 | status = "okay"; |
| 115 | 174 | }; |
| 116 | 175 | |
| 176 | +&spi5 { | |
| 177 | + status = "okay"; | |
| 178 | + pinctrl-0 = <&spi5_pins>; | |
| 179 | + pinctrl-names = "default"; | |
| 180 | + #address-cells = <1>; | |
| 181 | + #size-cells = <0>; | |
| 182 | + cs-gpios = <&gpioc 1 GPIO_ACTIVE_LOW>, <&gpioc 2 GPIO_ACTIVE_LOW>; | |
| 183 | + | |
| 184 | + l3gd20: l3gd20@0 { | |
| 185 | + compatible = "st,l3gd20-gyro"; | |
| 186 | + spi-max-frequency = <10000000>; | |
| 187 | + st,drdy-int-pin = <2>; | |
| 188 | + interrupt-parent = <&gpioa>; | |
| 189 | + interrupts = <1 IRQ_TYPE_EDGE_RISING>, | |
| 190 | + <2 IRQ_TYPE_EDGE_RISING>; | |
| 191 | + reg = <0>; | |
| 192 | + status = "okay"; | |
| 193 | + }; | |
| 194 | + | |
| 195 | + display: display@1{ | |
| 196 | + /* Connect panel-ilitek-9341 to ltdc */ | |
| 197 | + compatible = "st,sf-tc240t-9370-t"; | |
| 198 | + reg = <1>; | |
| 199 | + spi-3wire; | |
| 200 | + spi-max-frequency = <10000000>; | |
| 201 | + dc-gpios = <&gpiod 13 0>; | |
| 202 | + port { | |
| 203 | + panel_in_rgb: endpoint { | |
| 204 | + remote-endpoint = <<dc_out_rgb>; | |
| 205 | + }; | |
| 206 | + }; | |
| 207 | + }; | |
| 208 | +}; | |
| 209 | + | |
| 117 | 210 | &usart1 { |
| 118 | 211 | pinctrl-0 = <&usart1_pins_a>; |
| 119 | 212 | pinctrl-names = "default"; |
| @@ -322,7 +322,6 @@ · 321 unmodified lines | ||
| 322 | 322 | assigned-clock-parents = <&rcc 1 CLK_LSE>; |
| 323 | 323 | interrupt-parent = <&exti>; |
| 324 | 324 | interrupts = <17 1>; |
| 325 | − interrupt-names = "alarm"; | |
| 326 | 325 | st,syscfg = <&pwrcfg 0x00 0x100>; |
| 327 | 326 | status = "disabled"; |
| 328 | 327 | }; |
| @@ -402,6 +401,18 @@ · 73 unmodified lines | ||
| 402 | 401 | status = "disabled"; |
| 403 | 402 | }; |
| 404 | 403 | |
| 404 | + i2c3: i2c@40005c00 { | |
| 405 | + compatible = "st,stm32f4-i2c"; | |
| 406 | + reg = <0x40005c00 0x400>; | |
| 407 | + interrupts = <72>, | |
| 408 | + <73>; | |
| 409 | + resets = <&rcc STM32F4_APB1_RESET(I2C3)>; | |
| 410 | + clocks = <&rcc 0 STM32F4_APB1_CLOCK(I2C3)>; | |
| 411 | + #address-cells = <1>; | |
| 412 | + #size-cells = <0>; | |
| 413 | + status = "disabled"; | |
| 414 | + }; | |
| 415 | + | |
| 405 | 416 | dac: dac@40007400 { |
| 406 | 417 | compatible = "st,stm32f4-dac-core"; |
| 407 | 418 | reg = <0x40007400 0x400>; |
| @@ -586,8 +597,8 @@ · 178 unmodified lines | ||
| 586 | 597 | status = "disabled"; |
| 587 | 598 | }; |
| 588 | 599 | |
| 589 | − syscfg: system-config@40013800 { | |
| 590 | − compatible = "syscon"; | |
| 600 | + syscfg: syscon@40013800 { | |
| 601 | + compatible = "st,stm32-syscfg", "syscon"; | |
| 591 | 602 | reg = <0x40013800 0x400>; |
| 592 | 603 | }; |
| 593 | 604 | |
| @@ -660,6 +671,9 @@ · 66 unmodified lines | ||
| 660 | 671 | reg = <0x40015000 0x400>; |
| 661 | 672 | interrupts = <85>; |
| 662 | 673 | clocks = <&rcc 0 STM32F4_APB2_CLOCK(SPI5)>; |
| 674 | + dmas = <&dma2 3 2 0x400 0x0>, | |
| 675 | + <&dma2 4 2 0x400 0x0>; | |
| 676 | + dma-names = "rx", "tx"; | |
| 663 | 677 | status = "disabled"; |
| 664 | 678 | }; |
| 665 | 679 | |
| @@ -674,7 +688,7 @@ · 8 unmodified lines | ||
| 674 | 688 | }; |
| 675 | 689 | |
| 676 | 690 | pwrcfg: power-config@40007000 { |
| 677 | − compatible = "syscon"; | |
| 691 | + compatible = "st,stm32-power-config", "syscon"; | |
| 678 | 692 | reg = <0x40007000 0x400>; |
| 679 | 693 | }; |
| 680 | 694 | |
| @@ -89,17 +89,17 @@ · 88 unmodified lines | ||
| 89 | 89 | |
| 90 | 90 | leds { |
| 91 | 91 | compatible = "gpio-leds"; |
| 92 | − green { | |
| 92 | + led-green { | |
| 93 | 93 | gpios = <&gpiog 6 GPIO_ACTIVE_LOW>; |
| 94 | 94 | linux,default-trigger = "heartbeat"; |
| 95 | 95 | }; |
| 96 | − orange { | |
| 96 | + led-orange { | |
| 97 | 97 | gpios = <&gpiod 4 GPIO_ACTIVE_LOW>; |
| 98 | 98 | }; |
| 99 | − red { | |
| 99 | + led-red { | |
| 100 | 100 | gpios = <&gpiod 5 GPIO_ACTIVE_LOW>; |
| 101 | 101 | }; |
| 102 | − blue { | |
| 102 | + led-blue { | |
| 103 | 103 | gpios = <&gpiok 3 GPIO_ACTIVE_LOW>; |
| 104 | 104 | }; |
| 105 | 105 | }; |
| @@ -304,7 +304,6 @@ · 303 unmodified lines | ||
| 304 | 304 | assigned-clock-parents = <&rcc 1 CLK_LSE>; |
| 305 | 305 | interrupt-parent = <&exti>; |
| 306 | 306 | interrupts = <17 1>; |
| 307 | − interrupt-names = "alarm"; | |
| 308 | 307 | st,syscfg = <&pwrcfg 0x00 0x100>; |
| 309 | 308 | status = "disabled"; |
| 310 | 309 | }; |
| @@ -496,8 +495,8 @@ · 185 unmodified lines | ||
| 496 | 495 | status = "disabled"; |
| 497 | 496 | }; |
| 498 | 497 | |
| 499 | − syscfg: system-config@40013800 { | |
| 500 | − compatible = "syscon"; | |
| 498 | + syscfg: syscon@40013800 { | |
| 499 | + compatible = "st,stm32-syscfg", "syscon"; | |
| 501 | 500 | reg = <0x40013800 0x400>; |
| 502 | 501 | }; |
| 503 | 502 | |
| @@ -564,7 +563,7 @@ · 60 unmodified lines | ||
| 564 | 563 | }; |
| 565 | 564 | |
| 566 | 565 | pwrcfg: power-config@40007000 { |
| 567 | − compatible = "syscon"; | |
| 566 | + compatible = "st,stm32-power-config", "syscon"; | |
| 568 | 567 | reg = <0x40007000 0x400>; |
| 569 | 568 | }; |
| 570 | 569 | |
| @@ -66,11 +66,11 @@ · 65 unmodified lines | ||
| 66 | 66 | |
| 67 | 67 | leds { |
| 68 | 68 | compatible = "gpio-leds"; |
| 69 | − green { | |
| 69 | + led-green { | |
| 70 | 70 | gpios = <&gpioj 5 GPIO_ACTIVE_HIGH>; |
| 71 | 71 | linux,default-trigger = "heartbeat"; |
| 72 | 72 | }; |
| 73 | − red { | |
| 73 | + led-red { | |
| 74 | 74 | gpios = <&gpioj 13 GPIO_ACTIVE_HIGH>; |
| 75 | 75 | }; |
| 76 | 76 | }; |
| @@ -163,7 +163,7 @@ · 162 unmodified lines | ||
| 163 | 163 | #interrupt-cells = <2>; |
| 164 | 164 | }; |
| 165 | 165 | |
| 166 | − i2c1_pins_a: i2c1@0 { | |
| 166 | + i2c1_pins_a: i2c1-0 { | |
| 167 | 167 | pins { |
| 168 | 168 | pinmux = <STM32_PINMUX('B', 6, AF4)>, /* I2C1_SCL */ |
| 169 | 169 | <STM32_PINMUX('B', 7, AF4)>; /* I2C1_SDA */ |
| @@ -173,7 +173,7 @@ · 3 unmodified lines | ||
| 173 | 173 | }; |
| 174 | 174 | }; |
| 175 | 175 | |
| 176 | − ethernet_rmii: rmii@0 { | |
| 176 | + ethernet_rmii: rmii-0 { | |
| 177 | 177 | pins { |
| 178 | 178 | pinmux = <STM32_PINMUX('G', 11, AF11)>, |
| 179 | 179 | <STM32_PINMUX('G', 13, AF11)>, |
| @@ -256,7 +256,7 @@ · 76 unmodified lines | ||
| 256 | 256 | }; |
| 257 | 257 | }; |
| 258 | 258 | |
| 259 | − usart1_pins: usart1@0 { | |
| 259 | + usart1_pins: usart1-0 { | |
| 260 | 260 | pins1 { |
| 261 | 261 | pinmux = <STM32_PINMUX('B', 14, AF4)>; /* USART1_TX */ |
| 262 | 262 | bias-disable; |
| @@ -269,7 +269,7 @@ · 6 unmodified lines | ||
| 269 | 269 | }; |
| 270 | 270 | }; |
| 271 | 271 | |
| 272 | − usart2_pins: usart2@0 { | |
| 272 | + usart2_pins: usart2-0 { | |
| 273 | 273 | pins1 { |
| 274 | 274 | pinmux = <STM32_PINMUX('D', 5, AF7)>; /* USART2_TX */ |
| 275 | 275 | bias-disable; |
| @@ -282,7 +282,7 @@ · 6 unmodified lines | ||
| 282 | 282 | }; |
| 283 | 283 | }; |
| 284 | 284 | |
| 285 | − usbotg_hs_pins_a: usbotg-hs@0 { | |
| 285 | + usbotg_hs_pins_a: usbotg-hs-0 { | |
| 286 | 286 | pins { |
| 287 | 287 | pinmux = <STM32_PINMUX('H', 4, AF10)>, /* ULPI_NXT */ |
| 288 | 288 | <STM32_PINMUX('I', 11, AF10)>, /* ULPI_DIR> */ |
| @@ -361,8 +361,8 @@ · 360 unmodified lines | ||
| 361 | 361 | interrupts = <1>, <2>, <3>, <6>, <7>, <8>, <9>, <10>, <23>, <40>, <41>, <62>, <76>; |
| 362 | 362 | }; |
| 363 | 363 | |
| 364 | − syscfg: system-config@58000400 { | |
| 365 | − compatible = "syscon"; | |
| 364 | + syscfg: syscon@58000400 { | |
| 365 | + compatible = "st,stm32-syscfg", "syscon"; | |
| 366 | 366 | reg = <0x58000400 0x400>; |
| 367 | 367 | }; |
| 368 | 368 | |
| @@ -487,7 +487,6 @@ · 118 unmodified lines | ||
| 487 | 487 | assigned-clock-parents = <&rcc LSE_CK>; |
| 488 | 488 | interrupt-parent = <&exti>; |
| 489 | 489 | interrupts = <17 IRQ_TYPE_EDGE_RISING>; |
| 490 | − interrupt-names = "alarm"; | |
| 491 | 490 | st,syscfg = <&pwrcfg 0x00 0x100>; |
| 492 | 491 | status = "disabled"; |
| 493 | 492 | }; |
| @@ -502,7 +501,7 @@ · 8 unmodified lines | ||
| 502 | 501 | }; |
| 503 | 502 | |
| 504 | 503 | pwrcfg: power-config@58024800 { |
| 505 | − compatible = "syscon"; | |
| 504 | + compatible = "st,stm32-power-config", "syscon"; | |
| 506 | 505 | reg = <0x58024800 0x400>; |
| 507 | 506 | }; |
| 508 | 507 | |
| @@ -210,8 +210,8 @@ · 209 unmodified lines | ||
| 210 | 210 | <STM32_PINMUX('E', 2, ANALOG)>, /* ETH_RGMII_TXD3 */ |
| 211 | 211 | <STM32_PINMUX('B', 11, ANALOG)>, /* ETH_RGMII_TX_CTL */ |
| 212 | 212 | <STM32_PINMUX('C', 1, ANALOG)>, /* ETH_MDC */ |
| 213 | − <STM32_PINMUX('A', 2, ANALOG)>, /* ETH_MDIO */ | |
| 214 | − <STM32_PINMUX('C', 4, ANALOG)>, /* ETH_RGMII_RXD0 */ | |
| 213 | + <STM32_PINMUX('A', 2, ANALOG)>, /* ETH_MDIO */ | |
| 214 | + <STM32_PINMUX('C', 4, ANALOG)>, /* ETH_RGMII_RXD0 */ | |
| 215 | 215 | <STM32_PINMUX('C', 5, ANALOG)>, /* ETH_RGMII_RXD1 */ |
| 216 | 216 | <STM32_PINMUX('H', 6, ANALOG)>, /* ETH_RGMII_RXD2 */ |
| 217 | 217 | <STM32_PINMUX('H', 7, ANALOG)>, /* ETH_RGMII_RXD3 */ |
| @@ -453,7 +453,7 @@ · 235 unmodified lines | ||
| 453 | 453 | i2c5_pins_b: i2c5-1 { |
| 454 | 454 | pins { |
| 455 | 455 | pinmux = <STM32_PINMUX('D', 0, AF4)>, /* I2C5_SCL */ |
| 456 | − <STM32_PINMUX('D', 1, AF4)>; /* I2C5_SDA */ | |
| 456 | + <STM32_PINMUX('D', 1, AF4)>; /* I2C5_SDA */ | |
| 457 | 457 | bias-disable; |
| 458 | 458 | drive-open-drain; |
| 459 | 459 | slew-rate = <0>; |
| @@ -463,7 +463,7 @@ · 3 unmodified lines | ||
| 463 | 463 | i2c5_sleep_pins_b: i2c5-sleep-1 { |
| 464 | 464 | pins { |
| 465 | 465 | pinmux = <STM32_PINMUX('D', 0, ANALOG)>, /* I2C5_SCL */ |
| 466 | − <STM32_PINMUX('D', 1, ANALOG)>; /* I2C5_SDA */ | |
| 466 | + <STM32_PINMUX('D', 1, ANALOG)>; /* I2C5_SDA */ | |
| 467 | 467 | }; |
| 468 | 468 | }; |
| 469 | 469 | |
| @@ -1072,7 +1072,6 @@ · 602 unmodified lines | ||
| 1072 | 1072 | }; |
| 1073 | 1073 | }; |
| 1074 | 1074 | |
| 1075 | − | |
| 1076 | 1075 | sai2a_pins_b: sai2a-1 { |
| 1077 | 1076 | pins1 { |
| 1078 | 1077 | pinmux = <STM32_PINMUX('I', 6, AF10)>, /* SAI2_SD_A */ |
| @@ -1574,6 +1573,147 @@ · 495 unmodified lines | ||
| 1574 | 1573 | }; |
| 1575 | 1574 | }; |
| 1576 | 1575 | |
| 1576 | + uart4_pins_a: uart4-0 { | |
| 1577 | + pins1 { | |
| 1578 | + pinmux = <STM32_PINMUX('G', 11, AF6)>; /* UART4_TX */ | |
| 1579 | + bias-disable; | |
| 1580 | + drive-push-pull; | |
| 1581 | + slew-rate = <0>; | |
| 1582 | + }; | |
| 1583 | + pins2 { | |
| 1584 | + pinmux = <STM32_PINMUX('B', 2, AF8)>; /* UART4_RX */ | |
| 1585 | + bias-disable; | |
| 1586 | + }; | |
| 1587 | + }; | |
| 1588 | + | |
| 1589 | + uart4_idle_pins_a: uart4-idle-0 { | |
| 1590 | + pins1 { | |
| 1591 | + pinmux = <STM32_PINMUX('G', 11, ANALOG)>; /* UART4_TX */ | |
| 1592 | + }; | |
| 1593 | + pins2 { | |
| 1594 | + pinmux = <STM32_PINMUX('B', 2, AF8)>; /* UART4_RX */ | |
| 1595 | + bias-disable; | |
| 1596 | + }; | |
| 1597 | + }; | |
| 1598 | + | |
| 1599 | + uart4_sleep_pins_a: uart4-sleep-0 { | |
| 1600 | + pins { | |
| 1601 | + pinmux = <STM32_PINMUX('G', 11, ANALOG)>, /* UART4_TX */ | |
| 1602 | + <STM32_PINMUX('B', 2, ANALOG)>; /* UART4_RX */ | |
| 1603 | + }; | |
| 1604 | + }; | |
| 1605 | + | |
| 1606 | + uart4_pins_b: uart4-1 { | |
| 1607 | + pins1 { | |
| 1608 | + pinmux = <STM32_PINMUX('D', 1, AF8)>; /* UART4_TX */ | |
| 1609 | + bias-disable; | |
| 1610 | + drive-push-pull; | |
| 1611 | + slew-rate = <0>; | |
| 1612 | + }; | |
| 1613 | + pins2 { | |
| 1614 | + pinmux = <STM32_PINMUX('B', 2, AF8)>; /* UART4_RX */ | |
| 1615 | + bias-disable; | |
| 1616 | + }; | |
| 1617 | + }; | |
| 1618 | + | |
| 1619 | + uart4_pins_c: uart4-2 { | |
| 1620 | + pins1 { | |
| 1621 | + pinmux = <STM32_PINMUX('G', 11, AF6)>; /* UART4_TX */ | |
| 1622 | + bias-disable; | |
| 1623 | + drive-push-pull; | |
| 1624 | + slew-rate = <0>; | |
| 1625 | + }; | |
| 1626 | + pins2 { | |
| 1627 | + pinmux = <STM32_PINMUX('B', 2, AF8)>; /* UART4_RX */ | |
| 1628 | + bias-disable; | |
| 1629 | + }; | |
| 1630 | + }; | |
| 1631 | + | |
| 1632 | + uart7_pins_a: uart7-0 { | |
| 1633 | + pins1 { | |
| 1634 | + pinmux = <STM32_PINMUX('E', 8, AF7)>; /* UART7_TX */ | |
| 1635 | + bias-disable; | |
| 1636 | + drive-push-pull; | |
| 1637 | + slew-rate = <0>; | |
| 1638 | + }; | |
| 1639 | + pins2 { | |
| 1640 | + pinmux = <STM32_PINMUX('E', 7, AF7)>, /* UART7_RX */ | |
| 1641 | + <STM32_PINMUX('E', 10, AF7)>, /* UART7_CTS */ | |
| 1642 | + <STM32_PINMUX('E', 9, AF7)>; /* UART7_RTS */ | |
| 1643 | + bias-disable; | |
| 1644 | + }; | |
| 1645 | + }; | |
| 1646 | + | |
| 1647 | + uart7_pins_b: uart7-1 { | |
| 1648 | + pins1 { | |
| 1649 | + pinmux = <STM32_PINMUX('F', 7, AF7)>; /* UART7_TX */ | |
| 1650 | + bias-disable; | |
| 1651 | + drive-push-pull; | |
| 1652 | + slew-rate = <0>; | |
| 1653 | + }; | |
| 1654 | + pins2 { | |
| 1655 | + pinmux = <STM32_PINMUX('F', 6, AF7)>; /* UART7_RX */ | |
| 1656 | + bias-disable; | |
| 1657 | + }; | |
| 1658 | + }; | |
| 1659 | + | |
| 1660 | + uart7_pins_c: uart7-2 { | |
| 1661 | + pins1 { | |
| 1662 | + pinmux = <STM32_PINMUX('E', 8, AF7)>; /* UART7_TX */ | |
| 1663 | + bias-disable; | |
| 1664 | + drive-push-pull; | |
| 1665 | + slew-rate = <0>; | |
| 1666 | + }; | |
| 1667 | + pins2 { | |
| 1668 | + pinmux = <STM32_PINMUX('E', 7, AF7)>; /* UART7_RX */ | |
| 1669 | + bias-disable; | |
| 1670 | + }; | |
| 1671 | + }; | |
| 1672 | + | |
| 1673 | + uart7_idle_pins_c: uart7-idle-2 { | |
| 1674 | + pins1 { | |
| 1675 | + pinmux = <STM32_PINMUX('E', 8, ANALOG)>; /* UART7_TX */ | |
| 1676 | + }; | |
| 1677 | + pins2 { | |
| 1678 | + pinmux = <STM32_PINMUX('E', 7, AF7)>; /* UART7_RX */ | |
| 1679 | + bias-disable; | |
| 1680 | + }; | |
| 1681 | + }; | |
| 1682 | + | |
| 1683 | + uart7_sleep_pins_c: uart7-sleep-2 { | |
| 1684 | + pins { | |
| 1685 | + pinmux = <STM32_PINMUX('E', 8, ANALOG)>, /* UART7_TX */ | |
| 1686 | + <STM32_PINMUX('E', 7, ANALOG)>; /* UART7_RX */ | |
| 1687 | + }; | |
| 1688 | + }; | |
| 1689 | + | |
| 1690 | + uart8_pins_a: uart8-0 { | |
| 1691 | + pins1 { | |
| 1692 | + pinmux = <STM32_PINMUX('E', 1, AF8)>; /* UART8_TX */ | |
| 1693 | + bias-disable; | |
| 1694 | + drive-push-pull; | |
| 1695 | + slew-rate = <0>; | |
| 1696 | + }; | |
| 1697 | + pins2 { | |
| 1698 | + pinmux = <STM32_PINMUX('E', 0, AF8)>; /* UART8_RX */ | |
| 1699 | + bias-disable; | |
| 1700 | + }; | |
| 1701 | + }; | |
| 1702 | + | |
| 1703 | + spi4_pins_a: spi4-0 { | |
| 1704 | + pins { | |
| 1705 | + pinmux = <STM32_PINMUX('E', 12, AF5)>, /* SPI4_SCK */ | |
| 1706 | + <STM32_PINMUX('E', 6, AF5)>; /* SPI4_MOSI */ | |
| 1707 | + bias-disable; | |
| 1708 | + drive-push-pull; | |
| 1709 | + slew-rate = <1>; | |
| 1710 | + }; | |
| 1711 | + pins2 { | |
| 1712 | + pinmux = <STM32_PINMUX('E', 13, AF5)>; /* SPI4_MISO */ | |
| 1713 | + bias-disable; | |
| 1714 | + }; | |
| 1715 | + }; | |
| 1716 | + | |
| 1577 | 1717 | usart2_pins_a: usart2-0 { |
| 1578 | 1718 | pins1 { |
| 1579 | 1719 | pinmux = <STM32_PINMUX('F', 5, AF7)>, /* USART2_TX */ |
| @@ -1622,99 +1762,127 @@ · 42 unmodified lines | ||
| 1622 | 1762 | }; |
| 1623 | 1763 | }; |
| 1624 | 1764 | |
| 1625 | − usart3_pins_a: usart3-0 { | |
| 1765 | + usart2_pins_c: usart2-2 { | |
| 1626 | 1766 | pins1 { |
| 1627 | − pinmux = <STM32_PINMUX('B', 10, AF7)>; /* USART3_TX */ | |
| 1767 | + pinmux = <STM32_PINMUX('D', 5, AF7)>, /* USART2_TX */ | |
| 1768 | + <STM32_PINMUX('D', 4, AF7)>; /* USART2_RTS */ | |
| 1628 | 1769 | bias-disable; |
| 1629 | 1770 | drive-push-pull; |
| 1630 | − slew-rate = <0>; | |
| 1771 | + slew-rate = <3>; | |
| 1631 | 1772 | }; |
| 1632 | 1773 | pins2 { |
| 1633 | − pinmux = <STM32_PINMUX('B', 12, AF8)>; /* USART3_RX */ | |
| 1774 | + pinmux = <STM32_PINMUX('D', 6, AF7)>, /* USART2_RX */ | |
| 1775 | + <STM32_PINMUX('D', 3, AF7)>; /* USART2_CTS_NSS */ | |
| 1634 | 1776 | bias-disable; |
| 1635 | 1777 | }; |
| 1636 | 1778 | }; |
| 1637 | 1779 | |
| 1638 | − uart4_pins_a: uart4-0 { | |
| 1780 | + usart2_idle_pins_c: usart2-idle-2 { | |
| 1639 | 1781 | pins1 { |
| 1640 | − pinmux = <STM32_PINMUX('G', 11, AF6)>; /* UART4_TX */ | |
| 1641 | − bias-disable; | |
| 1642 | − drive-push-pull; | |
| 1643 | − slew-rate = <0>; | |
| 1782 | + pinmux = <STM32_PINMUX('D', 5, ANALOG)>, /* USART2_TX */ | |
| 1783 | + <STM32_PINMUX('D', 4, ANALOG)>, /* USART2_RTS */ | |
| 1784 | + <STM32_PINMUX('D', 3, ANALOG)>; /* USART2_CTS_NSS */ | |
| 1644 | 1785 | }; |
| 1645 | 1786 | pins2 { |
| 1646 | − pinmux = <STM32_PINMUX('B', 2, AF8)>; /* UART4_RX */ | |
| 1787 | + pinmux = <STM32_PINMUX('D', 6, AF7)>; /* USART2_RX */ | |
| 1647 | 1788 | bias-disable; |
| 1648 | 1789 | }; |
| 1649 | 1790 | }; |
| 1650 | 1791 | |
| 1651 | − uart4_pins_b: uart4-1 { | |
| 1792 | + usart2_sleep_pins_c: usart2-sleep-2 { | |
| 1793 | + pins { | |
| 1794 | + pinmux = <STM32_PINMUX('D', 5, ANALOG)>, /* USART2_TX */ | |
| 1795 | + <STM32_PINMUX('D', 4, ANALOG)>, /* USART2_RTS */ | |
| 1796 | + <STM32_PINMUX('D', 6, ANALOG)>, /* USART2_RX */ | |
| 1797 | + <STM32_PINMUX('D', 3, ANALOG)>; /* USART2_CTS_NSS */ | |
| 1798 | + }; | |
| 1799 | + }; | |
| 1800 | + | |
| 1801 | + usart3_pins_a: usart3-0 { | |
| 1652 | 1802 | pins1 { |
| 1653 | − pinmux = <STM32_PINMUX('D', 1, AF8)>; /* UART4_TX */ | |
| 1803 | + pinmux = <STM32_PINMUX('B', 10, AF7)>; /* USART3_TX */ | |
| 1654 | 1804 | bias-disable; |
| 1655 | 1805 | drive-push-pull; |
| 1656 | 1806 | slew-rate = <0>; |
| 1657 | 1807 | }; |
| 1658 | 1808 | pins2 { |
| 1659 | − pinmux = <STM32_PINMUX('B', 2, AF8)>; /* UART4_RX */ | |
| 1809 | + pinmux = <STM32_PINMUX('B', 12, AF8)>; /* USART3_RX */ | |
| 1660 | 1810 | bias-disable; |
| 1661 | 1811 | }; |
| 1662 | 1812 | }; |
| 1663 | 1813 | |
| 1664 | − uart4_pins_c: uart4-2 { | |
| 1814 | + usart3_pins_b: usart3-1 { | |
| 1665 | 1815 | pins1 { |
| 1666 | − pinmux = <STM32_PINMUX('G', 11, AF6)>; /* UART4_TX */ | |
| 1816 | + pinmux = <STM32_PINMUX('B', 10, AF7)>, /* USART3_TX */ | |
| 1817 | + <STM32_PINMUX('G', 8, AF8)>; /* USART3_RTS */ | |
| 1667 | 1818 | bias-disable; |
| 1668 | 1819 | drive-push-pull; |
| 1669 | 1820 | slew-rate = <0>; |
| 1670 | 1821 | }; |
| 1671 | 1822 | pins2 { |
| 1672 | − pinmux = <STM32_PINMUX('B', 2, AF8)>; /* UART4_RX */ | |
| 1823 | + pinmux = <STM32_PINMUX('B', 12, AF8)>, /* USART3_RX */ | |
| 1824 | + <STM32_PINMUX('I', 10, AF8)>; /* USART3_CTS_NSS */ | |
| 1673 | 1825 | bias-disable; |
| 1674 | 1826 | }; |
| 1675 | 1827 | }; |
| 1676 | 1828 | |
| 1677 | − uart7_pins_a: uart7-0 { | |
| 1829 | + usart3_idle_pins_b: usart3-idle-1 { | |
| 1678 | 1830 | pins1 { |
| 1679 | − pinmux = <STM32_PINMUX('E', 8, AF7)>; /* UART4_TX */ | |
| 1680 | − bias-disable; | |
| 1681 | − drive-push-pull; | |
| 1682 | − slew-rate = <0>; | |
| 1831 | + pinmux = <STM32_PINMUX('B', 10, ANALOG)>, /* USART3_TX */ | |
| 1832 | + <STM32_PINMUX('G', 8, ANALOG)>, /* USART3_RTS */ | |
| 1833 | + <STM32_PINMUX('I', 10, ANALOG)>; /* USART3_CTS_NSS */ | |
| 1683 | 1834 | }; |
| 1684 | 1835 | pins2 { |
| 1685 | − pinmux = <STM32_PINMUX('E', 7, AF7)>, /* UART4_RX */ | |
| 1686 | − <STM32_PINMUX('E', 10, AF7)>, /* UART4_CTS */ | |
| 1687 | − <STM32_PINMUX('E', 9, AF7)>; /* UART4_RTS */ | |
| 1836 | + pinmux = <STM32_PINMUX('B', 12, AF8)>; /* USART3_RX */ | |
| 1688 | 1837 | bias-disable; |
| 1689 | 1838 | }; |
| 1690 | 1839 | }; |
| 1691 | 1840 | |
| 1692 | − uart7_pins_b: uart7-1 { | |
| 1841 | + usart3_sleep_pins_b: usart3-sleep-1 { | |
| 1842 | + pins { | |
| 1843 | + pinmux = <STM32_PINMUX('B', 10, ANALOG)>, /* USART3_TX */ | |
| 1844 | + <STM32_PINMUX('G', 8, ANALOG)>, /* USART3_RTS */ | |
| 1845 | + <STM32_PINMUX('I', 10, ANALOG)>, /* USART3_CTS_NSS */ | |
| 1846 | + <STM32_PINMUX('B', 12, ANALOG)>; /* USART3_RX */ | |
| 1847 | + }; | |
| 1848 | + }; | |
| 1849 | + | |
| 1850 | + usart3_pins_c: usart3-2 { | |
| 1693 | 1851 | pins1 { |
| 1694 | − pinmux = <STM32_PINMUX('F', 7, AF7)>; /* UART7_TX */ | |
| 1852 | + pinmux = <STM32_PINMUX('B', 10, AF7)>, /* USART3_TX */ | |
| 1853 | + <STM32_PINMUX('G', 8, AF8)>; /* USART3_RTS */ | |
| 1695 | 1854 | bias-disable; |
| 1696 | 1855 | drive-push-pull; |
| 1697 | 1856 | slew-rate = <0>; |
| 1698 | 1857 | }; |
| 1699 | 1858 | pins2 { |
| 1700 | − pinmux = <STM32_PINMUX('F', 6, AF7)>; /* UART7_RX */ | |
| 1859 | + pinmux = <STM32_PINMUX('B', 12, AF8)>, /* USART3_RX */ | |
| 1860 | + <STM32_PINMUX('B', 13, AF7)>; /* USART3_CTS_NSS */ | |
| 1701 | 1861 | bias-disable; |
| 1702 | 1862 | }; |
| 1703 | 1863 | }; |
| 1704 | 1864 | |
| 1705 | − uart8_pins_a: uart8-0 { | |
| 1865 | + usart3_idle_pins_c: usart3-idle-2 { | |
| 1706 | 1866 | pins1 { |
| 1707 | − pinmux = <STM32_PINMUX('E', 1, AF8)>; /* UART8_TX */ | |
| 1708 | − bias-disable; | |
| 1709 | − drive-push-pull; | |
| 1710 | − slew-rate = <0>; | |
| 1867 | + pinmux = <STM32_PINMUX('B', 10, ANALOG)>, /* USART3_TX */ | |
| 1868 | + <STM32_PINMUX('G', 8, ANALOG)>, /* USART3_RTS */ | |
| 1869 | + <STM32_PINMUX('B', 13, ANALOG)>; /* USART3_CTS_NSS */ | |
| 1711 | 1870 | }; |
| 1712 | 1871 | pins2 { |
| 1713 | − pinmux = <STM32_PINMUX('E', 0, AF8)>; /* UART8_RX */ | |
| 1872 | + pinmux = <STM32_PINMUX('B', 12, AF8)>; /* USART3_RX */ | |
| 1714 | 1873 | bias-disable; |
| 1715 | 1874 | }; |
| 1716 | 1875 | }; |
| 1717 | 1876 | |
| 1877 | + usart3_sleep_pins_c: usart3-sleep-2 { | |
| 1878 | + pins { | |
| 1879 | + pinmux = <STM32_PINMUX('B', 10, ANALOG)>, /* USART3_TX */ | |
| 1880 | + <STM32_PINMUX('G', 8, ANALOG)>, /* USART3_RTS */ | |
| 1881 | + <STM32_PINMUX('B', 13, ANALOG)>, /* USART3_CTS_NSS */ | |
| 1882 | + <STM32_PINMUX('B', 12, ANALOG)>; /* USART3_RX */ | |
| 1883 | + }; | |
| 1884 | + }; | |
| 1885 | + | |
| 1718 | 1886 | usbotg_hs_pins_a: usbotg-hs-0 { |
| 1719 | 1887 | pins { |
| 1720 | 1888 | pinmux = <STM32_PINMUX('A', 10, ANALOG)>; /* OTG_ID */ |
| @@ -1776,18 +1944,4 @@ · 55 unmodified lines | ||
| 1776 | 1944 | bias-disable; |
| 1777 | 1945 | }; |
| 1778 | 1946 | }; |
| 1779 | − | |
| 1780 | − spi4_pins_a: spi4-0 { | |
| 1781 | − pins { | |
| 1782 | − pinmux = <STM32_PINMUX('E', 12, AF5)>, /* SPI4_SCK */ | |
| 1783 | − <STM32_PINMUX('E', 6, AF5)>; /* SPI4_MOSI */ | |
| 1784 | − bias-disable; | |
| 1785 | − drive-push-pull; | |
| 1786 | − slew-rate = <1>; | |
| 1787 | − }; | |
| 1788 | − pins2 { | |
| 1789 | − pinmux = <STM32_PINMUX('E', 13, AF5)>; /* SPI4_MISO */ | |
| 1790 | − bias-disable; | |
| 1791 | − }; | |
| 1792 | − }; | |
| 1793 | 1947 | }; |
| @@ -1127,7 +1127,7 @@ · 1126 unmodified lines | ||
| 1127 | 1127 | }; |
| 1128 | 1128 | |
| 1129 | 1129 | pwr_mcu: pwr_mcu@50001014 { |
| 1130 | − compatible = "syscon"; | |
| 1130 | + compatible = "st,stm32mp151-pwr-mcu", "syscon"; | |
| 1131 | 1131 | reg = <0x50001014 0x4>; |
| 1132 | 1132 | }; |
| 1133 | 1133 | |
| @@ -1331,6 +1331,8 @@ · 197 unmodified lines | ||
| 1331 | 1331 | dma-names = "tx", "rx"; |
| 1332 | 1332 | clocks = <&rcc QSPI_K>; |
| 1333 | 1333 | resets = <&rcc QSPI_R>; |
| 1334 | + #address-cells = <1>; | |
| 1335 | + #size-cells = <0>; | |
| 1334 | 1336 | status = "disabled"; |
| 1335 | 1337 | }; |
| 1336 | 1338 | |
| @@ -18,6 +18,8 @@ · 17 unmodified lines | ||
| 18 | 18 | aliases { |
| 19 | 19 | ethernet0 = ðernet0; |
| 20 | 20 | serial0 = &uart4; |
| 21 | + serial1 = &usart3; | |
| 22 | + serial2 = &uart7; | |
| 21 | 23 | }; |
| 22 | 24 | |
| 23 | 25 | chosen { |
| @@ -19,6 +19,9 @@ · 18 unmodified lines | ||
| 19 | 19 | aliases { |
| 20 | 20 | ethernet0 = ðernet0; |
| 21 | 21 | serial0 = &uart4; |
| 22 | + serial1 = &usart3; | |
| 23 | + serial2 = &uart7; | |
| 24 | + serial3 = &usart2; | |
| 22 | 25 | }; |
| 23 | 26 | |
| 24 | 27 | chosen { |
| @@ -84,3 +87,11 @@ · 59 unmodified lines | ||
| 84 | 87 | }; |
| 85 | 88 | }; |
| 86 | 89 | }; |
| 90 | + | |
| 91 | +&usart2 { | |
| 92 | + pinctrl-names = "default", "sleep", "idle"; | |
| 93 | + pinctrl-0 = <&usart2_pins_c>; | |
| 94 | + pinctrl-1 = <&usart2_sleep_pins_c>; | |
| 95 | + pinctrl-2 = <&usart2_idle_pins_c>; | |
| 96 | + status = "disabled"; | |
| 97 | +}; | |
| @@ -353,8 +353,10 @@ · 352 unmodified lines | ||
| 353 | 353 | }; |
| 354 | 354 | |
| 355 | 355 | &uart4 { |
| 356 | − pinctrl-names = "default"; | |
| 356 | + pinctrl-names = "default", "sleep", "idle"; | |
| 357 | 357 | pinctrl-0 = <&uart4_pins_a>; |
| 358 | + pinctrl-1 = <&uart4_sleep_pins_a>; | |
| 359 | + pinctrl-2 = <&uart4_idle_pins_a>; | |
| 358 | 360 | status = "okay"; |
| 359 | 361 | }; |
| 360 | 362 | |
| @@ -19,6 +19,7 @@ · 18 unmodified lines | ||
| 19 | 19 | |
| 20 | 20 | aliases { |
| 21 | 21 | serial0 = &uart4; |
| 22 | + serial1 = &usart3; | |
| 22 | 23 | ethernet0 = ðernet0; |
| 23 | 24 | }; |
| 24 | 25 | |
| @@ -341,6 +342,20 @@ · 316 unmodified lines | ||
| 341 | 342 | }; |
| 342 | 343 | }; |
| 343 | 344 | |
| 345 | +&usart3 { | |
| 346 | + pinctrl-names = "default", "sleep", "idle"; | |
| 347 | + pinctrl-0 = <&usart3_pins_b>; | |
| 348 | + pinctrl-1 = <&usart3_sleep_pins_b>; | |
| 349 | + pinctrl-2 = <&usart3_idle_pins_b>; | |
| 350 | + /* | |
| 351 | + * HW flow control USART3_RTS is optional, and isn't default wired to | |
| 352 | + * the connector. SB23 needs to be soldered in order to use it, and R77 | |
| 353 | + * (ETH_CLK) should be removed. | |
| 354 | + */ | |
| 355 | + uart-has-rtscts; | |
| 356 | + status = "disabled"; | |
| 357 | +}; | |
| 358 | + | |
| 344 | 359 | &usbh_ehci { |
| 345 | 360 | phys = <&usbphyc_port0>; |
| 346 | 361 | status = "okay"; |
| @@ -62,7 +62,7 @@ · 61 unmodified lines | ||
| 62 | 62 | |
| 63 | 63 | led { |
| 64 | 64 | compatible = "gpio-leds"; |
| 65 | − blue { | |
| 65 | + led-blue { | |
| 66 | 66 | label = "heartbeat"; |
| 67 | 67 | gpios = <&gpiod 11 GPIO_ACTIVE_HIGH>; |
| 68 | 68 | linux,default-trigger = "heartbeat"; |
| @@ -365,6 +365,19 @@ · 296 unmodified lines | ||
| 365 | 365 | }; |
| 366 | 366 | }; |
| 367 | 367 | |
| 368 | +&i2c5 { | |
| 369 | + pinctrl-names = "default", "sleep"; | |
| 370 | + pinctrl-0 = <&i2c5_pins_a>; | |
| 371 | + pinctrl-1 = <&i2c5_sleep_pins_a>; | |
| 372 | + i2c-scl-rising-time-ns = <185>; | |
| 373 | + i2c-scl-falling-time-ns = <20>; | |
| 374 | + clock-frequency = <400000>; | |
| 375 | + /* spare dmas for other usage */ | |
| 376 | + /delete-property/dmas; | |
| 377 | + /delete-property/dma-names; | |
| 378 | + status = "disabled"; | |
| 379 | +}; | |
| 380 | + | |
| 368 | 381 | &i2s2 { |
| 369 | 382 | clocks = <&rcc SPI2>, <&rcc SPI2_K>, <&rcc PLL3_Q>, <&rcc PLL3_R>; |
| 370 | 383 | clock-names = "pclk", "i2sclk", "x8k", "x11k"; |
| @@ -584,20 +597,39 @@ · 213 unmodified lines | ||
| 584 | 597 | }; |
| 585 | 598 | |
| 586 | 599 | &uart4 { |
| 587 | − pinctrl-names = "default"; | |
| 600 | + pinctrl-names = "default", "sleep", "idle"; | |
| 588 | 601 | pinctrl-0 = <&uart4_pins_a>; |
| 602 | + pinctrl-1 = <&uart4_sleep_pins_a>; | |
| 603 | + pinctrl-2 = <&uart4_idle_pins_a>; | |
| 589 | 604 | status = "okay"; |
| 590 | 605 | }; |
| 591 | 606 | |
| 607 | +&uart7 { | |
| 608 | + pinctrl-names = "default", "sleep", "idle"; | |
| 609 | + pinctrl-0 = <&uart7_pins_c>; | |
| 610 | + pinctrl-1 = <&uart7_sleep_pins_c>; | |
| 611 | + pinctrl-2 = <&uart7_idle_pins_c>; | |
| 612 | + status = "disabled"; | |
| 613 | +}; | |
| 614 | + | |
| 615 | +&usart3 { | |
| 616 | + pinctrl-names = "default", "sleep", "idle"; | |
| 617 | + pinctrl-0 = <&usart3_pins_c>; | |
| 618 | + pinctrl-1 = <&usart3_sleep_pins_c>; | |
| 619 | + pinctrl-2 = <&usart3_idle_pins_c>; | |
| 620 | + uart-has-rtscts; | |
| 621 | + status = "disabled"; | |
| 622 | +}; | |
| 623 | + | |
| 592 | 624 | &usbh_ehci { |
| 593 | 625 | phys = <&usbphyc_port0>; |
| 594 | 626 | status = "okay"; |
| 595 | 627 | }; |
| 596 | 628 | |
| 597 | 629 | &usbotg_hs { |
| 598 | − dr_mode = "peripheral"; | |
| 599 | 630 | phys = <&usbphyc_port1 0>; |
| 600 | 631 | phy-names = "usb2-phy"; |
| 632 | + usb-role-switch; | |
| 601 | 633 | status = "okay"; |
| 602 | 634 | }; |
| 603 | 635 | |
| @@ -70,6 +70,21 @@ · 69 unmodified lines | ||
| 70 | 70 | }; |
| 71 | 71 | }; |
| 72 | 72 | |
| 73 | + leds { | |
| 74 | + compatible = "gpio-leds"; | |
| 75 | + | |
| 76 | + pwr { | |
| 77 | + label = "orangepi:green:pwr"; | |
| 78 | + gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>; | |
| 79 | + default-state = "on"; | |
| 80 | + }; | |
| 81 | + | |
| 82 | + status { | |
| 83 | + label = "orangepi:red:status"; | |
| 84 | + gpios = <&pio 0 17 GPIO_ACTIVE_HIGH>; | |
| 85 | + }; | |
| 86 | + }; | |
| 87 | + | |
| 73 | 88 | reg_vcc3v3: vcc3v3 { |
| 74 | 89 | compatible = "regulator-fixed"; |
| 75 | 90 | regulator-name = "vcc3v3"; |
| @@ -88,6 +103,10 @@ · 12 unmodified lines | ||
| 88 | 103 | status = "okay"; |
| 89 | 104 | }; |
| 90 | 105 | |
| 106 | +&ehci0 { | |
| 107 | + status = "okay"; | |
| 108 | +}; | |
| 109 | + | |
| 91 | 110 | &hdmi { |
| 92 | 111 | status = "okay"; |
| 93 | 112 | }; |
| @@ -132,8 +151,27 @@ · 38 unmodified lines | ||
| 132 | 151 | status = "okay"; |
| 133 | 152 | }; |
| 134 | 153 | |
| 154 | +&ohci0 { | |
| 155 | + status = "okay"; | |
| 156 | +}; | |
| 157 | + | |
| 135 | 158 | &uart0 { |
| 136 | 159 | pinctrl-names = "default"; |
| 137 | 160 | pinctrl-0 = <&uart0_pa_pins>; |
| 138 | 161 | status = "okay"; |
| 139 | 162 | }; |
| 163 | + | |
| 164 | +&usb_otg { | |
| 165 | + /* | |
| 166 | + * According to schematics CN1 MicroUSB port can be used to take | |
| 167 | + * external 5V to power up the board VBUS. On the contrary CN1 MicroUSB | |
| 168 | + * port cannot provide power externally even if the board is powered | |
| 169 | + * via GPIO pins. It thus makes sense to force peripheral mode. | |
| 170 | + */ | |
| 171 | + dr_mode = "peripheral"; | |
| 172 | + status = "okay"; | |
| 173 | +}; | |
| 174 | + | |
| 175 | +&usbphy { | |
| 176 | + status = "okay"; | |
| 177 | +}; | |
| @@ -16,15 +16,27 @@ · 15 unmodified lines | ||
| 16 | 16 | regulator-type = "voltage"; |
| 17 | 17 | regulator-boot-on; |
| 18 | 18 | regulator-always-on; |
| 19 | − regulator-min-microvolt = <1100000>; | |
| 20 | − regulator-max-microvolt = <1300000>; | |
| 19 | + regulator-min-microvolt = <1108475>; | |
| 20 | + regulator-max-microvolt = <1308475>; | |
| 21 | 21 | regulator-ramp-delay = <50>; /* 4ms */ |
| 22 | 22 | gpios = <&r_pio 0 1 GPIO_ACTIVE_HIGH>; /* PL1 */ |
| 23 | 23 | gpios-states = <0x1>; |
| 24 | − states = <1100000 0>, <1300000 1>; | |
| 24 | + states = <1108475 0>, <1308475 1>; | |
| 25 | 25 | }; |
| 26 | 26 | }; |
| 27 | 27 | |
| 28 | 28 | &cpu0 { |
| 29 | 29 | cpu-supply = <®_vdd_cpux>; |
| 30 | 30 | }; |
| 31 | + | |
| 32 | +&cpu1 { | |
| 33 | + cpu-supply = <®_vdd_cpux>; | |
| 34 | +}; | |
| 35 | + | |
| 36 | +&cpu2 { | |
| 37 | + cpu-supply = <®_vdd_cpux>; | |
| 38 | +}; | |
| 39 | + | |
| 40 | +&cpu3 { | |
| 41 | + cpu-supply = <®_vdd_cpux>; | |
| 42 | +}; | |
| @@ -128,6 +128,18 @@ · 127 unmodified lines | ||
| 128 | 128 | cpu-supply = <®_vdd_cpux>; |
| 129 | 129 | }; |
| 130 | 130 | |
| 131 | +&cpu1 { | |
| 132 | + cpu-supply = <®_vdd_cpux>; | |
| 133 | +}; | |
| 134 | + | |
| 135 | +&cpu2 { | |
| 136 | + cpu-supply = <®_vdd_cpux>; | |
| 137 | +}; | |
| 138 | + | |
| 139 | +&cpu3 { | |
| 140 | + cpu-supply = <®_vdd_cpux>; | |
| 141 | +}; | |
| 142 | + | |
| 131 | 143 | &de { |
| 132 | 144 | status = "okay"; |
| 133 | 145 | }; |
| @@ -769,7 +769,6 @@ · 768 unmodified lines | ||
| 769 | 769 | battery: smart-battery@b { |
| 770 | 770 | compatible = "ti,bq20z45", "sbs,sbs-battery"; |
| 771 | 771 | reg = <0xb>; |
| 772 | − battery-name = "battery"; | |
| 773 | 772 | sbs,i2c-retry-count = <2>; |
| 774 | 773 | sbs,poll-retry-count = <100>; |
| 775 | 774 | power-supplies = <&charger>; |
| @@ -1109,14 +1108,14 @@ · 333 unmodified lines | ||
| 1109 | 1108 | }; |
| 1110 | 1109 | }; |
| 1111 | 1110 | |
| 1112 | − sdhci@78000400 { | |
| 1111 | + mmc@78000400 { | |
| 1113 | 1112 | cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>; |
| 1114 | 1113 | wp-gpios = <&gpio TEGRA_GPIO(Q, 4) GPIO_ACTIVE_HIGH>; |
| 1115 | 1114 | bus-width = <4>; |
| 1116 | 1115 | status = "okay"; |
| 1117 | 1116 | }; |
| 1118 | 1117 | |
| 1119 | − sdhci@78000600 { | |
| 1118 | + mmc@78000600 { | |
| 1120 | 1119 | bus-width = <8>; |
| 1121 | 1120 | status = "okay"; |
| 1122 | 1121 | non-removable; |
| @@ -1152,17 +1151,10 @@ · 29 unmodified lines | ||
| 1152 | 1151 | default-brightness-level = <6>; |
| 1153 | 1152 | }; |
| 1154 | 1153 | |
| 1155 | − clocks { | |
| 1156 | − compatible = "simple-bus"; | |
| 1157 | − #address-cells = <1>; | |
| 1158 | − #size-cells = <0>; | |
| 1159 | − | |
| 1160 | − clk32k_in: clock@0 { | |
| 1161 | − compatible = "fixed-clock"; | |
| 1162 | − reg = <0>; | |
| 1163 | − #clock-cells = <0>; | |
| 1164 | − clock-frequency = <32768>; | |
| 1165 | − }; | |
| 1154 | + clk32k_in: clock@0 { | |
| 1155 | + compatible = "fixed-clock"; | |
| 1156 | + clock-frequency = <32768>; | |
| 1157 | + #clock-cells = <0>; | |
| 1166 | 1158 | }; |
| 1167 | 1159 | |
| 1168 | 1160 | gpio-keys { |
| @@ -1194,83 +1186,70 @@ · 25 unmodified lines | ||
| 1194 | 1186 | }; |
| 1195 | 1187 | }; |
| 1196 | 1188 | |
| 1197 | − regulators { | |
| 1198 | − compatible = "simple-bus"; | |
| 1199 | − #address-cells = <1>; | |
| 1200 | − #size-cells = <0>; | |
| 1201 | − | |
| 1202 | − vdd_ac_bat_reg: regulator@0 { | |
| 1203 | − compatible = "regulator-fixed"; | |
| 1204 | − reg = <0>; | |
| 1205 | − regulator-name = "vdd_ac_bat"; | |
| 1206 | − regulator-min-microvolt = <5000000>; | |
| 1207 | − regulator-max-microvolt = <5000000>; | |
| 1208 | − regulator-always-on; | |
| 1209 | − }; | |
| 1189 | + vdd_ac_bat_reg: regulator@0 { | |
| 1190 | + compatible = "regulator-fixed"; | |
| 1191 | + regulator-name = "vdd_ac_bat"; | |
| 1192 | + regulator-min-microvolt = <5000000>; | |
| 1193 | + regulator-max-microvolt = <5000000>; | |
| 1194 | + regulator-always-on; | |
| 1195 | + }; | |
| 1210 | 1196 | |
| 1211 | − dvdd_ts_reg: regulator@1 { | |
| 1212 | − compatible = "regulator-fixed"; | |
| 1213 | − reg = <1>; | |
| 1214 | − regulator-name = "dvdd_ts"; | |
| 1215 | − regulator-min-microvolt = <1800000>; | |
| 1216 | − regulator-max-microvolt = <1800000>; | |
| 1217 | − enable-active-high; | |
| 1218 | − gpio = <&gpio TEGRA_GPIO(H, 5) GPIO_ACTIVE_HIGH>; | |
| 1219 | − }; | |
| 1197 | + dvdd_ts_reg: regulator@1 { | |
| 1198 | + compatible = "regulator-fixed"; | |
| 1199 | + regulator-name = "dvdd_ts"; | |
| 1200 | + regulator-min-microvolt = <1800000>; | |
| 1201 | + regulator-max-microvolt = <1800000>; | |
| 1202 | + enable-active-high; | |
| 1203 | + gpio = <&gpio TEGRA_GPIO(H, 5) GPIO_ACTIVE_HIGH>; | |
| 1204 | + }; | |
| 1220 | 1205 | |
| 1221 | − usb1_vbus_reg: regulator@3 { | |
| 1222 | − compatible = "regulator-fixed"; | |
| 1223 | − reg = <3>; | |
| 1224 | − regulator-name = "usb1_vbus"; | |
| 1225 | − regulator-min-microvolt = <5000000>; | |
| 1226 | − regulator-max-microvolt = <5000000>; | |
| 1227 | − enable-active-high; | |
| 1228 | − gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>; | |
| 1229 | − gpio-open-drain; | |
| 1230 | − vin-supply = <&tps65090_dcdc1_reg>; | |
| 1231 | − }; | |
| 1206 | + usb1_vbus_reg: regulator@3 { | |
| 1207 | + compatible = "regulator-fixed"; | |
| 1208 | + regulator-name = "usb1_vbus"; | |
| 1209 | + regulator-min-microvolt = <5000000>; | |
| 1210 | + regulator-max-microvolt = <5000000>; | |
| 1211 | + enable-active-high; | |
| 1212 | + gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>; | |
| 1213 | + gpio-open-drain; | |
| 1214 | + vin-supply = <&tps65090_dcdc1_reg>; | |
| 1215 | + }; | |
| 1232 | 1216 | |
| 1233 | − usb3_vbus_reg: regulator@4 { | |
| 1234 | − compatible = "regulator-fixed"; | |
| 1235 | − reg = <4>; | |
| 1236 | − regulator-name = "usb2_vbus"; | |
| 1237 | − regulator-min-microvolt = <5000000>; | |
| 1238 | − regulator-max-microvolt = <5000000>; | |
| 1239 | − enable-active-high; | |
| 1240 | − gpio = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>; | |
| 1241 | − gpio-open-drain; | |
| 1242 | − vin-supply = <&tps65090_dcdc1_reg>; | |
| 1243 | − }; | |
| 1217 | + usb3_vbus_reg: regulator@4 { | |
| 1218 | + compatible = "regulator-fixed"; | |
| 1219 | + regulator-name = "usb2_vbus"; | |
| 1220 | + regulator-min-microvolt = <5000000>; | |
| 1221 | + regulator-max-microvolt = <5000000>; | |
| 1222 | + enable-active-high; | |
| 1223 | + gpio = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>; | |
| 1224 | + gpio-open-drain; | |
| 1225 | + vin-supply = <&tps65090_dcdc1_reg>; | |
| 1226 | + }; | |
| 1244 | 1227 | |
| 1245 | − vdd_hdmi_reg: regulator@5 { | |
| 1246 | − compatible = "regulator-fixed"; | |
| 1247 | − reg = <5>; | |
| 1248 | − regulator-name = "vdd_hdmi_5v0"; | |
| 1249 | − regulator-min-microvolt = <5000000>; | |
| 1250 | − regulator-max-microvolt = <5000000>; | |
| 1251 | − vin-supply = <&tps65090_dcdc1_reg>; | |
| 1252 | − }; | |
| 1228 | + vdd_hdmi_reg: regulator@5 { | |
| 1229 | + compatible = "regulator-fixed"; | |
| 1230 | + regulator-name = "vdd_hdmi_5v0"; | |
| 1231 | + regulator-min-microvolt = <5000000>; | |
| 1232 | + regulator-max-microvolt = <5000000>; | |
| 1233 | + vin-supply = <&tps65090_dcdc1_reg>; | |
| 1234 | + }; | |
| 1253 | 1235 | |
| 1254 | − vdd_cam_1v8_reg: regulator@6 { | |
| 1255 | − compatible = "regulator-fixed"; | |
| 1256 | − reg = <6>; | |
| 1257 | − regulator-name = "vdd_cam_1v8_reg"; | |
| 1258 | − regulator-min-microvolt = <1800000>; | |
| 1259 | − regulator-max-microvolt = <1800000>; | |
| 1260 | − enable-active-high; | |
| 1261 | − gpio = <&palmas_gpio 6 0>; | |
| 1262 | − }; | |
| 1236 | + vdd_cam_1v8_reg: regulator@6 { | |
| 1237 | + compatible = "regulator-fixed"; | |
| 1238 | + regulator-name = "vdd_cam_1v8_reg"; | |
| 1239 | + regulator-min-microvolt = <1800000>; | |
| 1240 | + regulator-max-microvolt = <1800000>; | |
| 1241 | + enable-active-high; | |
| 1242 | + gpio = <&palmas_gpio 6 0>; | |
| 1243 | + }; | |
| 1263 | 1244 | |
| 1264 | − vdd_5v0_hdmi: regulator@7 { | |
| 1265 | − compatible = "regulator-fixed"; | |
| 1266 | − reg = <7>; | |
| 1267 | − regulator-name = "VDD_5V0_HDMI_CON"; | |
| 1268 | − regulator-min-microvolt = <5000000>; | |
| 1269 | − regulator-max-microvolt = <5000000>; | |
| 1270 | − gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>; | |
| 1271 | − enable-active-high; | |
| 1272 | − vin-supply = <&tps65090_dcdc1_reg>; | |
| 1273 | − }; | |
| 1245 | + vdd_5v0_hdmi: regulator@7 { | |
| 1246 | + compatible = "regulator-fixed"; | |
| 1247 | + regulator-name = "VDD_5V0_HDMI_CON"; | |
| 1248 | + regulator-min-microvolt = <5000000>; | |
| 1249 | + regulator-max-microvolt = <5000000>; | |
| 1250 | + gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>; | |
| 1251 | + enable-active-high; | |
| 1252 | + vin-supply = <&tps65090_dcdc1_reg>; | |
| 1274 | 1253 | }; |
| 1275 | 1254 | |
| 1276 | 1255 | sound { |
| @@ -37,7 +37,7 @@ · 36 unmodified lines | ||
| 37 | 37 | dsi@54300000 { |
| 38 | 38 | status = "okay"; |
| 39 | 39 | |
| 40 | − vdd-supply = <&vdd_1v2_ap>; | |
| 40 | + avdd-dsi-csi-supply = <&vdd_1v2_ap>; | |
| 41 | 41 | |
| 42 | 42 | panel@0 { |
| 43 | 43 | compatible = "lg,lh500wx1-sd03"; |
| @@ -962,7 +962,7 @@ · 918 unmodified lines | ||
| 962 | 962 | }; |
| 963 | 963 | |
| 964 | 964 | /* SD card */ |
| 965 | − sdhci@78000400 { | |
| 965 | + mmc@78000400 { | |
| 966 | 966 | status = "okay"; |
| 967 | 967 | bus-width = <4>; |
| 968 | 968 | vqmmc-supply = <&vddio_sdmmc3>; |
| @@ -971,7 +971,7 @@ · 2 unmodified lines | ||
| 971 | 971 | }; |
| 972 | 972 | |
| 973 | 973 | /* eMMC */ |
| 974 | − sdhci@78000600 { | |
| 974 | + mmc@78000600 { | |
| 975 | 975 | status = "okay"; |
| 976 | 976 | bus-width = <8>; |
| 977 | 977 | non-removable; |
| @@ -1016,17 +1016,10 @@ · 38 unmodified lines | ||
| 1016 | 1016 | enable-gpios = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>; |
| 1017 | 1017 | }; |
| 1018 | 1018 | |
| 1019 | − clocks { | |
| 1020 | − compatible = "simple-bus"; | |
| 1021 | − #address-cells = <1>; | |
| 1022 | − #size-cells = <0>; | |
| 1023 | − | |
| 1024 | − clk32k_in: clock@0 { | |
| 1025 | − compatible = "fixed-clock"; | |
| 1026 | − reg = <0>; | |
| 1027 | − #clock-cells = <0>; | |
| 1028 | − clock-frequency = <32768>; | |
| 1029 | − }; | |
| 1019 | + clk32k_in: clock@0 { | |
| 1020 | + compatible = "fixed-clock"; | |
| 1021 | + clock-frequency = <32768>; | |
| 1022 | + #clock-cells = <0>; | |
| 1030 | 1023 | }; |
| 1031 | 1024 | |
| 1032 | 1025 | gpio-keys { |
| @@ -1052,76 +1045,64 @@ · 19 unmodified lines | ||
| 1052 | 1045 | }; |
| 1053 | 1046 | }; |
| 1054 | 1047 | |
| 1055 | − regulators { | |
| 1056 | − compatible = "simple-bus"; | |
| 1057 | − #address-cells = <1>; | |
| 1058 | − #size-cells = <0>; | |
| 1059 | − | |
| 1060 | − lcd_bl_en: regulator@0 { | |
| 1061 | − compatible = "regulator-fixed"; | |
| 1062 | − reg = <0>; | |
| 1063 | − regulator-name = "lcd_bl_en"; | |
| 1064 | − regulator-min-microvolt = <5000000>; | |
| 1065 | − regulator-max-microvolt = <5000000>; | |
| 1066 | − regulator-boot-on; | |
| 1067 | − }; | |
| 1048 | + lcd_bl_en: regulator@0 { | |
| 1049 | + compatible = "regulator-fixed"; | |
| 1050 | + regulator-name = "lcd_bl_en"; | |
| 1051 | + regulator-min-microvolt = <5000000>; | |
| 1052 | + regulator-max-microvolt = <5000000>; | |
| 1053 | + regulator-boot-on; | |
| 1054 | + }; | |
| 1068 | 1055 | |
| 1069 | − vdd_lcd: regulator@1 { | |
| 1070 | − compatible = "regulator-fixed"; | |
| 1071 | − reg = <1>; | |
| 1072 | − regulator-name = "vdd_lcd_1v8"; | |
| 1073 | − regulator-min-microvolt = <1800000>; | |
| 1074 | − regulator-max-microvolt = <1800000>; | |
| 1075 | − vin-supply = <&vdd_1v8>; | |
| 1076 | − enable-active-high; | |
| 1077 | − gpio = <&gpio TEGRA_GPIO(U, 4) GPIO_ACTIVE_HIGH>; | |
| 1078 | − regulator-boot-on; | |
| 1079 | − }; | |
| 1056 | + vdd_lcd: regulator@1 { | |
| 1057 | + compatible = "regulator-fixed"; | |
| 1058 | + regulator-name = "vdd_lcd_1v8"; | |
| 1059 | + regulator-min-microvolt = <1800000>; | |
| 1060 | + regulator-max-microvolt = <1800000>; | |
| 1061 | + vin-supply = <&vdd_1v8>; | |
| 1062 | + enable-active-high; | |
| 1063 | + gpio = <&gpio TEGRA_GPIO(U, 4) GPIO_ACTIVE_HIGH>; | |
| 1064 | + regulator-boot-on; | |
| 1065 | + }; | |
| 1080 | 1066 | |
| 1081 | − regulator@2 { | |
| 1082 | − compatible = "regulator-fixed"; | |
| 1083 | − reg = <2>; | |
| 1084 | − regulator-name = "vdd_1v8_ts"; | |
| 1085 | − regulator-min-microvolt = <1800000>; | |
| 1086 | − regulator-max-microvolt = <1800000>; | |
| 1087 | − gpio = <&gpio TEGRA_GPIO(K, 3) GPIO_ACTIVE_LOW>; | |
| 1088 | − regulator-boot-on; | |
| 1089 | − }; | |
| 1067 | + regulator@2 { | |
| 1068 | + compatible = "regulator-fixed"; | |
| 1069 | + regulator-name = "vdd_1v8_ts"; | |
| 1070 | + regulator-min-microvolt = <1800000>; | |
| 1071 | + regulator-max-microvolt = <1800000>; | |
| 1072 | + gpio = <&gpio TEGRA_GPIO(K, 3) GPIO_ACTIVE_LOW>; | |
| 1073 | + regulator-boot-on; | |
| 1074 | + }; | |
| 1090 | 1075 | |
| 1091 | − regulator@3 { | |
| 1092 | − compatible = "regulator-fixed"; | |
| 1093 | − reg = <3>; | |
| 1094 | − regulator-name = "vdd_3v3_ts"; | |
| 1095 | − regulator-min-microvolt = <3300000>; | |
| 1096 | − regulator-max-microvolt = <3300000>; | |
| 1097 | − enable-active-high; | |
| 1098 | − gpio = <&gpio TEGRA_GPIO(H, 5) GPIO_ACTIVE_HIGH>; | |
| 1099 | − regulator-boot-on; | |
| 1100 | − }; | |
| 1076 | + regulator@3 { | |
| 1077 | + compatible = "regulator-fixed"; | |
| 1078 | + regulator-name = "vdd_3v3_ts"; | |
| 1079 | + regulator-min-microvolt = <3300000>; | |
| 1080 | + regulator-max-microvolt = <3300000>; | |
| 1081 | + enable-active-high; | |
| 1082 | + gpio = <&gpio TEGRA_GPIO(H, 5) GPIO_ACTIVE_HIGH>; | |
| 1083 | + regulator-boot-on; | |
| 1084 | + }; | |
| 1101 | 1085 | |
| 1102 | − regulator@4 { | |
| 1103 | − compatible = "regulator-fixed"; | |
| 1104 | − reg = <4>; | |
| 1105 | − regulator-name = "vdd_1v8_com"; | |
| 1106 | − regulator-min-microvolt = <1800000>; | |
| 1107 | − regulator-max-microvolt = <1800000>; | |
| 1108 | − vin-supply = <&vdd_1v8>; | |
| 1109 | − enable-active-high; | |
| 1110 | − gpio = <&gpio TEGRA_GPIO(X, 1) GPIO_ACTIVE_HIGH>; | |
| 1111 | − regulator-boot-on; | |
| 1112 | − }; | |
| 1086 | + regulator@4 { | |
| 1087 | + compatible = "regulator-fixed"; | |
| 1088 | + regulator-name = "vdd_1v8_com"; | |
| 1089 | + regulator-min-microvolt = <1800000>; | |
| 1090 | + regulator-max-microvolt = <1800000>; | |
| 1091 | + vin-supply = <&vdd_1v8>; | |
| 1092 | + enable-active-high; | |
| 1093 | + gpio = <&gpio TEGRA_GPIO(X, 1) GPIO_ACTIVE_HIGH>; | |
| 1094 | + regulator-boot-on; | |
| 1095 | + }; | |
| 1113 | 1096 | |
| 1114 | − regulator@5 { | |
| 1115 | − compatible = "regulator-fixed"; | |
| 1116 | − reg = <5>; | |
| 1117 | − regulator-name = "vdd_3v3_com"; | |
| 1118 | − regulator-min-microvolt = <3300000>; | |
| 1119 | − regulator-max-microvolt = <3300000>; | |
| 1120 | − vin-supply = <&vdd_3v3_sys>; | |
| 1121 | − enable-active-high; | |
| 1122 | − gpio = <&gpio TEGRA_GPIO(X, 7) GPIO_ACTIVE_HIGH>; | |
| 1123 | − regulator-always-on; | |
| 1124 | − regulator-boot-on; | |
| 1125 | − }; | |
| 1097 | + regulator@5 { | |
| 1098 | + compatible = "regulator-fixed"; | |
| 1099 | + regulator-name = "vdd_3v3_com"; | |
| 1100 | + regulator-min-microvolt = <3300000>; | |
| 1101 | + regulator-max-microvolt = <3300000>; | |
| 1102 | + vin-supply = <&vdd_3v3_sys>; | |
| 1103 | + enable-active-high; | |
| 1104 | + gpio = <&gpio TEGRA_GPIO(X, 7) GPIO_ACTIVE_HIGH>; | |
| 1105 | + regulator-always-on; | |
| 1106 | + regulator-boot-on; | |
| 1126 | 1107 | }; |
| 1127 | 1108 | }; |
| @@ -37,7 +37,7 @@ · 36 unmodified lines | ||
| 37 | 37 | dsi@54300000 { |
| 38 | 38 | status = "okay"; |
| 39 | 39 | |
| 40 | − vdd-supply = <&vdd_1v2_ap>; | |
| 40 | + avdd-dsi-csi-supply = <&vdd_1v2_ap>; | |
| 41 | 41 | |
| 42 | 42 | panel@0 { |
| 43 | 43 | compatible = "lg,ld070wx3-sl01"; |
| @@ -242,7 +242,7 @@ · 198 unmodified lines | ||
| 242 | 242 | }; |
| 243 | 243 | |
| 244 | 244 | /* eMMC */ |
| 245 | − sdhci@78000600 { | |
| 245 | + mmc@78000600 { | |
| 246 | 246 | status = "okay"; |
| 247 | 247 | bus-width = <8>; |
| 248 | 248 | non-removable; |
| @@ -273,17 +273,10 @@ · 24 unmodified lines | ||
| 273 | 273 | power-supply = <&lcd_bl_en>; |
| 274 | 274 | }; |
| 275 | 275 | |
| 276 | − clocks { | |
| 277 | − compatible = "simple-bus"; | |
| 278 | − #address-cells = <1>; | |
| 279 | − #size-cells = <0>; | |
| 280 | − | |
| 281 | − clk32k_in: clock@0 { | |
| 282 | − compatible = "fixed-clock"; | |
| 283 | − reg = <0>; | |
| 284 | − #clock-cells = <0>; | |
| 285 | − clock-frequency = <32768>; | |
| 286 | − }; | |
| 276 | + clk32k_in: clock@0 { | |
| 277 | + compatible = "fixed-clock"; | |
| 278 | + clock-frequency = <32768>; | |
| 279 | + #clock-cells = <0>; | |
| 287 | 280 | }; |
| 288 | 281 | |
| 289 | 282 | gpio-keys { |
| @@ -309,44 +302,35 @@ · 19 unmodified lines | ||
| 309 | 302 | }; |
| 310 | 303 | }; |
| 311 | 304 | |
| 312 | − regulators { | |
| 313 | − compatible = "simple-bus"; | |
| 314 | − #address-cells = <1>; | |
| 315 | − #size-cells = <0>; | |
| 316 | − | |
| 317 | − /* FIXME: output of BQ24192 */ | |
| 318 | − vs_sys: regulator@0 { | |
| 319 | − compatible = "regulator-fixed"; | |
| 320 | − reg = <0>; | |
| 321 | − regulator-name = "VS_SYS"; | |
| 322 | − regulator-min-microvolt = <4200000>; | |
| 323 | − regulator-max-microvolt = <4200000>; | |
| 324 | − regulator-always-on; | |
| 325 | − regulator-boot-on; | |
| 326 | − }; | |
| 305 | + /* FIXME: output of BQ24192 */ | |
| 306 | + vs_sys: regulator@0 { | |
| 307 | + compatible = "regulator-fixed"; | |
| 308 | + regulator-name = "VS_SYS"; | |
| 309 | + regulator-min-microvolt = <4200000>; | |
| 310 | + regulator-max-microvolt = <4200000>; | |
| 311 | + regulator-always-on; | |
| 312 | + regulator-boot-on; | |
| 313 | + }; | |
| 327 | 314 | |
| 328 | − lcd_bl_en: regulator@1 { | |
| 329 | − compatible = "regulator-fixed"; | |
| 330 | − reg = <1>; | |
| 331 | − regulator-name = "VDD_LCD_BL"; | |
| 332 | − regulator-min-microvolt = <16500000>; | |
| 333 | − regulator-max-microvolt = <16500000>; | |
| 334 | − gpio = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>; | |
| 335 | − enable-active-high; | |
| 336 | − vin-supply = <&vs_sys>; | |
| 337 | − regulator-boot-on; | |
| 338 | − }; | |
| 315 | + lcd_bl_en: regulator@1 { | |
| 316 | + compatible = "regulator-fixed"; | |
| 317 | + regulator-name = "VDD_LCD_BL"; | |
| 318 | + regulator-min-microvolt = <16500000>; | |
| 319 | + regulator-max-microvolt = <16500000>; | |
| 320 | + gpio = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>; | |
| 321 | + enable-active-high; | |
| 322 | + vin-supply = <&vs_sys>; | |
| 323 | + regulator-boot-on; | |
| 324 | + }; | |
| 339 | 325 | |
| 340 | − vdd_lcd: regulator@2 { | |
| 341 | − compatible = "regulator-fixed"; | |
| 342 | − reg = <2>; | |
| 343 | − regulator-name = "VD_LCD_1V8"; | |
| 344 | − regulator-min-microvolt = <1800000>; | |
| 345 | − regulator-max-microvolt = <1800000>; | |
| 346 | − gpio = <&palmas_gpio 4 GPIO_ACTIVE_HIGH>; | |
| 347 | − enable-active-high; | |
| 348 | − vin-supply = <&vdd_1v8>; | |
| 349 | − regulator-boot-on; | |
| 350 | − }; | |
| 326 | + vdd_lcd: regulator@2 { | |
| 327 | + compatible = "regulator-fixed"; | |
| 328 | + regulator-name = "VD_LCD_1V8"; | |
| 329 | + regulator-min-microvolt = <1800000>; | |
| 330 | + regulator-max-microvolt = <1800000>; | |
| 331 | + gpio = <&palmas_gpio 4 GPIO_ACTIVE_HIGH>; | |
| 332 | + enable-active-high; | |
| 333 | + vin-supply = <&vdd_1v8>; | |
| 334 | + regulator-boot-on; | |
| 351 | 335 | }; |
| 352 | 336 | }; |
| @@ -18,11 +18,13 @@ · 17 unmodified lines | ||
| 18 | 18 | }; |
| 19 | 19 | |
| 20 | 20 | host1x@50000000 { |
| 21 | − compatible = "nvidia,tegra114-host1x", "simple-bus"; | |
| 21 | + compatible = "nvidia,tegra114-host1x"; | |
| 22 | 22 | reg = <0x50000000 0x00028000>; |
| 23 | 23 | interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, /* syncpt */ |
| 24 | 24 | <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>; /* general */ |
| 25 | + interrupt-names = "syncpt", "host1x"; | |
| 25 | 26 | clocks = <&tegra_car TEGRA114_CLK_HOST1X>; |
| 27 | + clock-names = "host1x"; | |
| 26 | 28 | resets = <&tegra_car 28>; |
| 27 | 29 | reset-names = "host1x"; |
| 28 | 30 | iommus = <&mc TEGRA_SWGROUP_HC>; |
| @@ -33,7 +35,7 @@ · 4 unmodified lines | ||
| 33 | 35 | ranges = <0x54000000 0x54000000 0x01000000>; |
| 34 | 36 | |
| 35 | 37 | gr2d@54140000 { |
| 36 | − compatible = "nvidia,tegra114-gr2d", "nvidia,tegra20-gr2d"; | |
| 38 | + compatible = "nvidia,tegra114-gr2d"; | |
| 37 | 39 | reg = <0x54140000 0x00040000>; |
| 38 | 40 | interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>; |
| 39 | 41 | clocks = <&tegra_car TEGRA114_CLK_GR2D>; |
| @@ -44,7 +46,7 @@ · 4 unmodified lines | ||
| 44 | 46 | }; |
| 45 | 47 | |
| 46 | 48 | gr3d@54180000 { |
| 47 | − compatible = "nvidia,tegra114-gr3d", "nvidia,tegra20-gr3d"; | |
| 49 | + compatible = "nvidia,tegra114-gr3d"; | |
| 48 | 50 | reg = <0x54180000 0x00040000>; |
| 49 | 51 | clocks = <&tegra_car TEGRA114_CLK_GR3D>; |
| 50 | 52 | resets = <&tegra_car 24>; |
| @@ -54,7 +56,7 @@ · 3 unmodified lines | ||
| 54 | 56 | }; |
| 55 | 57 | |
| 56 | 58 | dc@54200000 { |
| 57 | − compatible = "nvidia,tegra114-dc", "nvidia,tegra20-dc"; | |
| 59 | + compatible = "nvidia,tegra114-dc"; | |
| 58 | 60 | reg = <0x54200000 0x00040000>; |
| 59 | 61 | interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>; |
| 60 | 62 | clocks = <&tegra_car TEGRA114_CLK_DISP1>, |
| @@ -73,7 +75,7 @@ · 12 unmodified lines | ||
| 73 | 75 | }; |
| 74 | 76 | |
| 75 | 77 | dc@54240000 { |
| 76 | − compatible = "nvidia,tegra114-dc", "nvidia,tegra20-dc"; | |
| 78 | + compatible = "nvidia,tegra114-dc"; | |
| 77 | 79 | reg = <0x54240000 0x00040000>; |
| 78 | 80 | interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>; |
| 79 | 81 | clocks = <&tegra_car TEGRA114_CLK_DISP2>, |
| @@ -253,14 +255,14 @@ · 173 unmodified lines | ||
| 253 | 255 | |
| 254 | 256 | apbmisc@70000800 { |
| 255 | 257 | compatible = "nvidia,tegra114-apbmisc", "nvidia,tegra20-apbmisc"; |
| 256 | − reg = <0x70000800 0x64 /* Chip revision */ | |
| 257 | − 0x70000008 0x04>; /* Strapping options */ | |
| 258 | + reg = <0x70000800 0x64>, /* Chip revision */ | |
| 259 | + <0x70000008 0x04>; /* Strapping options */ | |
| 258 | 260 | }; |
| 259 | 261 | |
| 260 | 262 | pinmux: pinmux@70000868 { |
| 261 | 263 | compatible = "nvidia,tegra114-pinmux"; |
| 262 | − reg = <0x70000868 0x148 /* Pad control registers */ | |
| 263 | − 0x70003000 0x40c>; /* Mux registers */ | |
| 264 | + reg = <0x70000868 0x148>, /* Pad control registers */ | |
| 265 | + <0x70003000 0x40c>; /* Mux registers */ | |
| 264 | 266 | }; |
| 265 | 267 | |
| 266 | 268 | /* |
| @@ -644,41 +646,45 @@ · 377 unmodified lines | ||
| 644 | 646 | #nvidia,mipi-calibrate-cells = <1>; |
| 645 | 647 | }; |
| 646 | 648 | |
| 647 | − sdhci@78000000 { | |
| 648 | − compatible = "nvidia,tegra114-sdhci", "nvidia,tegra30-sdhci"; | |
| 649 | + mmc@78000000 { | |
| 650 | + compatible = "nvidia,tegra114-sdhci"; | |
| 649 | 651 | reg = <0x78000000 0x200>; |
| 650 | 652 | interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; |
| 651 | 653 | clocks = <&tegra_car TEGRA114_CLK_SDMMC1>; |
| 654 | + clock-names = "sdhci"; | |
| 652 | 655 | resets = <&tegra_car 14>; |
| 653 | 656 | reset-names = "sdhci"; |
| 654 | 657 | status = "disabled"; |
| 655 | 658 | }; |
| 656 | 659 | |
| 657 | − sdhci@78000200 { | |
| 658 | − compatible = "nvidia,tegra114-sdhci", "nvidia,tegra30-sdhci"; | |
| 660 | + mmc@78000200 { | |
| 661 | + compatible = "nvidia,tegra114-sdhci"; | |
| 659 | 662 | reg = <0x78000200 0x200>; |
| 660 | 663 | interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>; |
| 661 | 664 | clocks = <&tegra_car TEGRA114_CLK_SDMMC2>; |
| 665 | + clock-names = "sdhci"; | |
| 662 | 666 | resets = <&tegra_car 9>; |
| 663 | 667 | reset-names = "sdhci"; |
| 664 | 668 | status = "disabled"; |
| 665 | 669 | }; |
| 666 | 670 | |
| 667 | − sdhci@78000400 { | |
| 668 | − compatible = "nvidia,tegra114-sdhci", "nvidia,tegra30-sdhci"; | |
| 671 | + mmc@78000400 { | |
| 672 | + compatible = "nvidia,tegra114-sdhci"; | |
| 669 | 673 | reg = <0x78000400 0x200>; |
| 670 | 674 | interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>; |
| 671 | 675 | clocks = <&tegra_car TEGRA114_CLK_SDMMC3>; |
| 676 | + clock-names = "sdhci"; | |
| 672 | 677 | resets = <&tegra_car 69>; |
| 673 | 678 | reset-names = "sdhci"; |
| 674 | 679 | status = "disabled"; |
| 675 | 680 | }; |
| 676 | 681 | |
| 677 | − sdhci@78000600 { | |
| 678 | − compatible = "nvidia,tegra114-sdhci", "nvidia,tegra30-sdhci"; | |
| 682 | + mmc@78000600 { | |
| 683 | + compatible = "nvidia,tegra114-sdhci"; | |
| 679 | 684 | reg = <0x78000600 0x200>; |
| 680 | 685 | interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>; |
| 681 | 686 | clocks = <&tegra_car TEGRA114_CLK_SDMMC4>; |
| 687 | + clock-names = "sdhci"; | |
| 682 | 688 | resets = <&tegra_car 15>; |
| 683 | 689 | reset-names = "sdhci"; |
| 684 | 690 | status = "disabled"; |
| @@ -698,7 +704,8 @@ · 13 unmodified lines | ||
| 698 | 704 | |
| 699 | 705 | phy1: usb-phy@7d000000 { |
| 700 | 706 | compatible = "nvidia,tegra114-usb-phy", "nvidia,tegra30-usb-phy"; |
| 701 | − reg = <0x7d000000 0x4000 0x7d000000 0x4000>; | |
| 707 | + reg = <0x7d000000 0x4000>, | |
| 708 | + <0x7d000000 0x4000>; | |
| 702 | 709 | phy_type = "utmi"; |
| 703 | 710 | clocks = <&tegra_car TEGRA114_CLK_USBD>, |
| 704 | 711 | <&tegra_car TEGRA114_CLK_PLL_U>, |
| @@ -706,6 +713,7 @@ · 1 unmodified line | ||
| 706 | 713 | clock-names = "reg", "pll_u", "utmi-pads"; |
| 707 | 714 | resets = <&tegra_car 22>, <&tegra_car 22>; |
| 708 | 715 | reset-names = "usb", "utmi-pads"; |
| 716 | + #phy-cells = <0>; | |
| 709 | 717 | nvidia,hssync-start-delay = <0>; |
| 710 | 718 | nvidia,idle-wait-delay = <17>; |
| 711 | 719 | nvidia,elastic-limit = <16>; |
| @@ -734,7 +742,8 @@ · 22 unmodified lines | ||
| 734 | 742 | |
| 735 | 743 | phy3: usb-phy@7d008000 { |
| 736 | 744 | compatible = "nvidia,tegra114-usb-phy", "nvidia,tegra30-usb-phy"; |
| 737 | − reg = <0x7d008000 0x4000 0x7d000000 0x4000>; | |
| 745 | + reg = <0x7d008000 0x4000>, | |
| 746 | + <0x7d000000 0x4000>; | |
| 738 | 747 | phy_type = "utmi"; |
| 739 | 748 | clocks = <&tegra_car TEGRA114_CLK_USB3>, |
| 740 | 749 | <&tegra_car TEGRA114_CLK_PLL_U>, |
| @@ -742,6 +751,7 @@ · 1 unmodified line | ||
| 742 | 751 | clock-names = "reg", "pll_u", "utmi-pads"; |
| 743 | 752 | resets = <&tegra_car 59>, <&tegra_car 22>; |
| 744 | 753 | reset-names = "usb", "utmi-pads"; |
| 754 | + #phy-cells = <0>; | |
| 745 | 755 | nvidia,hssync-start-delay = <0>; |
| 746 | 756 | nvidia,idle-wait-delay = <17>; |
| 747 | 757 | nvidia,elastic-limit = <16>; |
| @@ -130,7 +130,7 @@ · 129 unmodified lines | ||
| 130 | 130 | }; |
| 131 | 131 | |
| 132 | 132 | /* Apalis MMC1 */ |
| 133 | − sdhci@700b0000 { | |
| 133 | + mmc@700b0000 { | |
| 134 | 134 | status = "okay"; |
| 135 | 135 | bus-width = <4>; |
| 136 | 136 | /* MMC1_CD# */ |
| @@ -139,7 +139,7 @@ · 2 unmodified lines | ||
| 139 | 139 | }; |
| 140 | 140 | |
| 141 | 141 | /* Apalis SD1 */ |
| 142 | − sdhci@700b0400 { | |
| 142 | + mmc@700b0400 { | |
| 143 | 143 | status = "okay"; |
| 144 | 144 | bus-width = <4>; |
| 145 | 145 | /* SD1_CD# */ |
| @@ -132,7 +132,7 @@ · 131 unmodified lines | ||
| 132 | 132 | }; |
| 133 | 133 | |
| 134 | 134 | /* Apalis MMC1 */ |
| 135 | − sdhci@700b0000 { | |
| 135 | + mmc@700b0000 { | |
| 136 | 136 | status = "okay"; |
| 137 | 137 | bus-width = <4>; |
| 138 | 138 | /* MMC1_CD# */ |
| @@ -141,7 +141,7 @@ · 2 unmodified lines | ||
| 141 | 141 | }; |
| 142 | 142 | |
| 143 | 143 | /* Apalis SD1 */ |
| 144 | − sdhci@700b0400 { | |
| 144 | + mmc@700b0400 { | |
| 145 | 145 | status = "okay"; |
| 146 | 146 | bus-width = <4>; |
| 147 | 147 | /* SD1_CD# */ |
| @@ -40,7 +40,7 @@ · 39 unmodified lines | ||
| 40 | 40 | phy-names = "pcie-0"; |
| 41 | 41 | status = "okay"; |
| 42 | 42 | |
| 43 | − pcie@0 { | |
| 43 | + ethernet@0,0 { | |
| 44 | 44 | reg = <0 0 0 0 0>; |
| 45 | 45 | local-mac-address = [00 00 00 00 00 00]; |
| 46 | 46 | }; |
| @@ -1562,6 +1562,7 @@ · 1515 unmodified lines | ||
| 1562 | 1562 | sgtl5000: codec@a { |
| 1563 | 1563 | compatible = "fsl,sgtl5000"; |
| 1564 | 1564 | reg = <0x0a>; |
| 1565 | + #sound-dai-cells = <0>; | |
| 1565 | 1566 | VDDA-supply = <®_module_3v3_audio>; |
| 1566 | 1567 | VDDD-supply = <®_1v8_vddio>; |
| 1567 | 1568 | VDDIO-supply = <®_1v8_vddio>; |
| @@ -1916,7 +1917,7 @@ · 348 unmodified lines | ||
| 1916 | 1917 | }; |
| 1917 | 1918 | |
| 1918 | 1919 | /* eMMC */ |
| 1919 | − sdhci@700b0600 { | |
| 1920 | + mmc@700b0600 { | |
| 1920 | 1921 | status = "okay"; |
| 1921 | 1922 | bus-width = <8>; |
| 1922 | 1923 | non-removable; |
| @@ -39,7 +39,7 @@ · 38 unmodified lines | ||
| 39 | 39 | phy-names = "pcie-0"; |
| 40 | 40 | status = "okay"; |
| 41 | 41 | |
| 42 | − pcie@0 { | |
| 42 | + ethernet@0,0 { | |
| 43 | 43 | reg = <0 0 0 0 0>; |
| 44 | 44 | local-mac-address = [00 00 00 00 00 00]; |
| 45 | 45 | }; |
| @@ -1555,6 +1555,7 @@ · 1509 unmodified lines | ||
| 1555 | 1555 | sgtl5000: codec@a { |
| 1556 | 1556 | compatible = "fsl,sgtl5000"; |
| 1557 | 1557 | reg = <0x0a>; |
| 1558 | + #sound-dai-cells = <0>; | |
| 1558 | 1559 | VDDA-supply = <®_module_3v3_audio>; |
| 1559 | 1560 | VDDD-supply = <®_1v8_vddio>; |
| 1560 | 1561 | VDDIO-supply = <®_1v8_vddio>; |
| @@ -1908,7 +1909,7 @@ · 347 unmodified lines | ||
| 1908 | 1909 | }; |
| 1909 | 1910 | |
| 1910 | 1911 | /* eMMC */ |
| 1911 | − sdhci@700b0600 { | |
| 1912 | + mmc@700b0600 { | |
| 1912 | 1913 | status = "okay"; |
| 1913 | 1914 | bus-width = <8>; |
| 1914 | 1915 | non-removable; |
| @@ -1782,6 +1782,12 @@ · 1781 unmodified lines | ||
| 1782 | 1782 | }; |
| 1783 | 1783 | |
| 1784 | 1784 | ports { |
| 1785 | + /* Micro A/B */ | |
| 1786 | + usb2-0 { | |
| 1787 | + status = "okay"; | |
| 1788 | + mode = "host"; | |
| 1789 | + }; | |
| 1790 | + | |
| 1785 | 1791 | /* Mini PCIe */ |
| 1786 | 1792 | usb2-1 { |
| 1787 | 1793 | status = "okay"; |
| @@ -1804,7 +1810,7 @@ · 16 unmodified lines | ||
| 1804 | 1810 | }; |
| 1805 | 1811 | |
| 1806 | 1812 | /* SD card */ |
| 1807 | − sdhci@700b0400 { | |
| 1813 | + mmc@700b0400 { | |
| 1808 | 1814 | status = "okay"; |
| 1809 | 1815 | cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>; |
| 1810 | 1816 | power-gpios = <&gpio TEGRA_GPIO(R, 0) GPIO_ACTIVE_HIGH>; |
| @@ -1814,7 +1820,7 @@ · 3 unmodified lines | ||
| 1814 | 1820 | }; |
| 1815 | 1821 | |
| 1816 | 1822 | /* eMMC */ |
| 1817 | − sdhci@700b0600 { | |
| 1823 | + mmc@700b0600 { | |
| 1818 | 1824 | status = "okay"; |
| 1819 | 1825 | bus-width = <8>; |
| 1820 | 1826 | non-removable; |
| @@ -1862,17 +1868,10 @@ · 41 unmodified lines | ||
| 1862 | 1868 | vbus-supply = <&vdd_usb3_vbus>; |
| 1863 | 1869 | }; |
| 1864 | 1870 | |
| 1865 | − clocks { | |
| 1866 | − compatible = "simple-bus"; | |
| 1867 | − #address-cells = <1>; | |
| 1868 | − #size-cells = <0>; | |
| 1869 | − | |
| 1870 | − clk32k_in: clock@0 { | |
| 1871 | − compatible = "fixed-clock"; | |
| 1872 | − reg = <0>; | |
| 1873 | − #clock-cells = <0>; | |
| 1874 | − clock-frequency = <32768>; | |
| 1875 | − }; | |
| 1871 | + clk32k_in: clock@0 { | |
| 1872 | + compatible = "fixed-clock"; | |
| 1873 | + clock-frequency = <32768>; | |
| 1874 | + #clock-cells = <0>; | |
| 1876 | 1875 | }; |
| 1877 | 1876 | |
| 1878 | 1877 | cpus { |
| @@ -1893,145 +1892,127 @@ · 14 unmodified lines | ||
| 1893 | 1892 | }; |
| 1894 | 1893 | }; |
| 1895 | 1894 | |
| 1896 | − regulators { | |
| 1897 | − compatible = "simple-bus"; | |
| 1898 | − #address-cells = <1>; | |
| 1899 | − #size-cells = <0>; | |
| 1900 | − | |
| 1901 | − vdd_mux: regulator@0 { | |
| 1902 | − compatible = "regulator-fixed"; | |
| 1903 | − reg = <0>; | |
| 1904 | − regulator-name = "+VDD_MUX"; | |
| 1905 | − regulator-min-microvolt = <12000000>; | |
| 1906 | − regulator-max-microvolt = <12000000>; | |
| 1907 | − regulator-always-on; | |
| 1908 | − regulator-boot-on; | |
| 1909 | − }; | |
| 1895 | + vdd_mux: regulator@0 { | |
| 1896 | + compatible = "regulator-fixed"; | |
| 1897 | + regulator-name = "+VDD_MUX"; | |
| 1898 | + regulator-min-microvolt = <12000000>; | |
| 1899 | + regulator-max-microvolt = <12000000>; | |
| 1900 | + regulator-always-on; | |
| 1901 | + regulator-boot-on; | |
| 1902 | + }; | |
| 1910 | 1903 | |
| 1911 | − vdd_5v0_sys: regulator@1 { | |
| 1912 | − compatible = "regulator-fixed"; | |
| 1913 | − reg = <1>; | |
| 1914 | − regulator-name = "+5V_SYS"; | |
| 1915 | − regulator-min-microvolt = <5000000>; | |
| 1916 | − regulator-max-microvolt = <5000000>; | |
| 1917 | − regulator-always-on; | |
| 1918 | − regulator-boot-on; | |
| 1919 | − vin-supply = <&vdd_mux>; | |
| 1920 | − }; | |
| 1904 | + vdd_5v0_sys: regulator@1 { | |
| 1905 | + compatible = "regulator-fixed"; | |
| 1906 | + regulator-name = "+5V_SYS"; | |
| 1907 | + regulator-min-microvolt = <5000000>; | |
| 1908 | + regulator-max-microvolt = <5000000>; | |
| 1909 | + regulator-always-on; | |
| 1910 | + regulator-boot-on; | |
| 1911 | + vin-supply = <&vdd_mux>; | |
| 1912 | + }; | |
| 1921 | 1913 | |
| 1922 | − vdd_3v3_sys: regulator@2 { | |
| 1923 | − compatible = "regulator-fixed"; | |
| 1924 | − reg = <2>; | |
| 1925 | − regulator-name = "+3.3V_SYS"; | |
| 1926 | − regulator-min-microvolt = <3300000>; | |
| 1927 | − regulator-max-microvolt = <3300000>; | |
| 1928 | − regulator-always-on; | |
| 1929 | − regulator-boot-on; | |
| 1930 | − vin-supply = <&vdd_mux>; | |
| 1931 | − }; | |
| 1914 | + vdd_3v3_sys: regulator@2 { | |
| 1915 | + compatible = "regulator-fixed"; | |
| 1916 | + regulator-name = "+3.3V_SYS"; | |
| 1917 | + regulator-min-microvolt = <3300000>; | |
| 1918 | + regulator-max-microvolt = <3300000>; | |
| 1919 | + regulator-always-on; | |
| 1920 | + regulator-boot-on; | |
| 1921 | + vin-supply = <&vdd_mux>; | |
| 1922 | + }; | |
| 1932 | 1923 | |
| 1933 | − vdd_3v3_run: regulator@3 { | |
| 1934 | − compatible = "regulator-fixed"; | |
| 1935 | − reg = <3>; | |
| 1936 | − regulator-name = "+3.3V_RUN"; | |
| 1937 | − regulator-min-microvolt = <3300000>; | |
| 1938 | − regulator-max-microvolt = <3300000>; | |
| 1939 | − regulator-always-on; | |
| 1940 | − regulator-boot-on; | |
| 1941 | − gpio = <&pmic 1 GPIO_ACTIVE_HIGH>; | |
| 1942 | − enable-active-high; | |
| 1943 | − vin-supply = <&vdd_3v3_sys>; | |
| 1944 | − }; | |
| 1924 | + vdd_3v3_run: regulator@3 { | |
| 1925 | + compatible = "regulator-fixed"; | |
| 1926 | + regulator-name = "+3.3V_RUN"; | |
| 1927 | + regulator-min-microvolt = <3300000>; | |
| 1928 | + regulator-max-microvolt = <3300000>; | |
| 1929 | + regulator-always-on; | |
| 1930 | + regulator-boot-on; | |
| 1931 | + gpio = <&pmic 1 GPIO_ACTIVE_HIGH>; | |
| 1932 | + enable-active-high; | |
| 1933 | + vin-supply = <&vdd_3v3_sys>; | |
| 1934 | + }; | |
| 1945 | 1935 | |
| 1946 | − vdd_3v3_hdmi: regulator@4 { | |
| 1947 | − compatible = "regulator-fixed"; | |
| 1948 | − reg = <4>; | |
| 1949 | − regulator-name = "+3.3V_AVDD_HDMI_AP_GATED"; | |
| 1950 | − regulator-min-microvolt = <3300000>; | |
| 1951 | − regulator-max-microvolt = <3300000>; | |
| 1952 | − vin-supply = <&vdd_3v3_run>; | |
| 1953 | − }; | |
| 1936 | + vdd_3v3_hdmi: regulator@4 { | |
| 1937 | + compatible = "regulator-fixed"; | |
| 1938 | + regulator-name = "+3.3V_AVDD_HDMI_AP_GATED"; | |
| 1939 | + regulator-min-microvolt = <3300000>; | |
| 1940 | + regulator-max-microvolt = <3300000>; | |
| 1941 | + vin-supply = <&vdd_3v3_run>; | |
| 1942 | + }; | |
| 1954 | 1943 | |
| 1955 | − vdd_usb1_vbus: regulator@7 { | |
| 1956 | − compatible = "regulator-fixed"; | |
| 1957 | − reg = <7>; | |
| 1958 | − regulator-name = "+USB0_VBUS_SW"; | |
| 1959 | − regulator-min-microvolt = <5000000>; | |
| 1960 | − regulator-max-microvolt = <5000000>; | |
| 1961 | − gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>; | |
| 1962 | − enable-active-high; | |
| 1963 | − gpio-open-drain; | |
| 1964 | − vin-supply = <&vdd_5v0_sys>; | |
| 1965 | − }; | |
| 1944 | + vdd_usb1_vbus: regulator@5 { | |
| 1945 | + compatible = "regulator-fixed"; | |
| 1946 | + regulator-name = "+USB0_VBUS_SW"; | |
| 1947 | + regulator-min-microvolt = <5000000>; | |
| 1948 | + regulator-max-microvolt = <5000000>; | |
| 1949 | + gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>; | |
| 1950 | + enable-active-high; | |
| 1951 | + gpio-open-drain; | |
| 1952 | + vin-supply = <&vdd_5v0_sys>; | |
| 1953 | + }; | |
| 1966 | 1954 | |
| 1967 | − vdd_usb3_vbus: regulator@8 { | |
| 1968 | − compatible = "regulator-fixed"; | |
| 1969 | − reg = <8>; | |
| 1970 | − regulator-name = "+5V_USB_HS"; | |
| 1971 | − regulator-min-microvolt = <5000000>; | |
| 1972 | − regulator-max-microvolt = <5000000>; | |
| 1973 | − gpio = <&gpio TEGRA_GPIO(N, 5) GPIO_ACTIVE_HIGH>; | |
| 1974 | − enable-active-high; | |
| 1975 | − gpio-open-drain; | |
| 1976 | − vin-supply = <&vdd_5v0_sys>; | |
| 1977 | − }; | |
| 1955 | + vdd_usb3_vbus: regulator@6 { | |
| 1956 | + compatible = "regulator-fixed"; | |
| 1957 | + regulator-name = "+5V_USB_HS"; | |
| 1958 | + regulator-min-microvolt = <5000000>; | |
| 1959 | + regulator-max-microvolt = <5000000>; | |
| 1960 | + gpio = <&gpio TEGRA_GPIO(N, 5) GPIO_ACTIVE_HIGH>; | |
| 1961 | + enable-active-high; | |
| 1962 | + gpio-open-drain; | |
| 1963 | + vin-supply = <&vdd_5v0_sys>; | |
| 1964 | + }; | |
| 1978 | 1965 | |
| 1979 | − vdd_3v3_lp0: regulator@10 { | |
| 1980 | − compatible = "regulator-fixed"; | |
| 1981 | − reg = <10>; | |
| 1982 | − regulator-name = "+3.3V_LP0"; | |
| 1983 | − regulator-min-microvolt = <3300000>; | |
| 1984 | − regulator-max-microvolt = <3300000>; | |
| 1985 | − regulator-always-on; | |
| 1986 | − regulator-boot-on; | |
| 1987 | − gpio = <&pmic 2 GPIO_ACTIVE_HIGH>; | |
| 1988 | − enable-active-high; | |
| 1989 | − vin-supply = <&vdd_3v3_sys>; | |
| 1990 | − }; | |
| 1966 | + vdd_3v3_lp0: regulator@7 { | |
| 1967 | + compatible = "regulator-fixed"; | |
| 1968 | + regulator-name = "+3.3V_LP0"; | |
| 1969 | + regulator-min-microvolt = <3300000>; | |
| 1970 | + regulator-max-microvolt = <3300000>; | |
| 1971 | + regulator-always-on; | |
| 1972 | + regulator-boot-on; | |
| 1973 | + gpio = <&pmic 2 GPIO_ACTIVE_HIGH>; | |
| 1974 | + enable-active-high; | |
| 1975 | + vin-supply = <&vdd_3v3_sys>; | |
| 1976 | + }; | |
| 1991 | 1977 | |
| 1992 | − vdd_hdmi_pll: regulator@11 { | |
| 1993 | − compatible = "regulator-fixed"; | |
| 1994 | − reg = <11>; | |
| 1995 | − regulator-name = "+1.05V_RUN_AVDD_HDMI_PLL"; | |
| 1996 | − regulator-min-microvolt = <1050000>; | |
| 1997 | − regulator-max-microvolt = <1050000>; | |
| 1998 | − gpio = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_LOW>; | |
| 1999 | − vin-supply = <&vdd_1v05_run>; | |
| 2000 | − }; | |
| 1978 | + vdd_hdmi_pll: regulator@8 { | |
| 1979 | + compatible = "regulator-fixed"; | |
| 1980 | + regulator-name = "+1.05V_RUN_AVDD_HDMI_PLL"; | |
| 1981 | + regulator-min-microvolt = <1050000>; | |
| 1982 | + regulator-max-microvolt = <1050000>; | |
| 1983 | + gpio = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_LOW>; | |
| 1984 | + vin-supply = <&vdd_1v05_run>; | |
| 1985 | + }; | |
| 2001 | 1986 | |
| 2002 | − vdd_5v0_hdmi: regulator@12 { | |
| 2003 | − compatible = "regulator-fixed"; | |
| 2004 | − reg = <12>; | |
| 2005 | − regulator-name = "+5V_HDMI_CON"; | |
| 2006 | − regulator-min-microvolt = <5000000>; | |
| 2007 | − regulator-max-microvolt = <5000000>; | |
| 2008 | − gpio = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>; | |
| 2009 | − enable-active-high; | |
| 2010 | − vin-supply = <&vdd_5v0_sys>; | |
| 2011 | − }; | |
| 1987 | + vdd_5v0_hdmi: regulator@9 { | |
| 1988 | + compatible = "regulator-fixed"; | |
| 1989 | + regulator-name = "+5V_HDMI_CON"; | |
| 1990 | + regulator-min-microvolt = <5000000>; | |
| 1991 | + regulator-max-microvolt = <5000000>; | |
| 1992 | + gpio = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>; | |
| 1993 | + enable-active-high; | |
| 1994 | + vin-supply = <&vdd_5v0_sys>; | |
| 1995 | + }; | |
| 2012 | 1996 | |
| 2013 | − /* Molex power connector */ | |
| 2014 | − vdd_5v0_sata: regulator@13 { | |
| 2015 | − compatible = "regulator-fixed"; | |
| 2016 | − reg = <13>; | |
| 2017 | − regulator-name = "+5V_SATA"; | |
| 2018 | − regulator-min-microvolt = <5000000>; | |
| 2019 | − regulator-max-microvolt = <5000000>; | |
| 2020 | − gpio = <&gpio TEGRA_GPIO(EE, 2) GPIO_ACTIVE_HIGH>; | |
| 2021 | − enable-active-high; | |
| 2022 | − vin-supply = <&vdd_5v0_sys>; | |
| 2023 | − }; | |
| 1997 | + /* Molex power connector */ | |
| 1998 | + vdd_5v0_sata: regulator@10 { | |
| 1999 | + compatible = "regulator-fixed"; | |
| 2000 | + regulator-name = "+5V_SATA"; | |
| 2001 | + regulator-min-microvolt = <5000000>; | |
| 2002 | + regulator-max-microvolt = <5000000>; | |
| 2003 | + gpio = <&gpio TEGRA_GPIO(EE, 2) GPIO_ACTIVE_HIGH>; | |
| 2004 | + enable-active-high; | |
| 2005 | + vin-supply = <&vdd_5v0_sys>; | |
| 2006 | + }; | |
| 2024 | 2007 | |
| 2025 | − vdd_12v0_sata: regulator@14 { | |
| 2026 | − compatible = "regulator-fixed"; | |
| 2027 | − reg = <14>; | |
| 2028 | − regulator-name = "+12V_SATA"; | |
| 2029 | − regulator-min-microvolt = <12000000>; | |
| 2030 | − regulator-max-microvolt = <12000000>; | |
| 2031 | − gpio = <&gpio TEGRA_GPIO(EE, 2) GPIO_ACTIVE_HIGH>; | |
| 2032 | − enable-active-high; | |
| 2033 | − vin-supply = <&vdd_mux>; | |
| 2034 | − }; | |
| 2008 | + vdd_12v0_sata: regulator@11 { | |
| 2009 | + compatible = "regulator-fixed"; | |
| 2010 | + regulator-name = "+12V_SATA"; | |
| 2011 | + regulator-min-microvolt = <12000000>; | |
| 2012 | + regulator-max-microvolt = <12000000>; | |
| 2013 | + gpio = <&gpio TEGRA_GPIO(EE, 2) GPIO_ACTIVE_HIGH>; | |
| 2014 | + enable-active-high; | |
| 2015 | + vin-supply = <&vdd_mux>; | |
| 2035 | 2016 | }; |
| 2036 | 2017 | |
| 2037 | 2018 | sound { |
| @@ -16,11 +16,12 @@ · 15 unmodified lines | ||
| 16 | 16 | panel: panel { |
| 17 | 17 | compatible = "auo,b133xtn01"; |
| 18 | 18 | |
| 19 | + power-supply = <&vdd_3v3_panel>; | |
| 19 | 20 | backlight = <&backlight>; |
| 20 | 21 | ddc-i2c-bus = <&dpaux>; |
| 21 | 22 | }; |
| 22 | 23 | |
| 23 | − sdhci@700b0400 { /* SD Card on this bus */ | |
| 24 | + mmc@700b0400 { /* SD Card on this bus */ | |
| 24 | 25 | wp-gpios = <&gpio TEGRA_GPIO(Q, 4) GPIO_ACTIVE_LOW>; |
| 25 | 26 | }; |
| 26 | 27 | |
| @@ -18,6 +18,7 @@ · 17 unmodified lines | ||
| 18 | 18 | panel: panel { |
| 19 | 19 | compatible = "samsung,ltn140at29-301"; |
| 20 | 20 | |
| 21 | + power-supply = <&vdd_3v3_panel>; | |
| 21 | 22 | backlight = <&backlight>; |
| 22 | 23 | ddc-i2c-bus = <&dpaux>; |
| 23 | 24 | }; |
| @@ -48,6 +48,9 @@ · 47 unmodified lines | ||
| 48 | 48 | sor@54540000 { |
| 49 | 49 | status = "okay"; |
| 50 | 50 | |
| 51 | + avdd-io-hdmi-dp-supply = <&vdd_3v3_hdmi>; | |
| 52 | + vdd-hdmi-dp-pll-supply = <&vdd_hdmi_pll>; | |
| 53 | + | |
| 51 | 54 | nvidia,dpaux = <&dpaux>; |
| 52 | 55 | nvidia,panel = <&panel>; |
| 53 | 56 | }; |
| @@ -495,7 +498,7 @@ · 441 unmodified lines | ||
| 495 | 498 | reset-gpios = <&gpio TEGRA_GPIO(X, 7) GPIO_ACTIVE_LOW>; |
| 496 | 499 | }; |
| 497 | 500 | |
| 498 | − sdhci@700b0000 { /* WiFi/BT on this bus */ | |
| 501 | + mmc@700b0000 { /* WiFi/BT on this bus */ | |
| 499 | 502 | status = "okay"; |
| 500 | 503 | bus-width = <4>; |
| 501 | 504 | no-1-8-v; |
| @@ -506,7 +509,7 @@ · 4 unmodified lines | ||
| 506 | 509 | keep-power-in-suspend; |
| 507 | 510 | }; |
| 508 | 511 | |
| 509 | − sdhci@700b0400 { /* SD Card on this bus */ | |
| 512 | + mmc@700b0400 { /* SD Card on this bus */ | |
| 510 | 513 | status = "okay"; |
| 511 | 514 | cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>; |
| 512 | 515 | power-gpios = <&gpio TEGRA_GPIO(R, 0) GPIO_ACTIVE_HIGH>; |
| @@ -515,7 +518,7 @@ · 2 unmodified lines | ||
| 515 | 518 | vqmmc-supply = <&vddio_sdmmc3>; |
| 516 | 519 | }; |
| 517 | 520 | |
| 518 | − sdhci@700b0600 { /* eMMC on this bus */ | |
| 521 | + mmc@700b0600 { /* eMMC on this bus */ | |
| 519 | 522 | status = "okay"; |
| 520 | 523 | bus-width = <8>; |
| 521 | 524 | no-1-8-v; |
| @@ -579,17 +582,10 @@ · 57 unmodified lines | ||
| 579 | 582 | 256>; |
| 580 | 583 | }; |
| 581 | 584 | |
| 582 | − clocks { | |
| 583 | − compatible = "simple-bus"; | |
| 584 | − #address-cells = <1>; | |
| 585 | − #size-cells = <0>; | |
| 586 | − | |
| 587 | − clk32k_in: clock@0 { | |
| 588 | − compatible = "fixed-clock"; | |
| 589 | − reg = <0>; | |
| 590 | − #clock-cells = <0>; | |
| 591 | − clock-frequency = <32768>; | |
| 592 | − }; | |
| 585 | + clk32k_in: clock@0 { | |
| 586 | + compatible = "fixed-clock"; | |
| 587 | + clock-frequency = <32768>; | |
| 588 | + #clock-cells = <0>; | |
| 593 | 589 | }; |
| 594 | 590 | |
| 595 | 591 | cpus { |
| @@ -619,157 +615,138 @@ · 23 unmodified lines | ||
| 619 | 615 | }; |
| 620 | 616 | }; |
| 621 | 617 | |
| 622 | − regulators { | |
| 623 | − compatible = "simple-bus"; | |
| 624 | − #address-cells = <1>; | |
| 625 | − #size-cells = <0>; | |
| 626 | − | |
| 627 | − vdd_mux: regulator@0 { | |
| 628 | − compatible = "regulator-fixed"; | |
| 629 | − reg = <0>; | |
| 630 | − regulator-name = "+VDD_MUX"; | |
| 631 | − regulator-min-microvolt = <12000000>; | |
| 632 | − regulator-max-microvolt = <12000000>; | |
| 633 | − regulator-always-on; | |
| 634 | − regulator-boot-on; | |
| 635 | − }; | |
| 618 | + vdd_mux: regulator@0 { | |
| 619 | + compatible = "regulator-fixed"; | |
| 620 | + regulator-name = "+VDD_MUX"; | |
| 621 | + regulator-min-microvolt = <12000000>; | |
| 622 | + regulator-max-microvolt = <12000000>; | |
| 623 | + regulator-always-on; | |
| 624 | + regulator-boot-on; | |
| 625 | + }; | |
| 636 | 626 | |
| 637 | − vdd_5v0_sys: regulator@1 { | |
| 638 | − compatible = "regulator-fixed"; | |
| 639 | − reg = <1>; | |
| 640 | − regulator-name = "+5V_SYS"; | |
| 641 | − regulator-min-microvolt = <5000000>; | |
| 642 | − regulator-max-microvolt = <5000000>; | |
| 643 | − regulator-always-on; | |
| 644 | − regulator-boot-on; | |
| 645 | − vin-supply = <&vdd_mux>; | |
| 646 | − }; | |
| 627 | + vdd_5v0_sys: regulator@1 { | |
| 628 | + compatible = "regulator-fixed"; | |
| 629 | + regulator-name = "+5V_SYS"; | |
| 630 | + regulator-min-microvolt = <5000000>; | |
| 631 | + regulator-max-microvolt = <5000000>; | |
| 632 | + regulator-always-on; | |
| 633 | + regulator-boot-on; | |
| 634 | + vin-supply = <&vdd_mux>; | |
| 635 | + }; | |
| 647 | 636 | |
| 648 | − vdd_3v3_sys: regulator@2 { | |
| 649 | − compatible = "regulator-fixed"; | |
| 650 | − reg = <2>; | |
| 651 | − regulator-name = "+3.3V_SYS"; | |
| 652 | − regulator-min-microvolt = <3300000>; | |
| 653 | − regulator-max-microvolt = <3300000>; | |
| 654 | − regulator-always-on; | |
| 655 | − regulator-boot-on; | |
| 656 | − vin-supply = <&vdd_mux>; | |
| 657 | − }; | |
| 637 | + vdd_3v3_sys: regulator@2 { | |
| 638 | + compatible = "regulator-fixed"; | |
| 639 | + regulator-name = "+3.3V_SYS"; | |
| 640 | + regulator-min-microvolt = <3300000>; | |
| 641 | + regulator-max-microvolt = <3300000>; | |
| 642 | + regulator-always-on; | |
| 643 | + regulator-boot-on; | |
| 644 | + vin-supply = <&vdd_mux>; | |
| 645 | + }; | |
| 658 | 646 | |
| 659 | − vdd_3v3_run: regulator@3 { | |
| 660 | − compatible = "regulator-fixed"; | |
| 661 | − reg = <3>; | |
| 662 | − regulator-name = "+3.3V_RUN"; | |
| 663 | − regulator-min-microvolt = <3300000>; | |
| 664 | − regulator-max-microvolt = <3300000>; | |
| 665 | − regulator-always-on; | |
| 666 | − regulator-boot-on; | |
| 667 | − gpio = <&pmic 1 GPIO_ACTIVE_HIGH>; | |
| 668 | − enable-active-high; | |
| 669 | − vin-supply = <&vdd_3v3_sys>; | |
| 670 | − }; | |
| 647 | + vdd_3v3_run: regulator@3 { | |
| 648 | + compatible = "regulator-fixed"; | |
| 649 | + regulator-name = "+3.3V_RUN"; | |
| 650 | + regulator-min-microvolt = <3300000>; | |
| 651 | + regulator-max-microvolt = <3300000>; | |
| 652 | + regulator-always-on; | |
| 653 | + regulator-boot-on; | |
| 654 | + gpio = <&pmic 1 GPIO_ACTIVE_HIGH>; | |
| 655 | + enable-active-high; | |
| 656 | + vin-supply = <&vdd_3v3_sys>; | |
| 657 | + }; | |
| 671 | 658 | |
| 672 | − vdd_3v3_hdmi: regulator@4 { | |
| 673 | − compatible = "regulator-fixed"; | |
| 674 | − reg = <4>; | |
| 675 | − regulator-name = "+3.3V_AVDD_HDMI_AP_GATED"; | |
| 676 | − regulator-min-microvolt = <3300000>; | |
| 677 | − regulator-max-microvolt = <3300000>; | |
| 678 | − vin-supply = <&vdd_3v3_run>; | |
| 679 | − }; | |
| 659 | + vdd_3v3_hdmi: regulator@4 { | |
| 660 | + compatible = "regulator-fixed"; | |
| 661 | + regulator-name = "+3.3V_AVDD_HDMI_AP_GATED"; | |
| 662 | + regulator-min-microvolt = <3300000>; | |
| 663 | + regulator-max-microvolt = <3300000>; | |
| 664 | + vin-supply = <&vdd_3v3_run>; | |
| 665 | + }; | |
| 680 | 666 | |
| 681 | − vdd_led: regulator@5 { | |
| 682 | − compatible = "regulator-fixed"; | |
| 683 | − reg = <5>; | |
| 684 | − regulator-name = "+VDD_LED"; | |
| 685 | − gpio = <&gpio TEGRA_GPIO(P, 2) GPIO_ACTIVE_HIGH>; | |
| 686 | − enable-active-high; | |
| 687 | − vin-supply = <&vdd_mux>; | |
| 688 | − }; | |
| 667 | + vdd_led: regulator@5 { | |
| 668 | + compatible = "regulator-fixed"; | |
| 669 | + regulator-name = "+VDD_LED"; | |
| 670 | + gpio = <&gpio TEGRA_GPIO(P, 2) GPIO_ACTIVE_HIGH>; | |
| 671 | + enable-active-high; | |
| 672 | + vin-supply = <&vdd_mux>; | |
| 673 | + }; | |
| 689 | 674 | |
| 690 | − vdd_5v0_ts: regulator@6 { | |
| 691 | − compatible = "regulator-fixed"; | |
| 692 | − reg = <6>; | |
| 693 | − regulator-name = "+5V_VDD_TS_SW"; | |
| 694 | − regulator-min-microvolt = <5000000>; | |
| 695 | − regulator-max-microvolt = <5000000>; | |
| 696 | − regulator-boot-on; | |
| 697 | − gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>; | |
| 698 | − enable-active-high; | |
| 699 | − vin-supply = <&vdd_5v0_sys>; | |
| 700 | − }; | |
| 675 | + vdd_5v0_ts: regulator@6 { | |
| 676 | + compatible = "regulator-fixed"; | |
| 677 | + regulator-name = "+5V_VDD_TS_SW"; | |
| 678 | + regulator-min-microvolt = <5000000>; | |
| 679 | + regulator-max-microvolt = <5000000>; | |
| 680 | + regulator-boot-on; | |
| 681 | + gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>; | |
| 682 | + enable-active-high; | |
| 683 | + vin-supply = <&vdd_5v0_sys>; | |
| 684 | + }; | |
| 701 | 685 | |
| 702 | − vdd_usb1_vbus: regulator@7 { | |
| 703 | − compatible = "regulator-fixed"; | |
| 704 | − reg = <7>; | |
| 705 | − regulator-name = "+5V_USB_HS"; | |
| 706 | − regulator-min-microvolt = <5000000>; | |
| 707 | − regulator-max-microvolt = <5000000>; | |
| 708 | − gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>; | |
| 709 | − enable-active-high; | |
| 710 | − gpio-open-drain; | |
| 711 | − vin-supply = <&vdd_5v0_sys>; | |
| 712 | − }; | |
| 686 | + vdd_usb1_vbus: regulator@7 { | |
| 687 | + compatible = "regulator-fixed"; | |
| 688 | + regulator-name = "+5V_USB_HS"; | |
| 689 | + regulator-min-microvolt = <5000000>; | |
| 690 | + regulator-max-microvolt = <5000000>; | |
| 691 | + gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>; | |
| 692 | + enable-active-high; | |
| 693 | + gpio-open-drain; | |
| 694 | + vin-supply = <&vdd_5v0_sys>; | |
| 695 | + }; | |
| 713 | 696 | |
| 714 | − vdd_usb3_vbus: regulator@8 { | |
| 715 | − compatible = "regulator-fixed"; | |
| 716 | − reg = <8>; | |
| 717 | − regulator-name = "+5V_USB_SS"; | |
| 718 | − regulator-min-microvolt = <5000000>; | |
| 719 | − regulator-max-microvolt = <5000000>; | |
| 720 | − gpio = <&gpio TEGRA_GPIO(N, 5) GPIO_ACTIVE_HIGH>; | |
| 721 | − enable-active-high; | |
| 722 | − gpio-open-drain; | |
| 723 | − vin-supply = <&vdd_5v0_sys>; | |
| 724 | − }; | |
| 697 | + vdd_usb3_vbus: regulator@8 { | |
| 698 | + compatible = "regulator-fixed"; | |
| 699 | + regulator-name = "+5V_USB_SS"; | |
| 700 | + regulator-min-microvolt = <5000000>; | |
| 701 | + regulator-max-microvolt = <5000000>; | |
| 702 | + gpio = <&gpio TEGRA_GPIO(N, 5) GPIO_ACTIVE_HIGH>; | |
| 703 | + enable-active-high; | |
| 704 | + gpio-open-drain; | |
| 705 | + vin-supply = <&vdd_5v0_sys>; | |
| 706 | + }; | |
| 725 | 707 | |
| 726 | − vdd_3v3_panel: regulator@9 { | |
| 727 | − compatible = "regulator-fixed"; | |
| 728 | − reg = <9>; | |
| 729 | − regulator-name = "+3.3V_PANEL"; | |
| 730 | − regulator-min-microvolt = <3300000>; | |
| 731 | − regulator-max-microvolt = <3300000>; | |
| 732 | − gpio = <&pmic 4 GPIO_ACTIVE_HIGH>; | |
| 733 | − enable-active-high; | |
| 734 | − vin-supply = <&vdd_3v3_run>; | |
| 735 | − }; | |
| 708 | + vdd_3v3_panel: regulator@9 { | |
| 709 | + compatible = "regulator-fixed"; | |
| 710 | + regulator-name = "+3.3V_PANEL"; | |
| 711 | + regulator-min-microvolt = <3300000>; | |
| 712 | + regulator-max-microvolt = <3300000>; | |
| 713 | + gpio = <&pmic 4 GPIO_ACTIVE_HIGH>; | |
| 714 | + enable-active-high; | |
| 715 | + vin-supply = <&vdd_3v3_run>; | |
| 716 | + }; | |
| 736 | 717 | |
| 737 | − vdd_3v3_lp0: regulator@10 { | |
| 738 | − compatible = "regulator-fixed"; | |
| 739 | − reg = <10>; | |
| 740 | − regulator-name = "+3.3V_LP0"; | |
| 741 | − regulator-min-microvolt = <3300000>; | |
| 742 | − regulator-max-microvolt = <3300000>; | |
| 743 | − /* | |
| 744 | − * TODO: find a way to wire this up with the USB EHCI | |
| 745 | − * controllers so that it can be enabled on demand. | |
| 746 | − */ | |
| 747 | − regulator-always-on; | |
| 748 | − gpio = <&pmic 2 GPIO_ACTIVE_HIGH>; | |
| 749 | − enable-active-high; | |
| 750 | − vin-supply = <&vdd_3v3_sys>; | |
| 751 | − }; | |
| 718 | + vdd_3v3_lp0: regulator@10 { | |
| 719 | + compatible = "regulator-fixed"; | |
| 720 | + regulator-name = "+3.3V_LP0"; | |
| 721 | + regulator-min-microvolt = <3300000>; | |
| 722 | + regulator-max-microvolt = <3300000>; | |
| 723 | + /* | |
| 724 | + * TODO: find a way to wire this up with the USB EHCI | |
| 725 | + * controllers so that it can be enabled on demand. | |
| 726 | + */ | |
| 727 | + regulator-always-on; | |
| 728 | + gpio = <&pmic 2 GPIO_ACTIVE_HIGH>; | |
| 729 | + enable-active-high; | |
| 730 | + vin-supply = <&vdd_3v3_sys>; | |
| 731 | + }; | |
| 752 | 732 | |
| 753 | − vdd_hdmi_pll: regulator@11 { | |
| 754 | − compatible = "regulator-fixed"; | |
| 755 | − reg = <11>; | |
| 756 | − regulator-name = "+1.05V_RUN_AVDD_HDMI_PLL"; | |
| 757 | − regulator-min-microvolt = <1050000>; | |
| 758 | − regulator-max-microvolt = <1050000>; | |
| 759 | − gpio = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_LOW>; | |
| 760 | − vin-supply = <&vdd_1v05_run>; | |
| 761 | − }; | |
| 733 | + vdd_hdmi_pll: regulator@11 { | |
| 734 | + compatible = "regulator-fixed"; | |
| 735 | + regulator-name = "+1.05V_RUN_AVDD_HDMI_PLL"; | |
| 736 | + regulator-min-microvolt = <1050000>; | |
| 737 | + regulator-max-microvolt = <1050000>; | |
| 738 | + gpio = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_LOW>; | |
| 739 | + vin-supply = <&vdd_1v05_run>; | |
| 740 | + }; | |
| 762 | 741 | |
| 763 | − vdd_5v0_hdmi: regulator@12 { | |
| 764 | − compatible = "regulator-fixed"; | |
| 765 | − reg = <12>; | |
| 766 | − regulator-name = "+5V_HDMI_CON"; | |
| 767 | − regulator-min-microvolt = <5000000>; | |
| 768 | − regulator-max-microvolt = <5000000>; | |
| 769 | − gpio = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>; | |
| 770 | − enable-active-high; | |
| 771 | − vin-supply = <&vdd_5v0_sys>; | |
| 772 | − }; | |
| 742 | + vdd_5v0_hdmi: regulator@12 { | |
| 743 | + compatible = "regulator-fixed"; | |
| 744 | + regulator-name = "+5V_HDMI_CON"; | |
| 745 | + regulator-min-microvolt = <5000000>; | |
| 746 | + regulator-max-microvolt = <5000000>; | |
| 747 | + gpio = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>; | |
| 748 | + enable-active-high; | |
| 749 | + vin-supply = <&vdd_5v0_sys>; | |
| 773 | 750 | }; |
| 774 | 751 | |
| 775 | 752 | sound { |
| @@ -1002,7 +1002,7 @@ · 1001 unmodified lines | ||
| 1002 | 1002 | }; |
| 1003 | 1003 | }; |
| 1004 | 1004 | |
| 1005 | − sdhci@700b0400 { | |
| 1005 | + mmc@700b0400 { | |
| 1006 | 1006 | cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>; |
| 1007 | 1007 | power-gpios = <&gpio TEGRA_GPIO(R, 0) GPIO_ACTIVE_HIGH>; |
| 1008 | 1008 | wp-gpios = <&gpio TEGRA_GPIO(Q, 4) GPIO_ACTIVE_LOW>; |
| @@ -1011,7 +1011,7 @@ · 2 unmodified lines | ||
| 1011 | 1011 | vqmmc-supply = <&vddio_sdmmc3>; |
| 1012 | 1012 | }; |
| 1013 | 1013 | |
| 1014 | − sdhci@700b0600 { | |
| 1014 | + mmc@700b0600 { | |
| 1015 | 1015 | status = "okay"; |
| 1016 | 1016 | bus-width = <8>; |
| 1017 | 1017 | non-removable; |
| @@ -1061,17 +1061,10 @@ · 43 unmodified lines | ||
| 1061 | 1061 | default-brightness-level = <6>; |
| 1062 | 1062 | }; |
| 1063 | 1063 | |
| 1064 | − clocks { | |
| 1065 | − compatible = "simple-bus"; | |
| 1066 | − #address-cells = <1>; | |
| 1067 | − #size-cells = <0>; | |
| 1068 | − | |
| 1069 | − clk32k_in: clock@0 { | |
| 1070 | − compatible = "fixed-clock"; | |
| 1071 | − reg = <0>; | |
| 1072 | − #clock-cells = <0>; | |
| 1073 | − clock-frequency = <32768>; | |
| 1074 | − }; | |
| 1064 | + clk32k_in: clock@0 { | |
| 1065 | + compatible = "fixed-clock"; | |
| 1066 | + clock-frequency = <32768>; | |
| 1067 | + #clock-cells = <0>; | |
| 1075 | 1068 | }; |
| 1076 | 1069 | |
| 1077 | 1070 | gpio-keys { |
| @@ -1088,164 +1081,145 @@ · 10 unmodified lines | ||
| 1088 | 1081 | |
| 1089 | 1082 | panel: panel { |
| 1090 | 1083 | compatible = "lg,lp129qe"; |
| 1091 | − | |
| 1084 | + power-supply = <&vdd_3v3_panel>; | |
| 1092 | 1085 | backlight = <&backlight>; |
| 1093 | 1086 | ddc-i2c-bus = <&dpaux>; |
| 1094 | 1087 | }; |
| 1095 | 1088 | |
| 1096 | − regulators { | |
| 1097 | − compatible = "simple-bus"; | |
| 1098 | − #address-cells = <1>; | |
| 1099 | − #size-cells = <0>; | |
| 1100 | − | |
| 1101 | − vdd_mux: regulator@0 { | |
| 1102 | − compatible = "regulator-fixed"; | |
| 1103 | − reg = <0>; | |
| 1104 | − regulator-name = "+VDD_MUX"; | |
| 1105 | − regulator-min-microvolt = <12000000>; | |
| 1106 | − regulator-max-microvolt = <12000000>; | |
| 1107 | − regulator-always-on; | |
| 1108 | − regulator-boot-on; | |
| 1109 | − }; | |
| 1089 | + vdd_mux: regulator@0 { | |
| 1090 | + compatible = "regulator-fixed"; | |
| 1091 | + regulator-name = "+VDD_MUX"; | |
| 1092 | + regulator-min-microvolt = <12000000>; | |
| 1093 | + regulator-max-microvolt = <12000000>; | |
| 1094 | + regulator-always-on; | |
| 1095 | + regulator-boot-on; | |
| 1096 | + }; | |
| 1110 | 1097 | |
| 1111 | − vdd_5v0_sys: regulator@1 { | |
| 1112 | − compatible = "regulator-fixed"; | |
| 1113 | − reg = <1>; | |
| 1114 | − regulator-name = "+5V_SYS"; | |
| 1115 | − regulator-min-microvolt = <5000000>; | |
| 1116 | − regulator-max-microvolt = <5000000>; | |
| 1117 | − regulator-always-on; | |
| 1118 | − regulator-boot-on; | |
| 1119 | − vin-supply = <&vdd_mux>; | |
| 1120 | − }; | |
| 1098 | + vdd_5v0_sys: regulator@1 { | |
| 1099 | + compatible = "regulator-fixed"; | |
| 1100 | + regulator-name = "+5V_SYS"; | |
| 1101 | + regulator-min-microvolt = <5000000>; | |
| 1102 | + regulator-max-microvolt = <5000000>; | |
| 1103 | + regulator-always-on; | |
| 1104 | + regulator-boot-on; | |
| 1105 | + vin-supply = <&vdd_mux>; | |
| 1106 | + }; | |
| 1121 | 1107 | |
| 1122 | − vdd_3v3_sys: regulator@2 { | |
| 1123 | − compatible = "regulator-fixed"; | |
| 1124 | − reg = <2>; | |
| 1125 | − regulator-name = "+3.3V_SYS"; | |
| 1126 | − regulator-min-microvolt = <3300000>; | |
| 1127 | − regulator-max-microvolt = <3300000>; | |
| 1128 | − regulator-always-on; | |
| 1129 | − regulator-boot-on; | |
| 1130 | − vin-supply = <&vdd_mux>; | |
| 1131 | − }; | |
| 1108 | + vdd_3v3_sys: regulator@2 { | |
| 1109 | + compatible = "regulator-fixed"; | |
| 1110 | + regulator-name = "+3.3V_SYS"; | |
| 1111 | + regulator-min-microvolt = <3300000>; | |
| 1112 | + regulator-max-microvolt = <3300000>; | |
| 1113 | + regulator-always-on; | |
| 1114 | + regulator-boot-on; | |
| 1115 | + vin-supply = <&vdd_mux>; | |
| 1116 | + }; | |
| 1132 | 1117 | |
| 1133 | − vdd_3v3_run: regulator@3 { | |
| 1134 | − compatible = "regulator-fixed"; | |
| 1135 | − reg = <3>; | |
| 1136 | − regulator-name = "+3.3V_RUN"; | |
| 1137 | − regulator-min-microvolt = <3300000>; | |
| 1138 | − regulator-max-microvolt = <3300000>; | |
| 1139 | − regulator-always-on; | |
| 1140 | − regulator-boot-on; | |
| 1141 | − gpio = <&pmic 1 GPIO_ACTIVE_HIGH>; | |
| 1142 | − enable-active-high; | |
| 1143 | − vin-supply = <&vdd_3v3_sys>; | |
| 1144 | − }; | |
| 1118 | + vdd_3v3_run: regulator@3 { | |
| 1119 | + compatible = "regulator-fixed"; | |
| 1120 | + regulator-name = "+3.3V_RUN"; | |
| 1121 | + regulator-min-microvolt = <3300000>; | |
| 1122 | + regulator-max-microvolt = <3300000>; | |
| 1123 | + regulator-always-on; | |
| 1124 | + regulator-boot-on; | |
| 1125 | + gpio = <&pmic 1 GPIO_ACTIVE_HIGH>; | |
| 1126 | + enable-active-high; | |
| 1127 | + vin-supply = <&vdd_3v3_sys>; | |
| 1128 | + }; | |
| 1145 | 1129 | |
| 1146 | − vdd_3v3_hdmi: regulator@4 { | |
| 1147 | − compatible = "regulator-fixed"; | |
| 1148 | − reg = <4>; | |
| 1149 | − regulator-name = "+3.3V_AVDD_HDMI_AP_GATED"; | |
| 1150 | − regulator-min-microvolt = <3300000>; | |
| 1151 | − regulator-max-microvolt = <3300000>; | |
| 1152 | − vin-supply = <&vdd_3v3_run>; | |
| 1153 | − }; | |
| 1130 | + vdd_3v3_hdmi: regulator@4 { | |
| 1131 | + compatible = "regulator-fixed"; | |
| 1132 | + regulator-name = "+3.3V_AVDD_HDMI_AP_GATED"; | |
| 1133 | + regulator-min-microvolt = <3300000>; | |
| 1134 | + regulator-max-microvolt = <3300000>; | |
| 1135 | + vin-supply = <&vdd_3v3_run>; | |
| 1136 | + }; | |
| 1154 | 1137 | |
| 1155 | − vdd_led: regulator@5 { | |
| 1156 | − compatible = "regulator-fixed"; | |
| 1157 | − reg = <5>; | |
| 1158 | − regulator-name = "+VDD_LED"; | |
| 1159 | − regulator-min-microvolt = <3300000>; | |
| 1160 | − regulator-max-microvolt = <3300000>; | |
| 1161 | − gpio = <&gpio TEGRA_GPIO(P, 2) GPIO_ACTIVE_HIGH>; | |
| 1162 | − enable-active-high; | |
| 1163 | − vin-supply = <&vdd_mux>; | |
| 1164 | − }; | |
| 1138 | + vdd_led: regulator@5 { | |
| 1139 | + compatible = "regulator-fixed"; | |
| 1140 | + regulator-name = "+VDD_LED"; | |
| 1141 | + regulator-min-microvolt = <3300000>; | |
| 1142 | + regulator-max-microvolt = <3300000>; | |
| 1143 | + gpio = <&gpio TEGRA_GPIO(P, 2) GPIO_ACTIVE_HIGH>; | |
| 1144 | + enable-active-high; | |
| 1145 | + vin-supply = <&vdd_mux>; | |
| 1146 | + }; | |
| 1165 | 1147 | |
| 1166 | − vdd_5v0_ts: regulator@6 { | |
| 1167 | − compatible = "regulator-fixed"; | |
| 1168 | − reg = <6>; | |
| 1169 | − regulator-name = "+5V_VDD_TS_SW"; | |
| 1170 | − regulator-min-microvolt = <5000000>; | |
| 1171 | − regulator-max-microvolt = <5000000>; | |
| 1172 | − regulator-boot-on; | |
| 1173 | − gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>; | |
| 1174 | − enable-active-high; | |
| 1175 | − vin-supply = <&vdd_5v0_sys>; | |
| 1176 | − }; | |
| 1148 | + vdd_5v0_ts: regulator@6 { | |
| 1149 | + compatible = "regulator-fixed"; | |
| 1150 | + regulator-name = "+5V_VDD_TS_SW"; | |
| 1151 | + regulator-min-microvolt = <5000000>; | |
| 1152 | + regulator-max-microvolt = <5000000>; | |
| 1153 | + regulator-boot-on; | |
| 1154 | + gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>; | |
| 1155 | + enable-active-high; | |
| 1156 | + vin-supply = <&vdd_5v0_sys>; | |
| 1157 | + }; | |
| 1177 | 1158 | |
| 1178 | − vdd_usb1_vbus: regulator@7 { | |
| 1179 | − compatible = "regulator-fixed"; | |
| 1180 | − reg = <7>; | |
| 1181 | − regulator-name = "+5V_USB_HS"; | |
| 1182 | − regulator-min-microvolt = <5000000>; | |
| 1183 | − regulator-max-microvolt = <5000000>; | |
| 1184 | − gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>; | |
| 1185 | − enable-active-high; | |
| 1186 | − gpio-open-drain; | |
| 1187 | − vin-supply = <&vdd_5v0_sys>; | |
| 1188 | − }; | |
| 1159 | + vdd_usb1_vbus: regulator@7 { | |
| 1160 | + compatible = "regulator-fixed"; | |
| 1161 | + regulator-name = "+5V_USB_HS"; | |
| 1162 | + regulator-min-microvolt = <5000000>; | |
| 1163 | + regulator-max-microvolt = <5000000>; | |
| 1164 | + gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>; | |
| 1165 | + enable-active-high; | |
| 1166 | + gpio-open-drain; | |
| 1167 | + vin-supply = <&vdd_5v0_sys>; | |
| 1168 | + }; | |
| 1189 | 1169 | |
| 1190 | − vdd_usb3_vbus: regulator@8 { | |
| 1191 | − compatible = "regulator-fixed"; | |
| 1192 | − reg = <8>; | |
| 1193 | − regulator-name = "+5V_USB_SS"; | |
| 1194 | − regulator-min-microvolt = <5000000>; | |
106 more lines aren’t shown here.
This diff is large: its 193 lines aren’t shown here.
This diff is large: its 1439 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 249 lines aren’t shown here.
This diff is large: its 345 lines aren’t shown here.
This diff is large: its 174 lines aren’t shown here.
This diff is large: its 84 lines aren’t shown here.
This diff is large: its 104 lines aren’t shown here.
This diff is large: its 75 lines aren’t shown here.
This diff is large: its 200 lines aren’t shown here.
This diff is large: its 53 lines aren’t shown here.
This diff is large: its 75 lines aren’t shown here.
This diff is large: its 133 lines aren’t shown here.
This diff is large: its 144 lines aren’t shown here.
This diff is large: its 241 lines aren’t shown here.
This diff is large: its 18 lines aren’t shown here.
This diff is large: its 29 lines aren’t shown here.
This diff is large: its 26 lines aren’t shown here.
This diff is large: its 26 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 1233 lines aren’t shown here.
This diff is large: its 186 lines aren’t shown here.
This diff is large: its 1566 lines aren’t shown here.
This diff is large: its 150 lines aren’t shown here.
This diff is large: its 150 lines aren’t shown here.
This diff is large: its 10 lines aren’t shown here.
This diff is large: its 326 lines aren’t shown here.
This diff is large: its 236 lines aren’t shown here.
This diff is large: its 248 lines aren’t shown here.
This diff is large: its 146 lines aren’t shown here.
This diff is large: its 168 lines aren’t shown here.
This diff is large: its 320 lines aren’t shown here.
This diff is large: its 9 lines aren’t shown here.
This diff is large: its 26 lines aren’t shown here.
This diff is large: its 999 lines aren’t shown here.
This diff is large: its 1395 lines aren’t shown here.
This diff is large: its 288 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 20 lines aren’t shown here.
This diff is large: its 28 lines aren’t shown here.
This diff is large: its 12 lines aren’t shown here.
This diff is large: its 9 lines aren’t shown here.
This diff is large: its 29 lines aren’t shown here.
This diff is large: its 9 lines aren’t shown here.
This diff is large: its 37 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 20 lines aren’t shown here.
This diff is large: its 39 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 90 lines aren’t shown here.
This diff is large: its 42 lines aren’t shown here.
This diff is large: its 26 lines aren’t shown here.
This diff is large: its 28 lines aren’t shown here.
This diff is large: its 9 lines aren’t shown here.
This diff is large: its 29 lines aren’t shown here.
This diff is large: its 115 lines aren’t shown here.
This diff is large: its 80 lines aren’t shown here.
This diff is large: its 228 lines aren’t shown here.
This diff is large: its 200 lines aren’t shown here.
This diff is large: its 196 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 23 lines aren’t shown here.
This diff is large: its 41 lines aren’t shown here.
This diff is large: its 93 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 8 lines aren’t shown here.
This diff is large: its 63 lines aren’t shown here.
This diff is large: its 80 lines aren’t shown here.
This diff is large: its 16 lines aren’t shown here.
This diff is large: its 4 lines aren’t shown here.
File renamed without changes.
File renamed without changes.
This diff is large: its 25 lines aren’t shown here.
This diff is large: its 409 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 13 lines aren’t shown here.
This diff is large: its 76 lines aren’t shown here.
This diff is large: its 204 lines aren’t shown here.
This diff is large: its 22 lines aren’t shown here.
This diff is large: its 62 lines aren’t shown here.
This diff is large: its 60 lines aren’t shown here.
This diff is large: its 112 lines aren’t shown here.
This diff is large: its 52 lines aren’t shown here.
This diff is large: its 23 lines aren’t shown here.
This diff is large: its 40 lines aren’t shown here.
This diff is large: its 88 lines aren’t shown here.
This diff is large: its 59 lines aren’t shown here.
This diff is large: its 54 lines aren’t shown here.
This diff is large: its 122 lines aren’t shown here.
This diff is large: its 116 lines aren’t shown here.
This diff is large: its 81 lines aren’t shown here.
This diff is large: its 27 lines aren’t shown here.
This diff is large: its 162 lines aren’t shown here.
This diff is large: its 29 lines aren’t shown here.
This diff is large: its 92 lines aren’t shown here.
This diff is large: its 64 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 171 lines aren’t shown here.
This diff is large: its 148 lines aren’t shown here.
This diff is large: its 28 lines aren’t shown here.
This diff is large: its 28 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 141 lines aren’t shown here.
This diff is large: its 58 lines aren’t shown here.
This diff is large: its 103 lines aren’t shown here.
This diff is large: its 13 lines aren’t shown here.
This diff is large: its 24 lines aren’t shown here.
This diff is large: its 51 lines aren’t shown here.
This diff is large: its 9 lines aren’t shown here.
This diff is large: its 82 lines aren’t shown here.
This diff is large: its 28 lines aren’t shown here.
This diff is large: its 105 lines aren’t shown here.
This diff is large: its 41 lines aren’t shown here.
This diff is large: its 464 lines aren’t shown here.
This diff is large: its 45 lines aren’t shown here.
This diff is large: its 283 lines aren’t shown here.
This diff is large: its 15 lines aren’t shown here.
This diff is large: its 32 lines aren’t shown here.
This diff is large: its 51 lines aren’t shown here.
This diff is large: its 25 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 18 lines aren’t shown here.
This diff is large: its 18 lines aren’t shown here.
This diff is large: its 19 lines aren’t shown here.
This diff is large: its 344 lines aren’t shown here.
This diff is large: its 789 lines aren’t shown here.
This diff is large: its 110 lines aren’t shown here.
This diff is large: its 5 lines aren’t shown here.
This diff is large: its 480 lines aren’t shown here.
This diff is large: its 371 lines aren’t shown here.
This diff is large: its 175 lines aren’t shown here.
This diff is large: its 143 lines aren’t shown here.
This diff is large: its 329 lines aren’t shown here.
This diff is large: its 168 lines aren’t shown here.
This diff is large: its 44 lines aren’t shown here.
This diff is large: its 332 lines aren’t shown here.
This diff is large: its 291 lines aren’t shown here.
This diff is large: its 610 lines aren’t shown here.
This diff is large: its 79 lines aren’t shown here.
This diff is large: its 20 lines aren’t shown here.
This diff is large: its 38 lines aren’t shown here.
This diff is large: its 375 lines aren’t shown here.
This diff is large: its 506 lines aren’t shown here.
This diff is large: its 381 lines aren’t shown here.
This diff is large: its 245 lines aren’t shown here.
This diff is large: its 196 lines aren’t shown here.
This diff is large: its 22 lines aren’t shown here.
This diff is large: its 339 lines aren’t shown here.
This diff is large: its 32 lines aren’t shown here.
This diff is large: its 210 lines aren’t shown here.
This diff is large: its 53 lines aren’t shown here.
This diff is large: its 1109 lines aren’t shown here.
This diff is large: its 170 lines aren’t shown here.
This diff is large: its 33 lines aren’t shown here.
This diff is large: its 33 lines aren’t shown here.
This diff is large: its 57 lines aren’t shown here.
This diff is large: its 263 lines aren’t shown here.
This diff is large: its 40 lines aren’t shown here.
This diff is large: its 91 lines aren’t shown here.
This diff is large: its 365 lines aren’t shown here.
This diff is large: its 663 lines aren’t shown here.
This diff is large: its 9 lines aren’t shown here.
This diff is large: its 31 lines aren’t shown here.
This diff is large: its 269 lines aren’t shown here.
This diff is large: its 14 lines aren’t shown here.
This diff is large: its 236 lines aren’t shown here.
This diff is large: its 716 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 9 lines aren’t shown here.
This diff is large: its 51 lines aren’t shown here.
This diff is large: its 37 lines aren’t shown here.
This diff is large: its 38 lines aren’t shown here.
This diff is large: its 63 lines aren’t shown here.
This diff is large: its 65 lines aren’t shown here.
This diff is large: its 65 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 47 lines aren’t shown here.
This diff is large: its 1121 lines aren’t shown here.
This diff is large: its 14 lines aren’t shown here.
This diff is large: its 41 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 21 lines aren’t shown here.
This diff is large: its 137 lines aren’t shown here.
This diff is large: its 1175 lines aren’t shown here.
This diff is large: its 21 lines aren’t shown here.
This diff is large: its 9 lines aren’t shown here.
This diff is large: its 167 lines aren’t shown here.
This diff is large: its 1011 lines aren’t shown here.
This diff is large: its 25 lines aren’t shown here.
This diff is large: its 1127 lines aren’t shown here.
This diff is large: its 62 lines aren’t shown here.
This diff is large: its 1806 lines aren’t shown here.
This diff is large: its 68 lines aren’t shown here.
This diff is large: its 759 lines aren’t shown here.
This diff is large: its 313 lines aren’t shown here.
This diff is large: its 8 lines aren’t shown here.
This diff is large: its 126 lines aren’t shown here.
This diff is large: its 87 lines aren’t shown here.
This diff is large: its 125 lines aren’t shown here.
This diff is large: its 53 lines aren’t shown here.
This diff is large: its 59 lines aren’t shown here.
This diff is large: its 30 lines aren’t shown here.
This diff is large: its 56 lines aren’t shown here.
This diff is large: its 20 lines aren’t shown here.
This diff is large: its 16 lines aren’t shown here.
This diff is large: its 21 lines aren’t shown here.
This diff is large: its 38 lines aren’t shown here.
This diff is large: its 17 lines aren’t shown here.
This diff is large: its 45 lines aren’t shown here.
This diff is large: its 16 lines aren’t shown here.
This diff is large: its 12 lines aren’t shown here.
This diff is large: its 16 lines aren’t shown here.
This diff is large: its 16 lines aren’t shown here.
This diff is large: its 42 lines aren’t shown here.
This diff is large: its 17 lines aren’t shown here.
This diff is large: its 45 lines aren’t shown here.
This diff is large: its 27 lines aren’t shown here.
This diff is large: its 16 lines aren’t shown here.
This diff is large: its 27 lines aren’t shown here.
This diff is large: its 1665 lines aren’t shown here.
This diff is large: its 36 lines aren’t shown here.
This diff is large: its 36 lines aren’t shown here.
This diff is large: its 132 lines aren’t shown here.
This diff is large: its 36 lines aren’t shown here.
This diff is large: its 80 lines aren’t shown here.
This diff is large: its 80 lines aren’t shown here.
This diff is large: its 24 lines aren’t shown here.
This diff is large: its 81 lines aren’t shown here.
This diff is large: its 81 lines aren’t shown here.
This diff is large: its 24 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 9 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 29 lines aren’t shown here.
This diff is large: its 43 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 9 lines aren’t shown here.
This diff is large: its 9 lines aren’t shown here.
This diff is large: its 110 lines aren’t shown here.
This diff is large: its 29 lines aren’t shown here.
This diff is large: its 38 lines aren’t shown here.
This diff is large: its 37 lines aren’t shown here.
This diff is large: its 14 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 33 lines aren’t shown here.
This diff is large: its 33 lines aren’t shown here.
This diff is large: its 32 lines aren’t shown here.
This diff is large: its 21 lines aren’t shown here.
This diff is large: its 316 lines aren’t shown here.
This diff is large: its 21 lines aren’t shown here.
This diff is large: its 39 lines aren’t shown here.
This diff is large: its 77 lines aren’t shown here.
This diff is large: its 32 lines aren’t shown here.
This diff is large: its 15 lines aren’t shown here.
This diff is large: its 74 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 17 lines aren’t shown here.
This diff is large: its 266 lines aren’t shown here.
This diff is large: its 9 lines aren’t shown here.
This diff is large: its 29 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 29 lines aren’t shown here.
This diff is large: its 10 lines aren’t shown here.
This diff is large: its 38 lines aren’t shown here.
This diff is large: its 10 lines aren’t shown here.
This diff is large: its 9 lines aren’t shown here.
This diff is large: its 62 lines aren’t shown here.
This diff is large: its 9 lines aren’t shown here.
This diff is large: its 21 lines aren’t shown here.
This diff is large: its 9 lines aren’t shown here.
This diff is large: its 47 lines aren’t shown here.
This diff is large: its 9 lines aren’t shown here.
This diff is large: its 239 lines aren’t shown here.
This diff is large: its 317 lines aren’t shown here.
This diff is large: its 21 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 8 lines aren’t shown here.
This diff is large: its 20 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 60 lines aren’t shown here.
This diff is large: its 9 lines aren’t shown here.
This diff is large: its 54 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 37 lines aren’t shown here.