Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'dt-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc

Pull ARM SoC DT updates from Olof Johansson:
"Device tree and bindings updates for 3.12.

General additions of various on-chip and on-board peripherals on
various platforms as support gets added. Some of the bigger changes
are:

- Addition of (new) PCI-e support on Tegra.
- More Tegra4 support, including PMC configuration for Dalmore.
- Addition of a new board for Exynos4 (trats2) and more bindings for
4x12 IP.
- Addition of Allwinner A20 and A31 SoC and board files.
- Move of the ST Ericsson device tree files to now use ste-* prefix.
- More move of hardware description of shmobile platforms to DT.
- Two new board dts files for Freescale MXs"

* tag 'dt-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (177 commits)
dts: Rename DW APB timer compatible strings
dts: Deprecate ALTR as a vendor prefix
of: add vendor prefix for Altera Corp.
ARM: at91/dt: sam9x5ek: add sound configuration
ARM: at91/dt: sam9x5ek: enable SSC
ARM: at91/dt: sam9x5ek: add WM8731 codec
ARM: at91/dt: sam9x5: add SSC DMA parameters
ARM: at91/dt: add at91rm9200 PQFP package version
ARM: at91: at91rm9200: set default mmc0 pinctrl-names
ARM: at91: at91sam9n12: correct pin number of gpio-key
ARM: at91: at91sam9n12: add qt1070 support
ARM: at91: at91sam9n12: add pinctrl of TWI
ARM: at91: Add PMU support for sama5d3
ARM: at91: at91sam9260: add missing pinctrl-names on mmc
ARM: tegra: configure power off for Dalmore
ARM: DT: binding fixup to align with vendor-prefixes.txt (DT)
ARM: dts: add sdio blocks to bcm28155-ap board
ARM: dts: align sdio numbers to HW definition
ARM: sun7i: Add Olimex A20-Olinuxino-Micro support
ARM: sun7i: Add Allwinner A20 DTSI
...

+4986 -947
+3 -2
Documentation/devicetree/bindings/arm/bcm/bcm,kona-timer.txt Documentation/devicetree/bindings/arm/bcm/kona-timer.txt
··· 4 4 BCM11130, BCM11140, BCM11351, BCM28145, BCM28155 5 5 6 6 Required properties: 7 - - compatible : "bcm,kona-timer" 7 + - compatible : "brcm,kona-timer" 8 + - DEPRECATED: compatible : "bcm,kona-timer" 8 9 - reg : Register range for the timer 9 10 - interrupts : interrupt for the timer 10 11 - clock-frequency: frequency that the clock operates 11 12 12 13 Example: 13 14 timer@35006000 { 14 - compatible = "bcm,kona-timer"; 15 + compatible = "brcm,kona-timer"; 15 16 reg = <0x35006000 0x1000>; 16 17 interrupts = <0x0 7 0x4>; 17 18 clock-frequency = <32768>;
+2 -1
Documentation/devicetree/bindings/arm/bcm/bcm11351.txt
··· 6 6 7 7 Required root node property: 8 8 9 - compatible = "bcm,bcm11351"; 9 + compatible = "brcm,bcm11351"; 10 + DEPRECATED: compatible = "bcm,bcm11351";
+15
Documentation/devicetree/bindings/arm/bcm/kona-wdt.txt
··· 1 + Broadcom Kona Family Watchdog Timer 2 + ----------------------------------- 3 + 4 + This watchdog timer is used in the following Broadcom SoCs: 5 + BCM11130, BCM11140, BCM11351, BCM28145, BCM28155 6 + 7 + Required properties: 8 + - compatible = "brcm,bcm11351-wdt", "brcm,kona-wdt"; 9 + - reg: memory address & range 10 + 11 + Example: 12 + watchdog@35002f40 { 13 + compatible = "brcm,bcm11351-wdt", "brcm,kona-wdt"; 14 + reg = <0x35002f40 0x6c>; 15 + };
+5 -5
Documentation/devicetree/bindings/media/s5p-mfc.txt
··· 16 16 mapped region. 17 17 18 18 - interrupts : MFC interrupt number to the CPU. 19 - - clocks : from common clock binding: handle to mfc clocks. 20 - - clock-names : from common clock binding: must contain "sclk_mfc" and "mfc", 21 - corresponding to entries in the clocks property. 19 + - clocks : from common clock binding: handle to mfc clock. 20 + - clock-names : from common clock binding: must contain "mfc", 21 + corresponding to entry in the clocks property. 22 22 23 23 - samsung,mfc-r : Base address of the first memory bank used by MFC 24 24 for DMA contiguous memory allocation and its size. ··· 38 38 reg = <0x13400000 0x10000>; 39 39 interrupts = <0 94 0>; 40 40 samsung,power-domain = <&pd_mfc>; 41 - clocks = <&clock 170>, <&clock 273>; 42 - clock-names = "sclk_mfc", "mfc"; 41 + clocks = <&clock 273>; 42 + clock-names = "mfc"; 43 43 }; 44 44 45 45 Board specific DT entry:
+3 -2
Documentation/devicetree/bindings/misc/smc.txt
··· 4 4 used for non-secure to secure communications. 5 5 6 6 Required properties: 7 - - compatible : "bcm,kona-smc" 7 + - compatible : "brcm,kona-smc" 8 + - DEPRECATED: compatible : "bcm,kona-smc" 8 9 - reg : Location and size of bounce buffer 9 10 10 11 Example: 11 12 smc@0x3404c000 { 12 - compatible = "bcm,bcm11351-smc", "bcm,kona-smc"; 13 + compatible = "brcm,bcm11351-smc", "brcm,kona-smc"; 13 14 reg = <0x3404c000 0x400>; //1 KiB in SRAM 14 15 };
+3 -2
Documentation/devicetree/bindings/mmc/bcm,kona-sdhci.txt Documentation/devicetree/bindings/mmc/kona-sdhci.txt
··· 4 4 and the properties present in the bcm281xx SDHCI 5 5 6 6 Required properties: 7 - - compatible : Should be "bcm,kona-sdhci" 7 + - compatible : Should be "brcm,kona-sdhci" 8 + - DEPRECATED: compatible : Should be "bcm,kona-sdhci" 8 9 9 10 Example: 10 11 11 12 sdio2: sdio@0x3f1a0000 { 12 - compatible = "bcm,kona-sdhci"; 13 + compatible = "brcm,kona-sdhci"; 13 14 reg = <0x3f1a0000 0x10000>; 14 15 interrupts = <0x0 74 0x4>; 15 16 };
+11
Documentation/devicetree/bindings/pinctrl/nvidia,tegra114-pinmux.txt
··· 80 80 dbg, sdio3, spi, uaa, uab, uart2, uart3, sdio1, ddc, gma, gme, gmf, gmg, 81 81 gmh, owr, uda. 82 82 83 + Valid values for nvidia,functions are: 84 + 85 + blink, cec, cldvfs, clk12, cpu, dap, dap1, dap2, dev3, displaya, 86 + displaya_alt, displayb, dtv, emc_dll, extperiph1, extperiph2, 87 + extperiph3, gmi, gmi_alt, hda, hsi, i2c1, i2c2, i2c3, i2c4, i2cpwr, 88 + i2s0, i2s1, i2s2, i2s3, i2s4, irda, kbc, nand, nand_alt, owr, pmi, 89 + pwm0, pwm1, pwm2, pwm3, pwron, reset_out_n, rsvd1, rsvd2, rsvd3, 90 + rsvd4, sdmmc1, sdmmc2, sdmmc3, sdmmc4, soc, spdif, spi1, spi2, spi3, 91 + spi4, spi5, spi6, sysclk, trace, uarta, uartb, uartc, uartd, ulpi, 92 + usb, vgp1, vgp2, vgp3, vgp4, vgp5, vgp6, vi, vi_alt1, vi_alt3 93 + 83 94 Example: 84 95 85 96 pinmux: pinmux {
+11
Documentation/devicetree/bindings/pinctrl/nvidia,tegra20-pinmux.txt
··· 103 103 drive_gma, drive_gmb, drive_gmc, drive_gmd, drive_gme, drive_owr, 104 104 drive_uda. 105 105 106 + Valid values for nvidia,functions are: 107 + 108 + ahb_clk, apb_clk, audio_sync, crt, dap1, dap2, dap3, dap4, dap5, 109 + displaya, displayb, emc_test0_dll, emc_test1_dll, gmi, gmi_int, 110 + hdmi, i2cp, i2c1, i2c2, i2c3, ide, irda, kbc, mio, mipi_hs, nand, 111 + osc, owr, pcie, plla_out, pllc_out1, pllm_out1, pllp_out2, pllp_out3, 112 + pllp_out4, pwm, pwr_intr, pwr_on, rsvd1, rsvd2, rsvd3, rsvd4, rtck, 113 + sdio1, sdio2, sdio3, sdio4, sflash, spdif, spi1, spi2, spi2_alt, 114 + spi3, spi4, trace, twc, uarta, uartb, uartc, uartd, uarte, ulpi, 115 + vi, vi_sensor_clk, xio 116 + 106 117 Example: 107 118 108 119 pinctrl@70000000 {
+12
Documentation/devicetree/bindings/pinctrl/nvidia,tegra30-pinmux.txt
··· 91 91 gmh, gpv, lcd1, lcd2, owr, sdio1, sdio2, sdio3, spi, uaa, uab, uart2, 92 92 uart3, uda, vi1. 93 93 94 + Valid values for nvidia,functions are: 95 + 96 + blink, cec, clk_12m_out, clk_32k_in, core_pwr_req, cpu_pwr_req, crt, 97 + dap, ddr, dev3, displaya, displayb, dtv, extperiph1, extperiph2, 98 + extperiph3, gmi, gmi_alt, hda, hdcp, hdmi, hsi, i2c1, i2c2, i2c3, 99 + i2c4, i2cpwr, i2s0, i2s1, i2s2, i2s3, i2s4, invalid, kbc, mio, nand, 100 + nand_alt, owr, pcie, pwm0, pwm1, pwm2, pwm3, pwr_int_n, rsvd1, rsvd2, 101 + rsvd3, rsvd4, rtck, sata, sdmmc1, sdmmc2, sdmmc3, sdmmc4, spdif, spi1, 102 + spi2, spi2_alt, spi3, spi4, spi5, spi6, sysclk, test, trace, uarta, 103 + uartb, uartc, uartd, uarte, ulpi, vgp1, vgp2, vgp3, vgp4, vgp5, vgp6, 104 + vi, vi_alt1, vi_alt2, vi_alt3 105 + 94 106 Example: 95 107 96 108 pinctrl@70000000 {
+3 -3
Documentation/devicetree/bindings/pinctrl/ste,nomadik.txt
··· 1 1 ST Ericsson Nomadik pinmux controller 2 2 3 3 Required properties: 4 - - compatible: "stericsson,nmk-pinctrl", "stericsson,nmk-pinctrl-db8540", 5 - "stericsson,nmk-pinctrl-stn8815" 4 + - compatible: "stericsson,db8500-pinctrl", "stericsson,db8540-pinctrl", 5 + "stericsson,stn8815-pinctrl" 6 6 - reg: Should contain the register physical address and length of the PRCMU. 7 7 8 8 Please refer to pinctrl-bindings.txt in this directory for details of the ··· 68 68 Example board file extract: 69 69 70 70 pinctrl@80157000 { 71 - compatible = "stericsson,nmk-pinctrl"; 71 + compatible = "stericsson,db8500-pinctrl"; 72 72 reg = <0x80157000 0x2000>; 73 73 74 74 pinctrl-names = "default";
+11 -23
Documentation/devicetree/bindings/rtc/dw-apb.txt
··· 1 1 * Designware APB timer 2 2 3 3 Required properties: 4 - - compatible: "snps,dw-apb-timer-sp" or "snps,dw-apb-timer-osc" 4 + - compatible: One of: 5 + "snps,dw-apb-timer" 6 + "snps,dw-apb-timer-sp" <DEPRECATED> 7 + "snps,dw-apb-timer-osc" <DEPRECATED> 5 8 - reg: physical base address of the controller and length of memory mapped 6 9 region. 7 10 - interrupts: IRQ line for the timer. ··· 23 20 24 21 25 22 Example: 26 - 27 - timer1: timer@ffc09000 { 28 - compatible = "snps,dw-apb-timer-sp"; 29 - interrupts = <0 168 4>; 30 - clock-frequency = <200000000>; 31 - reg = <0xffc09000 0x1000>; 32 - }; 33 - 34 - timer2: timer@ffd00000 { 35 - compatible = "snps,dw-apb-timer-osc"; 36 - interrupts = <0 169 4>; 37 - clock-frequency = <200000000>; 38 - reg = <0xffd00000 0x1000>; 39 - }; 40 - 41 - timer3: timer@ffe00000 { 42 - compatible = "snps,dw-apb-timer-osc"; 43 - interrupts = <0 170 4>; 44 - reg = <0xffe00000 0x1000>; 45 - clocks = <&timer_clk>, <&timer_pclk>; 46 - clock-names = "timer", "pclk"; 47 - }; 23 + timer@ffe00000 { 24 + compatible = "snps,dw-apb-timer"; 25 + interrupts = <0 170 4>; 26 + reg = <0xffe00000 0x1000>; 27 + clocks = <&timer_clk>, <&timer_pclk>; 28 + clock-names = "timer", "pclk"; 29 + };
+2 -1
Documentation/devicetree/bindings/serial/altera_jtaguart.txt
··· 1 1 Altera JTAG UART 2 2 3 3 Required properties: 4 - - compatible : should be "ALTR,juart-1.0" 4 + - compatible : should be "ALTR,juart-1.0" <DEPRECATED> 5 + - compatible : should be "altr,juart-1.0"
+2 -1
Documentation/devicetree/bindings/serial/altera_uart.txt
··· 1 1 Altera UART 2 2 3 3 Required properties: 4 - - compatible : should be "ALTR,uart-1.0" 4 + - compatible : should be "ALTR,uart-1.0" <DEPRECATED> 5 + - compatible : should be "altr,uart-1.0" 5 6 6 7 Optional properties: 7 8 - clock-frequency : frequency of the clock input to the UART
+2 -1
Documentation/devicetree/bindings/serio/altera_ps2.txt
··· 1 1 Altera UP PS/2 controller 2 2 3 3 Required properties: 4 - - compatible : should be "ALTR,ps2-1.0". 4 + - compatible : should be "ALTR,ps2-1.0". <DEPRECATED> 5 + - compatible : should be "altr,ps2-1.0".
+2 -1
Documentation/devicetree/bindings/spi/spi_altera.txt
··· 1 1 Altera SPI 2 2 3 3 Required properties: 4 - - compatible : should be "ALTR,spi-1.0". 4 + - compatible : should be "ALTR,spi-1.0". <DEPRECATED> 5 + - compatible : should be "altr,spi-1.0".
+1
Documentation/devicetree/bindings/vendor-prefixes.txt
··· 7 7 adi Analog Devices, Inc. 8 8 aeroflexgaisler Aeroflex Gaisler AB 9 9 ak Asahi Kasei Corp. 10 + altr Altera Corp. 10 11 amcc Applied Micro Circuits Corporation (APM, formally AMCC) 11 12 apm Applied Micro Circuits Corporation (APM) 12 13 arm ARM Ltd.
+1
arch/arm/Makefile
··· 190 190 machine-$(CONFIG_ARCH_SA1100) += sa1100 191 191 machine-$(CONFIG_ARCH_SHARK) += shark 192 192 machine-$(CONFIG_ARCH_SHMOBILE) += shmobile 193 + machine-$(CONFIG_ARCH_SHMOBILE_MULTI) += shmobile 193 194 machine-$(CONFIG_ARCH_SIRF) += prima2 194 195 machine-$(CONFIG_ARCH_SOCFPGA) += socfpga 195 196 machine-$(CONFIG_ARCH_STI) += sti
+19 -11
arch/arm/boot/dts/Makefile
··· 42 42 dtb-$(CONFIG_ARCH_AT91) += sama5d35ek.dtb 43 43 44 44 dtb-$(CONFIG_ARCH_BCM2835) += bcm2835-rpi-b.dtb 45 - dtb-$(CONFIG_ARCH_BCM) += bcm11351-brt.dtb 45 + dtb-$(CONFIG_ARCH_BCM) += bcm11351-brt.dtb \ 46 + bcm28155-ap.dtb 46 47 dtb-$(CONFIG_ARCH_DAVINCI) += da850-enbw-cmc.dtb \ 47 48 da850-evm.dtb 48 49 dtb-$(CONFIG_ARCH_DOVE) += dove-cm-a510.dtb \ ··· 54 53 exynos4210-trats.dtb \ 55 54 exynos4210-universal_c210.dtb \ 56 55 exynos4412-odroidx.dtb \ 57 - exynos4412-smdk4412.dtb \ 58 56 exynos4412-origen.dtb \ 57 + exynos4412-smdk4412.dtb \ 58 + exynos4412-trats2.dtb \ 59 59 exynos5250-arndale.dtb \ 60 - exynos5440-sd5v1.dtb \ 61 60 exynos5250-smdk5250.dtb \ 62 61 exynos5250-snow.dtb \ 63 62 exynos5420-smdk5420.dtb \ 63 + exynos5440-sd5v1.dtb \ 64 64 exynos5440-ssdk5440.dtb 65 65 dtb-$(CONFIG_ARCH_HIGHBANK) += highbank.dtb \ 66 66 ecx-2000.dtb ··· 145 143 imx28-cfa10037.dtb \ 146 144 imx28-cfa10049.dtb \ 147 145 imx28-cfa10055.dtb \ 146 + imx28-cfa10056.dtb \ 148 147 imx28-cfa10057.dtb \ 148 + imx28-cfa10058.dtb \ 149 149 imx28-evk.dtb \ 150 150 imx28-m28evk.dtb \ 151 151 imx28-sps1.dtb \ ··· 180 176 am43x-epos-evm.dtb 181 177 dtb-$(CONFIG_ARCH_ORION5X) += orion5x-lacie-ethernet-disk-mini-v2.dtb 182 178 dtb-$(CONFIG_ARCH_PRIMA2) += prima2-evb.dtb 183 - dtb-$(CONFIG_ARCH_U8500) += snowball.dtb \ 184 - hrefprev60.dtb \ 185 - hrefv60plus.dtb \ 186 - ccu8540.dtb \ 187 - ccu9540.dtb 179 + dtb-$(CONFIG_ARCH_U8500) += ste-snowball.dtb \ 180 + ste-hrefprev60.dtb \ 181 + ste-hrefv60plus.dtb \ 182 + ste-ccu8540.dtb \ 183 + ste-ccu9540.dtb 188 184 dtb-$(CONFIG_ARCH_S3C24XX) += s3c2416-smdk2416.dtb 189 185 dtb-$(CONFIG_ARCH_SHMOBILE) += emev2-kzm9d.dtb \ 186 + emev2-kzm9d-reference.dtb \ 190 187 r8a7740-armadillo800eva.dtb \ 191 188 r8a7778-bockw.dtb \ 192 189 r8a7740-armadillo800eva-reference.dtb \ ··· 197 192 sh73a0-kzm9g-reference.dtb \ 198 193 r8a73a4-ape6evm.dtb \ 199 194 sh7372-mackerel.dtb 195 + dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += emev2-kzm9d-reference.dtb 200 196 dtb-$(CONFIG_ARCH_SOCFPGA) += socfpga_cyclone5.dtb \ 201 197 socfpga_vt.dtb 202 198 dtb-$(CONFIG_ARCH_SPEAR13XX) += spear1310-evb.dtb \ ··· 212 206 stih415-b2020.dtb \ 213 207 stih416-b2020.dtb 214 208 dtb-$(CONFIG_ARCH_SUNXI) += \ 209 + sun4i-a10-a1000.dtb \ 215 210 sun4i-a10-cubieboard.dtb \ 216 211 sun4i-a10-mini-xplus.dtb \ 217 212 sun4i-a10-hackberry.dtb \ 218 213 sun5i-a10s-olinuxino-micro.dtb \ 219 - sun5i-a13-olinuxino.dtb 214 + sun5i-a13-olinuxino.dtb \ 215 + sun6i-a31-colombus.dtb \ 216 + sun7i-a20-olinuxino-micro.dtb 220 217 dtb-$(CONFIG_ARCH_TEGRA) += tegra20-harmony.dtb \ 221 218 tegra20-iris-512.dtb \ 222 219 tegra20-medcom-wide.dtb \ ··· 233 224 tegra30-beaver.dtb \ 234 225 tegra30-cardhu-a02.dtb \ 235 226 tegra30-cardhu-a04.dtb \ 236 - tegra114-dalmore.dtb \ 237 - tegra114-pluto.dtb 227 + tegra114-dalmore.dtb 238 228 dtb-$(CONFIG_ARCH_VERSATILE) += versatile-ab.dtb \ 239 229 versatile-pb.dtb 240 230 dtb-$(CONFIG_ARCH_U300) += ste-u300.dtb
+1
arch/arm/boot/dts/at91rm9200.dtsi
··· 120 120 interrupts = <10 IRQ_TYPE_LEVEL_HIGH 0>; 121 121 #address-cells = <1>; 122 122 #size-cells = <0>; 123 + pinctrl-names = "default"; 123 124 status = "disabled"; 124 125 }; 125 126
+17
arch/arm/boot/dts/at91rm9200_pqfp.dtsi
··· 1 + /* 2 + * at91rm9200_pqfp.dtsi - Device Tree Include file for AT91RM9200 PQFP family SoC 3 + * 4 + * Copyright (C) 2013 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> 5 + * 6 + * Licensed under GPLv2 or later. 7 + */ 8 + 9 + #include "at91rm9200.dtsi" 10 + 11 + / { 12 + compatible = "atmel,at91rm9200-pqfp", "atmel,at91rm9200"; 13 + }; 14 + 15 + &pioD { 16 + status = "disabled"; 17 + };
+1
arch/arm/boot/dts/at91sam9260.dtsi
··· 572 572 interrupts = <9 IRQ_TYPE_LEVEL_HIGH 0>; 573 573 #address-cells = <1>; 574 574 #size-cells = <0>; 575 + pinctrl-names = "default"; 575 576 status = "disabled"; 576 577 }; 577 578
+20
arch/arm/boot/dts/at91sam9n12.dtsi
··· 291 291 }; 292 292 }; 293 293 294 + i2c0 { 295 + pinctrl_i2c0: i2c0-0 { 296 + atmel,pins = 297 + <AT91_PIOA 30 AT91_PERIPH_A AT91_PINCTRL_NONE 298 + AT91_PIOA 31 AT91_PERIPH_A AT91_PINCTRL_NONE>; 299 + }; 300 + }; 301 + 302 + i2c1 { 303 + pinctrl_i2c1: i2c1-0 { 304 + atmel,pins = 305 + <AT91_PIOC 0 AT91_PERIPH_C AT91_PINCTRL_NONE 306 + AT91_PIOC 1 AT91_PERIPH_C AT91_PINCTRL_NONE>; 307 + }; 308 + }; 309 + 294 310 tcb0 { 295 311 pinctrl_tcb0_tclk0: tcb0_tclk0-0 { 296 312 atmel,pins = <AT91_PIOA 24 AT91_PERIPH_A AT91_PINCTRL_NONE>; ··· 487 471 dma-names = "tx", "rx"; 488 472 #address-cells = <1>; 489 473 #size-cells = <0>; 474 + pinctrl-names = "default"; 475 + pinctrl-0 = <&pinctrl_i2c0>; 490 476 status = "disabled"; 491 477 }; 492 478 ··· 501 483 dma-names = "tx", "rx"; 502 484 #address-cells = <1>; 503 485 #size-cells = <0>; 486 + pinctrl-names = "default"; 487 + pinctrl-0 = <&pinctrl_i2c1>; 504 488 status = "disabled"; 505 489 }; 506 490
+17 -1
arch/arm/boot/dts/at91sam9n12ek.dts
··· 40 40 41 41 i2c0: i2c@f8010000 { 42 42 status = "okay"; 43 + 44 + qt1070: keyboard@1b { 45 + compatible = "qt1070"; 46 + reg = <0x1b>; 47 + interrupt-parent = <&pioA>; 48 + interrupts = <2 IRQ_TYPE_EDGE_FALLING>; 49 + pinctrl-names = "default"; 50 + pinctrl-0 = <&pinctrl_qt1070_irq>; 51 + }; 43 52 }; 44 53 45 54 i2c1: i2c@f8014000 { ··· 73 64 pinctrl_board_mmc0: mmc0-board { 74 65 atmel,pins = 75 66 <AT91_PIOA 7 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; /* PA7 gpio CD pin pull up and deglitch */ 67 + }; 68 + }; 69 + 70 + qt1070 { 71 + pinctrl_qt1070_irq: qt1070_irq { 72 + atmel,pins = 73 + <AT91_PIOA 2 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; 76 74 }; 77 75 }; 78 76 }; ··· 137 121 138 122 enter { 139 123 label = "Enter"; 140 - gpios = <&pioB 4 GPIO_ACTIVE_LOW>; 124 + gpios = <&pioB 3 GPIO_ACTIVE_LOW>; 141 125 linux,code = <28>; 142 126 gpio-key,wakeup; 143 127 };
+3
arch/arm/boot/dts/at91sam9x5.dtsi
··· 542 542 compatible = "atmel,at91sam9g45-ssc"; 543 543 reg = <0xf0010000 0x4000>; 544 544 interrupts = <28 IRQ_TYPE_LEVEL_HIGH 5>; 545 + dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(13)>, 546 + <&dma0 1 AT91_DMA_CFG_PER_ID(14)>; 547 + dma-names = "tx", "rx"; 545 548 pinctrl-names = "default"; 546 549 pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>; 547 550 status = "disabled";
+24
arch/arm/boot/dts/at91sam9x5ek.dtsi
··· 59 59 60 60 i2c0: i2c@f8010000 { 61 61 status = "okay"; 62 + 63 + wm8731: wm8731@1a { 64 + compatible = "wm8731"; 65 + reg = <0x1a>; 66 + }; 62 67 }; 63 68 64 69 pinctrl@fffff400 { ··· 95 90 watchdog@fffffe40 { 96 91 status = "okay"; 97 92 }; 93 + 94 + ssc0: ssc@f0010000 { 95 + status = "okay"; 96 + }; 98 97 }; 99 98 100 99 usb0: ohci@00600000 { ··· 113 104 usb1: ehci@00700000 { 114 105 status = "okay"; 115 106 }; 107 + }; 108 + 109 + sound { 110 + compatible = "atmel,sam9x5-wm8731-audio"; 111 + 112 + atmel,model = "wm8731 @ AT91SAM9X5EK"; 113 + 114 + atmel,audio-routing = 115 + "Headphone Jack", "RHPOUT", 116 + "Headphone Jack", "LHPOUT", 117 + "LLINEIN", "Line In Jack", 118 + "RLINEIN", "Line In Jack"; 119 + 120 + atmel,ssc-controller = <&ssc0>; 121 + atmel,audio-codec = <&wm8731>; 116 122 }; 117 123 };
+4 -4
arch/arm/boot/dts/bcm11351-brt.dts
··· 17 17 18 18 / { 19 19 model = "BCM11351 BRT board"; 20 - compatible = "bcm,bcm11351-brt", "bcm,bcm11351"; 20 + compatible = "brcm,bcm11351-brt", "brcm,bcm11351"; 21 21 22 22 memory { 23 23 reg = <0x80000000 0x40000000>; /* 1 GB */ ··· 27 27 status = "okay"; 28 28 }; 29 29 30 - sdio0: sdio@0x3f180000 { 30 + sdio1: sdio@3f180000 { 31 31 max-frequency = <48000000>; 32 32 status = "okay"; 33 33 }; 34 34 35 - sdio1: sdio@0x3f190000 { 35 + sdio2: sdio@3f190000 { 36 36 non-removable; 37 37 max-frequency = <48000000>; 38 38 status = "okay"; 39 39 }; 40 40 41 - sdio3: sdio@0x3f1b0000 { 41 + sdio4: sdio@3f1b0000 { 42 42 max-frequency = <48000000>; 43 43 status = "okay"; 44 44 };
+19 -14
arch/arm/boot/dts/bcm11351.dtsi
··· 1 1 /* 2 - * Copyright (C) 2012 Broadcom Corporation 2 + * Copyright (C) 2012-2013 Broadcom Corporation 3 3 * 4 4 * This program is free software; you can redistribute it and/or 5 5 * modify it under the terms of the GNU General Public License as ··· 18 18 19 19 / { 20 20 model = "BCM11351 SoC"; 21 - compatible = "bcm,bcm11351"; 21 + compatible = "brcm,bcm11351"; 22 22 interrupt-parent = <&gic>; 23 23 24 24 chosen { ··· 35 35 }; 36 36 37 37 smc@0x3404c000 { 38 - compatible = "bcm,bcm11351-smc", "bcm,kona-smc"; 38 + compatible = "brcm,bcm11351-smc", "brcm,kona-smc"; 39 39 reg = <0x3404c000 0x400>; /* 1 KiB in SRAM */ 40 40 }; 41 41 42 42 uart@3e000000 { 43 - compatible = "bcm,bcm11351-dw-apb-uart", "snps,dw-apb-uart"; 43 + compatible = "brcm,bcm11351-dw-apb-uart", "snps,dw-apb-uart"; 44 44 status = "disabled"; 45 45 reg = <0x3e000000 0x1000>; 46 46 clock-frequency = <13000000>; ··· 50 50 }; 51 51 52 52 L2: l2-cache { 53 - compatible = "bcm,bcm11351-a2-pl310-cache"; 53 + compatible = "brcm,bcm11351-a2-pl310-cache"; 54 54 reg = <0x3ff20000 0x1000>; 55 55 cache-unified; 56 56 cache-level = <2>; 57 57 }; 58 58 59 + watchdog@35002f40 { 60 + compatible = "brcm,bcm11351-wdt", "brcm,kona-wdt"; 61 + reg = <0x35002f40 0x6c>; 62 + }; 63 + 59 64 timer@35006000 { 60 - compatible = "bcm,kona-timer"; 65 + compatible = "brcm,kona-timer"; 61 66 reg = <0x35006000 0x1000>; 62 67 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; 63 68 clock-frequency = <32768>; 64 69 }; 65 70 66 - sdio0: sdio@0x3f180000 { 67 - compatible = "bcm,kona-sdhci"; 71 + sdio1: sdio@3f180000 { 72 + compatible = "brcm,kona-sdhci"; 68 73 reg = <0x3f180000 0x10000>; 69 74 interrupts = <0x0 77 0x4>; 70 75 status = "disabled"; 71 76 }; 72 77 73 - sdio1: sdio@0x3f190000 { 74 - compatible = "bcm,kona-sdhci"; 78 + sdio2: sdio@3f190000 { 79 + compatible = "brcm,kona-sdhci"; 75 80 reg = <0x3f190000 0x10000>; 76 81 interrupts = <0x0 76 0x4>; 77 82 status = "disabled"; 78 83 }; 79 84 80 - sdio2: sdio@0x3f1a0000 { 81 - compatible = "bcm,kona-sdhci"; 85 + sdio3: sdio@3f1a0000 { 86 + compatible = "brcm,kona-sdhci"; 82 87 reg = <0x3f1a0000 0x10000>; 83 88 interrupts = <0x0 74 0x4>; 84 89 status = "disabled"; 85 90 }; 86 91 87 - sdio3: sdio@0x3f1b0000 { 88 - compatible = "bcm,kona-sdhci"; 92 + sdio4: sdio@3f1b0000 { 93 + compatible = "brcm,kona-sdhci"; 89 94 reg = <0x3f1b0000 0x10000>; 90 95 interrupts = <0x0 73 0x4>; 91 96 status = "disabled";
+45
arch/arm/boot/dts/bcm28155-ap.dts
··· 1 + /* 2 + * Copyright (C) 2013 Broadcom Corporation 3 + * 4 + * This program is free software; you can redistribute it and/or 5 + * modify it under the terms of the GNU General Public License as 6 + * published by the Free Software Foundation version 2. 7 + * 8 + * This program is distributed "as is" WITHOUT ANY WARRANTY of any 9 + * kind, whether express or implied; without even the implied warranty 10 + * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 + * GNU General Public License for more details. 12 + */ 13 + 14 + /dts-v1/; 15 + 16 + #include "bcm11351.dtsi" 17 + 18 + / { 19 + model = "BCM28155 AP board"; 20 + compatible = "brcm,bcm28155-ap", "brcm,bcm11351"; 21 + 22 + memory { 23 + reg = <0x80000000 0x40000000>; /* 1 GB */ 24 + }; 25 + 26 + uart@3e000000 { 27 + status = "okay"; 28 + }; 29 + 30 + sdio1: sdio@3f180000 { 31 + max-frequency = <48000000>; 32 + status = "okay"; 33 + }; 34 + 35 + sdio2: sdio@3f190000 { 36 + non-removable; 37 + max-frequency = <48000000>; 38 + status = "okay"; 39 + }; 40 + 41 + sdio4: sdio@3f1b0000 { 42 + max-frequency = <48000000>; 43 + status = "okay"; 44 + }; 45 + };
-41
arch/arm/boot/dts/ccu8540.dts
··· 1 - /* 2 - * Copyright 2013 ST-Ericsson AB 3 - * 4 - * The code contained herein is licensed under the GNU General Public 5 - * License. You may obtain a copy of the GNU General Public License 6 - * Version 2 or later at the following locations: 7 - * 8 - * http://www.opensource.org/licenses/gpl-license.html 9 - * http://www.gnu.org/copyleft/gpl.html 10 - */ 11 - 12 - /dts-v1/; 13 - #include "dbx5x0.dtsi" 14 - 15 - / { 16 - model = "ST-Ericsson U8540 platform with Device Tree"; 17 - compatible = "st-ericsson,ccu8540", "st-ericsson,u8540"; 18 - 19 - memory@0 { 20 - reg = <0x20000000 0x1f000000>, <0xc0000000 0x3f000000>; 21 - }; 22 - 23 - soc { 24 - prcmu@80157000 { 25 - reg = <0x80157000 0x2000>, <0x801b0000 0x8000>, <0x801b8000 0x3000>; 26 - reg-names = "prcmu", "prcmu-tcpm", "prcmu-tcdm"; 27 - }; 28 - 29 - uart@80120000 { 30 - status = "okay"; 31 - }; 32 - 33 - uart@80121000 { 34 - status = "okay"; 35 - }; 36 - 37 - uart@80007000 { 38 - status = "okay"; 39 - }; 40 - }; 41 - };
-72
arch/arm/boot/dts/ccu9540.dts
··· 1 - /* 2 - * Copyright 2012 ST-Ericsson AB 3 - * 4 - * The code contained herein is licensed under the GNU General Public 5 - * License. You may obtain a copy of the GNU General Public License 6 - * Version 2 or later at the following locations: 7 - * 8 - * http://www.opensource.org/licenses/gpl-license.html 9 - * http://www.gnu.org/copyleft/gpl.html 10 - */ 11 - 12 - /dts-v1/; 13 - #include "dbx5x0.dtsi" 14 - 15 - / { 16 - model = "ST-Ericsson CCU9540 platform with Device Tree"; 17 - compatible = "st-ericsson,ccu9540", "st-ericsson,u9540"; 18 - 19 - memory { 20 - reg = <0x00000000 0x20000000>; 21 - }; 22 - 23 - soc { 24 - uart@80120000 { 25 - status = "okay"; 26 - }; 27 - 28 - uart@80121000 { 29 - status = "okay"; 30 - }; 31 - 32 - uart@80007000 { 33 - status = "okay"; 34 - }; 35 - 36 - // External Micro SD slot 37 - sdi0_per1@80126000 { 38 - arm,primecell-periphid = <0x10480180>; 39 - max-frequency = <100000000>; 40 - bus-width = <4>; 41 - mmc-cap-sd-highspeed; 42 - mmc-cap-mmc-highspeed; 43 - vmmc-supply = <&ab8500_ldo_aux3_reg>; 44 - 45 - cd-gpios = <&gpio7 6 0x4>; // 230 46 - cd-inverted; 47 - 48 - status = "okay"; 49 - }; 50 - 51 - 52 - // WLAN SDIO channel 53 - sdi1_per2@80118000 { 54 - arm,primecell-periphid = <0x10480180>; 55 - max-frequency = <100000000>; 56 - bus-width = <4>; 57 - 58 - status = "okay"; 59 - }; 60 - 61 - // On-board eMMC 62 - sdi4_per2@80114000 { 63 - arm,primecell-periphid = <0x10480180>; 64 - max-frequency = <100000000>; 65 - bus-width = <8>; 66 - mmc-cap-mmc-highspeed; 67 - vmmc-supply = <&ab8500_ldo_aux2_reg>; 68 - 69 - status = "okay"; 70 - }; 71 - }; 72 - };
+29 -1
arch/arm/boot/dts/dbx5x0.dtsi arch/arm/boot/dts/ste-dbx5x0.dtsi
··· 245 245 <22 IRQ_TYPE_LEVEL_HIGH>; 246 246 interrupt-names = "IRQ_HOTMON_LOW", "IRQ_HOTMON_HIGH"; 247 247 status = "disabled"; 248 - }; 248 + }; 249 249 250 250 db8500-prcmu-regulators { 251 251 compatible = "stericsson,db8500-prcmu-regulator"; ··· 457 457 stericsson,earpeice-cmv = <950>; /* Units in mV. */ 458 458 }; 459 459 460 + ext_regulators: ab8500-ext-regulators { 461 + compatible = "stericsson,ab8500-ext-regulator"; 462 + 463 + ab8500_ext1_reg: ab8500_ext1 { 464 + regulator-compatible = "ab8500_ext1"; 465 + regulator-min-microvolt = <1800000>; 466 + regulator-max-microvolt = <1800000>; 467 + regulator-boot-on; 468 + regulator-always-on; 469 + }; 470 + 471 + ab8500_ext2_reg: ab8500_ext2 { 472 + regulator-compatible = "ab8500_ext2"; 473 + regulator-min-microvolt = <1360000>; 474 + regulator-max-microvolt = <1360000>; 475 + regulator-boot-on; 476 + regulator-always-on; 477 + }; 478 + 479 + ab8500_ext3_reg: ab8500_ext3 { 480 + regulator-compatible = "ab8500_ext3"; 481 + regulator-min-microvolt = <3400000>; 482 + regulator-max-microvolt = <3400000>; 483 + regulator-boot-on; 484 + }; 485 + }; 486 + 460 487 ab8500-regulators { 461 488 compatible = "stericsson,ab8500-regulator"; 489 + vin-supply = <&ab8500_ext3_reg>; 462 490 463 491 // supplies to the display/camera 464 492 ab8500_ldo_aux1_reg: ab8500_ldo_aux1 {
+57
arch/arm/boot/dts/emev2-kzm9d-reference.dts
··· 1 + /* 2 + * Device Tree Source for the KZM9D board 3 + * 4 + * Copyright (C) 2013 Renesas Solutions Corp. 5 + * 6 + * This file is licensed under the terms of the GNU General Public License 7 + * version 2. This program is licensed "as is" without any warranty of any 8 + * kind, whether express or implied. 9 + */ 10 + /dts-v1/; 11 + 12 + /include/ "emev2.dtsi" 13 + 14 + / { 15 + model = "EMEV2 KZM9D Board"; 16 + compatible = "renesas,kzm9d-reference", "renesas,emev2"; 17 + 18 + memory { 19 + device_type = "memory"; 20 + reg = <0x40000000 0x8000000>; 21 + }; 22 + 23 + chosen { 24 + bootargs = "console=ttyS1,115200n81 ignore_loglevel root=/dev/nfs ip=dhcp nfsroot=,rsize=4096,wsize=4096"; 25 + }; 26 + 27 + reg_1p8v: regulator@0 { 28 + compatible = "regulator-fixed"; 29 + regulator-name = "fixed-1.8V"; 30 + regulator-min-microvolt = <1800000>; 31 + regulator-max-microvolt = <1800000>; 32 + regulator-always-on; 33 + regulator-boot-on; 34 + }; 35 + 36 + reg_3p3v: regulator@1 { 37 + compatible = "regulator-fixed"; 38 + regulator-name = "fixed-3.3V"; 39 + regulator-min-microvolt = <3300000>; 40 + regulator-max-microvolt = <3300000>; 41 + regulator-always-on; 42 + regulator-boot-on; 43 + }; 44 + 45 + lan9220@20000000 { 46 + compatible = "smsc,lan9220", "smsc,lan9115"; 47 + reg = <0x20000000 0x10000>; 48 + phy-mode = "mii"; 49 + interrupt-parent = <&gpio0>; 50 + interrupts = <1 1>; /* active high */ 51 + reg-io-width = <4>; 52 + smsc,irq-active-high; 53 + smsc,irq-push-pull; 54 + vddvario-supply = <&reg_1p8v>; 55 + vdd33a-supply = <&reg_3p3v>; 56 + }; 57 + };
+1 -1
arch/arm/boot/dts/emev2-kzm9d.dts
··· 21 21 }; 22 22 23 23 chosen { 24 - bootargs = "console=tty0 console=ttyS1,115200n81 earlyprintk=serial8250-em.1,115200n81 mem=128M@0x40000000 ignore_loglevel root=/dev/nfs ip=dhcp nfsroot=,rsize=4096,wsize=4096"; 24 + bootargs = "console=ttyS1,115200n81 ignore_loglevel root=/dev/nfs ip=dhcp nfsroot=,rsize=4096,wsize=4096"; 25 25 }; 26 26 };
+59
arch/arm/boot/dts/emev2.dtsi
··· 14 14 compatible = "renesas,emev2"; 15 15 interrupt-parent = <&gic>; 16 16 17 + aliases { 18 + gpio0 = &gpio0; 19 + gpio1 = &gpio1; 20 + gpio2 = &gpio2; 21 + gpio3 = &gpio3; 22 + gpio4 = &gpio4; 23 + }; 24 + 17 25 cpus { 18 26 #address-cells = <1>; 19 27 #size-cells = <0>; ··· 74 66 compatible = "renesas,em-uart"; 75 67 reg = <0xe1050000 0x38>; 76 68 interrupts = <0 11 0>; 69 + }; 70 + 71 + gpio0: gpio@e0050000 { 72 + compatible = "renesas,em-gio"; 73 + reg = <0xe0050000 0x2c>, <0xe0050040 0x20>; 74 + interrupts = <0 67 0>, <0 68 0>; 75 + gpio-controller; 76 + #gpio-cells = <2>; 77 + ngpios = <32>; 78 + interrupt-controller; 79 + #interrupt-cells = <2>; 80 + }; 81 + gpio1: gpio@e0050080 { 82 + compatible = "renesas,em-gio"; 83 + reg = <0xe0050080 0x2c>, <0xe00500c0 0x20>; 84 + interrupts = <0 69 0>, <0 70 0>; 85 + gpio-controller; 86 + #gpio-cells = <2>; 87 + ngpios = <32>; 88 + interrupt-controller; 89 + #interrupt-cells = <2>; 90 + }; 91 + gpio2: gpio@e0050100 { 92 + compatible = "renesas,em-gio"; 93 + reg = <0xe0050100 0x2c>, <0xe0050140 0x20>; 94 + interrupts = <0 71 0>, <0 72 0>; 95 + gpio-controller; 96 + #gpio-cells = <2>; 97 + ngpios = <32>; 98 + interrupt-controller; 99 + #interrupt-cells = <2>; 100 + }; 101 + gpio3: gpio@e0050180 { 102 + compatible = "renesas,em-gio"; 103 + reg = <0xe0050180 0x2c>, <0xe00501c0 0x20>; 104 + interrupts = <0 73 0>, <0 74 0>; 105 + gpio-controller; 106 + #gpio-cells = <2>; 107 + ngpios = <32>; 108 + interrupt-controller; 109 + #interrupt-cells = <2>; 110 + }; 111 + gpio4: gpio@e0050200 { 112 + compatible = "renesas,em-gio"; 113 + reg = <0xe0050200 0x2c>, <0xe0050240 0x20>; 114 + interrupts = <0 75 0>, <0 76 0>; 115 + gpio-controller; 116 + #gpio-cells = <2>; 117 + ngpios = <31>; 118 + interrupt-controller; 119 + #interrupt-cells = <2>; 77 120 }; 78 121 };
+114 -8
arch/arm/boot/dts/exynos4.dtsi
··· 36 36 i2c5 = &i2c_5; 37 37 i2c6 = &i2c_6; 38 38 i2c7 = &i2c_7; 39 + csis0 = &csis_0; 40 + csis1 = &csis_1; 41 + fimc0 = &fimc_0; 42 + fimc1 = &fimc_1; 43 + fimc2 = &fimc_2; 44 + fimc3 = &fimc_3; 39 45 }; 40 46 41 47 chipid@10000000 { ··· 96 90 sys_reg: sysreg { 97 91 compatible = "samsung,exynos4-sysreg", "syscon"; 98 92 reg = <0x10010000 0x400>; 93 + }; 94 + 95 + camera { 96 + compatible = "samsung,fimc", "simple-bus"; 97 + status = "disabled"; 98 + #address-cells = <1>; 99 + #size-cells = <1>; 100 + ranges; 101 + 102 + clock_cam: clock-controller { 103 + #clock-cells = <1>; 104 + }; 105 + 106 + fimc_0: fimc@11800000 { 107 + compatible = "samsung,exynos4210-fimc"; 108 + reg = <0x11800000 0x1000>; 109 + interrupts = <0 84 0>; 110 + clocks = <&clock 256>, <&clock 128>; 111 + clock-names = "fimc", "sclk_fimc"; 112 + samsung,power-domain = <&pd_cam>; 113 + samsung,sysreg = <&sys_reg>; 114 + status = "disabled"; 115 + }; 116 + 117 + fimc_1: fimc@11810000 { 118 + compatible = "samsung,exynos4210-fimc"; 119 + reg = <0x11810000 0x1000>; 120 + interrupts = <0 85 0>; 121 + clocks = <&clock 257>, <&clock 129>; 122 + clock-names = "fimc", "sclk_fimc"; 123 + samsung,power-domain = <&pd_cam>; 124 + samsung,sysreg = <&sys_reg>; 125 + status = "disabled"; 126 + }; 127 + 128 + fimc_2: fimc@11820000 { 129 + compatible = "samsung,exynos4210-fimc"; 130 + reg = <0x11820000 0x1000>; 131 + interrupts = <0 86 0>; 132 + clocks = <&clock 258>, <&clock 130>; 133 + clock-names = "fimc", "sclk_fimc"; 134 + samsung,power-domain = <&pd_cam>; 135 + samsung,sysreg = <&sys_reg>; 136 + status = "disabled"; 137 + }; 138 + 139 + fimc_3: fimc@11830000 { 140 + compatible = "samsung,exynos4210-fimc"; 141 + reg = <0x11830000 0x1000>; 142 + interrupts = <0 87 0>; 143 + clocks = <&clock 259>, <&clock 131>; 144 + clock-names = "fimc", "sclk_fimc"; 145 + samsung,power-domain = <&pd_cam>; 146 + samsung,sysreg = <&sys_reg>; 147 + status = "disabled"; 148 + }; 149 + 150 + csis_0: csis@11880000 { 151 + compatible = "samsung,exynos4210-csis"; 152 + reg = <0x11880000 0x4000>; 153 + interrupts = <0 78 0>; 154 + clocks = <&clock 260>, <&clock 134>; 155 + clock-names = "csis", "sclk_csis"; 156 + bus-width = <4>; 157 + samsung,power-domain = <&pd_cam>; 158 + status = "disabled"; 159 + #address-cells = <1>; 160 + #size-cells = <0>; 161 + }; 162 + 163 + csis_1: csis@11890000 { 164 + compatible = "samsung,exynos4210-csis"; 165 + reg = <0x11890000 0x4000>; 166 + interrupts = <0 80 0>; 167 + clocks = <&clock 261>, <&clock 135>; 168 + clock-names = "csis", "sclk_csis"; 169 + bus-width = <2>; 170 + samsung,power-domain = <&pd_cam>; 171 + status = "disabled"; 172 + #address-cells = <1>; 173 + #size-cells = <0>; 174 + }; 99 175 }; 100 176 101 177 watchdog@10060000 { ··· 243 155 status = "disabled"; 244 156 }; 245 157 158 + ehci@12580000 { 159 + compatible = "samsung,exynos4210-ehci"; 160 + reg = <0x12580000 0x100>; 161 + interrupts = <0 70 0>; 162 + clocks = <&clock 304>; 163 + clock-names = "usbhost"; 164 + status = "disabled"; 165 + }; 166 + 167 + ohci@12590000 { 168 + compatible = "samsung,exynos4210-ohci"; 169 + reg = <0x12590000 0x100>; 170 + interrupts = <0 70 0>; 171 + clocks = <&clock 304>; 172 + clock-names = "usbhost"; 173 + status = "disabled"; 174 + }; 175 + 246 176 mfc: codec@13400000 { 247 177 compatible = "samsung,mfc-v5"; 248 178 reg = <0x13400000 0x10000>; 249 179 interrupts = <0 94 0>; 250 180 samsung,power-domain = <&pd_mfc>; 251 - clocks = <&clock 170>, <&clock 273>; 252 - clock-names = "sclk_mfc", "mfc"; 181 + clocks = <&clock 273>; 182 + clock-names = "mfc"; 253 183 status = "disabled"; 254 184 }; 255 185 ··· 403 297 compatible = "samsung,exynos4210-spi"; 404 298 reg = <0x13920000 0x100>; 405 299 interrupts = <0 66 0>; 406 - tx-dma-channel = <&pdma0 7>; /* preliminary */ 407 - rx-dma-channel = <&pdma0 6>; /* preliminary */ 300 + dmas = <&pdma0 7>, <&pdma0 6>; 301 + dma-names = "tx", "rx"; 408 302 #address-cells = <1>; 409 303 #size-cells = <0>; 410 304 clocks = <&clock 327>, <&clock 159>; ··· 418 312 compatible = "samsung,exynos4210-spi"; 419 313 reg = <0x13930000 0x100>; 420 314 interrupts = <0 67 0>; 421 - tx-dma-channel = <&pdma1 7>; /* preliminary */ 422 - rx-dma-channel = <&pdma1 6>; /* preliminary */ 315 + dmas = <&pdma1 7>, <&pdma1 6>; 316 + dma-names = "tx", "rx"; 423 317 #address-cells = <1>; 424 318 #size-cells = <0>; 425 319 clocks = <&clock 328>, <&clock 160>; ··· 433 327 compatible = "samsung,exynos4210-spi"; 434 328 reg = <0x13940000 0x100>; 435 329 interrupts = <0 68 0>; 436 - tx-dma-channel = <&pdma0 9>; /* preliminary */ 437 - rx-dma-channel = <&pdma0 8>; /* preliminary */ 330 + dmas = <&pdma0 9>, <&pdma0 8>; 331 + dma-names = "tx", "rx"; 438 332 #address-cells = <1>; 439 333 #size-cells = <0>; 440 334 clocks = <&clock 329>, <&clock 161>;
+23
arch/arm/boot/dts/exynos4210-pinctrl.dtsi
··· 797 797 samsung,pin-pud = <0>; 798 798 samsung,pin-drv = <0>; 799 799 }; 800 + 801 + cam_port_a_io: cam-port-a-io { 802 + samsung,pins = "gpj0-0", "gpj0-1", "gpj0-2", "gpj0-3", 803 + "gpj0-4", "gpj0-5", "gpj0-6", "gpj0-7", 804 + "gpj1-0", "gpj1-1", "gpj1-2", "gpj1-4"; 805 + samsung,pin-function = <2>; 806 + samsung,pin-pud = <0>; 807 + samsung,pin-drv = <0>; 808 + }; 809 + 810 + cam_port_a_clk_active: cam-port-a-clk-active { 811 + samsung,pins = "gpj1-3"; 812 + samsung,pin-function = <2>; 813 + samsung,pin-pud = <0>; 814 + samsung,pin-drv = <3>; 815 + }; 816 + 817 + cam_port_a_clk_idle: cam-port-a-clk-idle { 818 + samsung,pins = "gpj1-3"; 819 + samsung,pin-function = <0>; 820 + samsung,pin-pud = <1>; 821 + samsung,pin-drv = <0>; 822 + }; 800 823 }; 801 824 802 825 pinctrl@03860000 {
+84 -16
arch/arm/boot/dts/exynos4210-trats.dts
··· 30 30 bootargs = "console=ttySAC2,115200N8 root=/dev/mmcblk0p5 rootwait earlyprintk panic=5"; 31 31 }; 32 32 33 - vemmc_reg: voltage-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 0>; 39 - enable-active-high; 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 0>; 42 + enable-active-high; 43 + }; 44 + 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 0>; 51 + enable-active-high; 52 + }; 53 + 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 0>; 60 + enable-active-high; 61 + }; 62 + 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 0>; 69 + enable-active-high; 70 + }; 71 + 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 0>; 78 + enable-active-high; 79 + }; 80 + 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 0>; 87 + enable-active-high; 88 + }; 40 89 }; 41 90 42 91 sdhci_emmc: sdhci@12510000 { ··· 144 95 label = "ok"; 145 96 debounce-interval = <10>; 146 97 }; 147 - }; 148 - 149 - tsp_reg: voltage-regulator { 150 - compatible = "regulator-fixed"; 151 - regulator-name = "TSP_FIXED_VOLTAGES"; 152 - regulator-min-microvolt = <2800000>; 153 - regulator-max-microvolt = <2800000>; 154 - gpio = <&gpl0 3 0>; 155 - enable-active-high; 156 98 }; 157 99 158 100 i2c@13890000 { ··· 258 218 regulator-always-on; 259 219 }; 260 220 221 + vtcam_reg: LDO12 { 222 + regulator-name = "VT_CAM_1.8V"; 223 + regulator-min-microvolt = <1800000>; 224 + regulator-max-microvolt = <1800000>; 225 + }; 226 + 261 227 vcclcd_reg: LDO13 { 262 228 regulator-name = "VCC_3.3V_LCD"; 263 229 regulator-min-microvolt = <3300000>; ··· 345 299 xusbxti { 346 300 compatible = "samsung,clock-xusbxti"; 347 301 clock-frequency = <24000000>; 302 + }; 303 + }; 304 + 305 + camera { 306 + pinctrl-names = "default"; 307 + pinctrl-0 = <>; 308 + status = "okay"; 309 + 310 + fimc_0: fimc@11800000 { 311 + status = "okay"; 312 + }; 313 + 314 + fimc_1: fimc@11810000 { 315 + status = "okay"; 316 + }; 317 + 318 + fimc_2: fimc@11820000 { 319 + status = "okay"; 320 + }; 321 + 322 + fimc_3: fimc@11830000 { 323 + status = "okay"; 348 324 }; 349 325 }; 350 326 };
+30
arch/arm/boot/dts/exynos4210.dtsi
··· 125 125 clock-names = "sclk_fimg2d", "fimg2d"; 126 126 status = "disabled"; 127 127 }; 128 + 129 + camera { 130 + clocks = <&clock 132>, <&clock 133>, <&clock 351>, <&clock 352>; 131 + clock-names = "sclk_cam0", "sclk_cam1", "pxl_async0", "pxl_async1"; 132 + 133 + fimc_0: fimc@11800000 { 134 + samsung,pix-limits = <4224 8192 1920 4224>; 135 + samsung,mainscaler-ext; 136 + samsung,cam-if; 137 + }; 138 + 139 + fimc_1: fimc@11810000 { 140 + samsung,pix-limits = <4224 8192 1920 4224>; 141 + samsung,mainscaler-ext; 142 + samsung,cam-if; 143 + }; 144 + 145 + fimc_2: fimc@11820000 { 146 + samsung,pix-limits = <4224 8192 1920 4224>; 147 + samsung,mainscaler-ext; 148 + samsung,lcd-wb; 149 + }; 150 + 151 + fimc_3: fimc@11830000 { 152 + samsung,pix-limits = <1920 8192 1366 1920>; 153 + samsung,rotators = <0>; 154 + samsung,mainscaler-ext; 155 + samsung,lcd-wb; 156 + }; 157 + }; 128 158 };
+5
arch/arm/boot/dts/exynos4412-origen.dts
··· 27 27 bootargs ="console=ttySAC2,115200"; 28 28 }; 29 29 30 + firmware@0203F000 { 31 + compatible = "samsung,secure-firmware"; 32 + reg = <0x0203F000 0x1000>; 33 + }; 34 + 30 35 mmc_reg: voltage-regulator { 31 36 compatible = "regulator-fixed"; 32 37 regulator-name = "VMEM_VDD_2.8V";
+579
arch/arm/boot/dts/exynos4412-trats2.dts
··· 1 + /* 2 + * Samsung's Exynos4412 based Trats 2 board device tree source 3 + * 4 + * Copyright (c) 2013 Samsung Electronics Co., Ltd. 5 + * http://www.samsung.com 6 + * 7 + * Device tree source file for Samsung's Trats 2 board which is based on 8 + * Samsung's Exynos4412 SoC. 9 + * 10 + * This program is free software; you can redistribute it and/or modify 11 + * it under the terms of the GNU General Public License version 2 as 12 + * published by the Free Software Foundation. 13 + */ 14 + 15 + /dts-v1/; 16 + #include "exynos4412.dtsi" 17 + 18 + / { 19 + model = "Samsung Trats 2 based on Exynos4412"; 20 + compatible = "samsung,trats2", "samsung,exynos4412"; 21 + 22 + aliases { 23 + i2c8 = &i2c_ak8975; 24 + }; 25 + 26 + memory { 27 + reg = <0x40000000 0x40000000>; 28 + }; 29 + 30 + chosen { 31 + bootargs = "console=ttySAC2,115200N8 root=/dev/mmcblk0p5 rootwait earlyprintk panic=5"; 32 + }; 33 + 34 + firmware@0204F000 { 35 + compatible = "samsung,secure-firmware"; 36 + reg = <0x0204F000 0x1000>; 37 + }; 38 + 39 + fixed-rate-clocks { 40 + xxti { 41 + compatible = "samsung,clock-xxti", "fixed-clock"; 42 + clock-frequency = <0>; 43 + }; 44 + 45 + xusbxti { 46 + compatible = "samsung,clock-xusbxti", "fixed-clock"; 47 + clock-frequency = <24000000>; 48 + }; 49 + }; 50 + 51 + regulators { 52 + compatible = "simple-bus"; 53 + #address-cells = <1>; 54 + #size-cells = <0>; 55 + 56 + vemmc_reg: regulator-0 { 57 + compatible = "regulator-fixed"; 58 + regulator-name = "VMEM_VDD_2.8V"; 59 + regulator-min-microvolt = <2800000>; 60 + regulator-max-microvolt = <2800000>; 61 + gpio = <&gpk0 2 0>; 62 + enable-active-high; 63 + }; 64 + 65 + cam_io_reg: voltage-regulator-1 { 66 + compatible = "regulator-fixed"; 67 + regulator-name = "CAM_SENSOR_A"; 68 + regulator-min-microvolt = <2800000>; 69 + regulator-max-microvolt = <2800000>; 70 + gpio = <&gpm0 2 0>; 71 + enable-active-high; 72 + }; 73 + 74 + /* More to come */ 75 + }; 76 + 77 + gpio-keys { 78 + compatible = "gpio-keys"; 79 + 80 + key-down { 81 + interrupt-parent = <&gpj1>; 82 + interrupts = <2 0>; 83 + gpios = <&gpj1 2 1>; 84 + linux,code = <114>; 85 + label = "volume down"; 86 + debounce-interval = <10>; 87 + }; 88 + 89 + key-up { 90 + interrupt-parent = <&gpj1>; 91 + interrupts = <1 0>; 92 + gpios = <&gpj1 1 1>; 93 + linux,code = <115>; 94 + label = "volume up"; 95 + debounce-interval = <10>; 96 + }; 97 + 98 + key-power { 99 + interrupt-parent = <&gpx2>; 100 + interrupts = <7 0>; 101 + gpios = <&gpx2 7 1>; 102 + linux,code = <116>; 103 + label = "power"; 104 + debounce-interval = <10>; 105 + gpio-key,wakeup; 106 + }; 107 + }; 108 + 109 + i2c@13890000 { 110 + samsung,i2c-sda-delay = <100>; 111 + samsung,i2c-slave-addr = <0x10>; 112 + samsung,i2c-max-bus-freq = <400000>; 113 + pinctrl-0 = <&i2c3_bus>; 114 + pinctrl-names = "default"; 115 + status = "okay"; 116 + 117 + mms114-touchscreen@48 { 118 + compatible = "melfas,mms114"; 119 + reg = <0x48>; 120 + interrupt-parent = <&gpm2>; 121 + interrupts = <3 2>; 122 + x-size = <720>; 123 + y-size = <1280>; 124 + avdd-supply = <&ldo23_reg>; 125 + vdd-supply = <&ldo24_reg>; 126 + }; 127 + }; 128 + 129 + i2c@138D0000 { 130 + samsung,i2c-sda-delay = <100>; 131 + samsung,i2c-slave-addr = <0x10>; 132 + samsung,i2c-max-bus-freq = <100000>; 133 + pinctrl-0 = <&i2c7_bus>; 134 + pinctrl-names = "default"; 135 + status = "okay"; 136 + 137 + max77686_pmic@09 { 138 + compatible = "maxim,max77686"; 139 + interrupt-parent = <&gpx0>; 140 + interrupts = <7 0>; 141 + reg = <0x09>; 142 + 143 + voltage-regulators { 144 + ldo1_reg: ldo1 { 145 + regulator-compatible = "LDO1"; 146 + regulator-name = "VALIVE_1.0V_AP"; 147 + regulator-min-microvolt = <1000000>; 148 + regulator-max-microvolt = <1000000>; 149 + regulator-always-on; 150 + regulator-mem-on; 151 + }; 152 + 153 + ldo2_reg: ldo2 { 154 + regulator-compatible = "LDO2"; 155 + regulator-name = "VM1M2_1.2V_AP"; 156 + regulator-min-microvolt = <1200000>; 157 + regulator-max-microvolt = <1200000>; 158 + regulator-always-on; 159 + regulator-mem-on; 160 + }; 161 + 162 + ldo3_reg: ldo3 { 163 + regulator-compatible = "LDO3"; 164 + regulator-name = "VCC_1.8V_AP"; 165 + regulator-min-microvolt = <1800000>; 166 + regulator-max-microvolt = <1800000>; 167 + regulator-always-on; 168 + regulator-mem-on; 169 + }; 170 + 171 + ldo4_reg: ldo4 { 172 + regulator-compatible = "LDO4"; 173 + regulator-name = "VCC_2.8V_AP"; 174 + regulator-min-microvolt = <2800000>; 175 + regulator-max-microvolt = <2800000>; 176 + regulator-always-on; 177 + regulator-mem-on; 178 + }; 179 + 180 + ldo5_reg: ldo5 { 181 + regulator-compatible = "LDO5"; 182 + regulator-name = "VCC_1.8V_IO"; 183 + regulator-min-microvolt = <1800000>; 184 + regulator-max-microvolt = <1800000>; 185 + regulator-always-on; 186 + regulator-mem-on; 187 + }; 188 + 189 + ldo6_reg: ldo6 { 190 + regulator-compatible = "LDO6"; 191 + regulator-name = "VMPLL_1.0V_AP"; 192 + regulator-min-microvolt = <1000000>; 193 + regulator-max-microvolt = <1000000>; 194 + regulator-always-on; 195 + regulator-mem-on; 196 + }; 197 + 198 + ldo7_reg: ldo7 { 199 + regulator-compatible = "LDO7"; 200 + regulator-name = "VPLL_1.0V_AP"; 201 + regulator-min-microvolt = <1000000>; 202 + regulator-max-microvolt = <1000000>; 203 + regulator-always-on; 204 + regulator-mem-on; 205 + }; 206 + 207 + ldo8_reg: ldo8 { 208 + regulator-compatible = "LDO8"; 209 + regulator-name = "VMIPI_1.0V"; 210 + regulator-min-microvolt = <1000000>; 211 + regulator-max-microvolt = <1000000>; 212 + regulator-mem-off; 213 + }; 214 + 215 + ldo9_reg: ldo9 { 216 + regulator-compatible = "LDO9"; 217 + regulator-name = "CAM_ISP_MIPI_1.2V"; 218 + regulator-min-microvolt = <1200000>; 219 + regulator-max-microvolt = <1200000>; 220 + regulator-mem-idle; 221 + }; 222 + 223 + ldo10_reg: ldo10 { 224 + regulator-compatible = "LDO10"; 225 + regulator-name = "VMIPI_1.8V"; 226 + regulator-min-microvolt = <1800000>; 227 + regulator-max-microvolt = <1800000>; 228 + regulator-mem-off; 229 + }; 230 + 231 + ldo11_reg: ldo11 { 232 + regulator-compatible = "LDO11"; 233 + regulator-name = "VABB1_1.95V"; 234 + regulator-min-microvolt = <1950000>; 235 + regulator-max-microvolt = <1950000>; 236 + regulator-always-on; 237 + regulator-mem-off; 238 + }; 239 + 240 + ldo12_reg: ldo12 { 241 + regulator-compatible = "LDO12"; 242 + regulator-name = "VUOTG_3.0V"; 243 + regulator-min-microvolt = <3000000>; 244 + regulator-max-microvolt = <3000000>; 245 + regulator-mem-off; 246 + }; 247 + 248 + ldo13_reg: ldo13 { 249 + regulator-compatible = "LDO13"; 250 + regulator-name = "NFC_AVDD_1.8V"; 251 + regulator-min-microvolt = <1800000>; 252 + regulator-max-microvolt = <1800000>; 253 + regulator-mem-idle; 254 + }; 255 + 256 + ldo14_reg: ldo14 { 257 + regulator-compatible = "LDO14"; 258 + regulator-name = "VABB2_1.95V"; 259 + regulator-min-microvolt = <1950000>; 260 + regulator-max-microvolt = <1950000>; 261 + regulator-always-on; 262 + regulator-mem-off; 263 + }; 264 + 265 + ldo15_reg: ldo15 { 266 + regulator-compatible = "LDO15"; 267 + regulator-name = "VHSIC_1.0V"; 268 + regulator-min-microvolt = <1000000>; 269 + regulator-max-microvolt = <1000000>; 270 + regulator-mem-off; 271 + }; 272 + 273 + ldo16_reg: ldo16 { 274 + regulator-compatible = "LDO16"; 275 + regulator-name = "VHSIC_1.8V"; 276 + regulator-min-microvolt = <1800000>; 277 + regulator-max-microvolt = <1800000>; 278 + regulator-mem-off; 279 + }; 280 + 281 + ldo17_reg: ldo17 { 282 + regulator-compatible = "LDO17"; 283 + regulator-name = "CAM_SENSOR_CORE_1.2V"; 284 + regulator-min-microvolt = <1200000>; 285 + regulator-max-microvolt = <1200000>; 286 + regulator-mem-idle; 287 + }; 288 + 289 + ldo18_reg: ldo18 { 290 + regulator-compatible = "LDO18"; 291 + regulator-name = "CAM_ISP_SEN_IO_1.8V"; 292 + regulator-min-microvolt = <1800000>; 293 + regulator-max-microvolt = <1800000>; 294 + regulator-mem-idle; 295 + }; 296 + 297 + ldo19_reg: ldo19 { 298 + regulator-compatible = "LDO19"; 299 + regulator-name = "VT_CAM_1.8V"; 300 + regulator-min-microvolt = <1800000>; 301 + regulator-max-microvolt = <1800000>; 302 + regulator-mem-idle; 303 + }; 304 + 305 + ldo20_reg: ldo20 { 306 + regulator-compatible = "LDO20"; 307 + regulator-name = "VDDQ_PRE_1.8V"; 308 + regulator-min-microvolt = <1800000>; 309 + regulator-max-microvolt = <1800000>; 310 + regulator-mem-idle; 311 + }; 312 + 313 + ldo21_reg: ldo21 { 314 + regulator-compatible = "LDO21"; 315 + regulator-name = "VTF_2.8V"; 316 + regulator-min-microvolt = <2800000>; 317 + regulator-max-microvolt = <2800000>; 318 + regulator-mem-idle; 319 + }; 320 + 321 + ldo22_reg: ldo22 { 322 + regulator-compatible = "LDO22"; 323 + regulator-name = "VMEM_VDD_2.8V"; 324 + regulator-min-microvolt = <2800000>; 325 + regulator-max-microvolt = <2800000>; 326 + regulator-always-on; 327 + regulator-mem-off; 328 + }; 329 + 330 + ldo23_reg: ldo23 { 331 + regulator-compatible = "LDO23"; 332 + regulator-name = "TSP_AVDD_3.3V"; 333 + regulator-min-microvolt = <3300000>; 334 + regulator-max-microvolt = <3300000>; 335 + regulator-mem-idle; 336 + }; 337 + 338 + ldo24_reg: ldo24 { 339 + regulator-compatible = "LDO24"; 340 + regulator-name = "TSP_VDD_1.8V"; 341 + regulator-min-microvolt = <1800000>; 342 + regulator-max-microvolt = <1800000>; 343 + regulator-mem-idle; 344 + }; 345 + 346 + ldo25_reg: ldo25 { 347 + regulator-compatible = "LDO25"; 348 + regulator-name = "LCD_VCC_3.3V"; 349 + regulator-min-microvolt = <2800000>; 350 + regulator-max-microvolt = <2800000>; 351 + regulator-mem-idle; 352 + }; 353 + 354 + ldo26_reg: ldo26 { 355 + regulator-compatible = "LDO26"; 356 + regulator-name = "MOTOR_VCC_3.0V"; 357 + regulator-min-microvolt = <3000000>; 358 + regulator-max-microvolt = <3000000>; 359 + regulator-mem-idle; 360 + }; 361 + 362 + buck1_reg: buck1 { 363 + regulator-compatible = "BUCK1"; 364 + regulator-name = "vdd_mif"; 365 + regulator-min-microvolt = <850000>; 366 + regulator-max-microvolt = <1100000>; 367 + regulator-always-on; 368 + regulator-boot-on; 369 + regulator-mem-off; 370 + }; 371 + 372 + buck2_reg: buck2 { 373 + regulator-compatible = "BUCK2"; 374 + regulator-name = "vdd_arm"; 375 + regulator-min-microvolt = <850000>; 376 + regulator-max-microvolt = <1500000>; 377 + regulator-always-on; 378 + regulator-boot-on; 379 + regulator-mem-off; 380 + }; 381 + 382 + buck3_reg: buck3 { 383 + regulator-compatible = "BUCK3"; 384 + regulator-name = "vdd_int"; 385 + regulator-min-microvolt = <850000>; 386 + regulator-max-microvolt = <1150000>; 387 + regulator-always-on; 388 + regulator-boot-on; 389 + regulator-mem-off; 390 + }; 391 + 392 + buck4_reg: buck4 { 393 + regulator-compatible = "BUCK4"; 394 + regulator-name = "vdd_g3d"; 395 + regulator-min-microvolt = <850000>; 396 + regulator-max-microvolt = <1150000>; 397 + regulator-boot-on; 398 + regulator-mem-off; 399 + }; 400 + 401 + buck5_reg: buck5 { 402 + regulator-compatible = "BUCK5"; 403 + regulator-name = "VMEM_1.2V_AP"; 404 + regulator-min-microvolt = <1200000>; 405 + regulator-max-microvolt = <1200000>; 406 + regulator-always-on; 407 + }; 408 + 409 + buck6_reg: buck6 { 410 + regulator-compatible = "BUCK6"; 411 + regulator-name = "VCC_SUB_1.35V"; 412 + regulator-min-microvolt = <1350000>; 413 + regulator-max-microvolt = <1350000>; 414 + regulator-always-on; 415 + }; 416 + 417 + buck7_reg: buck7 { 418 + regulator-compatible = "BUCK7"; 419 + regulator-name = "VCC_SUB_2.0V"; 420 + regulator-min-microvolt = <2000000>; 421 + regulator-max-microvolt = <2000000>; 422 + regulator-always-on; 423 + }; 424 + 425 + buck8_reg: buck8 { 426 + regulator-compatible = "BUCK8"; 427 + regulator-name = "VMEM_VDDF_3.0V"; 428 + regulator-min-microvolt = <2850000>; 429 + regulator-max-microvolt = <2850000>; 430 + regulator-always-on; 431 + regulator-mem-off; 432 + }; 433 + 434 + buck9_reg: buck9 { 435 + regulator-compatible = "BUCK9"; 436 + regulator-name = "CAM_ISP_CORE_1.2V"; 437 + regulator-min-microvolt = <1000000>; 438 + regulator-max-microvolt = <1200000>; 439 + regulator-mem-off; 440 + }; 441 + }; 442 + }; 443 + }; 444 + 445 + sdhci@12510000 { 446 + bus-width = <8>; 447 + non-removable; 448 + pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus8>; 449 + pinctrl-names = "default"; 450 + vmmc-supply = <&vemmc_reg>; 451 + status = "okay"; 452 + }; 453 + 454 + serial@13800000 { 455 + status = "okay"; 456 + }; 457 + 458 + serial@13810000 { 459 + status = "okay"; 460 + }; 461 + 462 + serial@13820000 { 463 + status = "okay"; 464 + }; 465 + 466 + serial@13830000 { 467 + status = "okay"; 468 + }; 469 + 470 + i2c_ak8975: i2c-gpio-0 { 471 + compatible = "i2c-gpio"; 472 + gpios = <&gpy2 4 0>, <&gpy2 5 0>; 473 + i2c-gpio,delay-us = <2>; 474 + #address-cells = <1>; 475 + #size-cells = <0>; 476 + status = "okay"; 477 + 478 + ak8975@0c { 479 + compatible = "ak,ak8975"; 480 + reg = <0x0c>; 481 + gpios = <&gpj0 7 0>; 482 + }; 483 + }; 484 + 485 + spi_1: spi@13930000 { 486 + pinctrl-names = "default"; 487 + pinctrl-0 = <&spi1_bus>; 488 + status = "okay"; 489 + 490 + s5c73m3_spi: s5c73m3 { 491 + compatible = "samsung,s5c73m3"; 492 + spi-max-frequency = <50000000>; 493 + reg = <0>; 494 + controller-data { 495 + cs-gpio = <&gpb 5 0>; 496 + samsung,spi-feedback-delay = <2>; 497 + }; 498 + }; 499 + }; 500 + 501 + camera { 502 + pinctrl-0 = <&cam_port_b_clk_active>; 503 + pinctrl-names = "default"; 504 + status = "okay"; 505 + 506 + fimc_0: fimc@11800000 { 507 + status = "okay"; 508 + }; 509 + 510 + fimc_1: fimc@11810000 { 511 + status = "okay"; 512 + }; 513 + 514 + fimc_2: fimc@11820000 { 515 + status = "okay"; 516 + }; 517 + 518 + fimc_3: fimc@11830000 { 519 + status = "okay"; 520 + }; 521 + 522 + csis_1: csis@11890000 { 523 + vddcore-supply = <&ldo8_reg>; 524 + vddio-supply = <&ldo10_reg>; 525 + clock-frequency = <160000000>; 526 + status = "okay"; 527 + 528 + /* Camera D (4) MIPI CSI-2 (CSIS1) */ 529 + port@4 { 530 + reg = <4>; 531 + csis1_ep: endpoint { 532 + remote-endpoint = <&is_s5k6a3_ep>; 533 + data-lanes = <1>; 534 + samsung,csis-hs-settle = <18>; 535 + samsung,csis-wclk; 536 + }; 537 + }; 538 + }; 539 + 540 + fimc_lite_0: fimc-lite@12390000 { 541 + status = "okay"; 542 + }; 543 + 544 + fimc_lite_1: fimc-lite@123A0000 { 545 + status = "okay"; 546 + }; 547 + 548 + fimc-is@12000000 { 549 + pinctrl-0 = <&fimc_is_uart>; 550 + pinctrl-names = "default"; 551 + status = "okay"; 552 + 553 + i2c1_isp: i2c-isp@12140000 { 554 + pinctrl-0 = <&fimc_is_i2c1>; 555 + pinctrl-names = "default"; 556 + 557 + s5k6a3@10 { 558 + compatible = "samsung,s5k6a3"; 559 + reg = <0x10>; 560 + svdda-supply = <&cam_io_reg>; 561 + svddio-supply = <&ldo19_reg>; 562 + clock-frequency = <24000000>; 563 + /* CAM_B_CLKOUT */ 564 + clocks = <&clock_cam 1>; 565 + clock-names = "mclk"; 566 + samsung,camclk-out = <1>; 567 + gpios = <&gpm1 6 0>; 568 + 569 + port { 570 + is_s5k6a3_ep: endpoint { 571 + remote-endpoint = <&csis1_ep>; 572 + data-lanes = <1>; 573 + }; 574 + }; 575 + }; 576 + }; 577 + }; 578 + }; 579 + };
+54 -7
arch/arm/boot/dts/exynos4x12-pinctrl.dtsi
··· 401 401 samsung,pin-drv = <0>; 402 402 }; 403 403 404 - cam_port_a: cam-port-a { 404 + cam_port_a_io: cam-port-a-io { 405 405 samsung,pins = "gpj0-0", "gpj0-1", "gpj0-2", "gpj0-3", 406 406 "gpj0-4", "gpj0-5", "gpj0-6", "gpj0-7", 407 - "gpj1-0", "gpj1-1", "gpj1-2", "gpj1-3", 408 - "gpj1-4"; 407 + "gpj1-0", "gpj1-1", "gpj1-2", "gpj1-4"; 409 408 samsung,pin-function = <2>; 410 - samsung,pin-pud = <3>; 409 + samsung,pin-pud = <0>; 410 + samsung,pin-drv = <0>; 411 + }; 412 + 413 + cam_port_a_clk_active: cam-port-a-clk-active { 414 + samsung,pins = "gpj1-3"; 415 + samsung,pin-function = <2>; 416 + samsung,pin-pud = <0>; 417 + samsung,pin-drv = <3>; 418 + }; 419 + 420 + cam_port_a_clk_idle: cam-port-a-clk-idle { 421 + samsung,pins = "gpj1-3"; 422 + samsung,pin-function = <0>; 423 + samsung,pin-pud = <1>; 411 424 samsung,pin-drv = <0>; 412 425 }; 413 426 }; ··· 791 778 samsung,pin-drv = <3>; 792 779 }; 793 780 794 - cam_port_b: cam-port-b { 781 + cam_port_b_io: cam-port-b-io { 795 782 samsung,pins = "gpm0-0", "gpm0-1", "gpm0-2", "gpm0-3", 796 783 "gpm0-4", "gpm0-5", "gpm0-6", "gpm0-7", 797 - "gpm1-0", "gpm1-1", "gpm2-0", "gpm2-1", 798 - "gpm2-2"; 784 + "gpm1-0", "gpm1-1", "gpm2-0", "gpm2-1"; 799 785 samsung,pin-function = <3>; 800 786 samsung,pin-pud = <3>; 787 + samsung,pin-drv = <0>; 788 + }; 789 + 790 + cam_port_b_clk_active: cam-port-b-clk-active { 791 + samsung,pins = "gpm2-2"; 792 + samsung,pin-function = <3>; 793 + samsung,pin-pud = <0>; 794 + samsung,pin-drv = <3>; 795 + }; 796 + 797 + cam_port_b_clk_idle: cam-port-b-clk-idle { 798 + samsung,pins = "gpm2-2"; 799 + samsung,pin-function = <0>; 800 + samsung,pin-pud = <1>; 801 801 samsung,pin-drv = <0>; 802 802 }; 803 803 ··· 845 819 eint31: ext-int31 { 846 820 samsung,pins = "gpx3-7"; 847 821 samsung,pin-function = <0xf>; 822 + samsung,pin-pud = <0>; 823 + samsung,pin-drv = <0>; 824 + }; 825 + 826 + fimc_is_i2c0: fimc-is-i2c0 { 827 + samsung,pins = "gpm4-0", "gpm4-1"; 828 + samsung,pin-function = <2>; 829 + samsung,pin-pud = <0>; 830 + samsung,pin-drv = <0>; 831 + }; 832 + 833 + fimc_is_i2c1: fimc-is-i2c1 { 834 + samsung,pins = "gpm4-2", "gpm4-3"; 835 + samsung,pin-function = <2>; 836 + samsung,pin-pud = <0>; 837 + samsung,pin-drv = <0>; 838 + }; 839 + 840 + fimc_is_uart: fimc-is-uart { 841 + samsung,pins = "gpm3-5", "gpm3-7"; 842 + samsung,pin-function = <3>; 848 843 samsung,pin-pud = <0>; 849 844 samsung,pin-drv = <0>; 850 845 };
+103
arch/arm/boot/dts/exynos4x12.dtsi
··· 26 26 pinctrl1 = &pinctrl_1; 27 27 pinctrl2 = &pinctrl_2; 28 28 pinctrl3 = &pinctrl_3; 29 + fimc-lite0 = &fimc_lite_0; 30 + fimc-lite1 = &fimc_lite_1; 31 + }; 32 + 33 + pd_isp: isp-power-domain@10023CA0 { 34 + compatible = "samsung,exynos4210-pd"; 35 + reg = <0x10023CA0 0x20>; 29 36 }; 30 37 31 38 clock: clock-controller@10030000 { ··· 79 72 clocks = <&clock 177>, <&clock 277>; 80 73 clock-names = "sclk_fimg2d", "fimg2d"; 81 74 status = "disabled"; 75 + }; 76 + 77 + camera { 78 + clocks = <&clock 132>, <&clock 133>, <&clock 351>, <&clock 352>; 79 + clock-names = "sclk_cam0", "sclk_cam1", "pxl_async0", "pxl_async1"; 80 + 81 + fimc_0: fimc@11800000 { 82 + compatible = "samsung,exynos4212-fimc"; 83 + samsung,pix-limits = <4224 8192 1920 4224>; 84 + samsung,mainscaler-ext; 85 + samsung,isp-wb; 86 + samsung,cam-if; 87 + }; 88 + 89 + fimc_1: fimc@11810000 { 90 + compatible = "samsung,exynos4212-fimc"; 91 + samsung,pix-limits = <4224 8192 1920 4224>; 92 + samsung,mainscaler-ext; 93 + samsung,isp-wb; 94 + samsung,cam-if; 95 + }; 96 + 97 + fimc_2: fimc@11820000 { 98 + compatible = "samsung,exynos4212-fimc"; 99 + samsung,pix-limits = <4224 8192 1920 4224>; 100 + samsung,mainscaler-ext; 101 + samsung,isp-wb; 102 + samsung,lcd-wb; 103 + samsung,cam-if; 104 + }; 105 + 106 + fimc_3: fimc@11830000 { 107 + compatible = "samsung,exynos4212-fimc"; 108 + samsung,pix-limits = <1920 8192 1366 1920>; 109 + samsung,rotators = <0>; 110 + samsung,mainscaler-ext; 111 + samsung,isp-wb; 112 + samsung,lcd-wb; 113 + }; 114 + 115 + fimc_lite_0: fimc-lite@12390000 { 116 + compatible = "samsung,exynos4212-fimc-lite"; 117 + reg = <0x12390000 0x1000>; 118 + interrupts = <0 105 0>; 119 + samsung,power-domain = <&pd_isp>; 120 + clocks = <&clock 353>; 121 + clock-names = "flite"; 122 + status = "disabled"; 123 + }; 124 + 125 + fimc_lite_1: fimc-lite@123A0000 { 126 + compatible = "samsung,exynos4212-fimc-lite"; 127 + reg = <0x123A0000 0x1000>; 128 + interrupts = <0 106 0>; 129 + samsung,power-domain = <&pd_isp>; 130 + clocks = <&clock 354>; 131 + clock-names = "flite"; 132 + status = "disabled"; 133 + }; 134 + 135 + fimc_is: fimc-is@12000000 { 136 + compatible = "samsung,exynos4212-fimc-is", "simple-bus"; 137 + reg = <0x12000000 0x260000>; 138 + interrupts = <0 90 0>, <0 95 0>; 139 + samsung,power-domain = <&pd_isp>; 140 + clocks = <&clock 353>, <&clock 354>, <&clock 355>, 141 + <&clock 356>, <&clock 17>, <&clock 357>, 142 + <&clock 358>, <&clock 359>, <&clock 360>, 143 + <&clock 450>,<&clock 451>, <&clock 452>, 144 + <&clock 453>, <&clock 176>, <&clock 13>, 145 + <&clock 454>, <&clock 395>, <&clock 455>; 146 + clock-names = "lite0", "lite1", "ppmuispx", 147 + "ppmuispmx", "mpll", "isp", 148 + "drc", "fd", "mcuisp", 149 + "ispdiv0", "ispdiv1", "mcuispdiv0", 150 + "mcuispdiv1", "uart", "aclk200", 151 + "div_aclk200", "aclk400mcuisp", 152 + "div_aclk400mcuisp"; 153 + #address-cells = <1>; 154 + #size-cells = <1>; 155 + ranges; 156 + status = "disabled"; 157 + 158 + pmu { 159 + reg = <0x10020000 0x3000>; 160 + }; 161 + 162 + i2c1_isp: i2c-isp@12140000 { 163 + compatible = "samsung,exynos4212-i2c-isp"; 164 + reg = <0x12140000 0x100>; 165 + clocks = <&clock 370>; 166 + clock-names = "i2c_isp"; 167 + #address-cells = <1>; 168 + #size-cells = <0>; 169 + }; 170 + }; 82 171 }; 83 172 };
+19
arch/arm/boot/dts/exynos5.dtsi
··· 108 108 interrupts = <0 42 0>; 109 109 status = "disabled"; 110 110 }; 111 + 112 + fimd@14400000 { 113 + compatible = "samsung,exynos5250-fimd"; 114 + interrupt-parent = <&combiner>; 115 + reg = <0x14400000 0x40000>; 116 + interrupt-names = "fifo", "vsync", "lcd_sys"; 117 + interrupts = <18 4>, <18 5>, <18 6>; 118 + status = "disabled"; 119 + }; 120 + 121 + dp-controller@145B0000 { 122 + compatible = "samsung,exynos5-dp"; 123 + reg = <0x145B0000 0x1000>; 124 + interrupts = <10 3>; 125 + interrupt-parent = <&combiner>; 126 + #address-cells = <1>; 127 + #size-cells = <0>; 128 + status = "disabled"; 129 + }; 111 130 };
+92 -13
arch/arm/boot/dts/exynos5250-arndale.dts
··· 11 11 12 12 /dts-v1/; 13 13 #include "exynos5250.dtsi" 14 + #include <dt-bindings/interrupt-controller/irq.h> 14 15 15 16 / { 16 17 model = "Insignal Arndale evaluation board based on EXYNOS5250"; ··· 38 37 s5m8767_pmic@66 { 39 38 compatible = "samsung,s5m8767-pmic"; 40 39 reg = <0x66>; 40 + interrupt-parent = <&gpx3>; 41 + interrupts = <2 IRQ_TYPE_LEVEL_LOW>; 42 + 43 + vinb1-supply = <&main_dc_reg>; 44 + vinb2-supply = <&main_dc_reg>; 45 + vinb3-supply = <&main_dc_reg>; 46 + vinb4-supply = <&main_dc_reg>; 47 + vinb5-supply = <&main_dc_reg>; 48 + vinb6-supply = <&main_dc_reg>; 49 + vinb7-supply = <&main_dc_reg>; 50 + vinb8-supply = <&main_dc_reg>; 51 + vinb9-supply = <&main_dc_reg>; 52 + 53 + vinl1-supply = <&buck7_reg>; 54 + vinl2-supply = <&buck7_reg>; 55 + vinl3-supply = <&buck7_reg>; 56 + vinl4-supply = <&main_dc_reg>; 57 + vinl5-supply = <&main_dc_reg>; 58 + vinl6-supply = <&main_dc_reg>; 59 + vinl7-supply = <&main_dc_reg>; 60 + vinl8-supply = <&buck8_reg>; 61 + vinl9-supply = <&buck8_reg>; 41 62 42 63 s5m8767,pmic-buck2-dvs-voltage = <1300000>; 43 64 s5m8767,pmic-buck3-dvs-voltage = <1100000>; ··· 299 276 op_mode = <1>; 300 277 }; 301 278 279 + buck7_reg: BUCK7 { 280 + regulator-name = "PVDD_BUCK7"; 281 + regulator-always-on; 282 + }; 283 + 284 + buck8_reg: BUCK8 { 285 + regulator-name = "PVDD_BUCK8"; 286 + regulator-always-on; 287 + }; 288 + 302 289 buck9_reg: BUCK9 { 303 290 regulator-name = "VDD_33_OFF_EXT1"; 304 291 regulator-min-microvolt = <750000>; ··· 328 295 }; 329 296 330 297 i2c@12C90000 { 331 - status = "disabled"; 298 + wm1811a@1a { 299 + compatible = "wlf,wm1811"; 300 + reg = <0x1a>; 301 + 302 + AVDD2-supply = <&main_dc_reg>; 303 + CPVDD-supply = <&main_dc_reg>; 304 + DBVDD1-supply = <&main_dc_reg>; 305 + DBVDD2-supply = <&main_dc_reg>; 306 + DBVDD3-supply = <&main_dc_reg>; 307 + LDO1VDD-supply = <&main_dc_reg>; 308 + SPKVDD1-supply = <&main_dc_reg>; 309 + SPKVDD2-supply = <&main_dc_reg>; 310 + 311 + wlf,ldo1ena = <&gpb0 0 0>; 312 + wlf,ldo2ena = <&gpb0 1 0>; 313 + }; 332 314 }; 333 315 334 316 i2c@12CA0000 { ··· 477 429 vdd-supply = <&ldo8_reg>; 478 430 }; 479 431 480 - mmc_reg: voltage-regulator { 481 - compatible = "regulator-fixed"; 482 - regulator-name = "VDD_33ON_2.8V"; 483 - regulator-min-microvolt = <2800000>; 484 - regulator-max-microvolt = <2800000>; 485 - gpio = <&gpx1 1 1>; 486 - enable-active-high; 487 - }; 432 + regulators { 433 + compatible = "simple-bus"; 434 + #address-cells = <1>; 435 + #size-cells = <0>; 488 436 489 - reg_hdmi_en: fixedregulator@0 { 490 - compatible = "regulator-fixed"; 491 - regulator-name = "hdmi-en"; 437 + main_dc_reg: fixedregulator@1 { 438 + compatible = "regulator-fixed"; 439 + regulator-name = "MAIN_DC"; 440 + }; 441 + 442 + mmc_reg: voltage-regulator { 443 + compatible = "regulator-fixed"; 444 + regulator-name = "VDD_33ON_2.8V"; 445 + regulator-min-microvolt = <2800000>; 446 + regulator-max-microvolt = <2800000>; 447 + gpio = <&gpx1 1 1>; 448 + enable-active-high; 449 + }; 450 + 451 + reg_hdmi_en: fixedregulator@0 { 452 + compatible = "regulator-fixed"; 453 + regulator-name = "hdmi-en"; 454 + }; 492 455 }; 493 456 494 457 fixed-rate-clocks { ··· 509 450 }; 510 451 }; 511 452 512 - dp-controller { 453 + dp-controller@145B0000 { 513 454 samsung,color-space = <0>; 514 455 samsung,dynamic-range = <0>; 515 456 samsung,ycbcr-coeff = <0>; 516 457 samsung,color-depth = <1>; 517 458 samsung,link-rate = <0x0a>; 518 459 samsung,lane-count = <4>; 460 + status = "okay"; 519 461 }; 520 462 521 463 fimd: fimd@14400000 { 464 + status = "okay"; 522 465 display-timings { 523 466 native-mode = <&timing0>; 524 467 timing0: timing@0 { ··· 540 479 541 480 rtc { 542 481 status = "okay"; 482 + }; 483 + 484 + usb_hub_bus { 485 + compatible = "simple-bus"; 486 + #address-cells = <1>; 487 + #size-cells = <0>; 488 + 489 + // SMSC USB3503 connected in hardware only mode as a PHY 490 + usb_hub: usb_hub { 491 + compatible = "smsc,usb3503a"; 492 + 493 + reset-gpios = <&gpx3 5 1>; 494 + connect-gpios = <&gpd1 7 1>; 495 + }; 496 + }; 497 + 498 + usb@12110000 { 499 + usb-phy = <&usb2_phy>; 543 500 }; 544 501 };
+18 -14
arch/arm/boot/dts/exynos5250-smdk5250.dts
··· 250 250 samsung,vbus-gpio = <&gpx2 6 0>; 251 251 }; 252 252 253 - dp-controller { 253 + dp-controller@145B0000 { 254 254 samsung,color-space = <0>; 255 255 samsung,dynamic-range = <0>; 256 256 samsung,ycbcr-coeff = <0>; ··· 260 260 261 261 pinctrl-names = "default"; 262 262 pinctrl-0 = <&dp_hpd>; 263 + status = "okay"; 263 264 }; 264 265 265 - display-timings { 266 - native-mode = <&timing0>; 267 - timing0: timing@0 { 268 - /* 1280x800 */ 269 - clock-frequency = <50000>; 270 - hactive = <1280>; 271 - vactive = <800>; 272 - hfront-porch = <4>; 273 - hback-porch = <4>; 274 - hsync-len = <4>; 275 - vback-porch = <4>; 276 - vfront-porch = <4>; 277 - vsync-len = <4>; 266 + fimd@14400000 { 267 + status = "okay"; 268 + display-timings { 269 + native-mode = <&timing0>; 270 + timing0: timing@0 { 271 + /* 1280x800 */ 272 + clock-frequency = <50000>; 273 + hactive = <1280>; 274 + vactive = <800>; 275 + hfront-porch = <4>; 276 + hback-porch = <4>; 277 + hsync-len = <4>; 278 + vback-porch = <4>; 279 + vfront-porch = <4>; 280 + vsync-len = <4>; 281 + }; 278 282 }; 279 283 }; 280 284
+22 -20
arch/arm/boot/dts/exynos5250.dtsi
··· 163 163 clock-names = "watchdog"; 164 164 }; 165 165 166 + g2d@10850000 { 167 + compatible = "samsung,exynos5250-g2d"; 168 + reg = <0x10850000 0x1000>; 169 + interrupts = <0 91 0>; 170 + clocks = <&clock 345>; 171 + clock-names = "fimg2d"; 172 + }; 173 + 166 174 codec@11000000 { 167 175 compatible = "samsung,mfc-v6"; 168 176 reg = <0x11000000 0x10000>; 169 177 interrupts = <0 96 0>; 170 178 samsung,power-domain = <&pd_mfc>; 179 + clocks = <&clock 266>; 180 + clock-names = "mfc"; 171 181 }; 172 182 173 183 rtc { ··· 621 611 interrupts = <0 94 0>; 622 612 }; 623 613 624 - dp-controller { 625 - compatible = "samsung,exynos5-dp"; 626 - reg = <0x145b0000 0x1000>; 627 - interrupts = <10 3>; 628 - interrupt-parent = <&combiner>; 629 - clocks = <&clock 342>; 630 - clock-names = "dp"; 631 - #address-cells = <1>; 632 - #size-cells = <0>; 633 - 634 - dptx-phy { 635 - reg = <0x10040720>; 636 - samsung,enable-mask = <1>; 637 - }; 614 + dp_phy: video-phy@10040720 { 615 + compatible = "samsung,exynos5250-dp-video-phy"; 616 + reg = <0x10040720 4>; 617 + #phy-cells = <0>; 638 618 }; 639 619 640 - fimd { 641 - compatible = "samsung,exynos5250-fimd"; 642 - interrupt-parent = <&combiner>; 643 - reg = <0x14400000 0x40000>; 644 - interrupt-names = "fifo", "vsync", "lcd_sys"; 645 - interrupts = <18 4>, <18 5>, <18 6>; 620 + dp-controller@145B0000 { 621 + clocks = <&clock 342>; 622 + clock-names = "dp"; 623 + phys = <&dp_phy>; 624 + phy-names = "dp"; 625 + }; 626 + 627 + fimd@14400000 { 646 628 clocks = <&clock 133>, <&clock 339>; 647 629 clock-names = "sclk_fimd", "fimd"; 648 630 };
+7
arch/arm/boot/dts/exynos5420-pinctrl.dtsi
··· 59 59 interrupt-controller; 60 60 #interrupt-cells = <2>; 61 61 }; 62 + 63 + dp_hpd: dp_hpd { 64 + samsung,pins = "gpx0-7"; 65 + samsung,pin-function = <3>; 66 + samsung,pin-pud = <0>; 67 + samaung,pin-drv = <0>; 68 + }; 62 69 }; 63 70 64 71 pinctrl@13410000 {
+31
arch/arm/boot/dts/exynos5420-smdk5420.dts
··· 30 30 clock-frequency = <24000000>; 31 31 }; 32 32 }; 33 + 34 + dp-controller@145B0000 { 35 + pinctrl-names = "default"; 36 + pinctrl-0 = <&dp_hpd>; 37 + samsung,color-space = <0>; 38 + samsung,dynamic-range = <0>; 39 + samsung,ycbcr-coeff = <0>; 40 + samsung,color-depth = <1>; 41 + samsung,link-rate = <0x0a>; 42 + samsung,lane-count = <4>; 43 + status = "okay"; 44 + }; 45 + 46 + fimd@14400000 { 47 + status = "okay"; 48 + display-timings { 49 + native-mode = <&timing0>; 50 + timing0: timing@0 { 51 + clock-frequency = <50000>; 52 + hactive = <2560>; 53 + vactive = <1600>; 54 + hfront-porch = <48>; 55 + hback-porch = <80>; 56 + hsync-len = <32>; 57 + vback-porch = <16>; 58 + vfront-porch = <8>; 59 + vsync-len = <6>; 60 + }; 61 + }; 62 + }; 63 + 33 64 };
+74 -1
arch/arm/boot/dts/exynos5420.dtsi
··· 14 14 */ 15 15 16 16 #include "exynos5.dtsi" 17 - /include/ "exynos5420-pinctrl.dtsi" 17 + #include "exynos5420-pinctrl.dtsi" 18 + 19 + #include <dt-bindings/clk/exynos-audss-clk.h> 20 + 18 21 / { 19 22 compatible = "samsung,exynos5420"; 20 23 ··· 68 65 #clock-cells = <1>; 69 66 }; 70 67 68 + clock_audss: audss-clock-controller@3810000 { 69 + compatible = "samsung,exynos5420-audss-clock"; 70 + reg = <0x03810000 0x0C>; 71 + #clock-cells = <1>; 72 + clocks = <&clock 148>; 73 + clock-names = "sclk_audio"; 74 + }; 75 + 76 + codec@11000000 { 77 + compatible = "samsung,mfc-v7"; 78 + reg = <0x11000000 0x10000>; 79 + interrupts = <0 96 0>; 80 + clocks = <&clock 401>; 81 + clock-names = "mfc"; 82 + }; 83 + 71 84 mct@101C0000 { 72 85 compatible = "samsung,exynos4210-mct"; 73 86 reg = <0x101C0000 0x800>; ··· 107 88 <6 &gic 0 122 0>, 108 89 <7 &gic 0 123 0>; 109 90 }; 91 + }; 92 + 93 + gsc_pd: power-domain@10044000 { 94 + compatible = "samsung,exynos4210-pd"; 95 + reg = <0x10044000 0x20>; 96 + }; 97 + 98 + isp_pd: power-domain@10044020 { 99 + compatible = "samsung,exynos4210-pd"; 100 + reg = <0x10044020 0x20>; 101 + }; 102 + 103 + mfc_pd: power-domain@10044060 { 104 + compatible = "samsung,exynos4210-pd"; 105 + reg = <0x10044060 0x20>; 106 + }; 107 + 108 + disp_pd: power-domain@100440C0 { 109 + compatible = "samsung,exynos4210-pd"; 110 + reg = <0x100440C0 0x20>; 111 + }; 112 + 113 + mau_pd: power-domain@100440E0 { 114 + compatible = "samsung,exynos4210-pd"; 115 + reg = <0x100440E0 0x20>; 116 + }; 117 + 118 + g2d_pd: power-domain@10044100 { 119 + compatible = "samsung,exynos4210-pd"; 120 + reg = <0x10044100 0x20>; 121 + }; 122 + 123 + msc_pd: power-domain@10044120 { 124 + compatible = "samsung,exynos4210-pd"; 125 + reg = <0x10044120 0x20>; 110 126 }; 111 127 112 128 pinctrl_0: pinctrl@13400000 { ··· 198 144 serial@12C30000 { 199 145 clocks = <&clock 260>, <&clock 131>; 200 146 clock-names = "uart", "clk_uart_baud0"; 147 + }; 148 + 149 + dp_phy: video-phy@10040728 { 150 + compatible = "samsung,exynos5250-dp-video-phy"; 151 + reg = <0x10040728 4>; 152 + #phy-cells = <0>; 153 + }; 154 + 155 + dp-controller@145B0000 { 156 + clocks = <&clock 412>; 157 + clock-names = "dp"; 158 + phys = <&dp_phy>; 159 + phy-names = "dp"; 160 + }; 161 + 162 + fimd@14400000 { 163 + samsung,power-domain = <&disp_pd>; 164 + clocks = <&clock 147>, <&clock 421>; 165 + clock-names = "sclk_fimd", "fimd"; 201 166 }; 202 167 };
+27
arch/arm/boot/dts/exynos5440.dtsi
··· 18 18 19 19 aliases { 20 20 spi0 = &spi_0; 21 + tmuctrl0 = &tmuctrl_0; 22 + tmuctrl1 = &tmuctrl_1; 23 + tmuctrl2 = &tmuctrl_2; 21 24 }; 22 25 23 26 clock: clock-controller@160000 { ··· 208 205 interrupts = <0 17 0>, <0 16 0>; 209 206 clocks = <&clock 21>; 210 207 clock-names = "rtc"; 208 + }; 209 + 210 + tmuctrl_0: tmuctrl@160118 { 211 + compatible = "samsung,exynos5440-tmu"; 212 + reg = <0x160118 0x230>, <0x160368 0x10>; 213 + interrupts = <0 58 0>; 214 + clocks = <&clock 21>; 215 + clock-names = "tmu_apbif"; 216 + }; 217 + 218 + tmuctrl_1: tmuctrl@16011C { 219 + compatible = "samsung,exynos5440-tmu"; 220 + reg = <0x16011C 0x230>, <0x160368 0x10>; 221 + interrupts = <0 58 0>; 222 + clocks = <&clock 21>; 223 + clock-names = "tmu_apbif"; 224 + }; 225 + 226 + tmuctrl_2: tmuctrl@160120 { 227 + compatible = "samsung,exynos5440-tmu"; 228 + reg = <0x160120 0x230>, <0x160368 0x10>; 229 + interrupts = <0 58 0>; 230 + clocks = <&clock 21>; 231 + clock-names = "tmu_apbif"; 211 232 }; 212 233 213 234 sata@210000 {
+143 -97
arch/arm/boot/dts/href.dtsi arch/arm/boot/dts/ste-snowball.dts
··· 1 1 /* 2 - * Copyright 2012 ST-Ericsson AB 2 + * Copyright 2011 ST-Ericsson AB 3 3 * 4 4 * The code contained herein is licensed under the GNU General Public 5 5 * License. You may obtain a copy of the GNU General Public License ··· 9 9 * http://www.gnu.org/copyleft/gpl.html 10 10 */ 11 11 12 - #include <dt-bindings/interrupt-controller/irq.h> 13 - #include "dbx5x0.dtsi" 12 + /dts-v1/; 13 + #include "ste-dbx5x0.dtsi" 14 14 15 15 / { 16 + model = "Calao Systems Snowball platform with device tree"; 17 + compatible = "calaosystems,snowball-a9500", "st-ericsson,u9500"; 18 + 16 19 memory { 17 20 reg = <0x00000000 0x20000000>; 21 + }; 22 + 23 + en_3v3_reg: en_3v3 { 24 + compatible = "regulator-fixed"; 25 + regulator-name = "en-3v3-fixed-supply"; 26 + regulator-min-microvolt = <3300000>; 27 + regulator-max-microvolt = <3300000>; 28 + /* AB8500 GPIOs start from 1 - offset 25 is GPIO26. */ 29 + gpio = <&ab8500_gpio 25 0x4>; 30 + startup-delay-us = <5000>; 31 + enable-active-high; 18 32 }; 19 33 20 34 gpio_keys { ··· 37 23 #size-cells = <0>; 38 24 39 25 button@1 { 40 - linux,code = <11>; 41 - label = "SFH7741 Proximity Sensor"; 26 + debounce_interval = <50>; 27 + wakeup = <1>; 28 + linux,code = <2>; 29 + label = "userpb"; 30 + gpios = <&gpio1 0 0x4>; 31 + }; 32 + button@2 { 33 + debounce_interval = <50>; 34 + wakeup = <1>; 35 + linux,code = <3>; 36 + label = "extkb1"; 37 + gpios = <&gpio4 23 0x4>; 38 + }; 39 + button@3 { 40 + debounce_interval = <50>; 41 + wakeup = <1>; 42 + linux,code = <4>; 43 + label = "extkb2"; 44 + gpios = <&gpio4 24 0x4>; 45 + }; 46 + button@4 { 47 + debounce_interval = <50>; 48 + wakeup = <1>; 49 + linux,code = <5>; 50 + label = "extkb3"; 51 + gpios = <&gpio5 1 0x4>; 52 + }; 53 + button@5 { 54 + debounce_interval = <50>; 55 + wakeup = <1>; 56 + linux,code = <6>; 57 + label = "extkb4"; 58 + gpios = <&gpio5 2 0x4>; 59 + }; 60 + }; 61 + 62 + leds { 63 + compatible = "gpio-leds"; 64 + used-led { 65 + label = "user_led"; 66 + gpios = <&gpio4 14 0x4>; 67 + default-state = "on"; 68 + linux,default-trigger = "heartbeat"; 42 69 }; 43 70 }; 44 71 45 72 soc { 46 - uart@80120000 { 73 + 74 + sound { 75 + compatible = "stericsson,snd-soc-mop500"; 76 + 77 + stericsson,cpu-dai = <&msp1 &msp3>; 78 + stericsson,audio-codec = <&codec>; 79 + }; 80 + 81 + msp1: msp@80124000 { 47 82 status = "okay"; 48 83 }; 49 84 50 - uart@80121000 { 85 + msp3: msp@80125000 { 51 86 status = "okay"; 52 87 }; 53 88 54 - uart@80007000 { 89 + external-bus@50000000 { 55 90 status = "okay"; 56 - }; 57 91 58 - i2c@80004000 { 59 - tc3589x@42 { 60 - compatible = "tc3589x"; 61 - reg = <0x42>; 62 - interrupt-parent = <&gpio6>; 63 - interrupts = <25 IRQ_TYPE_EDGE_RISING>; 92 + ethernet@0 { 93 + compatible = "smsc,lan9115"; 94 + reg = <0 0x10000>; 95 + interrupts = <12 IRQ_TYPE_EDGE_RISING>; 96 + interrupt-parent = <&gpio4>; 97 + vdd33a-supply = <&en_3v3_reg>; 98 + vddvario-supply = <&db8500_vape_reg>; 64 99 65 - interrupt-controller; 66 - #interrupt-cells = <2>; 67 100 68 - tc3589x_gpio: tc3589x_gpio { 69 - compatible = "tc3589x-gpio"; 70 - interrupts = <0 IRQ_TYPE_EDGE_RISING>; 71 - 72 - interrupt-controller; 73 - #interrupt-cells = <2>; 74 - gpio-controller; 75 - #gpio-cells = <2>; 76 - }; 101 + reg-shift = <1>; 102 + reg-io-width = <2>; 103 + smsc,force-internal-phy; 104 + smsc,irq-active-high; 105 + smsc,irq-push-pull; 77 106 }; 78 107 }; 79 108 80 - i2c@80128000 { 81 - lp5521@33 { 82 - compatible = "national,lp5521"; 83 - reg = <0x33>; 84 - label = "lp5521_pri"; 85 - clock-mode = /bits/ 8 <2>; 86 - chan0 { 87 - led-cur = /bits/ 8 <0x2f>; 88 - max-cur = /bits/ 8 <0x5f>; 89 - }; 90 - chan1 { 91 - led-cur = /bits/ 8 <0x2f>; 92 - max-cur = /bits/ 8 <0x5f>; 93 - }; 94 - chan2 { 95 - led-cur = /bits/ 8 <0x2f>; 96 - max-cur = /bits/ 8 <0x5f>; 97 - }; 98 - }; 99 - lp5521@34 { 100 - compatible = "national,lp5521"; 101 - reg = <0x34>; 102 - label = "lp5521_sec"; 103 - clock-mode = /bits/ 8 <2>; 104 - chan0 { 105 - led-cur = /bits/ 8 <0x2f>; 106 - max-cur = /bits/ 8 <0x5f>; 107 - }; 108 - chan1 { 109 - led-cur = /bits/ 8 <0x2f>; 110 - max-cur = /bits/ 8 <0x5f>; 111 - }; 112 - chan2 { 113 - led-cur = /bits/ 8 <0x2f>; 114 - max-cur = /bits/ 8 <0x5f>; 115 - }; 116 - }; 117 - bh1780@29 { 118 - compatible = "rohm,bh1780gli"; 119 - reg = <0x33>; 120 - }; 109 + vmmci: regulator-gpio { 110 + gpios = <&gpio6 25 0x4>; 111 + enable-gpio = <&gpio7 4 0x4>; 112 + 113 + status = "okay"; 121 114 }; 122 115 123 116 // External Micro SD slot ··· 132 111 arm,primecell-periphid = <0x10480180>; 133 112 max-frequency = <100000000>; 134 113 bus-width = <4>; 135 - mmc-cap-sd-highspeed; 136 114 mmc-cap-mmc-highspeed; 137 115 vmmc-supply = <&ab8500_ldo_aux3_reg>; 138 116 vqmmc-supply = <&vmmci>; 139 117 140 - cd-gpios = <&tc3589x_gpio 3 0x4>; 141 - 142 - status = "okay"; 143 - }; 144 - 145 - // WLAN SDIO channel 146 - sdi1_per2@80118000 { 147 - arm,primecell-periphid = <0x10480180>; 148 - max-frequency = <100000000>; 149 - bus-width = <4>; 150 - 151 - status = "okay"; 152 - }; 153 - 154 - // PoP:ed eMMC 155 - sdi2_per3@80005000 { 156 - arm,primecell-periphid = <0x10480180>; 157 - max-frequency = <100000000>; 158 - bus-width = <8>; 159 - mmc-cap-mmc-highspeed; 118 + cd-gpios = <&gpio6 26 0x4>; // 218 119 + cd-inverted; 160 120 161 121 status = "okay"; 162 122 }; ··· 153 151 status = "okay"; 154 152 }; 155 153 156 - sound { 157 - compatible = "stericsson,snd-soc-mop500"; 158 - 159 - stericsson,cpu-dai = <&msp1 &msp3>; 160 - stericsson,audio-codec = <&codec>; 161 - }; 162 - 163 - msp1: msp@80124000 { 154 + uart@80120000 { 164 155 status = "okay"; 165 156 }; 166 157 167 - msp3: msp@80125000 { 158 + uart@80121000 { 159 + status = "okay"; 160 + }; 161 + 162 + uart@80007000 { 163 + status = "okay"; 164 + }; 165 + 166 + cpufreq-cooling { 168 167 status = "okay"; 169 168 }; 170 169 ··· 252 249 }; 253 250 }; 254 251 252 + thermal@801573c0 { 253 + num-trips = <4>; 254 + 255 + trip0-temp = <70000>; 256 + trip0-type = "active"; 257 + trip0-cdev-num = <1>; 258 + trip0-cdev-name0 = "thermal-cpufreq-0"; 259 + 260 + trip1-temp = <75000>; 261 + trip1-type = "active"; 262 + trip1-cdev-num = <1>; 263 + trip1-cdev-name0 = "thermal-cpufreq-0"; 264 + 265 + trip2-temp = <80000>; 266 + trip2-type = "active"; 267 + trip2-cdev-num = <1>; 268 + trip2-cdev-name0 = "thermal-cpufreq-0"; 269 + 270 + trip3-temp = <85000>; 271 + trip3-type = "critical"; 272 + trip3-cdev-num = <0>; 273 + 274 + status = "okay"; 275 + }; 276 + 255 277 ab8500 { 278 + ab8500-gpio { 279 + compatible = "stericsson,ab8500-gpio"; 280 + }; 281 + 282 + ext_regulators: ab8500-ext-regulators { 283 + ab8500_ext1_reg: ab8500_ext1 { 284 + regulator-name = "ab8500-ext-supply1"; 285 + }; 286 + 287 + ab8500_ext2_reg_reg: ab8500_ext2 { 288 + regulator-name = "ab8500-ext-supply2"; 289 + }; 290 + 291 + ab8500_ext3_reg_reg: ab8500_ext3 { 292 + regulator-name = "ab8500-ext-supply3"; 293 + }; 294 + }; 295 + 256 296 ab8500-regulators { 257 297 ab8500_ldo_aux1_reg: ab8500_ldo_aux1 { 258 298 regulator-name = "V-DISPLAY";
+3 -3
arch/arm/boot/dts/hrefprev60.dts arch/arm/boot/dts/ste-hrefprev60.dts
··· 10 10 */ 11 11 12 12 /dts-v1/; 13 - #include "dbx5x0.dtsi" 14 - #include "href.dtsi" 15 - #include "stuib.dtsi" 13 + #include "ste-dbx5x0.dtsi" 14 + #include "ste-href.dtsi" 15 + #include "ste-stuib.dtsi" 16 16 17 17 / { 18 18 model = "ST-Ericsson HREF (pre-v60) platform with Device Tree";
+101 -10
arch/arm/boot/dts/hrefv60plus.dts arch/arm/boot/dts/ste-href.dtsi
··· 9 9 * http://www.gnu.org/copyleft/gpl.html 10 10 */ 11 11 12 - /dts-v1/; 13 - #include "dbx5x0.dtsi" 14 - #include "href.dtsi" 15 - #include "stuib.dtsi" 12 + #include <dt-bindings/interrupt-controller/irq.h> 13 + #include "ste-dbx5x0.dtsi" 16 14 17 15 / { 18 - model = "ST-Ericsson HREF (v60+) platform with Device Tree"; 19 - compatible = "st-ericsson,hrefv60+", "st-ericsson,u8500"; 16 + memory { 17 + reg = <0x00000000 0x20000000>; 18 + }; 20 19 21 20 gpio_keys { 21 + compatible = "gpio-keys"; 22 + #address-cells = <1>; 23 + #size-cells = <0>; 24 + 22 25 button@1 { 23 - gpios = <&gpio6 25 0x4>; 26 + linux,code = <11>; 27 + label = "SFH7741 Proximity Sensor"; 24 28 }; 25 29 }; 26 30 27 31 soc { 28 - i2c@80110000 { 29 - bu21013_tp@0x5c { 30 - reset-gpio = <&gpio4 15 0x4>; 32 + uart@80120000 { 33 + status = "okay"; 34 + }; 35 + 36 + uart@80121000 { 37 + status = "okay"; 38 + }; 39 + 40 + uart@80007000 { 41 + status = "okay"; 42 + }; 43 + 44 + i2c@80004000 { 45 + tc3589x@42 { 46 + compatible = "tc3589x"; 47 + reg = <0x42>; 48 + interrupt-parent = <&gpio6>; 49 + interrupts = <25 IRQ_TYPE_EDGE_RISING>; 50 + 51 + interrupt-controller; 52 + #interrupt-cells = <2>; 53 + 54 + tc3589x_gpio: tc3589x_gpio { 55 + compatible = "tc3589x-gpio"; 56 + interrupts = <0 IRQ_TYPE_EDGE_RISING>; 57 + 58 + interrupt-controller; 59 + #interrupt-cells = <2>; 60 + gpio-controller; 61 + #gpio-cells = <2>; 62 + }; 63 + }; 64 + }; 65 + 66 + i2c@80128000 { 67 + lp5521@33 { 68 + compatible = "national,lp5521"; 69 + reg = <0x33>; 70 + label = "lp5521_pri"; 71 + clock-mode = /bits/ 8 <2>; 72 + chan0 { 73 + led-cur = /bits/ 8 <0x2f>; 74 + max-cur = /bits/ 8 <0x5f>; 75 + }; 76 + chan1 { 77 + led-cur = /bits/ 8 <0x2f>; 78 + max-cur = /bits/ 8 <0x5f>; 79 + }; 80 + chan2 { 81 + led-cur = /bits/ 8 <0x2f>; 82 + max-cur = /bits/ 8 <0x5f>; 83 + }; 84 + }; 85 + lp5521@34 { 86 + compatible = "national,lp5521"; 87 + reg = <0x34>; 88 + label = "lp5521_sec"; 89 + clock-mode = /bits/ 8 <2>; 90 + chan0 { 91 + led-cur = /bits/ 8 <0x2f>; 92 + max-cur = /bits/ 8 <0x5f>; 93 + }; 94 + chan1 { 95 + led-cur = /bits/ 8 <0x2f>; 96 + max-cur = /bits/ 8 <0x5f>; 97 + }; 98 + chan2 { 99 + led-cur = /bits/ 8 <0x2f>; 100 + max-cur = /bits/ 8 <0x5f>; 101 + }; 102 + }; 103 + bh1780@29 { 104 + compatible = "rohm,bh1780gli"; 105 + reg = <0x33>; 31 106 }; 32 107 }; 33 108 ··· 114 39 mmc-cap-sd-highspeed; 115 40 mmc-cap-mmc-highspeed; 116 41 vmmc-supply = <&ab8500_ldo_aux3_reg>; 42 + vqmmc-supply = <&vmmci>; 117 43 118 44 cd-gpios = <&tc3589x_gpio 3 0x4>; 119 45 ··· 148 72 mmc-cap-mmc-highspeed; 149 73 vmmc-supply = <&ab8500_ldo_aux2_reg>; 150 74 75 + status = "okay"; 76 + }; 77 + 78 + sound { 79 + compatible = "stericsson,snd-soc-mop500"; 80 + 81 + stericsson,cpu-dai = <&msp1 &msp3>; 82 + stericsson,audio-codec = <&codec>; 83 + }; 84 + 85 + msp1: msp@80124000 { 86 + status = "okay"; 87 + }; 88 + 89 + msp3: msp@80125000 { 151 90 status = "okay"; 152 91 }; 153 92
+15
arch/arm/boot/dts/imx23-evk.dts
··· 90 90 }; 91 91 92 92 apbx@80040000 { 93 + lradc@80050000 { 94 + status = "okay"; 95 + fsl,lradc-touchscreen-wires = <4>; 96 + }; 97 + 93 98 pwm: pwm@80064000 { 94 99 pinctrl-names = "default"; 95 100 pinctrl-0 = <&pwm2_pins_a>; ··· 112 107 pinctrl-0 = <&duart_pins_a>; 113 108 status = "okay"; 114 109 }; 110 + 111 + usbphy0: usbphy@8007c000 { 112 + status = "okay"; 113 + }; 114 + }; 115 + }; 116 + 117 + ahb@80080000 { 118 + usb0: usb@80080000 { 119 + status = "okay"; 115 120 }; 116 121 }; 117 122
+4
arch/arm/boot/dts/imx23-olinuxino.dts
··· 69 69 }; 70 70 71 71 apbx@80040000 { 72 + lradc@80050000 { 73 + status = "okay"; 74 + }; 75 + 72 76 duart: serial@80070000 { 73 77 pinctrl-names = "default"; 74 78 pinctrl-0 = <&duart_pins_a>;
+8 -9
arch/arm/boot/dts/imx23.dtsi
··· 20 20 gpio2 = &gpio2; 21 21 serial0 = &auart0; 22 22 serial1 = &auart1; 23 + spi0 = &ssp0; 24 + spi1 = &ssp1; 23 25 }; 24 26 25 27 cpus { ··· 78 76 #size-cells = <1>; 79 77 reg = <0x8000c000 0x2000>, <0x8000a000 0x2000>; 80 78 reg-names = "gpmi-nand", "bch"; 81 - interrupts = <13>, <56>; 82 - interrupt-names = "gpmi-dma", "bch"; 79 + interrupts = <56>; 80 + interrupt-names = "bch"; 83 81 clocks = <&clks 34>; 84 82 clock-names = "gpmi_io"; 85 83 dmas = <&dma_apbh 4>; 86 84 dma-names = "rx-tx"; 87 - fsl,gpmi-dma-channel = <4>; 88 85 status = "disabled"; 89 86 }; 90 87 91 88 ssp0: ssp@80010000 { 92 89 reg = <0x80010000 0x2000>; 93 - interrupts = <15 14>; 90 + interrupts = <15>; 94 91 clocks = <&clks 33>; 95 92 dmas = <&dma_apbh 1>; 96 93 dma-names = "rx-tx"; 97 - fsl,ssp-dma-channel = <1>; 98 94 status = "disabled"; 99 95 }; 100 96 ··· 366 366 367 367 ssp1: ssp@80034000 { 368 368 reg = <0x80034000 0x2000>; 369 - interrupts = <2 20>; 369 + interrupts = <2>; 370 370 clocks = <&clks 33>; 371 371 dmas = <&dma_apbh 2>; 372 372 dma-names = "rx-tx"; 373 - fsl,ssp-dma-channel = <2>; 374 373 status = "disabled"; 375 374 }; 376 375 ··· 471 472 auart0: serial@8006c000 { 472 473 compatible = "fsl,imx23-auart"; 473 474 reg = <0x8006c000 0x2000>; 474 - interrupts = <24 25 23>; 475 + interrupts = <24>; 475 476 clocks = <&clks 32>; 476 477 dmas = <&dma_apbx 6>, <&dma_apbx 7>; 477 478 dma-names = "rx", "tx"; ··· 481 482 auart1: serial@8006e000 { 482 483 compatible = "fsl,imx23-auart"; 483 484 reg = <0x8006e000 0x2000>; 484 - interrupts = <59 60 58>; 485 + interrupts = <59>; 485 486 clocks = <&clks 32>; 486 487 dmas = <&dma_apbx 8>, <&dma_apbx 9>; 487 488 dma-names = "rx", "tx";
+3 -4
arch/arm/boot/dts/imx28-cfa10036.dts
··· 23 23 apb@80000000 { 24 24 apbh@80000000 { 25 25 pinctrl@80018000 { 26 - pinctrl-names = "default"; 27 - pinctrl-0 = <&hog_pins_cfa10036>; 28 - 29 - hog_pins_cfa10036: hog-10036@0 { 26 + ssd1306_cfa10036: ssd1306-10036@0 { 30 27 reg = <0>; 31 28 fsl,pinmux-ids = < 32 29 0x2073 /* MX28_PAD_SSP0_D7__GPIO_2_7 */ ··· 80 83 81 84 ssd1306: oled@3c { 82 85 compatible = "solomon,ssd1306fb-i2c"; 86 + pinctrl-names = "default"; 87 + pinctrl-0 = <&ssd1306_cfa10036>; 83 88 reg = <0x3c>; 84 89 reset-gpios = <&gpio2 7 0>; 85 90 solomon,height = <32>;
+14 -5
arch/arm/boot/dts/imx28-cfa10037.dts
··· 22 22 apb@80000000 { 23 23 apbh@80000000 { 24 24 pinctrl@80018000 { 25 - pinctrl-names = "default", "default"; 26 - pinctrl-1 = <&hog_pins_cfa10037>; 27 - 28 - hog_pins_cfa10037: hog-10037@0 { 25 + usb_pins_cfa10037: usb-10037@0 { 29 26 reg = <0>; 30 27 fsl,pinmux-ids = < 31 28 0x0073 /* MX28_PAD_GPMI_D7__GPIO_0_7 */ 29 + >; 30 + fsl,drive-strength = <0>; 31 + fsl,voltage = <1>; 32 + fsl,pull-up = <0>; 33 + }; 34 + 35 + mac0_pins_cfa10037: mac0-10037@0 { 36 + reg = <0>; 37 + fsl,pinmux-ids = < 32 38 0x2153 /* MX28_PAD_SSP2_D5__GPIO_2_21 */ 33 39 >; 34 40 fsl,drive-strength = <0>; ··· 62 56 mac0: ethernet@800f0000 { 63 57 phy-mode = "rmii"; 64 58 pinctrl-names = "default"; 65 - pinctrl-0 = <&mac0_pins_a>; 59 + pinctrl-0 = <&mac0_pins_a 60 + &mac0_pins_cfa10037>; 66 61 phy-reset-gpios = <&gpio2 21 0>; 67 62 phy-reset-duration = <100>; 68 63 status = "okay"; ··· 75 68 76 69 reg_usb1_vbus: usb1_vbus { 77 70 compatible = "regulator-fixed"; 71 + pinctrl-names = "default"; 72 + pinctrl-0 = <&usb_pins_cfa10037>; 78 73 regulator-name = "usb1_vbus"; 79 74 regulator-min-microvolt = <5000000>; 80 75 regulator-max-microvolt = <5000000>;
+66 -13
arch/arm/boot/dts/imx28-cfa10049.dts
··· 22 22 apb@80000000 { 23 23 apbh@80000000 { 24 24 pinctrl@80018000 { 25 - pinctrl-names = "default", "default"; 26 - pinctrl-1 = <&hog_pins_cfa10049 27 - &hog_pins_cfa10049_pullup>; 28 - 29 - hog_pins_cfa10049: hog-10049@0 { 25 + usb_pins_cfa10049: usb-10049@0 { 30 26 reg = <0>; 31 27 fsl,pinmux-ids = < 32 28 0x0073 /* MX28_PAD_GPMI_D7__GPIO_0_7 */ 33 - 0x1163 /* MX28_PAD_LCD_D22__GPIO_1_22 */ 34 - 0x1173 /* MX28_PAD_LCD_D22__GPIO_1_23 */ 35 - 0x2153 /* MX28_PAD_SSP2_D5__GPIO_2_21 */ 36 - 0x3053 /* MX28_PAD_AUART1_TX__GPIO_3_5 */ 37 29 >; 38 30 fsl,drive-strength = <0>; 39 31 fsl,voltage = <1>; 40 32 fsl,pull-up = <0>; 41 33 }; 42 34 43 - hog_pins_cfa10049_pullup: hog-10049-pullup@0 { 35 + i2cmux_pins_cfa10049: i2cmux-10049@0 { 36 + reg = <0>; 37 + fsl,pinmux-ids = < 38 + 0x1163 /* MX28_PAD_LCD_D22__GPIO_1_22 */ 39 + 0x1173 /* MX28_PAD_LCD_D22__GPIO_1_23 */ 40 + >; 41 + fsl,drive-strength = <0>; 42 + fsl,voltage = <1>; 43 + fsl,pull-up = <0>; 44 + }; 45 + 46 + mac0_pins_cfa10049: mac0-10049@0 { 47 + reg = <0>; 48 + fsl,pinmux-ids = < 49 + 0x2153 /* MX28_PAD_SSP2_D5__GPIO_2_21 */ 50 + >; 51 + fsl,drive-strength = <0>; 52 + fsl,voltage = <1>; 53 + fsl,pull-up = <0>; 54 + }; 55 + 56 + pca_pins_cfa10049: pca-10049@0 { 44 57 reg = <0>; 45 58 fsl,pinmux-ids = < 46 59 0x2133 /* MX28_PAD_SSP2_D3__GPIO_2_19 */ 60 + >; 61 + fsl,drive-strength = <0>; 62 + fsl,voltage = <1>; 63 + fsl,pull-up = <1>; 64 + }; 65 + 66 + rotary_pins_cfa10049: rotary-10049@0 { 67 + reg = <0>; 68 + fsl,pinmux-ids = < 47 69 0x3183 /* MX28_PAD_I2C0_SCL__GPIO_3_24 */ 48 70 0x3193 /* MX28_PAD_I2C0_SDA__GPIO_3_25 */ 71 + >; 72 + fsl,drive-strength = <0>; 73 + fsl,voltage = <1>; 74 + fsl,pull-up = <1>; 75 + }; 76 + 77 + rotary_btn_pins_cfa10049: rotary-btn-10049@0 { 78 + reg = <0>; 79 + fsl,pinmux-ids = < 49 80 0x31a3 /* MX28_PAD_SAIF_SDATA0__GPIO_3_26 */ 50 - 0x31e3 /* MX28_PAD_LCD_RESET__GPIO_3_30 */ 51 81 >; 52 82 fsl,drive-strength = <0>; 53 83 fsl,voltage = <1>; ··· 90 60 0x2103 /* MX28_PAD_SSP2_SCK__GPIO_2_16 */ 91 61 0x2113 /* MX28_PAD_SSP2_CMD__GPIO_2_17 */ 92 62 0x2123 /* MX28_PAD_SSP2_D0__GPIO_2_18 */ 63 + 0x3053 /* MX28_PAD_AUART1_TX__GPIO_3_5 */ 93 64 >; 94 65 fsl,drive-strength = <1>; 95 66 fsl,voltage = <1>; ··· 151 120 fsl,pull-up = <0>; 152 121 }; 153 122 123 + lcdif_pins_cfa10049_pullup: lcdif-10049-pullup@0 { 124 + reg = <0>; 125 + fsl,pinmux-ids = < 126 + 0x31e3 /* MX28_PAD_LCD_RESET__GPIO_3_30 */ 127 + >; 128 + fsl,drive-strength = <0>; 129 + fsl,voltage = <1>; 130 + fsl,pull-up = <1>; 131 + }; 132 + 154 133 w1_gpio_pins: w1-gpio@0 { 155 134 reg = <0>; 156 135 fsl,pinmux-ids = < ··· 175 134 lcdif@80030000 { 176 135 pinctrl-names = "default"; 177 136 pinctrl-0 = <&lcdif_18bit_pins_cfa10049 178 - &lcdif_pins_cfa10049>; 137 + &lcdif_pins_cfa10049 138 + &lcdif_pins_cfa10049_pullup>; 179 139 display = <&display>; 180 140 status = "okay"; 181 141 ··· 223 181 compatible = "i2c-mux-gpio"; 224 182 #address-cells = <1>; 225 183 #size-cells = <0>; 184 + pinctrl-names = "default"; 185 + pinctrl-0 = <&i2cmux_pins_cfa10049>; 226 186 mux-gpios = <&gpio1 22 0 &gpio1 23 0>; 227 187 i2c-parent = <&i2c1>; 228 188 ··· 247 203 248 204 pca9555: pca9555@20 { 249 205 compatible = "nxp,pca9555"; 206 + pinctrl-names = "default"; 207 + pinctrl-0 = <&pca_pins_cfa10049>; 250 208 interrupt-parent = <&gpio2>; 251 209 interrupts = <19 0x2>; 252 210 gpio-controller; ··· 285 239 286 240 reg_usb1_vbus: usb1_vbus { 287 241 compatible = "regulator-fixed"; 242 + pinctrl-names = "default"; 243 + pinctrl-0 = <&usb_pins_cfa10049>; 288 244 regulator-name = "usb1_vbus"; 289 245 regulator-min-microvolt = <5000000>; 290 246 regulator-max-microvolt = <5000000>; ··· 298 250 mac0: ethernet@800f0000 { 299 251 phy-mode = "rmii"; 300 252 pinctrl-names = "default"; 301 - pinctrl-0 = <&mac0_pins_a>; 253 + pinctrl-0 = <&mac0_pins_a 254 + &mac0_pins_cfa10049>; 302 255 phy-reset-gpios = <&gpio2 21 0>; 303 256 phy-reset-duration = <100>; 304 257 status = "okay"; ··· 369 320 370 321 gpio_keys { 371 322 compatible = "gpio-keys"; 323 + pinctrl-names = "default"; 324 + pinctrl-0 = <&rotary_btn_pins_cfa10049>; 372 325 #address-cells = <1>; 373 326 #size-cells = <0>; 374 327 ··· 384 333 385 334 rotary { 386 335 compatible = "rotary-encoder"; 336 + pinctrl-names = "default"; 337 + pinctrl-0 = <&rotary_pins_cfa10049>; 387 338 gpios = <&gpio3 24 1>, <&gpio3 25 1>; 388 339 linux,axis = <1>; /* REL_Y */ 389 340 rotary-encoder,relative-axis;
+13 -25
arch/arm/boot/dts/imx28-cfa10055.dts
··· 23 23 apb@80000000 { 24 24 apbh@80000000 { 25 25 pinctrl@80018000 { 26 - pinctrl-names = "default", "default"; 27 - pinctrl-1 = <&hog_pins_cfa10055 28 - &hog_pins_cfa10055_pullup>; 29 - 30 - hog_pins_cfa10055: hog-10055@0 { 31 - reg = <0>; 32 - fsl,pinmux-ids = < 33 - 0x3053 /* MX28_PAD_AUART1_TX__GPIO_3_5 */ 34 - >; 35 - fsl,drive-strength = <0>; 36 - fsl,voltage = <1>; 37 - fsl,pull-up = <0>; 38 - }; 39 - 40 - hog_pins_cfa10055_pullup: hog-10055-pullup@0 { 41 - reg = <0>; 42 - fsl,pinmux-ids = < 43 - 0x31e3 /* MX28_PAD_LCD_RESET__GPIO_3_30 */ 44 - >; 45 - fsl,drive-strength = <0>; 46 - fsl,voltage = <1>; 47 - fsl,pull-up = <1>; 48 - }; 49 - 50 26 spi2_pins_cfa10055: spi2-cfa10055@0 { 51 27 reg = <0>; 52 28 fsl,pinmux-ids = < 53 29 0x2103 /* MX28_PAD_SSP2_SCK__GPIO_2_16 */ 54 30 0x2113 /* MX28_PAD_SSP2_CMD__GPIO_2_17 */ 55 31 0x2123 /* MX28_PAD_SSP2_D0__GPIO_2_18 */ 32 + 0x3053 /* MX28_PAD_AUART1_TX__GPIO_3_5 */ 56 33 >; 57 34 fsl,drive-strength = <1>; 58 35 fsl,voltage = <1>; ··· 75 98 fsl,voltage = <1>; 76 99 fsl,pull-up = <0>; 77 100 }; 101 + 102 + lcdif_pins_cfa10055_pullup: lcdif-10055-pullup@0 { 103 + reg = <0>; 104 + fsl,pinmux-ids = < 105 + 0x31e3 /* MX28_PAD_LCD_RESET__GPIO_3_30 */ 106 + >; 107 + fsl,drive-strength = <0>; 108 + fsl,voltage = <1>; 109 + fsl,pull-up = <1>; 110 + }; 78 111 }; 79 112 80 113 lcdif@80030000 { 81 114 pinctrl-names = "default"; 82 115 pinctrl-0 = <&lcdif_18bit_pins_cfa10055 83 - &lcdif_pins_cfa10055>; 116 + &lcdif_pins_cfa10055 117 + &lcdif_pins_cfa10055_pullup>; 84 118 display = <&display>; 85 119 status = "okay"; 86 120
+119
arch/arm/boot/dts/imx28-cfa10056.dts
··· 1 + /* 2 + * Copyright 2013 Free Electrons 3 + * 4 + * The code contained herein is licensed under the GNU General Public 5 + * License. You may obtain a copy of the GNU General Public License 6 + * Version 2 or later at the following locations: 7 + * 8 + * http://www.opensource.org/licenses/gpl-license.html 9 + * http://www.gnu.org/copyleft/gpl.html 10 + */ 11 + 12 + /* 13 + * The CFA-10055 is an expansion board for the CFA-10036 module and 14 + * CFA-10037, thus we need to include the CFA-10037 DTS. 15 + */ 16 + /include/ "imx28-cfa10037.dts" 17 + 18 + / { 19 + model = "Crystalfontz CFA-10056 Board"; 20 + compatible = "crystalfontz,cfa10056", "crystalfontz,cfa10037", "crystalfontz,cfa10036", "fsl,imx28"; 21 + 22 + apb@80000000 { 23 + apbh@80000000 { 24 + pinctrl@80018000 { 25 + spi2_pins_cfa10056: spi2-cfa10056@0 { 26 + reg = <0>; 27 + fsl,pinmux-ids = < 28 + 0x2103 /* MX28_PAD_SSP2_SCK__GPIO_2_16 */ 29 + 0x2113 /* MX28_PAD_SSP2_CMD__GPIO_2_17 */ 30 + 0x2123 /* MX28_PAD_SSP2_D0__GPIO_2_18 */ 31 + 0x3053 /* MX28_PAD_AUART1_TX__GPIO_3_5 */ 32 + >; 33 + fsl,drive-strength = <1>; 34 + fsl,voltage = <1>; 35 + fsl,pull-up = <1>; 36 + }; 37 + 38 + lcdif_pins_cfa10056: lcdif-10056@0 { 39 + reg = <0>; 40 + fsl,pinmux-ids = < 41 + 0x1181 /* MX28_PAD_LCD_RD_E__LCD_VSYNC */ 42 + 0x1191 /* MX28_PAD_LCD_WR_RWN__LCD_HSYNC */ 43 + 0x11a1 /* MX28_PAD_LCD_RS__LCD_DOTCLK */ 44 + 0x11b1 /* MX28_PAD_LCD_CS__LCD_ENABLE */ 45 + >; 46 + fsl,drive-strength = <0>; 47 + fsl,voltage = <1>; 48 + fsl,pull-up = <0>; 49 + }; 50 + 51 + lcdif_pins_cfa10056_pullup: lcdif-10056-pullup@0 { 52 + reg = <0>; 53 + fsl,pinmux-ids = < 54 + 0x31e3 /* MX28_PAD_LCD_RESET__GPIO_3_30 */ 55 + >; 56 + fsl,drive-strength = <0>; 57 + fsl,voltage = <1>; 58 + fsl,pull-up = <1>; 59 + }; 60 + }; 61 + 62 + lcdif@80030000 { 63 + pinctrl-names = "default"; 64 + pinctrl-0 = <&lcdif_24bit_pins_a 65 + &lcdif_pins_cfa10056 66 + &lcdif_pins_cfa10056_pullup >; 67 + display = <&display>; 68 + status = "okay"; 69 + 70 + display: display { 71 + bits-per-pixel = <32>; 72 + bus-width = <24>; 73 + 74 + display-timings { 75 + native-mode = <&timing0>; 76 + timing0: timing0 { 77 + clock-frequency = <32000000>; 78 + hactive = <480>; 79 + vactive = <800>; 80 + hback-porch = <2>; 81 + hfront-porch = <2>; 82 + vback-porch = <2>; 83 + vfront-porch = <2>; 84 + hsync-len = <5>; 85 + vsync-len = <5>; 86 + hsync-active = <0>; 87 + vsync-active = <0>; 88 + de-active = <1>; 89 + pixelclk-active = <1>; 90 + }; 91 + }; 92 + }; 93 + }; 94 + }; 95 + }; 96 + 97 + spi2 { 98 + compatible = "spi-gpio"; 99 + pinctrl-names = "default"; 100 + pinctrl-0 = <&spi2_pins_cfa10056>; 101 + status = "okay"; 102 + gpio-sck = <&gpio2 16 0>; 103 + gpio-mosi = <&gpio2 17 0>; 104 + gpio-miso = <&gpio2 18 0>; 105 + cs-gpios = <&gpio3 5 0>; 106 + num-chipselects = <1>; 107 + #address-cells = <1>; 108 + #size-cells = <0>; 109 + 110 + hx8369: hx8369@0 { 111 + compatible = "himax,hx8369a", "himax,hx8369"; 112 + reg = <0>; 113 + spi-max-frequency = <100000>; 114 + spi-cpol; 115 + spi-cpha; 116 + gpios-reset = <&gpio3 30 0>; 117 + }; 118 + }; 119 + };
+3 -20
arch/arm/boot/dts/imx28-cfa10057.dts
··· 23 23 apb@80000000 { 24 24 apbh@80000000 { 25 25 pinctrl@80018000 { 26 - pinctrl-names = "default", "default"; 27 - pinctrl-1 = <&hog_pins_cfa10057 28 - &hog_pins_cfa10057_pullup>; 29 - 30 - hog_pins_cfa10057: hog-10057@0 { 26 + usb_pins_cfa10057: usb-10057@0 { 31 27 reg = <0>; 32 28 fsl,pinmux-ids = < 33 29 0x0073 /* MX28_PAD_GPMI_D7__GPIO_0_7 */ 34 - 0x3053 /* MX28_PAD_AUART1_TX__GPIO_3_5 */ 35 30 >; 36 31 fsl,drive-strength = <0>; 37 32 fsl,voltage = <1>; 38 33 fsl,pull-up = <0>; 39 - }; 40 - 41 - hog_pins_cfa10057_pullup: hog-10057-pullup@0 { 42 - reg = <0>; 43 - fsl,pinmux-ids = < 44 - 0x2133 /* MX28_PAD_SSP2_D3__GPIO_2_19 */ 45 - 0x3183 /* MX28_PAD_I2C0_SCL__GPIO_3_24 */ 46 - 0x3193 /* MX28_PAD_I2C0_SDA__GPIO_3_25 */ 47 - 0x31a3 /* MX28_PAD_SAIF_SDATA0__GPIO_3_26 */ 48 - 0x31e3 /* MX28_PAD_LCD_RESET__GPIO_3_30 */ 49 - >; 50 - fsl,drive-strength = <0>; 51 - fsl,voltage = <1>; 52 - fsl,pull-up = <1>; 53 34 }; 54 35 55 36 lcdif_18bit_pins_cfa10057: lcdif-18bit@0 { ··· 145 164 146 165 reg_usb1_vbus: usb1_vbus { 147 166 compatible = "regulator-fixed"; 167 + pinctrl-names = "default"; 168 + pinctrl-0 = <&usb_pins_cfa10057>; 148 169 regulator-name = "usb1_vbus"; 149 170 regulator-min-microvolt = <5000000>; 150 171 regulator-max-microvolt = <5000000>;
+141
arch/arm/boot/dts/imx28-cfa10058.dts
··· 1 + /* 2 + * Copyright 2013 Crystalfontz America, Inc. 3 + * Copyright 2013 Free Electrons 4 + * 5 + * The code contained herein is licensed under the GNU General Public 6 + * License. You may obtain a copy of the GNU General Public License 7 + * Version 2 or later at the following locations: 8 + * 9 + * http://www.opensource.org/licenses/gpl-license.html 10 + * http://www.gnu.org/copyleft/gpl.html 11 + */ 12 + 13 + /* 14 + * The CFA-10058 is an expansion board for the CFA-10036 module, thus we 15 + * need to include the CFA-10036 DTS. 16 + */ 17 + /include/ "imx28-cfa10036.dts" 18 + 19 + / { 20 + model = "Crystalfontz CFA-10058 Board"; 21 + compatible = "crystalfontz,cfa10058", "crystalfontz,cfa10036", "fsl,imx28"; 22 + 23 + apb@80000000 { 24 + apbh@80000000 { 25 + pinctrl@80018000 { 26 + usb_pins_cfa10058: usb-10058@0 { 27 + reg = <0>; 28 + fsl,pinmux-ids = < 29 + 0x0073 /* MX28_PAD_GPMI_D7__GPIO_0_7 */ 30 + >; 31 + fsl,drive-strength = <0>; 32 + fsl,voltage = <1>; 33 + fsl,pull-up = <0>; 34 + }; 35 + 36 + lcdif_pins_cfa10058: lcdif-10058@0 { 37 + reg = <0>; 38 + fsl,pinmux-ids = < 39 + 0x1181 /* MX28_PAD_LCD_RD_E__LCD_VSYNC */ 40 + 0x1191 /* MX28_PAD_LCD_WR_RWN__LCD_HSYNC */ 41 + 0x11a1 /* MX28_PAD_LCD_RS__LCD_DOTCLK */ 42 + 0x11b1 /* MX28_PAD_LCD_CS__LCD_ENABLE */ 43 + >; 44 + fsl,drive-strength = <0>; 45 + fsl,voltage = <1>; 46 + fsl,pull-up = <0>; 47 + }; 48 + }; 49 + 50 + lcdif@80030000 { 51 + pinctrl-names = "default"; 52 + pinctrl-0 = <&lcdif_24bit_pins_a 53 + &lcdif_pins_cfa10058>; 54 + display = <&display>; 55 + status = "okay"; 56 + 57 + display: display { 58 + bits-per-pixel = <32>; 59 + bus-width = <24>; 60 + 61 + display-timings { 62 + native-mode = <&timing0>; 63 + timing0: timing0 { 64 + clock-frequency = <30000000>; 65 + hactive = <800>; 66 + vactive = <480>; 67 + hback-porch = <40>; 68 + hfront-porch = <40>; 69 + vback-porch = <13>; 70 + vfront-porch = <29>; 71 + hsync-len = <8>; 72 + vsync-len = <8>; 73 + hsync-active = <0>; 74 + vsync-active = <0>; 75 + de-active = <1>; 76 + pixelclk-active = <1>; 77 + }; 78 + }; 79 + }; 80 + }; 81 + }; 82 + 83 + apbx@80040000 { 84 + lradc@80050000 { 85 + fsl,lradc-touchscreen-wires = <4>; 86 + status = "okay"; 87 + }; 88 + 89 + pwm: pwm@80064000 { 90 + pinctrl-names = "default"; 91 + pinctrl-0 = <&pwm3_pins_b>; 92 + status = "okay"; 93 + }; 94 + 95 + usbphy1: usbphy@8007e000 { 96 + status = "okay"; 97 + }; 98 + }; 99 + }; 100 + 101 + ahb@80080000 { 102 + usb1: usb@80090000 { 103 + vbus-supply = <&reg_usb1_vbus>; 104 + pinctrl-0 = <&usbphy1_pins_a>; 105 + pinctrl-names = "default"; 106 + status = "okay"; 107 + }; 108 + }; 109 + 110 + regulators { 111 + compatible = "simple-bus"; 112 + 113 + reg_usb1_vbus: usb1_vbus { 114 + pinctrl-names = "default"; 115 + pinctrl-0 = <&usb_pins_cfa10058>; 116 + compatible = "regulator-fixed"; 117 + regulator-name = "usb1_vbus"; 118 + regulator-min-microvolt = <5000000>; 119 + regulator-max-microvolt = <5000000>; 120 + gpio = <&gpio0 7 1>; 121 + }; 122 + }; 123 + 124 + ahb@80080000 { 125 + mac0: ethernet@800f0000 { 126 + phy-mode = "rmii"; 127 + pinctrl-names = "default"; 128 + pinctrl-0 = <&mac0_pins_a>; 129 + phy-reset-gpios = <&gpio2 21 0>; 130 + phy-reset-duration = <100>; 131 + status = "okay"; 132 + }; 133 + }; 134 + 135 + backlight { 136 + compatible = "pwm-backlight"; 137 + pwms = <&pwm 3 5000000>; 138 + brightness-levels = <0 4 8 16 32 64 128 255>; 139 + default-brightness-level = <6>; 140 + }; 141 + };
+13
arch/arm/boot/dts/imx28-m28evk.dts
··· 235 235 pinctrl-0 = <&auart2_2pins_b>; 236 236 status = "okay"; 237 237 }; 238 + 239 + pwm: pwm@80064000 { 240 + pinctrl-names = "default"; 241 + pinctrl-0 = <&pwm4_pins_a>; 242 + status = "okay"; 243 + }; 238 244 }; 239 245 }; 240 246 ··· 274 268 pinctrl-0 = <&mac1_pins_a>; 275 269 status = "okay"; 276 270 }; 271 + }; 272 + 273 + backlight { 274 + compatible = "pwm-backlight"; 275 + pwms = <&pwm 4 5000000>; 276 + brightness-levels = <0 4 8 16 32 64 128 255>; 277 + default-brightness-level = <6>; 277 278 }; 278 279 279 280 regulators {
+87 -56
arch/arm/boot/dts/imx28.dtsi
··· 15 15 interrupt-parent = <&icoll>; 16 16 17 17 aliases { 18 + ethernet0 = &mac0; 19 + ethernet1 = &mac1; 18 20 gpio0 = &gpio0; 19 21 gpio1 = &gpio1; 20 22 gpio2 = &gpio2; ··· 29 27 serial2 = &auart2; 30 28 serial3 = &auart3; 31 29 serial4 = &auart4; 32 - ethernet0 = &mac0; 33 - ethernet1 = &mac1; 30 + spi0 = &ssp1; 31 + spi1 = &ssp2; 34 32 }; 35 33 36 34 cpus { ··· 64 62 reg = <0x80000000 0x2000>; 65 63 }; 66 64 67 - hsadc@80002000 { 65 + hsadc: hsadc@80002000 { 68 66 reg = <0x80002000 0x2000>; 69 - interrupts = <13 87>; 67 + interrupts = <13>; 70 68 dmas = <&dma_apbh 12>; 71 69 dma-names = "rx"; 72 70 status = "disabled"; ··· 88 86 clocks = <&clks 25>; 89 87 }; 90 88 91 - perfmon@80006000 { 89 + perfmon: perfmon@80006000 { 92 90 reg = <0x80006000 0x800>; 93 91 interrupts = <27>; 94 92 status = "disabled"; 95 93 }; 96 94 97 - gpmi-nand@8000c000 { 95 + gpmi: gpmi-nand@8000c000 { 98 96 compatible = "fsl,imx28-gpmi-nand"; 99 97 #address-cells = <1>; 100 98 #size-cells = <1>; 101 99 reg = <0x8000c000 0x2000>, <0x8000a000 0x2000>; 102 100 reg-names = "gpmi-nand", "bch"; 103 - interrupts = <88>, <41>; 104 - interrupt-names = "gpmi-dma", "bch"; 101 + interrupts = <41>; 102 + interrupt-names = "bch"; 105 103 clocks = <&clks 50>; 106 104 clock-names = "gpmi_io"; 107 105 dmas = <&dma_apbh 4>; 108 106 dma-names = "rx-tx"; 109 - fsl,gpmi-dma-channel = <4>; 110 107 status = "disabled"; 111 108 }; 112 109 ··· 113 112 #address-cells = <1>; 114 113 #size-cells = <0>; 115 114 reg = <0x80010000 0x2000>; 116 - interrupts = <96 82>; 115 + interrupts = <96>; 117 116 clocks = <&clks 46>; 118 117 dmas = <&dma_apbh 0>; 119 118 dma-names = "rx-tx"; 120 - fsl,ssp-dma-channel = <0>; 121 119 status = "disabled"; 122 120 }; 123 121 ··· 124 124 #address-cells = <1>; 125 125 #size-cells = <0>; 126 126 reg = <0x80012000 0x2000>; 127 - interrupts = <97 83>; 127 + interrupts = <97>; 128 128 clocks = <&clks 47>; 129 129 dmas = <&dma_apbh 1>; 130 130 dma-names = "rx-tx"; 131 - fsl,ssp-dma-channel = <1>; 132 131 status = "disabled"; 133 132 }; 134 133 ··· 135 136 #address-cells = <1>; 136 137 #size-cells = <0>; 137 138 reg = <0x80014000 0x2000>; 138 - interrupts = <98 84>; 139 + interrupts = <98>; 139 140 clocks = <&clks 48>; 140 141 dmas = <&dma_apbh 2>; 141 142 dma-names = "rx-tx"; 142 - fsl,ssp-dma-channel = <2>; 143 143 status = "disabled"; 144 144 }; 145 145 ··· 146 148 #address-cells = <1>; 147 149 #size-cells = <0>; 148 150 reg = <0x80016000 0x2000>; 149 - interrupts = <99 85>; 151 + interrupts = <99>; 150 152 clocks = <&clks 49>; 151 153 dmas = <&dma_apbh 3>; 152 154 dma-names = "rx-tx"; 153 - fsl,ssp-dma-channel = <3>; 154 155 status = "disabled"; 155 156 }; 156 157 157 - pinctrl@80018000 { 158 + pinctrl: pinctrl@80018000 { 158 159 #address-cells = <1>; 159 160 #size-cells = <0>; 160 161 compatible = "fsl,imx28-pinctrl", "simple-bus"; ··· 518 521 fsl,pull-up = <1>; 519 522 }; 520 523 524 + saif0_pins_b: saif0@1 { 525 + reg = <1>; 526 + fsl,pinmux-ids = < 527 + 0x3150 /* MX28_PAD_SAIF0_LRCLK__SAIF0_LRCLK */ 528 + 0x3160 /* MX28_PAD_SAIF0_BITCLK__SAIF0_BITCLK */ 529 + 0x3170 /* MX28_PAD_SAIF0_SDATA0__SAIF0_SDATA0 */ 530 + >; 531 + fsl,drive-strength = <2>; 532 + fsl,voltage = <1>; 533 + fsl,pull-up = <1>; 534 + }; 535 + 521 536 saif1_pins_a: saif1@0 { 522 537 reg = <0>; 523 538 fsl,pinmux-ids = < ··· 648 639 fsl,pull-up = <0>; 649 640 }; 650 641 642 + lcdif_sync_pins_a: lcdif-sync@0 { 643 + reg = <0>; 644 + fsl,pinmux-ids = < 645 + 0x11a1 /* MX28_PAD_LCD_RS__LCD_DOTCLK */ 646 + 0x11b1 /* MX28_PAD_LCD_CS__LCD_ENABLE */ 647 + 0x1181 /* MX28_PAD_LCD_RD_E__LCD_VSYNC */ 648 + 0x1191 /* MX28_PAD_LCD_WR_RWN__LCD_HSYNC */ 649 + >; 650 + fsl,drive-strength = <0>; 651 + fsl,voltage = <1>; 652 + fsl,pull-up = <0>; 653 + }; 654 + 651 655 can0_pins_a: can0@0 { 652 656 reg = <0>; 653 657 fsl,pinmux-ids = < ··· 696 674 fsl,pull-up = <1>; 697 675 }; 698 676 677 + spi3_pins_a: spi3@0 { 678 + reg = <0>; 679 + fsl,pinmux-ids = < 680 + 0x3082 /* MX28_PAD_AUART2_RX__SSP3_D4 */ 681 + 0x3092 /* MX28_PAD_AUART2_TX__SSP3_D5 */ 682 + 0x2180 /* MX28_PAD_SSP3_SCK__SSP3_SCK */ 683 + 0x2190 /* MX28_PAD_SSP3_MOSI__SSP3_CMD */ 684 + 0x21A0 /* MX28_PAD_SSP3_MISO__SSP3_D0 */ 685 + 0x21B0 /* MX28_PAD_SSP3_SS0__SSP3_D3 */ 686 + >; 687 + fsl,drive-strength = <1>; 688 + fsl,voltage = <1>; 689 + fsl,pull-up = <0>; 690 + }; 691 + 699 692 usbphy0_pins_a: usbphy0@0 { 700 693 reg = <0>; 701 694 fsl,pinmux-ids = < ··· 742 705 }; 743 706 }; 744 707 745 - digctl@8001c000 { 708 + digctl: digctl@8001c000 { 746 709 compatible = "fsl,imx28-digctl", "fsl,imx23-digctl"; 747 710 reg = <0x8001c000 0x2000>; 748 711 interrupts = <89>; 749 712 status = "disabled"; 750 713 }; 751 714 752 - etm@80022000 { 715 + etm: etm@80022000 { 753 716 reg = <0x80022000 0x2000>; 754 717 status = "disabled"; 755 718 }; ··· 770 733 clocks = <&clks 26>; 771 734 }; 772 735 773 - dcp@80028000 { 736 + dcp: dcp@80028000 { 774 737 reg = <0x80028000 0x2000>; 775 738 interrupts = <52 53 54>; 776 739 compatible = "fsl-dcp"; 777 740 }; 778 741 779 - pxp@8002a000 { 742 + pxp: pxp@8002a000 { 780 743 reg = <0x8002a000 0x2000>; 781 744 interrupts = <39>; 782 745 status = "disabled"; 783 746 }; 784 747 785 - ocotp@8002c000 { 748 + ocotp: ocotp@8002c000 { 786 749 compatible = "fsl,ocotp"; 787 750 reg = <0x8002c000 0x2000>; 788 751 status = "disabled"; ··· 793 756 status = "disabled"; 794 757 }; 795 758 796 - lcdif@80030000 { 759 + lcdif: lcdif@80030000 { 797 760 compatible = "fsl,imx28-lcdif"; 798 761 reg = <0x80030000 0x2000>; 799 - interrupts = <38 86>; 762 + interrupts = <38>; 800 763 clocks = <&clks 55>; 801 764 dmas = <&dma_apbh 13>; 802 765 dma-names = "rx"; ··· 821 784 status = "disabled"; 822 785 }; 823 786 824 - simdbg@8003c000 { 787 + simdbg: simdbg@8003c000 { 825 788 reg = <0x8003c000 0x200>; 826 789 status = "disabled"; 827 790 }; 828 791 829 - simgpmisel@8003c200 { 792 + simgpmisel: simgpmisel@8003c200 { 830 793 reg = <0x8003c200 0x100>; 831 794 status = "disabled"; 832 795 }; 833 796 834 - simsspsel@8003c300 { 797 + simsspsel: simsspsel@8003c300 { 835 798 reg = <0x8003c300 0x100>; 836 799 status = "disabled"; 837 800 }; 838 801 839 - simmemsel@8003c400 { 802 + simmemsel: simmemsel@8003c400 { 840 803 reg = <0x8003c400 0x100>; 841 804 status = "disabled"; 842 805 }; 843 806 844 - gpiomon@8003c500 { 807 + gpiomon: gpiomon@8003c500 { 845 808 reg = <0x8003c500 0x100>; 846 809 status = "disabled"; 847 810 }; 848 811 849 - simenet@8003c700 { 812 + simenet: simenet@8003c700 { 850 813 reg = <0x8003c700 0x100>; 851 814 status = "disabled"; 852 815 }; 853 816 854 - armjtag@8003c800 { 817 + armjtag: armjtag@8003c800 { 855 818 reg = <0x8003c800 0x100>; 856 819 status = "disabled"; 857 820 }; 858 - }; 821 + }; 859 822 860 823 apbx@80040000 { 861 824 compatible = "simple-bus"; ··· 873 836 saif0: saif@80042000 { 874 837 compatible = "fsl,imx28-saif"; 875 838 reg = <0x80042000 0x2000>; 876 - interrupts = <59 80>; 839 + interrupts = <59>; 877 840 #clock-cells = <0>; 878 841 clocks = <&clks 53>; 879 842 dmas = <&dma_apbx 4>; 880 843 dma-names = "rx-tx"; 881 - fsl,saif-dma-channel = <4>; 882 844 status = "disabled"; 883 845 }; 884 846 885 - power@80044000 { 847 + power: power@80044000 { 886 848 reg = <0x80044000 0x2000>; 887 849 status = "disabled"; 888 850 }; ··· 889 853 saif1: saif@80046000 { 890 854 compatible = "fsl,imx28-saif"; 891 855 reg = <0x80046000 0x2000>; 892 - interrupts = <58 81>; 856 + interrupts = <58>; 893 857 clocks = <&clks 54>; 894 858 dmas = <&dma_apbx 5>; 895 859 dma-names = "rx-tx"; 896 - fsl,saif-dma-channel = <5>; 897 860 status = "disabled"; 898 861 }; 899 862 900 - lradc@80050000 { 863 + lradc: lradc@80050000 { 901 864 compatible = "fsl,imx28-lradc"; 902 865 reg = <0x80050000 0x2000>; 903 866 interrupts = <10 14 15 16 17 18 19 ··· 904 869 status = "disabled"; 905 870 }; 906 871 907 - spdif@80054000 { 872 + spdif: spdif@80054000 { 908 873 reg = <0x80054000 0x2000>; 909 - interrupts = <45 66>; 874 + interrupts = <45>; 910 875 dmas = <&dma_apbx 2>; 911 876 dma-names = "tx"; 912 877 status = "disabled"; 913 878 }; 914 879 915 - rtc@80056000 { 880 + mxs_rtc: rtc@80056000 { 916 881 compatible = "fsl,imx28-rtc", "fsl,stmp3xxx-rtc"; 917 882 reg = <0x80056000 0x2000>; 918 883 interrupts = <29>; ··· 923 888 #size-cells = <0>; 924 889 compatible = "fsl,imx28-i2c"; 925 890 reg = <0x80058000 0x2000>; 926 - interrupts = <111 68>; 891 + interrupts = <111>; 927 892 clock-frequency = <100000>; 928 893 dmas = <&dma_apbx 6>; 929 894 dma-names = "rx-tx"; 930 - fsl,i2c-dma-channel = <6>; 931 895 status = "disabled"; 932 896 }; 933 897 ··· 935 901 #size-cells = <0>; 936 902 compatible = "fsl,imx28-i2c"; 937 903 reg = <0x8005a000 0x2000>; 938 - interrupts = <110 69>; 904 + interrupts = <110>; 939 905 clock-frequency = <100000>; 940 906 dmas = <&dma_apbx 7>; 941 907 dma-names = "rx-tx"; 942 - fsl,i2c-dma-channel = <7>; 943 908 status = "disabled"; 944 909 }; 945 910 ··· 951 918 status = "disabled"; 952 919 }; 953 920 954 - timrot@80068000 { 921 + timer: timrot@80068000 { 955 922 compatible = "fsl,imx28-timrot", "fsl,timrot"; 956 923 reg = <0x80068000 0x2000>; 957 924 interrupts = <48 49 50 51>; ··· 961 928 auart0: serial@8006a000 { 962 929 compatible = "fsl,imx28-auart", "fsl,imx23-auart"; 963 930 reg = <0x8006a000 0x2000>; 964 - interrupts = <112 70 71>; 931 + interrupts = <112>; 965 932 dmas = <&dma_apbx 8>, <&dma_apbx 9>; 966 933 dma-names = "rx", "tx"; 967 - fsl,auart-dma-channel = <8 9>; 968 934 clocks = <&clks 45>; 969 935 status = "disabled"; 970 936 }; ··· 971 939 auart1: serial@8006c000 { 972 940 compatible = "fsl,imx28-auart", "fsl,imx23-auart"; 973 941 reg = <0x8006c000 0x2000>; 974 - interrupts = <113 72 73>; 942 + interrupts = <113>; 975 943 dmas = <&dma_apbx 10>, <&dma_apbx 11>; 976 944 dma-names = "rx", "tx"; 977 945 clocks = <&clks 45>; ··· 981 949 auart2: serial@8006e000 { 982 950 compatible = "fsl,imx28-auart", "fsl,imx23-auart"; 983 951 reg = <0x8006e000 0x2000>; 984 - interrupts = <114 74 75>; 952 + interrupts = <114>; 985 953 dmas = <&dma_apbx 12>, <&dma_apbx 13>; 986 954 dma-names = "rx", "tx"; 987 955 clocks = <&clks 45>; ··· 991 959 auart3: serial@80070000 { 992 960 compatible = "fsl,imx28-auart", "fsl,imx23-auart"; 993 961 reg = <0x80070000 0x2000>; 994 - interrupts = <115 76 77>; 962 + interrupts = <115>; 995 963 dmas = <&dma_apbx 14>, <&dma_apbx 15>; 996 964 dma-names = "rx", "tx"; 997 965 clocks = <&clks 45>; ··· 1001 969 auart4: serial@80072000 { 1002 970 compatible = "fsl,imx28-auart", "fsl,imx23-auart"; 1003 971 reg = <0x80072000 0x2000>; 1004 - interrupts = <116 78 79>; 972 + interrupts = <116>; 1005 973 dmas = <&dma_apbx 0>, <&dma_apbx 1>; 1006 974 dma-names = "rx", "tx"; 1007 975 clocks = <&clks 45>; ··· 1058 1026 status = "disabled"; 1059 1027 }; 1060 1028 1061 - dflpt@800c0000 { 1029 + dflpt: dflpt@800c0000 { 1062 1030 reg = <0x800c0000 0x10000>; 1063 1031 status = "disabled"; 1064 1032 }; ··· 1081 1049 status = "disabled"; 1082 1050 }; 1083 1051 1084 - switch@800f8000 { 1052 + etn_switch: switch@800f8000 { 1085 1053 reg = <0x800f8000 0x8000>; 1086 1054 status = "disabled"; 1087 1055 }; 1088 - 1089 1056 }; 1090 1057 };
+11
arch/arm/boot/dts/pxa3xx.dtsi
··· 28 28 marvell,intc-priority; 29 29 marvell,intc-nr-irqs = <56>; 30 30 }; 31 + 32 + gpio: gpio@40e00000 { 33 + compatible = "intel,pxa3xx-gpio"; 34 + reg = <0x40e00000 0x10000>; 35 + interrupt-names = "gpio0", "gpio1", "gpio_mux"; 36 + interrupts = <8 9 10>; 37 + gpio-controller; 38 + #gpio-cells = <0x2>; 39 + interrupt-controller; 40 + #interrupt-cells = <0x2>; 41 + }; 31 42 }; 32 43 };
+22
arch/arm/boot/dts/r8a73a4-ape6evm.dts
··· 50 50 }; 51 51 }; 52 52 }; 53 + 54 + &i2c5 { 55 + vdd_dvfs: max8973@1b { 56 + compatible = "maxim,max8973"; 57 + reg = <0x1b>; 58 + 59 + regulator-min-microvolt = <935000>; 60 + regulator-max-microvolt = <1200000>; 61 + regulator-boot-on; 62 + regulator-always-on; 63 + }; 64 + }; 65 + 66 + &cpu0 { 67 + cpu0-supply = <&vdd_dvfs>; 68 + operating-points = < 69 + /* kHz uV */ 70 + 1950000 1115000 71 + 1462500 995000 72 + >; 73 + voltage-tolerance = <1>; /* 1% */ 74 + };
+133
arch/arm/boot/dts/r8a73a4.dtsi
··· 85 85 interrupt-parent = <&gic>; 86 86 interrupts = <0 69 4>; 87 87 }; 88 + 89 + i2c0: i2c@e6500000 { 90 + #address-cells = <1>; 91 + #size-cells = <0>; 92 + compatible = "renesas,rmobile-iic"; 93 + reg = <0 0xe6500000 0 0x428>; 94 + interrupt-parent = <&gic>; 95 + interrupts = <0 174 0x4>; 96 + }; 97 + 98 + i2c1: i2c@e6510000 { 99 + #address-cells = <1>; 100 + #size-cells = <0>; 101 + compatible = "renesas,rmobile-iic"; 102 + reg = <0 0xe6510000 0 0x428>; 103 + interrupt-parent = <&gic>; 104 + interrupts = <0 175 0x4>; 105 + }; 106 + 107 + i2c2: i2c@e6520000 { 108 + #address-cells = <1>; 109 + #size-cells = <0>; 110 + compatible = "renesas,rmobile-iic"; 111 + reg = <0 0xe6520000 0 0x428>; 112 + interrupt-parent = <&gic>; 113 + interrupts = <0 176 0x4>; 114 + }; 115 + 116 + i2c3: i2c@e6530000 { 117 + #address-cells = <1>; 118 + #size-cells = <0>; 119 + compatible = "renesas,rmobile-iic"; 120 + reg = <0 0xe6530000 0 0x428>; 121 + interrupt-parent = <&gic>; 122 + interrupts = <0 177 0x4>; 123 + }; 124 + 125 + i2c4: i2c@e6540000 { 126 + #address-cells = <1>; 127 + #size-cells = <0>; 128 + compatible = "renesas,rmobile-iic"; 129 + reg = <0 0xe6540000 0 0x428>; 130 + interrupt-parent = <&gic>; 131 + interrupts = <0 178 0x4>; 132 + }; 133 + 134 + i2c5: i2c@e60b0000 { 135 + #address-cells = <1>; 136 + #size-cells = <0>; 137 + compatible = "renesas,rmobile-iic"; 138 + reg = <0 0xe60b0000 0 0x428>; 139 + interrupt-parent = <&gic>; 140 + interrupts = <0 179 0x4>; 141 + }; 142 + 143 + i2c6: i2c@e6550000 { 144 + #address-cells = <1>; 145 + #size-cells = <0>; 146 + compatible = "renesas,rmobile-iic"; 147 + reg = <0 0xe6550000 0 0x428>; 148 + interrupt-parent = <&gic>; 149 + interrupts = <0 184 0x4>; 150 + }; 151 + 152 + i2c7: i2c@e6560000 { 153 + #address-cells = <1>; 154 + #size-cells = <0>; 155 + compatible = "renesas,rmobile-iic"; 156 + reg = <0 0xe6560000 0 0x428>; 157 + interrupt-parent = <&gic>; 158 + interrupts = <0 185 0x4>; 159 + }; 160 + 161 + i2c8: i2c@e6570000 { 162 + #address-cells = <1>; 163 + #size-cells = <0>; 164 + compatible = "renesas,rmobile-iic"; 165 + reg = <0 0xe6570000 0 0x428>; 166 + interrupt-parent = <&gic>; 167 + interrupts = <0 173 0x4>; 168 + }; 169 + 170 + mmcif0: mmcif@ee200000 { 171 + compatible = "renesas,sh-mmcif"; 172 + reg = <0 0xee200000 0 0x80>; 173 + interrupt-parent = <&gic>; 174 + interrupts = <0 169 0x4>; 175 + reg-io-width = <4>; 176 + status = "disabled"; 177 + }; 178 + 179 + mmcif1: mmcif@ee220000 { 180 + compatible = "renesas,sh-mmcif"; 181 + reg = <0 0xee220000 0 0x80>; 182 + interrupt-parent = <&gic>; 183 + interrupts = <0 170 0x4>; 184 + reg-io-width = <4>; 185 + status = "disabled"; 186 + }; 187 + 188 + pfc: pfc@e6050000 { 189 + compatible = "renesas,pfc-r8a73a4"; 190 + reg = <0 0xe6050000 0 0x9000>; 191 + gpio-controller; 192 + #gpio-cells = <2>; 193 + }; 194 + 195 + sdhi0: sdhi@ee100000 { 196 + compatible = "renesas,r8a73a4-sdhi"; 197 + reg = <0 0xee100000 0 0x100>; 198 + interrupt-parent = <&gic>; 199 + interrupts = <0 165 4>; 200 + cap-sd-highspeed; 201 + status = "disabled"; 202 + }; 203 + 204 + sdhi1: sdhi@ee120000 { 205 + compatible = "renesas,r8a73a4-sdhi"; 206 + reg = <0 0xee120000 0 0x100>; 207 + interrupt-parent = <&gic>; 208 + interrupts = <0 166 4>; 209 + cap-sd-highspeed; 210 + status = "disabled"; 211 + }; 212 + 213 + sdhi2: sdhi@ee140000 { 214 + compatible = "renesas,r8a73a4-sdhi"; 215 + reg = <0 0xee140000 0 0x100>; 216 + interrupt-parent = <&gic>; 217 + interrupts = <0 167 4>; 218 + cap-sd-highspeed; 219 + status = "disabled"; 220 + }; 88 221 };
+34
arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts
··· 10 10 11 11 /dts-v1/; 12 12 /include/ "r8a7740.dtsi" 13 + #include <dt-bindings/gpio/gpio.h> 13 14 14 15 / { 15 16 model = "armadillo 800 eva reference"; ··· 34 33 regulator-boot-on; 35 34 }; 36 35 36 + leds { 37 + compatible = "gpio-leds"; 38 + led1 { 39 + gpios = <&pfc 102 GPIO_ACTIVE_HIGH>; 40 + }; 41 + led2 { 42 + gpios = <&pfc 111 GPIO_ACTIVE_HIGH>; 43 + }; 44 + led3 { 45 + gpios = <&pfc 110 GPIO_ACTIVE_HIGH>; 46 + }; 47 + led4 { 48 + gpios = <&pfc 177 GPIO_ACTIVE_HIGH>; 49 + }; 50 + }; 37 51 }; 38 52 39 53 &i2c0 { ··· 57 41 reg = <0x55>; 58 42 interrupt-parent = <&irqpin1>; 59 43 interrupts = <2 0>; /* IRQ10: hwirq 2 on irqpin1 */ 44 + pinctrl-0 = <&st1232_pins>; 45 + pinctrl-names = "default"; 46 + gpios = <&pfc 166 GPIO_ACTIVE_LOW>; 47 + }; 48 + }; 49 + 50 + &pfc { 51 + pinctrl-0 = <&scifa1_pins>; 52 + pinctrl-names = "default"; 53 + 54 + scifa1_pins: scifa1 { 55 + renesas,groups = "scifa1_data"; 56 + renesas,function = "scifa1"; 57 + }; 58 + 59 + st1232_pins: st1232 { 60 + renesas,groups = "intc_irq10"; 61 + renesas,function = "intc"; 60 62 }; 61 63 };
+8
arch/arm/boot/dts/r8a7740.dtsi
··· 139 139 0 72 0x4 140 140 0 73 0x4>; 141 141 }; 142 + 143 + pfc: pfc@e6050000 { 144 + compatible = "renesas,pfc-r8a7740"; 145 + reg = <0xe6050000 0x8000>, 146 + <0xe605800c 0x20>; 147 + gpio-controller; 148 + #gpio-cells = <2>; 149 + }; 142 150 };
+66
arch/arm/boot/dts/r8a7778.dtsi
··· 32 32 reg = <0xfe438000 0x1000>, 33 33 <0xfe430000 0x100>; 34 34 }; 35 + 36 + gpio0: gpio@ffc40000 { 37 + compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar"; 38 + reg = <0xffc40000 0x2c>; 39 + interrupt-parent = <&gic>; 40 + interrupts = <0 103 0x4>; 41 + #gpio-cells = <2>; 42 + gpio-controller; 43 + gpio-ranges = <&pfc 0 0 32>; 44 + #interrupt-cells = <2>; 45 + interrupt-controller; 46 + }; 47 + 48 + gpio1: gpio@ffc41000 { 49 + compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar"; 50 + reg = <0xffc41000 0x2c>; 51 + interrupt-parent = <&gic>; 52 + interrupts = <0 103 0x4>; 53 + #gpio-cells = <2>; 54 + gpio-controller; 55 + gpio-ranges = <&pfc 0 32 32>; 56 + #interrupt-cells = <2>; 57 + interrupt-controller; 58 + }; 59 + 60 + gpio2: gpio@ffc42000 { 61 + compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar"; 62 + reg = <0xffc42000 0x2c>; 63 + interrupt-parent = <&gic>; 64 + interrupts = <0 103 0x4>; 65 + #gpio-cells = <2>; 66 + gpio-controller; 67 + gpio-ranges = <&pfc 0 64 32>; 68 + #interrupt-cells = <2>; 69 + interrupt-controller; 70 + }; 71 + 72 + gpio3: gpio@ffc43000 { 73 + compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar"; 74 + reg = <0xffc43000 0x2c>; 75 + interrupt-parent = <&gic>; 76 + interrupts = <0 103 0x4>; 77 + #gpio-cells = <2>; 78 + gpio-controller; 79 + gpio-ranges = <&pfc 0 96 32>; 80 + #interrupt-cells = <2>; 81 + interrupt-controller; 82 + }; 83 + 84 + gpio4: gpio@ffc44000 { 85 + compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar"; 86 + reg = <0xffc44000 0x2c>; 87 + interrupt-parent = <&gic>; 88 + interrupts = <0 103 0x4>; 89 + #gpio-cells = <2>; 90 + gpio-controller; 91 + gpio-ranges = <&pfc 0 128 27>; 92 + #interrupt-cells = <2>; 93 + interrupt-controller; 94 + }; 95 + 96 + pfc: pfc@fffc0000 { 97 + compatible = "renesas,pfc-r8a7778"; 98 + reg = <0xfffc000 0x118>; 99 + #gpio-range-cells = <3>; 100 + }; 35 101 };
+49
arch/arm/boot/dts/r8a7779-marzen-reference.dts
··· 11 11 12 12 /dts-v1/; 13 13 /include/ "r8a7779.dtsi" 14 + #include <dt-bindings/gpio/gpio.h> 14 15 15 16 / { 16 17 model = "marzen"; ··· 38 37 lan0@18000000 { 39 38 compatible = "smsc,lan9220", "smsc,lan9115"; 40 39 reg = <0x18000000 0x100>; 40 + pinctrl-0 = <&lan0_pins>; 41 + pinctrl-names = "default"; 42 + 41 43 phy-mode = "mii"; 42 44 interrupt-parent = <&gic>; 43 45 interrupts = <0 28 0x4>; 44 46 reg-io-width = <4>; 45 47 vddvario-supply = <&fixedregulator3v3>; 46 48 vdd33a-supply = <&fixedregulator3v3>; 49 + }; 50 + 51 + leds { 52 + compatible = "gpio-leds"; 53 + led2 { 54 + gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>; 55 + }; 56 + led3 { 57 + gpios = <&gpio4 30 GPIO_ACTIVE_HIGH>; 58 + }; 59 + led4 { 60 + gpios = <&gpio4 31 GPIO_ACTIVE_HIGH>; 61 + }; 62 + }; 63 + }; 64 + 65 + &pfc { 66 + pinctrl-0 = <&scif2_pins &scif4_pins &sdhi0_pins>; 67 + pinctrl-names = "default"; 68 + 69 + lan0_pins: lan0 { 70 + intc { 71 + renesas,groups = "intc_irq1_b"; 72 + renesas,function = "intc"; 73 + }; 74 + lbsc { 75 + renesas,groups = "lbsc_ex_cs0"; 76 + renesas,function = "lbsc"; 77 + }; 78 + }; 79 + 80 + scif2_pins: scif2 { 81 + renesas,groups = "scif2_data_c"; 82 + renesas,function = "scif2"; 83 + }; 84 + 85 + scif4_pins: scif4 { 86 + renesas,groups = "scif4_data"; 87 + renesas,function = "scif4"; 88 + }; 89 + 90 + sdhi0_pins: sdhi0 { 91 + renesas,groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_cd", 92 + "sdhi0_wp"; 93 + renesas,function = "sdhi0"; 47 94 }; 48 95 };
+90
arch/arm/boot/dts/r8a7779.dtsi
··· 48 48 <0xf0000100 0x100>; 49 49 }; 50 50 51 + gpio0: gpio@ffc40000 { 52 + compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; 53 + reg = <0xffc40000 0x2c>; 54 + interrupt-parent = <&gic>; 55 + interrupts = <0 141 0x4>; 56 + #gpio-cells = <2>; 57 + gpio-controller; 58 + gpio-ranges = <&pfc 0 0 32>; 59 + #interrupt-cells = <2>; 60 + interrupt-controller; 61 + }; 62 + 63 + gpio1: gpio@ffc41000 { 64 + compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; 65 + reg = <0xffc41000 0x2c>; 66 + interrupt-parent = <&gic>; 67 + interrupts = <0 142 0x4>; 68 + #gpio-cells = <2>; 69 + gpio-controller; 70 + gpio-ranges = <&pfc 0 32 32>; 71 + #interrupt-cells = <2>; 72 + interrupt-controller; 73 + }; 74 + 75 + gpio2: gpio@ffc42000 { 76 + compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; 77 + reg = <0xffc42000 0x2c>; 78 + interrupt-parent = <&gic>; 79 + interrupts = <0 143 0x4>; 80 + #gpio-cells = <2>; 81 + gpio-controller; 82 + gpio-ranges = <&pfc 0 64 32>; 83 + #interrupt-cells = <2>; 84 + interrupt-controller; 85 + }; 86 + 87 + gpio3: gpio@ffc43000 { 88 + compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; 89 + reg = <0xffc43000 0x2c>; 90 + interrupt-parent = <&gic>; 91 + interrupts = <0 144 0x4>; 92 + #gpio-cells = <2>; 93 + gpio-controller; 94 + gpio-ranges = <&pfc 0 96 32>; 95 + #interrupt-cells = <2>; 96 + interrupt-controller; 97 + }; 98 + 99 + gpio4: gpio@ffc44000 { 100 + compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; 101 + reg = <0xffc44000 0x2c>; 102 + interrupt-parent = <&gic>; 103 + interrupts = <0 145 0x4>; 104 + #gpio-cells = <2>; 105 + gpio-controller; 106 + gpio-ranges = <&pfc 0 128 32>; 107 + #interrupt-cells = <2>; 108 + interrupt-controller; 109 + }; 110 + 111 + gpio5: gpio@ffc45000 { 112 + compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; 113 + reg = <0xffc45000 0x2c>; 114 + interrupt-parent = <&gic>; 115 + interrupts = <0 146 0x4>; 116 + #gpio-cells = <2>; 117 + gpio-controller; 118 + gpio-ranges = <&pfc 0 160 32>; 119 + #interrupt-cells = <2>; 120 + interrupt-controller; 121 + }; 122 + 123 + gpio6: gpio@ffc46000 { 124 + compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; 125 + reg = <0xffc46000 0x2c>; 126 + interrupt-parent = <&gic>; 127 + interrupts = <0 147 0x4>; 128 + #gpio-cells = <2>; 129 + gpio-controller; 130 + gpio-ranges = <&pfc 0 192 9>; 131 + #interrupt-cells = <2>; 132 + interrupt-controller; 133 + }; 134 + 51 135 irqpin0: irqpin@fe780010 { 52 136 compatible = "renesas,intc-irqpin"; 53 137 #interrupt-cells = <2>; ··· 183 99 reg = <0xffc73000 0x1000>; 184 100 interrupt-parent = <&gic>; 185 101 interrupts = <0 81 0x4>; 102 + }; 103 + 104 + pfc: pfc@fffc0000 { 105 + compatible = "renesas,pfc-r8a7779"; 106 + reg = <0xfffc0000 0x23c>; 107 + #gpio-range-cells = <3>; 186 108 }; 187 109 188 110 thermal@ffc48000 {
+132
arch/arm/boot/dts/r8a7790.dtsi
··· 38 38 interrupts = <1 9 0xf04>; 39 39 }; 40 40 41 + gpio0: gpio@ffc40000 { 42 + compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar"; 43 + reg = <0 0xffc40000 0 0x2c>; 44 + interrupt-parent = <&gic>; 45 + interrupts = <0 4 0x4>; 46 + #gpio-cells = <2>; 47 + gpio-controller; 48 + gpio-ranges = <&pfc 0 0 32>; 49 + #interrupt-cells = <2>; 50 + interrupt-controller; 51 + }; 52 + 53 + gpio1: gpio@ffc41000 { 54 + compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar"; 55 + reg = <0 0xffc41000 0 0x2c>; 56 + interrupt-parent = <&gic>; 57 + interrupts = <0 5 0x4>; 58 + #gpio-cells = <2>; 59 + gpio-controller; 60 + gpio-ranges = <&pfc 0 32 32>; 61 + #interrupt-cells = <2>; 62 + interrupt-controller; 63 + }; 64 + 65 + gpio2: gpio@ffc42000 { 66 + compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar"; 67 + reg = <0 0xffc42000 0 0x2c>; 68 + interrupt-parent = <&gic>; 69 + interrupts = <0 6 0x4>; 70 + #gpio-cells = <2>; 71 + gpio-controller; 72 + gpio-ranges = <&pfc 0 64 32>; 73 + #interrupt-cells = <2>; 74 + interrupt-controller; 75 + }; 76 + 77 + gpio3: gpio@ffc43000 { 78 + compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar"; 79 + reg = <0 0xffc43000 0 0x2c>; 80 + interrupt-parent = <&gic>; 81 + interrupts = <0 7 0x4>; 82 + #gpio-cells = <2>; 83 + gpio-controller; 84 + gpio-ranges = <&pfc 0 96 32>; 85 + #interrupt-cells = <2>; 86 + interrupt-controller; 87 + }; 88 + 89 + gpio4: gpio@ffc44000 { 90 + compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar"; 91 + reg = <0 0xffc44000 0 0x2c>; 92 + interrupt-parent = <&gic>; 93 + interrupts = <0 8 0x4>; 94 + #gpio-cells = <2>; 95 + gpio-controller; 96 + gpio-ranges = <&pfc 0 128 32>; 97 + #interrupt-cells = <2>; 98 + interrupt-controller; 99 + }; 100 + 101 + gpio5: gpio@ffc45000 { 102 + compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar"; 103 + reg = <0 0xffc45000 0 0x2c>; 104 + interrupt-parent = <&gic>; 105 + interrupts = <0 9 0x4>; 106 + #gpio-cells = <2>; 107 + gpio-controller; 108 + gpio-ranges = <&pfc 0 160 32>; 109 + #interrupt-cells = <2>; 110 + interrupt-controller; 111 + }; 112 + 41 113 timer { 42 114 compatible = "arm,armv7-timer"; 43 115 interrupts = <1 13 0xf08>, ··· 125 53 reg = <0 0xe61c0000 0 0x200>; 126 54 interrupt-parent = <&gic>; 127 55 interrupts = <0 0 4>, <0 1 4>, <0 2 4>, <0 3 4>; 56 + }; 57 + 58 + mmcif0: mmcif@ee200000 { 59 + compatible = "renesas,sh-mmcif"; 60 + reg = <0 0xee200000 0 0x80>; 61 + interrupt-parent = <&gic>; 62 + interrupts = <0 169 0x4>; 63 + reg-io-width = <4>; 64 + status = "disabled"; 65 + }; 66 + 67 + mmcif1: mmcif@ee220000 { 68 + compatible = "renesas,sh-mmcif"; 69 + reg = <0 0xee220000 0 0x80>; 70 + interrupt-parent = <&gic>; 71 + interrupts = <0 170 0x4>; 72 + reg-io-width = <4>; 73 + status = "disabled"; 74 + }; 75 + 76 + pfc: pfc@e6060000 { 77 + compatible = "renesas,pfc-r8a7790"; 78 + reg = <0 0xe6060000 0 0x250>; 79 + #gpio-range-cells = <3>; 80 + }; 81 + 82 + sdhi0: sdhi@ee100000 { 83 + compatible = "renesas,r8a7790-sdhi"; 84 + reg = <0 0xee100000 0 0x100>; 85 + interrupt-parent = <&gic>; 86 + interrupts = <0 165 4>; 87 + cap-sd-highspeed; 88 + status = "disabled"; 89 + }; 90 + 91 + sdhi1: sdhi@ee120000 { 92 + compatible = "renesas,r8a7790-sdhi"; 93 + reg = <0 0xee120000 0 0x100>; 94 + interrupt-parent = <&gic>; 95 + interrupts = <0 166 4>; 96 + cap-sd-highspeed; 97 + status = "disabled"; 98 + }; 99 + 100 + sdhi2: sdhi@ee140000 { 101 + compatible = "renesas,r8a7790-sdhi"; 102 + reg = <0 0xee140000 0 0x100>; 103 + interrupt-parent = <&gic>; 104 + interrupts = <0 167 4>; 105 + cap-sd-highspeed; 106 + status = "disabled"; 107 + }; 108 + 109 + sdhi3: sdhi@ee160000 { 110 + compatible = "renesas,r8a7790-sdhi"; 111 + reg = <0 0xee160000 0 0x100>; 112 + interrupt-parent = <&gic>; 113 + interrupts = <0 168 4>; 114 + cap-sd-highspeed; 115 + status = "disabled"; 128 116 }; 129 117 };
+5
arch/arm/boot/dts/sama5d3.dtsi
··· 48 48 }; 49 49 }; 50 50 51 + pmu { 52 + compatible = "arm,cortex-a5-pmu"; 53 + interrupts = <46 IRQ_TYPE_LEVEL_HIGH 0>; 54 + }; 55 + 51 56 memory { 52 57 reg = <0x20000000 0x8000000>; 53 58 };
+8
arch/arm/boot/dts/sh7372.dtsi
··· 23 23 reg = <0x0>; 24 24 }; 25 25 }; 26 + 27 + pfc: pfc@e6050000 { 28 + compatible = "renesas,pfc-sh7372"; 29 + reg = <0xe6050000 0x8000>, 30 + <0xe605801c 0x1c>; 31 + gpio-controller; 32 + #gpio-cells = <2>; 33 + }; 26 34 };
+88 -2
arch/arm/boot/dts/sh73a0-kzm9g-reference.dts
··· 13 13 14 14 /dts-v1/; 15 15 /include/ "sh73a0.dtsi" 16 + #include <dt-bindings/gpio/gpio.h> 16 17 17 18 / { 18 19 model = "KZM-A9-GT"; ··· 59 58 regulator-boot-on; 60 59 }; 61 60 61 + vmmc_sdhi0: regulator@2 { 62 + compatible = "regulator-fixed"; 63 + regulator-name = "SDHI0 Vcc"; 64 + regulator-min-microvolt = <3300000>; 65 + regulator-max-microvolt = <3300000>; 66 + gpio = <&pfc 15 GPIO_ACTIVE_HIGH>; 67 + enable-active-high; 68 + }; 69 + 70 + vmmc_sdhi2: regulator@3 { 71 + compatible = "regulator-fixed"; 72 + regulator-name = "SDHI2 Vcc"; 73 + regulator-min-microvolt = <3300000>; 74 + regulator-max-microvolt = <3300000>; 75 + gpio = <&pfc 14 GPIO_ACTIVE_HIGH>; 76 + enable-active-high; 77 + }; 78 + 62 79 lan9220@10000000 { 63 80 compatible = "smsc,lan9220", "smsc,lan9115"; 64 81 reg = <0x10000000 0x100>; ··· 88 69 smsc,save-mac-address; 89 70 vddvario-supply = <&reg_1p8v>; 90 71 vdd33a-supply = <&reg_3p3v>; 72 + }; 73 + 74 + leds { 75 + compatible = "gpio-leds"; 76 + led1 { 77 + gpios = <&pfc 20 GPIO_ACTIVE_LOW>; 78 + }; 79 + led2 { 80 + gpios = <&pfc 21 GPIO_ACTIVE_LOW>; 81 + }; 82 + led3 { 83 + gpios = <&pfc 22 GPIO_ACTIVE_LOW>; 84 + }; 85 + led4 { 86 + gpios = <&pfc 23 GPIO_ACTIVE_LOW>; 87 + }; 91 88 }; 92 89 }; 93 90 ··· 180 145 }; 181 146 }; 182 147 148 + &i2c3 { 149 + pinctrl-0 = <&i2c3_pins>; 150 + pinctrl-names = "default"; 151 + }; 152 + 183 153 &mmcif { 154 + pinctrl-0 = <&mmcif_pins>; 155 + pinctrl-names = "default"; 156 + 184 157 bus-width = <8>; 185 158 vmmc-supply = <&reg_1p8v>; 186 159 status = "okay"; 187 160 }; 188 161 162 + &pfc { 163 + pinctrl-0 = <&scifa4_pins>; 164 + pinctrl-names = "default"; 165 + 166 + i2c3_pins: i2c3 { 167 + renesas,groups = "i2c3_1"; 168 + renesas,function = "i2c3"; 169 + }; 170 + 171 + mmcif_pins: mmcif { 172 + mux { 173 + renesas,groups = "mmc0_data8_0", "mmc0_ctrl_0"; 174 + renesas,function = "mmc0"; 175 + }; 176 + cfg { 177 + renesas,groups = "mmc0_data8_0"; 178 + renesas,pins = "PORT279"; 179 + bias-pull-up; 180 + }; 181 + }; 182 + 183 + scifa4_pins: scifa4 { 184 + renesas,groups = "scifa4_data", "scifa4_ctrl"; 185 + renesas,function = "scifa4"; 186 + }; 187 + 188 + sdhi0_pins: sdhi0 { 189 + renesas,groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_cd", "sdhi0_wp"; 190 + renesas,function = "sdhi0"; 191 + }; 192 + 193 + sdhi2_pins: sdhi2 { 194 + renesas,groups = "sdhi2_data4", "sdhi2_ctrl"; 195 + renesas,function = "sdhi2"; 196 + }; 197 + }; 198 + 189 199 &sdhi0 { 190 - vmmc-supply = <&reg_3p3v>; 200 + pinctrl-0 = <&sdhi0_pins>; 201 + pinctrl-names = "default"; 202 + 203 + vmmc-supply = <&vmmc_sdhi0>; 191 204 bus-width = <4>; 192 205 status = "okay"; 193 206 }; 194 207 195 208 &sdhi2 { 196 - vmmc-supply = <&reg_3p3v>; 209 + pinctrl-0 = <&sdhi2_pins>; 210 + pinctrl-names = "default"; 211 + 212 + vmmc-supply = <&vmmc_sdhi2>; 197 213 bus-width = <4>; 198 214 broken-cd; 199 215 status = "okay";
+8
arch/arm/boot/dts/sh73a0.dtsi
··· 222 222 cap-sd-highspeed; 223 223 status = "disabled"; 224 224 }; 225 + 226 + pfc: pfc@e6050000 { 227 + compatible = "renesas,pfc-sh73a0"; 228 + reg = <0xe6050000 0x8000>, 229 + <0xe605801c 0x1c>; 230 + gpio-controller; 231 + #gpio-cells = <2>; 232 + }; 225 233 };
+31 -182
arch/arm/boot/dts/snowball.dts arch/arm/boot/dts/ste-hrefv60plus.dts
··· 1 1 /* 2 - * Copyright 2011 ST-Ericsson AB 2 + * Copyright 2012 ST-Ericsson AB 3 3 * 4 4 * The code contained herein is licensed under the GNU General Public 5 5 * License. You may obtain a copy of the GNU General Public License ··· 10 10 */ 11 11 12 12 /dts-v1/; 13 - #include "dbx5x0.dtsi" 13 + #include "ste-dbx5x0.dtsi" 14 + #include "ste-href.dtsi" 15 + #include "ste-stuib.dtsi" 14 16 15 17 / { 16 - model = "Calao Systems Snowball platform with device tree"; 17 - compatible = "calaosystems,snowball-a9500", "st-ericsson,u9500"; 18 - 19 - memory { 20 - reg = <0x00000000 0x20000000>; 21 - }; 22 - 23 - en_3v3_reg: en_3v3 { 24 - compatible = "regulator-fixed"; 25 - regulator-name = "en-3v3-fixed-supply"; 26 - regulator-min-microvolt = <3300000>; 27 - regulator-max-microvolt = <3300000>; 28 - /* AB8500 GPIOs start from 1 - offset 25 is GPIO26. */ 29 - gpio = <&ab8500_gpio 25 0x4>; 30 - startup-delay-us = <5000>; 31 - enable-active-high; 32 - }; 18 + model = "ST-Ericsson HREF (v60+) platform with Device Tree"; 19 + compatible = "st-ericsson,hrefv60+", "st-ericsson,u8500"; 33 20 34 21 gpio_keys { 35 - compatible = "gpio-keys"; 36 - #address-cells = <1>; 37 - #size-cells = <0>; 38 - 39 22 button@1 { 40 - debounce_interval = <50>; 41 - wakeup = <1>; 42 - linux,code = <2>; 43 - label = "userpb"; 44 - gpios = <&gpio1 0 0x4>; 45 - }; 46 - button@2 { 47 - debounce_interval = <50>; 48 - wakeup = <1>; 49 - linux,code = <3>; 50 - label = "extkb1"; 51 - gpios = <&gpio4 23 0x4>; 52 - }; 53 - button@3 { 54 - debounce_interval = <50>; 55 - wakeup = <1>; 56 - linux,code = <4>; 57 - label = "extkb2"; 58 - gpios = <&gpio4 24 0x4>; 59 - }; 60 - button@4 { 61 - debounce_interval = <50>; 62 - wakeup = <1>; 63 - linux,code = <5>; 64 - label = "extkb3"; 65 - gpios = <&gpio5 1 0x4>; 66 - }; 67 - button@5 { 68 - debounce_interval = <50>; 69 - wakeup = <1>; 70 - linux,code = <6>; 71 - label = "extkb4"; 72 - gpios = <&gpio5 2 0x4>; 73 - }; 74 - }; 75 - 76 - leds { 77 - compatible = "gpio-leds"; 78 - used-led { 79 - label = "user_led"; 80 - gpios = <&gpio4 14 0x4>; 81 - default-state = "on"; 82 - linux,default-trigger = "heartbeat"; 23 + gpios = <&gpio6 25 0x4>; 83 24 }; 84 25 }; 85 26 86 27 soc { 87 - 88 - sound { 89 - compatible = "stericsson,snd-soc-mop500"; 90 - 91 - stericsson,cpu-dai = <&msp1 &msp3>; 92 - stericsson,audio-codec = <&codec>; 93 - }; 94 - 95 - msp1: msp@80124000 { 96 - status = "okay"; 97 - }; 98 - 99 - msp3: msp@80125000 { 100 - status = "okay"; 101 - }; 102 - 103 - external-bus@50000000 { 104 - status = "okay"; 105 - 106 - ethernet@0 { 107 - compatible = "smsc,lan9115"; 108 - reg = <0 0x10000>; 109 - interrupts = <12 IRQ_TYPE_EDGE_RISING>; 110 - interrupt-parent = <&gpio4>; 111 - vdd33a-supply = <&en_3v3_reg>; 112 - vddvario-supply = <&db8500_vape_reg>; 113 - 114 - 115 - reg-shift = <1>; 116 - reg-io-width = <2>; 117 - smsc,force-internal-phy; 118 - smsc,irq-active-high; 119 - smsc,irq-push-pull; 28 + i2c@80110000 { 29 + bu21013_tp@0x5c { 30 + reset-gpio = <&gpio4 15 0x4>; 120 31 }; 121 - }; 122 - 123 - vmmci: regulator-gpio { 124 - gpios = <&gpio6 25 0x4>; 125 - enable-gpio = <&gpio7 4 0x4>; 126 - 127 - status = "okay"; 128 32 }; 129 33 130 34 // External Micro SD slot ··· 36 132 arm,primecell-periphid = <0x10480180>; 37 133 max-frequency = <100000000>; 38 134 bus-width = <4>; 135 + mmc-cap-sd-highspeed; 39 136 mmc-cap-mmc-highspeed; 40 137 vmmc-supply = <&ab8500_ldo_aux3_reg>; 41 - vqmmc-supply = <&vmmci>; 42 138 43 - cd-gpios = <&gpio6 26 0x4>; // 218 44 - cd-inverted; 139 + cd-gpios = <&tc3589x_gpio 3 0x4>; 140 + 141 + status = "okay"; 142 + }; 143 + 144 + // WLAN SDIO channel 145 + sdi1_per2@80118000 { 146 + arm,primecell-periphid = <0x10480180>; 147 + max-frequency = <100000000>; 148 + bus-width = <4>; 149 + 150 + status = "okay"; 151 + }; 152 + 153 + // PoP:ed eMMC 154 + sdi2_per3@80005000 { 155 + arm,primecell-periphid = <0x10480180>; 156 + max-frequency = <100000000>; 157 + bus-width = <8>; 158 + mmc-cap-mmc-highspeed; 45 159 46 160 status = "okay"; 47 161 }; ··· 72 150 mmc-cap-mmc-highspeed; 73 151 vmmc-supply = <&ab8500_ldo_aux2_reg>; 74 152 75 - status = "okay"; 76 - }; 77 - 78 - uart@80120000 { 79 - status = "okay"; 80 - }; 81 - 82 - uart@80121000 { 83 - status = "okay"; 84 - }; 85 - 86 - uart@80007000 { 87 - status = "okay"; 88 - }; 89 - 90 - i2c@80004000 { 91 - tc3589x@42 { 92 - //compatible = "tc3589x"; 93 - reg = <0x42>; 94 - gpios = <&gpio6 25 0x4>; 95 - interrupt-parent = <&gpio6>; 96 - }; 97 - tps61052@33 { 98 - //compatible = "tps61052"; 99 - reg = <0x33>; 100 - }; 101 - }; 102 - 103 - i2c@80128000 { 104 - lp5521@33 { 105 - // compatible = "lp5521"; 106 - reg = <0x33>; 107 - }; 108 - lp5521@34 { 109 - // compatible = "lp5521"; 110 - reg = <0x34>; 111 - }; 112 - bh1780@29 { 113 - // compatible = "rohm,bh1780gli"; 114 - reg = <0x33>; 115 - }; 116 - }; 117 - 118 - cpufreq-cooling { 119 153 status = "okay"; 120 154 }; 121 155 ··· 158 280 }; 159 281 }; 160 282 161 - thermal@801573c0 { 162 - num-trips = <4>; 163 - 164 - trip0-temp = <70000>; 165 - trip0-type = "active"; 166 - trip0-cdev-num = <1>; 167 - trip0-cdev-name0 = "thermal-cpufreq-0"; 168 - 169 - trip1-temp = <75000>; 170 - trip1-type = "active"; 171 - trip1-cdev-num = <1>; 172 - trip1-cdev-name0 = "thermal-cpufreq-0"; 173 - 174 - trip2-temp = <80000>; 175 - trip2-type = "active"; 176 - trip2-cdev-num = <1>; 177 - trip2-cdev-name0 = "thermal-cpufreq-0"; 178 - 179 - trip3-temp = <85000>; 180 - trip3-type = "critical"; 181 - trip3-cdev-num = <0>; 182 - 183 - status = "okay"; 184 - }; 185 - 186 283 ab8500 { 187 - ab8500-gpio { 188 - compatible = "stericsson,ab8500-gpio"; 189 - }; 190 - 191 284 ab8500-regulators { 192 285 ab8500_ldo_aux1_reg: ab8500_ldo_aux1 { 193 286 regulator-name = "V-DISPLAY";
+4 -4
arch/arm/boot/dts/socfpga.dtsi
··· 476 476 }; 477 477 478 478 timer0: timer0@ffc08000 { 479 - compatible = "snps,dw-apb-timer-sp"; 479 + compatible = "snps,dw-apb-timer"; 480 480 interrupts = <0 167 4>; 481 481 reg = <0xffc08000 0x1000>; 482 482 }; 483 483 484 484 timer1: timer1@ffc09000 { 485 - compatible = "snps,dw-apb-timer-sp"; 485 + compatible = "snps,dw-apb-timer"; 486 486 interrupts = <0 168 4>; 487 487 reg = <0xffc09000 0x1000>; 488 488 }; 489 489 490 490 timer2: timer2@ffd00000 { 491 - compatible = "snps,dw-apb-timer-osc"; 491 + compatible = "snps,dw-apb-timer"; 492 492 interrupts = <0 169 4>; 493 493 reg = <0xffd00000 0x1000>; 494 494 }; 495 495 496 496 timer3: timer3@ffd01000 { 497 - compatible = "snps,dw-apb-timer-osc"; 497 + compatible = "snps,dw-apb-timer"; 498 498 interrupts = <0 170 4>; 499 499 reg = <0xffd01000 0x1000>; 500 500 };
+196
arch/arm/boot/dts/ste-ccu8540-pinctrl.dtsi
··· 1 + /* 2 + * Copyright 2012 ST-Ericsson 3 + * 4 + * The code contained herein is licensed under the GNU General Public 5 + * License. You may obtain a copy of the GNU General Public License 6 + * Version 2 or later at the following locations: 7 + * 8 + * http://www.opensource.org/licenses/gpl-license.html 9 + * http://www.gnu.org/copyleft/gpl.html 10 + */ 11 + #include "ste-nomadik-pinctrl.dtsi" 12 + 13 + / { 14 + soc { 15 + pinctrl { 16 + uart0 { 17 + uart0_default_mux: uart0_mux { 18 + default_mux { 19 + ste,function = "u0"; 20 + ste,pins = "u0_a_1"; 21 + }; 22 + }; 23 + 24 + uart0_default_mode: uart0_default { 25 + default_cfg1 { 26 + ste,pins = "GPIO0", "GPIO2"; 27 + ste,config = <&in_pu>; 28 + }; 29 + 30 + default_cfg2 { 31 + ste,pins = "GPIO1", "GPIO3"; 32 + ste,config = <&out_hi>; 33 + }; 34 + }; 35 + 36 + uart0_sleep_mode: uart0_sleep { 37 + sleep_cfg1 { 38 + ste,pins = "GPIO0", "GPIO2"; 39 + ste,config = <&slpm_in_pu>; 40 + }; 41 + 42 + sleep_cfg2 { 43 + ste,pins = "GPIO1", "GPIO3"; 44 + ste,config = <&slpm_out_hi>; 45 + }; 46 + }; 47 + }; 48 + 49 + uart2 { 50 + uart2_default_mode: uart2_default { 51 + default_mux { 52 + ste,function = "u2"; 53 + ste,pins = "u2txrx_a_1"; 54 + }; 55 + 56 + default_cfg1 { 57 + ste,pins = "GPIO120"; 58 + ste,config = <&in_pu>; 59 + }; 60 + 61 + default_cfg2 { 62 + ste,pins = "GPIO121"; 63 + ste,config = <&out_hi>; 64 + }; 65 + }; 66 + 67 + uart2_sleep_mode: uart2_sleep { 68 + sleep_cfg1 { 69 + ste,pins = "GPIO120"; 70 + ste,config = <&slpm_in_pu>; 71 + }; 72 + 73 + sleep_cfg2 { 74 + ste,pins = "GPIO121"; 75 + ste,config = <&slpm_out_hi>; 76 + }; 77 + }; 78 + }; 79 + 80 + i2c0 { 81 + i2c0_default_mux: i2c_mux { 82 + default_mux { 83 + ste,function = "i2c0"; 84 + ste,pins = "i2c0_a_1"; 85 + }; 86 + }; 87 + 88 + i2c0_default_mode: i2c_default { 89 + default_cfg1 { 90 + ste,pins = "GPIO147", "GPIO148"; 91 + ste,config = <&in_pu>; 92 + }; 93 + }; 94 + 95 + i2c0_sleep_mode: i2c_sleep { 96 + sleep_cfg1 { 97 + ste,pins = "GPIO147", "GPIO148"; 98 + ste,config = <&slpm_in_pu>; 99 + }; 100 + }; 101 + }; 102 + 103 + i2c1 { 104 + i2c1_default_mux: i2c_mux { 105 + default_mux { 106 + ste,function = "i2c1"; 107 + ste,pins = "i2c1_b_2"; 108 + }; 109 + }; 110 + 111 + i2c1_default_mode: i2c_default { 112 + default_cfg1 { 113 + ste,pins = "GPIO16", "GPIO17"; 114 + ste,config = <&in_pu>; 115 + }; 116 + }; 117 + 118 + i2c1_sleep_mode: i2c_sleep { 119 + sleep_cfg1 { 120 + ste,pins = "GPIO16", "GPIO17"; 121 + ste,config = <&slpm_in_pu>; 122 + }; 123 + }; 124 + }; 125 + 126 + i2c2 { 127 + i2c2_default_mux: i2c_mux { 128 + default_mux { 129 + ste,function = "i2c2"; 130 + ste,pins = "i2c2_b_2"; 131 + }; 132 + }; 133 + 134 + i2c2_default_mode: i2c_default { 135 + default_cfg1 { 136 + ste,pins = "GPIO10", "GPIO11"; 137 + ste,config = <&in_pu>; 138 + }; 139 + }; 140 + 141 + i2c2_sleep_mode: i2c_sleep { 142 + sleep_cfg1 { 143 + ste,pins = "GPIO11", "GPIO11"; 144 + ste,config = <&slpm_in_pu>; 145 + }; 146 + }; 147 + }; 148 + 149 + i2c4 { 150 + i2c4_default_mux: i2c_mux { 151 + default_mux { 152 + ste,function = "i2c4"; 153 + ste,pins = "i2c4_b_2"; 154 + }; 155 + }; 156 + 157 + i2c4_default_mode: i2c_default { 158 + default_cfg1 { 159 + ste,pins = "GPIO122", "GPIO123"; 160 + ste,config = <&in_pu>; 161 + }; 162 + }; 163 + 164 + i2c4_sleep_mode: i2c_sleep { 165 + sleep_cfg1 { 166 + ste,pins = "GPIO122", "GPIO123"; 167 + ste,config = <&slpm_in_pu>; 168 + }; 169 + }; 170 + }; 171 + 172 + i2c5 { 173 + i2c5_default_mux: i2c_mux { 174 + default_mux { 175 + ste,function = "i2c5"; 176 + ste,pins = "i2c5_c_2"; 177 + }; 178 + }; 179 + 180 + i2c5_default_mode: i2c_default { 181 + default_cfg1 { 182 + ste,pins = "GPIO118", "GPIO119"; 183 + ste,config = <&in_pu>; 184 + }; 185 + }; 186 + 187 + i2c5_sleep_mode: i2c_sleep { 188 + sleep_cfg1 { 189 + ste,pins = "GPIO118", "GPIO119"; 190 + ste,config = <&slpm_in_pu>; 191 + }; 192 + }; 193 + }; 194 + }; 195 + }; 196 + };
+86
arch/arm/boot/dts/ste-ccu8540.dts
··· 1 + /* 2 + * Copyright 2013 ST-Ericsson AB 3 + * 4 + * The code contained herein is licensed under the GNU General Public 5 + * License. You may obtain a copy of the GNU General Public License 6 + * Version 2 or later at the following locations: 7 + * 8 + * http://www.opensource.org/licenses/gpl-license.html 9 + * http://www.gnu.org/copyleft/gpl.html 10 + */ 11 + 12 + /dts-v1/; 13 + #include "ste-dbx5x0.dtsi" 14 + #include "ste-ccu8540-pinctrl.dtsi" 15 + 16 + / { 17 + model = "ST-Ericsson U8540 platform with Device Tree"; 18 + compatible = "st-ericsson,ccu8540", "st-ericsson,u8540"; 19 + 20 + memory@0 { 21 + reg = <0x20000000 0x1f000000>, <0xc0000000 0x3f000000>; 22 + }; 23 + 24 + soc { 25 + pinctrl { 26 + compatible = "stericsson,db8540-pinctrl"; 27 + }; 28 + 29 + prcmu@80157000 { 30 + reg = <0x80157000 0x2000>, <0x801b0000 0x8000>, <0x801b8000 0x3000>; 31 + reg-names = "prcmu", "prcmu-tcpm", "prcmu-tcdm"; 32 + }; 33 + 34 + uart@80120000 { 35 + pinctrl-names = "default", "sleep"; 36 + pinctrl-0 = <&uart0_default_mux>, <&uart0_default_mode>; 37 + pinctrl-1 = <&uart0_sleep_mode>; 38 + status = "okay"; 39 + }; 40 + 41 + uart@80121000 { 42 + status = "okay"; 43 + }; 44 + 45 + uart@80007000 { 46 + pinctrl-names = "default", "sleep"; 47 + pinctrl-0 = <&uart2_default_mode>; 48 + pinctrl-1 = <&uart2_sleep_mode>; 49 + status = "okay"; 50 + }; 51 + 52 + i2c0: i2c@80004000 { 53 + pinctrl-names = "default","sleep"; 54 + pinctrl-0 = <&i2c0_default_mux>, <&i2c0_default_mode>; 55 + pinctrl-1 = <&i2c0_sleep_mode>; 56 + }; 57 + 58 + i2c1: i2c@80122000 { 59 + pinctrl-names = "default","sleep"; 60 + pinctrl-0 = <&i2c1_default_mux>, <&i2c1_default_mode>; 61 + pinctrl-1 = <&i2c1_sleep_mode>; 62 + }; 63 + 64 + i2c2: i2c@80128000 { 65 + pinctrl-names = "default","sleep"; 66 + pinctrl-0 = <&i2c2_default_mux>, <&i2c2_default_mode>; 67 + pinctrl-1 = <&i2c2_sleep_mode>; 68 + }; 69 + 70 + i2c3: i2c@80110000 { 71 + status = "disabled"; 72 + }; 73 + 74 + i2c4: i2c@8012a000 { 75 + pinctrl-names = "default","sleep"; 76 + pinctrl-0 = <&i2c4_default_mux>, <&i2c4_default_mode>; 77 + pinctrl-1 = <&i2c4_sleep_mode>; 78 + }; 79 + 80 + i2c5: i2c@80001000 { 81 + pinctrl-names = "default","sleep"; 82 + pinctrl-0 = <&i2c5_default_mux>, <&i2c5_default_mode>; 83 + pinctrl-1 = <&i2c5_sleep_mode>; 84 + }; 85 + }; 86 + };
+95
arch/arm/boot/dts/ste-nomadik-pinctrl.dtsi
··· 1 + /* 2 + * Copyright 2012 ST-Ericsson 3 + * 4 + * The code contained herein is licensed under the GNU General Public 5 + * License. You may obtain a copy of the GNU General Public License 6 + * Version 2 or later at the following locations: 7 + * 8 + * http://www.opensource.org/licenses/gpl-license.html 9 + * http://www.gnu.org/copyleft/gpl.html 10 + */ 11 + #include <dt-bindings/pinctrl/nomadik.h> 12 + 13 + / { 14 + in_nopull: in_nopull { 15 + ste,input = <INPUT_NOPULL>; 16 + }; 17 + 18 + in_pu: input_pull_up { 19 + ste,input = <INPUT_PULLUP>; 20 + }; 21 + 22 + in_pd: input_pull_down { 23 + ste,input = <INPUT_PULLDOWN>; 24 + }; 25 + 26 + out_hi: output_high { 27 + ste,output = <OUTPUT_HIGH>; 28 + }; 29 + 30 + out_lo: output_low { 31 + ste,output = <OUTPUT_LOW>; 32 + }; 33 + 34 + gpio_out_lo: gpio_output_low { 35 + ste,gpio = <GPIOMODE_ENABLED>; 36 + ste,output = <OUTPUT_LOW>; 37 + }; 38 + 39 + slpm_in_pu: slpm_in_pu { 40 + ste,sleep = <SLPM_ENABLED>; 41 + ste,sleep-input = <SLPM_INPUT_PULLUP>; 42 + ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>; 43 + }; 44 + 45 + slpm_in_wkup_pdis: slpm_in_wkup_pdis { 46 + ste,sleep = <SLPM_ENABLED>; 47 + ste,sleep-input = <SLPM_DIR_INPUT>; 48 + ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>; 49 + ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>; 50 + }; 51 + 52 + slpm_out_lo: slpm_out_lo { 53 + ste,sleep = <SLPM_ENABLED>; 54 + ste,sleep-output = <SLPM_OUTPUT_LOW>; 55 + ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>; 56 + }; 57 + 58 + slpm_out_hi: slpm_out_hi { 59 + ste,sleep = <SLPM_ENABLED>; 60 + ste,sleep-output = <SLPM_OUTPUT_HIGH>; 61 + ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>; 62 + }; 63 + 64 + slpm_out_hi_wkup_pdis: slpm_out_hi_wkup_pdis { 65 + ste,sleep = <SLPM_ENABLED>; 66 + ste,sleep-output = <SLPM_OUTPUT_HIGH>; 67 + ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>; 68 + ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>; 69 + }; 70 + 71 + slpm_out_wkup_pdis: slpm_out_wkup_pdis { 72 + ste,sleep = <SLPM_ENABLED>; 73 + ste,sleep-output = <SLPM_DIR_OUTPUT>; 74 + ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>; 75 + ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>; 76 + }; 77 + 78 + in_wkup_pdis: in_wkup_pdis { 79 + ste,sleep-input = <SLPM_DIR_INPUT>; 80 + ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>; 81 + ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>; 82 + }; 83 + 84 + out_hi_wkup_pdis: out_hi_wkup_pdis { 85 + ste,sleep-output = <SLPM_OUTPUT_HIGH>; 86 + ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>; 87 + ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>; 88 + }; 89 + 90 + out_wkup_pdis: out_wkup_pdis { 91 + ste,sleep-output = <SLPM_DIR_OUTPUT>; 92 + ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>; 93 + ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>; 94 + }; 95 + };
+31 -11
arch/arm/boot/dts/ste-nomadik-stn8815.dtsi
··· 140 140 }; 141 141 }; 142 142 i2c0 { 143 + i2c0_default_mux: i2c0_mux { 144 + i2c0_default_mux { 145 + ste,function = "i2c0"; 146 + ste,pins = "i2c0_a_1"; 147 + }; 148 + }; 143 149 i2c0_default_mode: i2c0_default { 144 150 i2c0_default_cfg { 145 151 ste,pins = "GPIO62_D3", "GPIO63_D2"; 146 - ste,input = <1>; 152 + ste,input = <0>; 147 153 }; 148 154 }; 149 155 }; 150 156 i2c1 { 157 + i2c1_default_mux: i2c1_mux { 158 + i2c1_default_mux { 159 + ste,function = "i2c1"; 160 + ste,pins = "i2c1_a_1"; 161 + }; 162 + }; 151 163 i2c1_default_mode: i2c1_default { 152 164 i2c1_default_cfg { 153 165 ste,pins = "GPIO53_L4", "GPIO54_L3"; 154 - ste,input = <1>; 166 + ste,input = <0>; 155 167 }; 156 168 }; 157 169 }; ··· 171 159 i2c2_default_mode: i2c2_default { 172 160 i2c2_default_cfg { 173 161 ste,pins = "GPIO73_C21", "GPIO74_C20"; 174 - ste,input = <1>; 162 + ste,input = <0>; 175 163 }; 176 164 }; 177 165 }; ··· 694 682 695 683 /* I2C0 connected to the STw4811 power management chip */ 696 684 i2c0 { 697 - compatible = "i2c-gpio"; 698 - gpios = <&gpio1 31 0>, /* sda */ 699 - <&gpio1 30 0>; /* scl */ 685 + compatible = "st,nomadik-i2c", "arm,primecell"; 686 + reg = <0x101f8000 0x1000>; 687 + interrupt-parent = <&vica>; 688 + interrupts = <20>; 689 + clock-frequency = <100000>; 700 690 #address-cells = <1>; 701 691 #size-cells = <0>; 692 + clocks = <&i2c0clk>, <&pclki2c0>; 693 + clock-names = "mclk", "apb_pclk"; 702 694 pinctrl-names = "default"; 703 - pinctrl-0 = <&i2c0_default_mode>; 695 + pinctrl-0 = <&i2c0_default_mux>, <&i2c0_default_mode>; 704 696 705 697 stw4811@2d { 706 698 compatible = "st,stw4811"; ··· 714 698 715 699 /* I2C1 connected to various sensors */ 716 700 i2c1 { 717 - compatible = "i2c-gpio"; 718 - gpios = <&gpio1 22 0>, /* sda */ 719 - <&gpio1 21 0>; /* scl */ 701 + compatible = "st,nomadik-i2c", "arm,primecell"; 702 + reg = <0x101f7000 0x1000>; 703 + interrupt-parent = <&vica>; 704 + interrupts = <21>; 705 + clock-frequency = <100000>; 720 706 #address-cells = <1>; 721 707 #size-cells = <0>; 708 + clocks = <&i2c1clk>, <&pclki2c1>; 709 + clock-names = "mclk", "apb_pclk"; 722 710 pinctrl-names = "default"; 723 - pinctrl-0 = <&i2c1_default_mode>; 711 + pinctrl-0 = <&i2c1_default_mux>, <&i2c1_default_mode>; 724 712 725 713 camera@2d { 726 714 compatible = "st,camera";
arch/arm/boot/dts/stuib.dtsi arch/arm/boot/dts/ste-stuib.dtsi
+101
arch/arm/boot/dts/sun4i-a10-a1000.dts
··· 1 + /* 2 + * Copyright 2013 Emilio López 3 + * 4 + * Emilio López <emilio@elopez.com.ar> 5 + * 6 + * The code contained herein is licensed under the GNU General Public 7 + * License. You may obtain a copy of the GNU General Public License 8 + * Version 2 or later at the following locations: 9 + * 10 + * http://www.opensource.org/licenses/gpl-license.html 11 + * http://www.gnu.org/copyleft/gpl.html 12 + */ 13 + 14 + /dts-v1/; 15 + /include/ "sun4i-a10.dtsi" 16 + 17 + / { 18 + model = "Mele A1000"; 19 + compatible = "mele,a1000", "allwinner,sun4i-a10"; 20 + 21 + aliases { 22 + serial0 = &uart0; 23 + }; 24 + 25 + soc@01c00000 { 26 + emac: ethernet@01c0b000 { 27 + pinctrl-names = "default"; 28 + pinctrl-0 = <&emac_pins_a>; 29 + phy = <&phy1>; 30 + status = "okay"; 31 + }; 32 + 33 + mdio@01c0b080 { 34 + phy-supply = <&reg_emac_3v3>; 35 + status = "okay"; 36 + 37 + phy1: ethernet-phy@1 { 38 + reg = <1>; 39 + }; 40 + }; 41 + 42 + pinctrl@01c20800 { 43 + emac_power_pin_a1000: emac_power_pin@0 { 44 + allwinner,pins = "PH15"; 45 + allwinner,function = "gpio_out"; 46 + allwinner,drive = <0>; 47 + allwinner,pull = <0>; 48 + }; 49 + 50 + led_pins_a1000: led_pins@0 { 51 + allwinner,pins = "PH10", "PH20"; 52 + allwinner,function = "gpio_out"; 53 + allwinner,drive = <0>; 54 + allwinner,pull = <0>; 55 + }; 56 + }; 57 + 58 + uart0: serial@01c28000 { 59 + pinctrl-names = "default"; 60 + pinctrl-0 = <&uart0_pins_a>; 61 + status = "okay"; 62 + }; 63 + 64 + i2c0: i2c@01c2ac00 { 65 + pinctrl-names = "default"; 66 + pinctrl-0 = <&i2c0_pins_a>; 67 + status = "okay"; 68 + }; 69 + }; 70 + 71 + leds { 72 + compatible = "gpio-leds"; 73 + pinctrl-names = "default"; 74 + pinctrl-0 = <&led_pins_a1000>; 75 + 76 + red { 77 + label = "a1000:red:usr"; 78 + gpios = <&pio 7 10 0>; 79 + }; 80 + 81 + blue { 82 + label = "a1000:blue:usr"; 83 + gpios = <&pio 7 20 0>; 84 + }; 85 + }; 86 + 87 + regulators { 88 + compatible = "simple-bus"; 89 + 90 + reg_emac_3v3: emac-3v3 { 91 + compatible = "regulator-fixed"; 92 + pinctrl-names = "default"; 93 + pinctrl-0 = <&emac_power_pin_a1000>; 94 + regulator-name = "emac-3v3"; 95 + regulator-min-microvolt = <3300000>; 96 + regulator-max-microvolt = <3300000>; 97 + enable-active-high; 98 + gpio = <&pio 7 15 0>; 99 + }; 100 + }; 101 + };
+3 -3
arch/arm/boot/dts/sun4i-a10-cubieboard.dts
··· 26 26 bootargs = "earlyprintk console=ttyS0,115200"; 27 27 }; 28 28 29 - soc@01c20000 { 29 + soc@01c00000 { 30 30 emac: ethernet@01c0b000 { 31 31 pinctrl-names = "default"; 32 32 pinctrl-0 = <&emac_pins_a>; ··· 76 76 pinctrl-0 = <&led_pins_cubieboard>; 77 77 78 78 blue { 79 - label = "cubieboard::blue"; 79 + label = "cubieboard:blue:usr"; 80 80 gpios = <&pio 7 21 0>; /* LED1 */ 81 81 }; 82 82 83 83 green { 84 - label = "cubieboard::green"; 84 + label = "cubieboard:green:usr"; 85 85 gpios = <&pio 7 20 0>; /* LED2 */ 86 86 linux,default-trigger = "heartbeat"; 87 87 };
+1 -1
arch/arm/boot/dts/sun4i-a10-hackberry.dts
··· 22 22 bootargs = "earlyprintk console=ttyS0,115200"; 23 23 }; 24 24 25 - soc@01c20000 { 25 + soc@01c00000 { 26 26 emac: ethernet@01c0b000 { 27 27 pinctrl-names = "default"; 28 28 pinctrl-0 = <&emac_pins_a>;
+1 -1
arch/arm/boot/dts/sun4i-a10-mini-xplus.dts
··· 22 22 bootargs = "earlyprintk console=ttyS0,115200"; 23 23 }; 24 24 25 - soc@01c20000 { 25 + soc@01c00000 { 26 26 uart0: serial@01c28000 { 27 27 pinctrl-names = "default"; 28 28 pinctrl-0 = <&uart0_pins_a>;
+1 -2
arch/arm/boot/dts/sun4i-a10.dtsi
··· 160 160 }; 161 161 }; 162 162 163 - soc@01c20000 { 163 + soc@01c00000 { 164 164 compatible = "simple-bus"; 165 165 #address-cells = <1>; 166 166 #size-cells = <1>; 167 - reg = <0x01c20000 0x300000>; 168 167 ranges; 169 168 170 169 emac: ethernet@01c0b000 {
+26 -1
arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts
··· 18 18 model = "Olimex A10s-Olinuxino Micro"; 19 19 compatible = "olimex,a10s-olinuxino-micro", "allwinner,sun5i-a10s"; 20 20 21 - soc@01c20000 { 21 + soc@01c00000 { 22 22 emac: ethernet@01c0b000 { 23 23 pinctrl-names = "default"; 24 24 pinctrl-0 = <&emac_pins_a>; ··· 58 58 uart3: serial@01c28c00 { 59 59 pinctrl-names = "default"; 60 60 pinctrl-0 = <&uart3_pins_a>; 61 + status = "okay"; 62 + }; 63 + 64 + i2c0: i2c@01c2ac00 { 65 + pinctrl-names = "default"; 66 + pinctrl-0 = <&i2c0_pins_a>; 67 + status = "okay"; 68 + }; 69 + 70 + i2c1: i2c@01c2b000 { 71 + pinctrl-names = "default"; 72 + pinctrl-0 = <&i2c1_pins_a>; 73 + status = "okay"; 74 + 75 + at24@50 { 76 + compatible = "at,24c16"; 77 + pagesize = <16>; 78 + reg = <0x50>; 79 + read-only; 80 + }; 81 + }; 82 + 83 + i2c2: i2c@01c2b400 { 84 + pinctrl-names = "default"; 85 + pinctrl-0 = <&i2c2_pins_a>; 61 86 status = "okay"; 62 87 }; 63 88 };
+55 -2
arch/arm/boot/dts/sun5i-a10s.dtsi
··· 157 157 }; 158 158 }; 159 159 160 - soc@01c20000 { 160 + soc@01c00000 { 161 161 compatible = "simple-bus"; 162 162 #address-cells = <1>; 163 163 #size-cells = <1>; 164 - reg = <0x01c20000 0x300000>; 165 164 ranges; 166 165 167 166 emac: ethernet@01c0b000 { ··· 228 229 allwinner,drive = <0>; 229 230 allwinner,pull = <0>; 230 231 }; 232 + 233 + i2c0_pins_a: i2c0@0 { 234 + allwinner,pins = "PB0", "PB1"; 235 + allwinner,function = "i2c0"; 236 + allwinner,drive = <0>; 237 + allwinner,pull = <0>; 238 + }; 239 + 240 + i2c1_pins_a: i2c1@0 { 241 + allwinner,pins = "PB15", "PB16"; 242 + allwinner,function = "i2c1"; 243 + allwinner,drive = <0>; 244 + allwinner,pull = <0>; 245 + }; 246 + 247 + i2c2_pins_a: i2c2@0 { 248 + allwinner,pins = "PB17", "PB18"; 249 + allwinner,function = "i2c2"; 250 + allwinner,drive = <0>; 251 + allwinner,pull = <0>; 252 + }; 231 253 }; 232 254 233 255 timer@01c20c00 { ··· 300 280 reg-shift = <2>; 301 281 reg-io-width = <4>; 302 282 clocks = <&apb1_gates 19>; 283 + status = "disabled"; 284 + }; 285 + 286 + i2c0: i2c@01c2ac00 { 287 + #address-cells = <1>; 288 + #size-cells = <0>; 289 + compatible = "allwinner,sun4i-i2c"; 290 + reg = <0x01c2ac00 0x400>; 291 + interrupts = <7>; 292 + clocks = <&apb1_gates 0>; 293 + clock-frequency = <100000>; 294 + status = "disabled"; 295 + }; 296 + 297 + i2c1: i2c@01c2b000 { 298 + #address-cells = <1>; 299 + #size-cells = <0>; 300 + compatible = "allwinner,sun4i-i2c"; 301 + reg = <0x01c2b000 0x400>; 302 + interrupts = <8>; 303 + clocks = <&apb1_gates 1>; 304 + clock-frequency = <100000>; 305 + status = "disabled"; 306 + }; 307 + 308 + i2c2: i2c@01c2b400 { 309 + #address-cells = <1>; 310 + #size-cells = <0>; 311 + compatible = "allwinner,sun4i-i2c"; 312 + reg = <0x01c2b400 0x400>; 313 + interrupts = <9>; 314 + clocks = <&apb1_gates 2>; 315 + clock-frequency = <100000>; 303 316 status = "disabled"; 304 317 }; 305 318 };
+1 -1
arch/arm/boot/dts/sun5i-a13-olinuxino.dts
··· 22 22 bootargs = "earlyprintk console=ttyS0,115200"; 23 23 }; 24 24 25 - soc@01c20000 { 25 + soc@01c00000 { 26 26 pinctrl@01c20800 { 27 27 led_pins_olinuxino: led_pins@0 { 28 28 allwinner,pins = "PG9";
+1 -2
arch/arm/boot/dts/sun5i-a13.dtsi
··· 150 150 }; 151 151 }; 152 152 153 - soc@01c20000 { 153 + soc@01c00000 { 154 154 compatible = "simple-bus"; 155 155 #address-cells = <1>; 156 156 #size-cells = <1>; 157 - reg = <0x01c20000 0x300000>; 158 157 ranges; 159 158 160 159 intc: interrupt-controller@01c20400 {
+30
arch/arm/boot/dts/sun6i-a31-colombus.dts
··· 1 + /* 2 + * Copyright 2013 Maxime Ripard 3 + * 4 + * Maxime Ripard <maxime.ripard@free-electrons.com> 5 + * 6 + * The code contained herein is licensed under the GNU General Public 7 + * License. You may obtain a copy of the GNU General Public License 8 + * Version 2 or later at the following locations: 9 + * 10 + * http://www.opensource.org/licenses/gpl-license.html 11 + * http://www.gnu.org/copyleft/gpl.html 12 + */ 13 + 14 + /dts-v1/; 15 + /include/ "sun6i-a31.dtsi" 16 + 17 + / { 18 + model = "WITS A31 Colombus Evaluation Board"; 19 + compatible = "wits,colombus", "allwinner,sun6i-a31"; 20 + 21 + chosen { 22 + bootargs = "earlyprintk console=ttyS0,115200"; 23 + }; 24 + 25 + soc@01c00000 { 26 + uart0: serial@01c28000 { 27 + status = "okay"; 28 + }; 29 + }; 30 + };
+156
arch/arm/boot/dts/sun6i-a31.dtsi
··· 1 + /* 2 + * Copyright 2013 Maxime Ripard 3 + * 4 + * Maxime Ripard <maxime.ripard@free-electrons.com> 5 + * 6 + * The code contained herein is licensed under the GNU General Public 7 + * License. You may obtain a copy of the GNU General Public License 8 + * Version 2 or later at the following locations: 9 + * 10 + * http://www.opensource.org/licenses/gpl-license.html 11 + * http://www.gnu.org/copyleft/gpl.html 12 + */ 13 + 14 + /include/ "skeleton.dtsi" 15 + 16 + / { 17 + interrupt-parent = <&gic>; 18 + 19 + cpus { 20 + #address-cells = <1>; 21 + #size-cells = <0>; 22 + 23 + cpu@0 { 24 + compatible = "arm,cortex-a7"; 25 + device_type = "cpu"; 26 + reg = <0>; 27 + }; 28 + 29 + cpu@1 { 30 + compatible = "arm,cortex-a7"; 31 + device_type = "cpu"; 32 + reg = <1>; 33 + }; 34 + 35 + cpu@2 { 36 + compatible = "arm,cortex-a7"; 37 + device_type = "cpu"; 38 + reg = <2>; 39 + }; 40 + 41 + cpu@3 { 42 + compatible = "arm,cortex-a7"; 43 + device_type = "cpu"; 44 + reg = <3>; 45 + }; 46 + }; 47 + 48 + memory { 49 + reg = <0x40000000 0x80000000>; 50 + }; 51 + 52 + clocks { 53 + #address-cells = <1>; 54 + #size-cells = <0>; 55 + 56 + osc: oscillator { 57 + #clock-cells = <0>; 58 + compatible = "fixed-clock"; 59 + clock-frequency = <24000000>; 60 + }; 61 + }; 62 + 63 + soc@01c00000 { 64 + compatible = "simple-bus"; 65 + #address-cells = <1>; 66 + #size-cells = <1>; 67 + ranges; 68 + 69 + timer@01c20c00 { 70 + compatible = "allwinner,sun4i-timer"; 71 + reg = <0x01c20c00 0xa0>; 72 + interrupts = <0 18 1>, 73 + <0 19 1>, 74 + <0 20 1>, 75 + <0 21 1>, 76 + <0 22 1>; 77 + clocks = <&osc>; 78 + }; 79 + 80 + wdt1: watchdog@01c20ca0 { 81 + compatible = "allwinner,sun6i-wdt"; 82 + reg = <0x01c20ca0 0x20>; 83 + }; 84 + 85 + uart0: serial@01c28000 { 86 + compatible = "snps,dw-apb-uart"; 87 + reg = <0x01c28000 0x400>; 88 + interrupts = <0 0 1>; 89 + reg-shift = <2>; 90 + reg-io-width = <4>; 91 + clocks = <&osc>; 92 + status = "disabled"; 93 + }; 94 + 95 + uart1: serial@01c28400 { 96 + compatible = "snps,dw-apb-uart"; 97 + reg = <0x01c28400 0x400>; 98 + interrupts = <0 1 1>; 99 + reg-shift = <2>; 100 + reg-io-width = <4>; 101 + clocks = <&osc>; 102 + status = "disabled"; 103 + }; 104 + 105 + uart2: serial@01c28800 { 106 + compatible = "snps,dw-apb-uart"; 107 + reg = <0x01c28800 0x400>; 108 + interrupts = <0 2 1>; 109 + reg-shift = <2>; 110 + reg-io-width = <4>; 111 + clocks = <&osc>; 112 + status = "disabled"; 113 + }; 114 + 115 + uart3: serial@01c28c00 { 116 + compatible = "snps,dw-apb-uart"; 117 + reg = <0x01c28c00 0x400>; 118 + interrupts = <0 3 1>; 119 + reg-shift = <2>; 120 + reg-io-width = <4>; 121 + clocks = <&osc>; 122 + status = "disabled"; 123 + }; 124 + 125 + uart4: serial@01c29000 { 126 + compatible = "snps,dw-apb-uart"; 127 + reg = <0x01c29000 0x400>; 128 + interrupts = <0 4 1>; 129 + reg-shift = <2>; 130 + reg-io-width = <4>; 131 + clocks = <&osc>; 132 + status = "disabled"; 133 + }; 134 + 135 + uart5: serial@01c29400 { 136 + compatible = "snps,dw-apb-uart"; 137 + reg = <0x01c29400 0x400>; 138 + interrupts = <0 5 1>; 139 + reg-shift = <2>; 140 + reg-io-width = <4>; 141 + clocks = <&osc>; 142 + status = "disabled"; 143 + }; 144 + 145 + gic: interrupt-controller@01c81000 { 146 + compatible = "arm,cortex-a7-gic", "arm,cortex-a15-gic"; 147 + reg = <0x01c81000 0x1000>, 148 + <0x01c82000 0x1000>, 149 + <0x01c84000 0x2000>, 150 + <0x01c86000 0x2000>; 151 + interrupt-controller; 152 + #interrupt-cells = <3>; 153 + interrupts = <1 9 0xf04>; 154 + }; 155 + }; 156 + };
+34
arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
··· 1 + /* 2 + * Copyright 2013 Maxime Ripard 3 + * 4 + * Maxime Ripard <maxime.ripard@free-electrons.com> 5 + * 6 + * The code contained herein is licensed under the GNU General Public 7 + * License. You may obtain a copy of the GNU General Public License 8 + * Version 2 or later at the following locations: 9 + * 10 + * http://www.opensource.org/licenses/gpl-license.html 11 + * http://www.gnu.org/copyleft/gpl.html 12 + */ 13 + 14 + /dts-v1/; 15 + /include/ "sun7i-a20.dtsi" 16 + 17 + / { 18 + model = "Olimex A20-Olinuxino Micro"; 19 + compatible = "olimex,a20-olinuxino-micro", "allwinner,sun7i-a20"; 20 + 21 + soc@01c00000 { 22 + uart0: serial@01c28000 { 23 + status = "okay"; 24 + }; 25 + 26 + uart6: serial@01c29800 { 27 + status = "okay"; 28 + }; 29 + 30 + uart7: serial@01c29c00 { 31 + status = "okay"; 32 + }; 33 + }; 34 + };
+172
arch/arm/boot/dts/sun7i-a20.dtsi
··· 1 + /* 2 + * Copyright 2013 Maxime Ripard 3 + * 4 + * Maxime Ripard <maxime.ripard@free-electrons.com> 5 + * 6 + * The code contained herein is licensed under the GNU General Public 7 + * License. You may obtain a copy of the GNU General Public License 8 + * Version 2 or later at the following locations: 9 + * 10 + * http://www.opensource.org/licenses/gpl-license.html 11 + * http://www.gnu.org/copyleft/gpl.html 12 + */ 13 + 14 + /include/ "skeleton.dtsi" 15 + 16 + / { 17 + interrupt-parent = <&gic>; 18 + 19 + cpus { 20 + #address-cells = <1>; 21 + #size-cells = <0>; 22 + 23 + cpu@0 { 24 + compatible = "arm,cortex-a7"; 25 + device_type = "cpu"; 26 + reg = <0>; 27 + }; 28 + 29 + cpu@1 { 30 + compatible = "arm,cortex-a7"; 31 + device_type = "cpu"; 32 + reg = <1>; 33 + }; 34 + }; 35 + 36 + memory { 37 + reg = <0x40000000 0x80000000>; 38 + }; 39 + 40 + clocks { 41 + #address-cells = <1>; 42 + #size-cells = <1>; 43 + ranges; 44 + 45 + osc24M: osc24M@01c20050 { 46 + #clock-cells = <0>; 47 + compatible = "fixed-clock"; 48 + clock-frequency = <24000000>; 49 + }; 50 + 51 + osc32k: osc32k { 52 + #clock-cells = <0>; 53 + compatible = "fixed-clock"; 54 + clock-frequency = <32768>; 55 + }; 56 + }; 57 + 58 + soc@01c00000 { 59 + compatible = "simple-bus"; 60 + #address-cells = <1>; 61 + #size-cells = <1>; 62 + ranges; 63 + 64 + timer@01c20c00 { 65 + compatible = "allwinner,sun4i-timer"; 66 + reg = <0x01c20c00 0x90>; 67 + interrupts = <0 22 1>, 68 + <0 23 1>, 69 + <0 24 1>, 70 + <0 25 1>, 71 + <0 67 1>, 72 + <0 68 1>; 73 + clocks = <&osc24M>; 74 + }; 75 + 76 + wdt: watchdog@01c20c90 { 77 + compatible = "allwinner,sun4i-wdt"; 78 + reg = <0x01c20c90 0x10>; 79 + }; 80 + 81 + uart0: serial@01c28000 { 82 + compatible = "snps,dw-apb-uart"; 83 + reg = <0x01c28000 0x400>; 84 + interrupts = <0 1 1>; 85 + reg-shift = <2>; 86 + reg-io-width = <4>; 87 + clocks = <&osc24M>; 88 + status = "disabled"; 89 + }; 90 + 91 + uart1: serial@01c28400 { 92 + compatible = "snps,dw-apb-uart"; 93 + reg = <0x01c28400 0x400>; 94 + interrupts = <0 2 1>; 95 + reg-shift = <2>; 96 + reg-io-width = <4>; 97 + clocks = <&osc24M>; 98 + status = "disabled"; 99 + }; 100 + 101 + uart2: serial@01c28800 { 102 + compatible = "snps,dw-apb-uart"; 103 + reg = <0x01c28800 0x400>; 104 + interrupts = <0 3 1>; 105 + reg-shift = <2>; 106 + reg-io-width = <4>; 107 + clocks = <&osc24M>; 108 + status = "disabled"; 109 + }; 110 + 111 + uart3: serial@01c28c00 { 112 + compatible = "snps,dw-apb-uart"; 113 + reg = <0x01c28c00 0x400>; 114 + interrupts = <0 4 1>; 115 + reg-shift = <2>; 116 + reg-io-width = <4>; 117 + clocks = <&osc24M>; 118 + status = "disabled"; 119 + }; 120 + 121 + uart4: serial@01c29000 { 122 + compatible = "snps,dw-apb-uart"; 123 + reg = <0x01c29000 0x400>; 124 + interrupts = <0 17 1>; 125 + reg-shift = <2>; 126 + reg-io-width = <4>; 127 + clocks = <&osc24M>; 128 + status = "disabled"; 129 + }; 130 + 131 + uart5: serial@01c29400 { 132 + compatible = "snps,dw-apb-uart"; 133 + reg = <0x01c29400 0x400>; 134 + interrupts = <0 18 1>; 135 + reg-shift = <2>; 136 + reg-io-width = <4>; 137 + clocks = <&osc24M>; 138 + status = "disabled"; 139 + }; 140 + 141 + uart6: serial@01c29800 { 142 + compatible = "snps,dw-apb-uart"; 143 + reg = <0x01c29800 0x400>; 144 + interrupts = <0 19 1>; 145 + reg-shift = <2>; 146 + reg-io-width = <4>; 147 + clocks = <&osc24M>; 148 + status = "disabled"; 149 + }; 150 + 151 + uart7: serial@01c29c00 { 152 + compatible = "snps,dw-apb-uart"; 153 + reg = <0x01c29c00 0x400>; 154 + interrupts = <0 20 1>; 155 + reg-shift = <2>; 156 + reg-io-width = <4>; 157 + clocks = <&osc24M>; 158 + status = "disabled"; 159 + }; 160 + 161 + gic: interrupt-controller@01c81000 { 162 + compatible = "arm,cortex-a7-gic", "arm,cortex-a15-gic"; 163 + reg = <0x01c81000 0x1000>, 164 + <0x01c82000 0x1000>, 165 + <0x01c84000 0x2000>, 166 + <0x01c86000 0x2000>; 167 + interrupt-controller; 168 + #interrupt-cells = <3>; 169 + interrupts = <1 9 0xf04>; 170 + }; 171 + }; 172 + };
+235 -2
arch/arm/boot/dts/tegra114-dalmore.dts
··· 791 791 regulator-boot-on; 792 792 }; 793 793 794 - dcdc3 { 794 + tps65090_dcdc3_reg: dcdc3 { 795 795 regulator-name = "vdd-ao"; 796 796 regulator-always-on; 797 797 regulator-boot-on; ··· 836 836 }; 837 837 }; 838 838 }; 839 + 840 + palmas: tps65913 { 841 + compatible = "ti,palmas"; 842 + reg = <0x58>; 843 + interrupts = <0 86 IRQ_TYPE_LEVEL_LOW>; 844 + 845 + #interrupt-cells = <2>; 846 + interrupt-controller; 847 + 848 + ti,system-power-controller; 849 + 850 + palmas_gpio: gpio { 851 + compatible = "ti,palmas-gpio"; 852 + gpio-controller; 853 + #gpio-cells = <2>; 854 + }; 855 + 856 + pmic { 857 + compatible = "ti,tps65913-pmic", "ti,palmas-pmic"; 858 + smps1-in-supply = <&tps65090_dcdc3_reg>; 859 + smps3-in-supply = <&tps65090_dcdc3_reg>; 860 + smps4-in-supply = <&tps65090_dcdc2_reg>; 861 + smps7-in-supply = <&tps65090_dcdc2_reg>; 862 + smps8-in-supply = <&tps65090_dcdc2_reg>; 863 + smps9-in-supply = <&tps65090_dcdc2_reg>; 864 + ldo1-in-supply = <&tps65090_dcdc2_reg>; 865 + ldo2-in-supply = <&tps65090_dcdc2_reg>; 866 + ldo3-in-supply = <&palmas_smps3_reg>; 867 + ldo4-in-supply = <&tps65090_dcdc2_reg>; 868 + ldo5-in-supply = <&vdd_ac_bat_reg>; 869 + ldo6-in-supply = <&tps65090_dcdc2_reg>; 870 + ldo7-in-supply = <&tps65090_dcdc2_reg>; 871 + ldo8-in-supply = <&tps65090_dcdc3_reg>; 872 + ldo9-in-supply = <&palmas_smps9_reg>; 873 + ldoln-in-supply = <&tps65090_dcdc1_reg>; 874 + ldousb-in-supply = <&tps65090_dcdc1_reg>; 875 + 876 + regulators { 877 + smps12 { 878 + regulator-name = "vddio-ddr"; 879 + regulator-min-microvolt = <1350000>; 880 + regulator-max-microvolt = <1350000>; 881 + regulator-always-on; 882 + regulator-boot-on; 883 + }; 884 + 885 + palmas_smps3_reg: smps3 { 886 + regulator-name = "vddio-1v8"; 887 + regulator-min-microvolt = <1800000>; 888 + regulator-max-microvolt = <1800000>; 889 + regulator-always-on; 890 + regulator-boot-on; 891 + }; 892 + 893 + smps45 { 894 + regulator-name = "vdd-core"; 895 + regulator-min-microvolt = <900000>; 896 + regulator-max-microvolt = <1400000>; 897 + regulator-always-on; 898 + regulator-boot-on; 899 + }; 900 + 901 + smps457 { 902 + regulator-name = "vdd-core"; 903 + regulator-min-microvolt = <900000>; 904 + regulator-max-microvolt = <1400000>; 905 + regulator-always-on; 906 + regulator-boot-on; 907 + }; 908 + 909 + smps8 { 910 + regulator-name = "avdd-pll"; 911 + regulator-min-microvolt = <1050000>; 912 + regulator-max-microvolt = <1050000>; 913 + regulator-always-on; 914 + regulator-boot-on; 915 + }; 916 + 917 + palmas_smps9_reg: smps9 { 918 + regulator-name = "sdhci-vdd-sd-slot"; 919 + regulator-min-microvolt = <2800000>; 920 + regulator-max-microvolt = <2800000>; 921 + regulator-always-on; 922 + }; 923 + 924 + ldo1 { 925 + regulator-name = "avdd-cam1"; 926 + regulator-min-microvolt = <2800000>; 927 + regulator-max-microvolt = <2800000>; 928 + }; 929 + 930 + ldo2 { 931 + regulator-name = "avdd-cam2"; 932 + regulator-min-microvolt = <2800000>; 933 + regulator-max-microvolt = <2800000>; 934 + }; 935 + 936 + ldo3 { 937 + regulator-name = "avdd-dsi-csi"; 938 + regulator-min-microvolt = <1200000>; 939 + regulator-max-microvolt = <1200000>; 940 + regulator-always-on; 941 + regulator-boot-on; 942 + }; 943 + 944 + ldo4 { 945 + regulator-name = "vpp-fuse"; 946 + regulator-min-microvolt = <1800000>; 947 + regulator-max-microvolt = <1800000>; 948 + }; 949 + 950 + ldo6 { 951 + regulator-name = "vdd-sensor-2v85"; 952 + regulator-min-microvolt = <2850000>; 953 + regulator-max-microvolt = <2850000>; 954 + }; 955 + 956 + ldo7 { 957 + regulator-name = "vdd-af-cam1"; 958 + regulator-min-microvolt = <2800000>; 959 + regulator-max-microvolt = <2800000>; 960 + }; 961 + 962 + ldo8 { 963 + regulator-name = "vdd-rtc"; 964 + regulator-min-microvolt = <900000>; 965 + regulator-max-microvolt = <900000>; 966 + regulator-always-on; 967 + regulator-boot-on; 968 + ti,enable-ldo8-tracking; 969 + }; 970 + 971 + ldo9 { 972 + regulator-name = "vddio-sdmmc-2"; 973 + regulator-min-microvolt = <1800000>; 974 + regulator-max-microvolt = <3300000>; 975 + regulator-always-on; 976 + regulator-boot-on; 977 + }; 978 + 979 + ldoln { 980 + regulator-name = "hvdd-usb"; 981 + regulator-min-microvolt = <3300000>; 982 + regulator-max-microvolt = <3300000>; 983 + }; 984 + 985 + ldousb { 986 + regulator-name = "avdd-usb"; 987 + regulator-min-microvolt = <3300000>; 988 + regulator-max-microvolt = <3300000>; 989 + regulator-always-on; 990 + regulator-boot-on; 991 + }; 992 + 993 + regen1 { 994 + regulator-name = "rail-3v3"; 995 + regulator-max-microvolt = <3300000>; 996 + regulator-always-on; 997 + regulator-boot-on; 998 + }; 999 + 1000 + regen2 { 1001 + regulator-name = "rail-5v0"; 1002 + regulator-max-microvolt = <5000000>; 1003 + regulator-always-on; 1004 + regulator-boot-on; 1005 + }; 1006 + }; 1007 + }; 1008 + 1009 + rtc { 1010 + compatible = "ti,palmas-rtc"; 1011 + interrupt-parent = <&palmas>; 1012 + interrupts = <8 0>; 1013 + }; 1014 + }; 839 1015 }; 840 1016 841 1017 spi@7000da00 { ··· 1026 850 1027 851 pmc { 1028 852 nvidia,invert-interrupt; 853 + nvidia,suspend-mode = <1>; 854 + nvidia,cpu-pwr-good-time = <500>; 855 + nvidia,cpu-pwr-off-time = <300>; 856 + nvidia,core-pwr-good-time = <641 3845>; 857 + nvidia,core-pwr-off-time = <61036>; 858 + nvidia,core-power-req-active-high; 859 + nvidia,sys-clock-req-active-high; 1029 860 }; 1030 861 1031 862 ahub { ··· 1053 870 non-removable; 1054 871 }; 1055 872 873 + usb@7d008000 { 874 + status = "okay"; 875 + }; 876 + 877 + usb-phy@7d008000 { 878 + status = "okay"; 879 + vbus-supply = <&usb3_vbus_reg>; 880 + }; 881 + 1056 882 clocks { 1057 883 compatible = "simple-bus"; 1058 884 #address-cells = <1>; ··· 1072 880 reg=<0>; 1073 881 #clock-cells = <0>; 1074 882 clock-frequency = <32768>; 883 + }; 884 + }; 885 + 886 + gpio-keys { 887 + compatible = "gpio-keys"; 888 + 889 + home { 890 + label = "Home"; 891 + gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>; 892 + linux,code = <102>; /* KEY_HOME */ 893 + }; 894 + 895 + power { 896 + label = "Power"; 897 + gpios = <&gpio TEGRA_GPIO(Q, 0) GPIO_ACTIVE_LOW>; 898 + linux,code = <116>; /* KEY_POWER */ 899 + gpio-key,wakeup; 900 + }; 901 + 902 + volume_down { 903 + label = "Volume Down"; 904 + gpios = <&gpio TEGRA_GPIO(R, 1) GPIO_ACTIVE_LOW>; 905 + linux,code = <114>; /* KEY_VOLUMEDOWN */ 906 + }; 907 + 908 + volume_up { 909 + label = "Volume Up"; 910 + gpios = <&gpio TEGRA_GPIO(R, 2) GPIO_ACTIVE_LOW>; 911 + linux,code = <115>; /* KEY_VOLUMEUP */ 1075 912 }; 1076 913 }; 1077 914 ··· 1172 951 gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>; 1173 952 vin-supply = <&tps65090_dcdc1_reg>; 1174 953 }; 954 + 955 + vdd_cam_1v8_reg: regulator@6 { 956 + compatible = "regulator-fixed"; 957 + reg = <6>; 958 + regulator-name = "vdd_cam_1v8_reg"; 959 + regulator-min-microvolt = <1800000>; 960 + regulator-max-microvolt = <1800000>; 961 + enable-active-high; 962 + gpio = <&palmas_gpio 6 0>; 963 + }; 1175 964 }; 1176 965 1177 966 sound { ··· 1195 964 "Speakers", "SPORP", 1196 965 "Speakers", "SPORN", 1197 966 "Speakers", "SPOLP", 1198 - "Speakers", "SPOLN"; 967 + "Speakers", "SPOLN", 968 + "Mic Jack", "MICBIAS1", 969 + "IN2P", "Mic Jack"; 1199 970 1200 971 nvidia,i2s-controller = <&tegra_i2s1>; 1201 972 nvidia,audio-codec = <&rt5640>;
-33
arch/arm/boot/dts/tegra114-pluto.dts
··· 1 - /dts-v1/; 2 - 3 - #include "tegra114.dtsi" 4 - 5 - / { 6 - model = "NVIDIA Tegra114 Pluto evaluation board"; 7 - compatible = "nvidia,pluto", "nvidia,tegra114"; 8 - 9 - memory { 10 - reg = <0x80000000 0x40000000>; 11 - }; 12 - 13 - serial@70006300 { 14 - status = "okay"; 15 - }; 16 - 17 - pmc { 18 - nvidia,invert-interrupt; 19 - }; 20 - 21 - clocks { 22 - compatible = "simple-bus"; 23 - #address-cells = <1>; 24 - #size-cells = <0>; 25 - 26 - clk32k_in: clock { 27 - compatible = "fixed-clock"; 28 - reg=<0>; 29 - #clock-cells = <0>; 30 - clock-frequency = <32768>; 31 - }; 32 - }; 33 - };
+62
arch/arm/boot/dts/tegra114.dtsi
··· 430 430 status = "disable"; 431 431 }; 432 432 433 + usb@7d000000 { 434 + compatible = "nvidia,tegra30-ehci", "usb-ehci"; 435 + reg = <0x7d000000 0x4000>; 436 + interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; 437 + phy_type = "utmi"; 438 + clocks = <&tegra_car TEGRA114_CLK_USBD>; 439 + nvidia,phy = <&phy1>; 440 + status = "disabled"; 441 + }; 442 + 443 + phy1: usb-phy@7d000000 { 444 + compatible = "nvidia,tegra30-usb-phy"; 445 + reg = <0x7d000000 0x4000 0x7d000000 0x4000>; 446 + phy_type = "utmi"; 447 + clocks = <&tegra_car TEGRA114_CLK_USBD>, 448 + <&tegra_car TEGRA114_CLK_PLL_U>, 449 + <&tegra_car TEGRA114_CLK_USBD>; 450 + clock-names = "reg", "pll_u", "utmi-pads"; 451 + nvidia,hssync-start-delay = <0>; 452 + nvidia,idle-wait-delay = <17>; 453 + nvidia,elastic-limit = <16>; 454 + nvidia,term-range-adj = <6>; 455 + nvidia,xcvr-setup = <9>; 456 + nvidia,xcvr-lsfslew = <0>; 457 + nvidia,xcvr-lsrslew = <3>; 458 + nvidia,hssquelch-level = <2>; 459 + nvidia,hsdiscon-level = <5>; 460 + nvidia,xcvr-hsslew = <12>; 461 + status = "disabled"; 462 + }; 463 + 464 + usb@7d008000 { 465 + compatible = "nvidia,tegra30-ehci", "usb-ehci"; 466 + reg = <0x7d008000 0x4000>; 467 + interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>; 468 + phy_type = "utmi"; 469 + clocks = <&tegra_car TEGRA114_CLK_USB3>; 470 + nvidia,phy = <&phy3>; 471 + status = "disabled"; 472 + }; 473 + 474 + phy3: usb-phy@7d008000 { 475 + compatible = "nvidia,tegra30-usb-phy"; 476 + reg = <0x7d008000 0x4000 0x7d000000 0x4000>; 477 + phy_type = "utmi"; 478 + clocks = <&tegra_car TEGRA114_CLK_USB3>, 479 + <&tegra_car TEGRA114_CLK_PLL_U>, 480 + <&tegra_car TEGRA114_CLK_USBD>; 481 + clock-names = "reg", "pll_u", "utmi-pads"; 482 + nvidia,hssync-start-delay = <0>; 483 + nvidia,idle-wait-delay = <17>; 484 + nvidia,elastic-limit = <16>; 485 + nvidia,term-range-adj = <6>; 486 + nvidia,xcvr-setup = <9>; 487 + nvidia,xcvr-lsfslew = <0>; 488 + nvidia,xcvr-lsrslew = <3>; 489 + nvidia,hssquelch-level = <2>; 490 + nvidia,hsdiscon-level = <5>; 491 + nvidia,xcvr-hsslew = <12>; 492 + status = "disabled"; 493 + }; 494 + 433 495 cpus { 434 496 #address-cells = <1>; 435 497 #size-cells = <0>;
+1 -1
arch/arm/boot/dts/tegra20-colibri-512.dtsi
··· 363 363 }; 364 364 365 365 pmc { 366 - nvidia,suspend-mode = <2>; 366 + nvidia,suspend-mode = <1>; 367 367 nvidia,cpu-pwr-good-time = <5000>; 368 368 nvidia,cpu-pwr-off-time = <5000>; 369 369 nvidia,core-pwr-good-time = <3845 3845>;
+17 -5
arch/arm/boot/dts/tegra20-harmony.dts
··· 335 335 regulator-always-on; 336 336 }; 337 337 338 - ldo0 { 338 + pci_clk_reg: ldo0 { 339 339 regulator-name = "vdd_ldo0,vddio_pex_clk"; 340 340 regulator-min-microvolt = <3300000>; 341 341 regulator-max-microvolt = <3300000>; ··· 417 417 418 418 pmc { 419 419 nvidia,invert-interrupt; 420 - nvidia,suspend-mode = <2>; 420 + nvidia,suspend-mode = <1>; 421 421 nvidia,cpu-pwr-good-time = <5000>; 422 422 nvidia,cpu-pwr-off-time = <5000>; 423 423 nvidia,core-pwr-good-time = <3845 3845>; 424 424 nvidia,core-pwr-off-time = <3875>; 425 425 nvidia,sys-clock-req-active-high; 426 + }; 427 + 428 + pcie-controller { 429 + pex-clk-supply = <&pci_clk_reg>; 430 + vdd-supply = <&pci_vdd_reg>; 431 + status = "okay"; 432 + 433 + pci@1,0 { 434 + status = "okay"; 435 + }; 436 + 437 + pci@2,0 { 438 + status = "okay"; 439 + }; 426 440 }; 427 441 428 442 usb@c5000000 { ··· 657 643 enable-active-high; 658 644 }; 659 645 660 - regulator@3 { 646 + pci_vdd_reg: regulator@3 { 661 647 compatible = "regulator-fixed"; 662 648 reg = <3>; 663 649 regulator-name = "vdd_1v05"; ··· 665 651 regulator-max-microvolt = <1050000>; 666 652 gpio = <&pmic 2 GPIO_ACTIVE_HIGH>; 667 653 enable-active-high; 668 - /* Hack until board-harmony-pcie.c is removed */ 669 - status = "disabled"; 670 654 }; 671 655 672 656 regulator@4 {
+1 -1
arch/arm/boot/dts/tegra20-paz00.dts
··· 417 417 418 418 pmc { 419 419 nvidia,invert-interrupt; 420 - nvidia,suspend-mode = <2>; 420 + nvidia,suspend-mode = <1>; 421 421 nvidia,cpu-pwr-good-time = <2000>; 422 422 nvidia,cpu-pwr-off-time = <0>; 423 423 nvidia,core-pwr-good-time = <3845 3845>;
+2 -2
arch/arm/boot/dts/tegra20-seaboard.dts
··· 518 518 519 519 pmc { 520 520 nvidia,invert-interrupt; 521 - nvidia,suspend-mode = <2>; 521 + nvidia,suspend-mode = <1>; 522 522 nvidia,cpu-pwr-good-time = <5000>; 523 523 nvidia,cpu-pwr-off-time = <5000>; 524 524 nvidia,core-pwr-good-time = <3845 3845>; ··· 828 828 regulator-min-microvolt = <5000000>; 829 829 regulator-max-microvolt = <5000000>; 830 830 enable-active-high; 831 - gpio = <&gpio 24 0>; /* PD0 */ 831 + gpio = <&gpio TEGRA_GPIO(D, 0) 0>; 832 832 regulator-always-on; 833 833 regulator-boot-on; 834 834 };
+17 -2
arch/arm/boot/dts/tegra20-tamonten.dtsi
··· 366 366 regulator-always-on; 367 367 }; 368 368 369 - ldo0 { 369 + pci_clk_reg: ldo0 { 370 370 regulator-name = "vdd_ldo0,vddio_pex_clk"; 371 371 regulator-min-microvolt = <3300000>; 372 372 regulator-max-microvolt = <3300000>; ··· 459 459 460 460 pmc { 461 461 nvidia,invert-interrupt; 462 - nvidia,suspend-mode = <2>; 462 + nvidia,suspend-mode = <1>; 463 463 nvidia,cpu-pwr-good-time = <5000>; 464 464 nvidia,cpu-pwr-off-time = <5000>; 465 465 nvidia,core-pwr-good-time = <3845 3845>; 466 466 nvidia,core-pwr-off-time = <3875>; 467 467 nvidia,sys-clock-req-active-high; 468 + }; 469 + 470 + pcie-controller { 471 + pex-clk-supply = <&pci_clk_reg>; 472 + vdd-supply = <&pci_vdd_reg>; 468 473 }; 469 474 470 475 usb@c5008000 { ··· 513 508 regulator-min-microvolt = <5000000>; 514 509 regulator-max-microvolt = <5000000>; 515 510 regulator-always-on; 511 + }; 512 + 513 + pci_vdd_reg: regulator@1 { 514 + compatible = "regulator-fixed"; 515 + reg = <1>; 516 + regulator-name = "vdd_1v05"; 517 + regulator-min-microvolt = <1050000>; 518 + regulator-max-microvolt = <1050000>; 519 + gpio = <&pmic 2 0>; 520 + enable-active-high; 516 521 }; 517 522 }; 518 523 };
+8
arch/arm/boot/dts/tegra20-tec.dts
··· 32 32 }; 33 33 }; 34 34 35 + pcie-controller { 36 + status = "okay"; 37 + 38 + pci@1,0 { 39 + status = "okay"; 40 + }; 41 + }; 42 + 35 43 sound { 36 44 compatible = "ad,tegra-audio-wm8903-tec", 37 45 "nvidia,tegra-audio-wm8903";
+30 -2
arch/arm/boot/dts/tegra20-trimslice.dts
··· 302 302 }; 303 303 304 304 pmc { 305 - nvidia,suspend-mode = <2>; 305 + nvidia,suspend-mode = <1>; 306 306 nvidia,cpu-pwr-good-time = <5000>; 307 307 nvidia,cpu-pwr-off-time = <5000>; 308 308 nvidia,core-pwr-good-time = <3845 3845>; 309 309 nvidia,core-pwr-off-time = <3875>; 310 310 nvidia,sys-clock-req-active-high; 311 + }; 312 + 313 + pcie-controller { 314 + status = "okay"; 315 + pex-clk-supply = <&pci_clk_reg>; 316 + vdd-supply = <&pci_vdd_reg>; 317 + 318 + pci@1,0 { 319 + status = "okay"; 320 + }; 311 321 }; 312 322 313 323 usb@c5000000 { ··· 420 410 regulator-min-microvolt = <5000000>; 421 411 regulator-max-microvolt = <5000000>; 422 412 enable-active-high; 423 - gpio = <&gpio 170 0>; /* PV2 */ 413 + gpio = <&gpio TEGRA_GPIO(V, 2) 0>; 424 414 regulator-always-on; 425 415 regulator-boot-on; 416 + }; 417 + 418 + pci_clk_reg: regulator@3 { 419 + compatible = "regulator-fixed"; 420 + reg = <3>; 421 + regulator-name = "pci_clk"; 422 + regulator-min-microvolt = <3300000>; 423 + regulator-max-microvolt = <3300000>; 424 + regulator-always-on; 425 + }; 426 + 427 + pci_vdd_reg: regulator@4 { 428 + compatible = "regulator-fixed"; 429 + reg = <4>; 430 + regulator-name = "pci_vdd"; 431 + regulator-min-microvolt = <1050000>; 432 + regulator-max-microvolt = <1050000>; 433 + regulator-always-on; 426 434 }; 427 435 }; 428 436
+1 -1
arch/arm/boot/dts/tegra20-ventana.dts
··· 494 494 495 495 pmc { 496 496 nvidia,invert-interrupt; 497 - nvidia,suspend-mode = <2>; 497 + nvidia,suspend-mode = <1>; 498 498 nvidia,cpu-pwr-good-time = <2000>; 499 499 nvidia,cpu-pwr-off-time = <100>; 500 500 nvidia,core-pwr-good-time = <3845 3845>;
+1 -1
arch/arm/boot/dts/tegra20-whistler.dts
··· 497 497 498 498 pmc { 499 499 nvidia,invert-interrupt; 500 - nvidia,suspend-mode = <2>; 500 + nvidia,suspend-mode = <1>; 501 501 nvidia,cpu-pwr-good-time = <2000>; 502 502 nvidia,cpu-pwr-off-time = <1000>; 503 503 nvidia,core-pwr-good-time = <0 3845>;
+55
arch/arm/boot/dts/tegra20.dtsi
··· 455 455 #size-cells = <0>; 456 456 }; 457 457 458 + pcie-controller { 459 + compatible = "nvidia,tegra20-pcie"; 460 + device_type = "pci"; 461 + reg = <0x80003000 0x00000800 /* PADS registers */ 462 + 0x80003800 0x00000200 /* AFI registers */ 463 + 0x90000000 0x10000000>; /* configuration space */ 464 + reg-names = "pads", "afi", "cs"; 465 + interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH /* controller interrupt */ 466 + GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>; /* MSI interrupt */ 467 + interrupt-names = "intr", "msi"; 468 + 469 + bus-range = <0x00 0xff>; 470 + #address-cells = <3>; 471 + #size-cells = <2>; 472 + 473 + ranges = <0x82000000 0 0x80000000 0x80000000 0 0x00001000 /* port 0 registers */ 474 + 0x82000000 0 0x80001000 0x80001000 0 0x00001000 /* port 1 registers */ 475 + 0x81000000 0 0 0x82000000 0 0x00010000 /* downstream I/O */ 476 + 0x82000000 0 0xa0000000 0xa0000000 0 0x08000000 /* non-prefetchable memory */ 477 + 0xc2000000 0 0xa8000000 0xa8000000 0 0x18000000>; /* prefetchable memory */ 478 + 479 + clocks = <&tegra_car TEGRA20_CLK_PEX>, 480 + <&tegra_car TEGRA20_CLK_AFI>, 481 + <&tegra_car TEGRA20_CLK_PCIE_XCLK>, 482 + <&tegra_car TEGRA20_CLK_PLL_E>; 483 + clock-names = "pex", "afi", "pcie_xclk", "pll_e"; 484 + status = "disabled"; 485 + 486 + pci@1,0 { 487 + device_type = "pci"; 488 + assigned-addresses = <0x82000800 0 0x80000000 0 0x1000>; 489 + reg = <0x000800 0 0 0 0>; 490 + status = "disabled"; 491 + 492 + #address-cells = <3>; 493 + #size-cells = <2>; 494 + ranges; 495 + 496 + nvidia,num-lanes = <2>; 497 + }; 498 + 499 + pci@2,0 { 500 + device_type = "pci"; 501 + assigned-addresses = <0x82001000 0 0x80001000 0 0x1000>; 502 + reg = <0x001000 0 0 0 0>; 503 + status = "disabled"; 504 + 505 + #address-cells = <3>; 506 + #size-cells = <2>; 507 + ranges; 508 + 509 + nvidia,num-lanes = <2>; 510 + }; 511 + }; 512 + 458 513 usb@c5000000 { 459 514 compatible = "nvidia,tegra20-ehci", "usb-ehci"; 460 515 reg = <0xc5000000 0x4000>;
+59 -5
arch/arm/boot/dts/tegra30-beaver.dts
··· 10 10 reg = <0x80000000 0x7ff00000>; 11 11 }; 12 12 13 + pcie-controller { 14 + status = "okay"; 15 + pex-clk-supply = <&sys_3v3_pexs_reg>; 16 + vdd-supply = <&ldo1_reg>; 17 + avdd-supply = <&ldo2_reg>; 18 + 19 + pci@1,0 { 20 + status = "okay"; 21 + nvidia,num-lanes = <2>; 22 + }; 23 + 24 + pci@2,0 { 25 + nvidia,num-lanes = <2>; 26 + }; 27 + 28 + pci@3,0 { 29 + status = "okay"; 30 + nvidia,num-lanes = <2>; 31 + }; 32 + }; 33 + 34 + host1x { 35 + hdmi { 36 + status = "okay"; 37 + 38 + vdd-supply = <&sys_3v3_reg>; 39 + pll-supply = <&vio_reg>; 40 + 41 + nvidia,hpd-gpio = 42 + <&gpio TEGRA_GPIO(N, 7) GPIO_ACTIVE_HIGH>; 43 + nvidia,ddc-i2c-bus = <&hdmiddc>; 44 + }; 45 + }; 46 + 13 47 pinmux { 14 48 pinctrl-names = "default"; 15 49 pinctrl-0 = <&state_default>; ··· 110 76 nvidia,pull = <0>; 111 77 nvidia,tristate = <0>; 112 78 }; 79 + pex_l1_prsnt_n_pdd4 { 80 + nvidia,pins = "pex_l1_prsnt_n_pdd4", 81 + "pex_l1_clkreq_n_pdd6"; 82 + nvidia,pull = <2>; 83 + }; 113 84 sdio3 { 114 85 nvidia,pins = "drive_sdio3"; 115 86 nvidia,high-speed-mode = <0>; ··· 123 84 nvidia,pull-up-strength = <42>; 124 85 nvidia,slew-rate-rising = <1>; 125 86 nvidia,slew-rate-falling = <1>; 87 + }; 88 + gpv { 89 + nvidia,pins = "drive_gpv"; 90 + nvidia,pull-up-strength = <16>; 126 91 }; 127 92 }; 128 93 }; ··· 150 107 clock-frequency = <100000>; 151 108 }; 152 109 153 - i2c@7000c700 { 110 + hdmiddc: i2c@7000c700 { 154 111 status = "okay"; 155 112 clock-frequency = <100000>; 156 113 }; ··· 305 262 pmc { 306 263 status = "okay"; 307 264 nvidia,invert-interrupt; 308 - nvidia,suspend-mode = <2>; 265 + nvidia,suspend-mode = <1>; 309 266 nvidia,cpu-pwr-good-time = <2000>; 310 267 nvidia,cpu-pwr-off-time = <200>; 311 268 nvidia,core-pwr-good-time = <3845 3845>; ··· 326 283 status = "okay"; 327 284 bus-width = <8>; 328 285 non-removable; 286 + }; 287 + 288 + usb@7d008000 { 289 + status = "okay"; 290 + }; 291 + 292 + usb-phy@7d008000 { 293 + vbus-supply = <&usb3_vbus_reg>; 294 + status = "okay"; 329 295 }; 330 296 331 297 clocks { ··· 409 357 regulator-min-microvolt = <5000000>; 410 358 regulator-max-microvolt = <5000000>; 411 359 enable-active-high; 412 - gpio = <&gpio TEGRA_GPIO(I, 4) GPIO_ACTIVE_HIGH>; 360 + gpio = <&gpio TEGRA_GPIO(DD, 6) GPIO_ACTIVE_HIGH>; 413 361 gpio-open-drain; 414 362 vin-supply = <&vdd_5v_in_reg>; 415 363 }; ··· 421 369 regulator-min-microvolt = <5000000>; 422 370 regulator-max-microvolt = <5000000>; 423 371 enable-active-high; 424 - gpio = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_HIGH>; 372 + gpio = <&gpio TEGRA_GPIO(DD, 4) GPIO_ACTIVE_HIGH>; 425 373 gpio-open-drain; 426 374 vin-supply = <&vdd_5v_in_reg>; 427 375 }; ··· 473 421 474 422 nvidia,audio-routing = 475 423 "Headphones", "HPOR", 476 - "Headphones", "HPOL"; 424 + "Headphones", "HPOL", 425 + "Mic Jack", "MICBIAS1", 426 + "IN2P", "Mic Jack"; 477 427 478 428 nvidia,i2s-controller = <&tegra_i2s1>; 479 429 nvidia,audio-codec = <&rt5640>;
+50 -14
arch/arm/boot/dts/tegra30-cardhu.dtsi
··· 31 31 reg = <0x80000000 0x40000000>; 32 32 }; 33 33 34 + pcie-controller { 35 + status = "okay"; 36 + pex-clk-supply = <&pex_hvdd_3v3_reg>; 37 + vdd-supply = <&ldo1_reg>; 38 + avdd-supply = <&ldo2_reg>; 39 + 40 + pci@1,0 { 41 + nvidia,num-lanes = <4>; 42 + }; 43 + 44 + pci@2,0 { 45 + nvidia,num-lanes = <1>; 46 + }; 47 + 48 + pci@3,0 { 49 + status = "okay"; 50 + nvidia,num-lanes = <1>; 51 + }; 52 + }; 53 + 34 54 pinmux { 35 55 pinctrl-names = "default"; 36 56 pinctrl-0 = <&state_default>; ··· 193 173 gpio-cfg = <0xffffffff 0xffffffff 0 0xffffffff 0xffffffff>; 194 174 }; 195 175 196 - tps62361 { 197 - compatible = "ti,tps62361"; 198 - reg = <0x60>; 199 - 200 - regulator-name = "tps62361-vout"; 201 - regulator-min-microvolt = <500000>; 202 - regulator-max-microvolt = <1500000>; 203 - regulator-boot-on; 204 - regulator-always-on; 205 - ti,vsel0-state-high; 206 - ti,vsel1-state-high; 207 - }; 208 - 209 176 pmic: tps65911@2d { 210 177 compatible = "ti,tps65911"; 211 178 reg = <0x2d>; ··· 293 286 }; 294 287 }; 295 288 }; 289 + 290 + nct1008 { 291 + compatible = "onnn,nct1008"; 292 + reg = <0x4c>; 293 + interrupt-parent = <&gpio>; 294 + interrupts = <TEGRA_GPIO(CC, 2) IRQ_TYPE_LEVEL_LOW>; 295 + }; 296 + 297 + tps62361 { 298 + compatible = "ti,tps62361"; 299 + reg = <0x60>; 300 + 301 + regulator-name = "tps62361-vout"; 302 + regulator-min-microvolt = <500000>; 303 + regulator-max-microvolt = <1500000>; 304 + regulator-boot-on; 305 + regulator-always-on; 306 + ti,vsel0-state-high; 307 + ti,vsel1-state-high; 308 + }; 296 309 }; 297 310 298 311 spi@7000da00 { ··· 334 307 pmc { 335 308 status = "okay"; 336 309 nvidia,invert-interrupt; 337 - nvidia,suspend-mode = <2>; 310 + nvidia,suspend-mode = <1>; 338 311 nvidia,cpu-pwr-good-time = <2000>; 339 312 nvidia,cpu-pwr-off-time = <200>; 340 313 nvidia,core-pwr-good-time = <3845 3845>; ··· 355 328 status = "okay"; 356 329 bus-width = <8>; 357 330 non-removable; 331 + }; 332 + 333 + usb@7d008000 { 334 + status = "okay"; 335 + }; 336 + 337 + usb-phy@7d008000 { 338 + vbus-supply = <&usb3_vbus_reg>; 339 + status = "okay"; 358 340 }; 359 341 360 342 clocks {
+156
arch/arm/boot/dts/tegra30.dtsi
··· 16 16 serial4 = &uarte; 17 17 }; 18 18 19 + pcie-controller { 20 + compatible = "nvidia,tegra30-pcie"; 21 + device_type = "pci"; 22 + reg = <0x00003000 0x00000800 /* PADS registers */ 23 + 0x00003800 0x00000200 /* AFI registers */ 24 + 0x10000000 0x10000000>; /* configuration space */ 25 + reg-names = "pads", "afi", "cs"; 26 + interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH /* controller interrupt */ 27 + GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>; /* MSI interrupt */ 28 + interrupt-names = "intr", "msi"; 29 + 30 + bus-range = <0x00 0xff>; 31 + #address-cells = <3>; 32 + #size-cells = <2>; 33 + 34 + ranges = <0x82000000 0 0x00000000 0x00000000 0 0x00001000 /* port 0 configuration space */ 35 + 0x82000000 0 0x00001000 0x00001000 0 0x00001000 /* port 1 configuration space */ 36 + 0x82000000 0 0x00004000 0x00004000 0 0x00001000 /* port 2 configuration space */ 37 + 0x81000000 0 0 0x02000000 0 0x00010000 /* downstream I/O */ 38 + 0x82000000 0 0x20000000 0x20000000 0 0x08000000 /* non-prefetchable memory */ 39 + 0xc2000000 0 0x28000000 0x28000000 0 0x18000000>; /* prefetchable memory */ 40 + 41 + clocks = <&tegra_car TEGRA30_CLK_PCIE>, 42 + <&tegra_car TEGRA30_CLK_AFI>, 43 + <&tegra_car TEGRA30_CLK_PCIEX>, 44 + <&tegra_car TEGRA30_CLK_PLL_E>, 45 + <&tegra_car TEGRA30_CLK_CML0>; 46 + clock-names = "pex", "afi", "pcie_xclk", "pll_e", "cml"; 47 + status = "disabled"; 48 + 49 + pci@1,0 { 50 + device_type = "pci"; 51 + assigned-addresses = <0x82000800 0 0x00000000 0 0x1000>; 52 + reg = <0x000800 0 0 0 0>; 53 + status = "disabled"; 54 + 55 + #address-cells = <3>; 56 + #size-cells = <2>; 57 + ranges; 58 + 59 + nvidia,num-lanes = <2>; 60 + }; 61 + 62 + pci@2,0 { 63 + device_type = "pci"; 64 + assigned-addresses = <0x82001000 0 0x00001000 0 0x1000>; 65 + reg = <0x001000 0 0 0 0>; 66 + status = "disabled"; 67 + 68 + #address-cells = <3>; 69 + #size-cells = <2>; 70 + ranges; 71 + 72 + nvidia,num-lanes = <2>; 73 + }; 74 + 75 + pci@3,0 { 76 + device_type = "pci"; 77 + assigned-addresses = <0x82001800 0 0x00004000 0 0x1000>; 78 + reg = <0x001800 0 0 0 0>; 79 + status = "disabled"; 80 + 81 + #address-cells = <3>; 82 + #size-cells = <2>; 83 + ranges; 84 + 85 + nvidia,num-lanes = <2>; 86 + }; 87 + }; 88 + 19 89 host1x { 20 90 compatible = "nvidia,tegra30-host1x", "simple-bus"; 21 91 reg = <0x50000000 0x00024000>; ··· 628 558 reg = <0x78000600 0x200>; 629 559 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>; 630 560 clocks = <&tegra_car TEGRA30_CLK_SDMMC4>; 561 + status = "disabled"; 562 + }; 563 + 564 + usb@7d000000 { 565 + compatible = "nvidia,tegra30-ehci", "usb-ehci"; 566 + reg = <0x7d000000 0x4000>; 567 + interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; 568 + phy_type = "utmi"; 569 + clocks = <&tegra_car TEGRA30_CLK_USBD>; 570 + nvidia,needs-double-reset; 571 + nvidia,phy = <&phy1>; 572 + status = "disabled"; 573 + }; 574 + 575 + phy1: usb-phy@7d000000 { 576 + compatible = "nvidia,tegra30-usb-phy"; 577 + reg = <0x7d000000 0x4000 0x7d000000 0x4000>; 578 + phy_type = "utmi"; 579 + clocks = <&tegra_car TEGRA30_CLK_USBD>, 580 + <&tegra_car TEGRA30_CLK_PLL_U>, 581 + <&tegra_car TEGRA30_CLK_USBD>; 582 + clock-names = "reg", "pll_u", "utmi-pads"; 583 + nvidia,hssync-start-delay = <9>; 584 + nvidia,idle-wait-delay = <17>; 585 + nvidia,elastic-limit = <16>; 586 + nvidia,term-range-adj = <6>; 587 + nvidia,xcvr-setup = <51>; 588 + nvidia.xcvr-setup-use-fuses; 589 + nvidia,xcvr-lsfslew = <1>; 590 + nvidia,xcvr-lsrslew = <1>; 591 + nvidia,xcvr-hsslew = <32>; 592 + nvidia,hssquelch-level = <2>; 593 + nvidia,hsdiscon-level = <5>; 594 + status = "disabled"; 595 + }; 596 + 597 + usb@7d004000 { 598 + compatible = "nvidia,tegra30-ehci", "usb-ehci"; 599 + reg = <0x7d004000 0x4000>; 600 + interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>; 601 + phy_type = "ulpi"; 602 + clocks = <&tegra_car TEGRA30_CLK_USB2>; 603 + nvidia,phy = <&phy2>; 604 + status = "disabled"; 605 + }; 606 + 607 + phy2: usb-phy@7d004000 { 608 + compatible = "nvidia,tegra30-usb-phy"; 609 + reg = <0x7d004000 0x4000>; 610 + phy_type = "ulpi"; 611 + clocks = <&tegra_car TEGRA30_CLK_USB2>, 612 + <&tegra_car TEGRA30_CLK_PLL_U>, 613 + <&tegra_car TEGRA30_CLK_CDEV2>; 614 + clock-names = "reg", "pll_u", "ulpi-link"; 615 + status = "disabled"; 616 + }; 617 + 618 + usb@7d008000 { 619 + compatible = "nvidia,tegra30-ehci", "usb-ehci"; 620 + reg = <0x7d008000 0x4000>; 621 + interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>; 622 + phy_type = "utmi"; 623 + clocks = <&tegra_car TEGRA30_CLK_USB3>; 624 + nvidia,phy = <&phy3>; 625 + status = "disabled"; 626 + }; 627 + 628 + phy3: usb-phy@7d008000 { 629 + compatible = "nvidia,tegra30-usb-phy"; 630 + reg = <0x7d008000 0x4000 0x7d000000 0x4000>; 631 + phy_type = "utmi"; 632 + clocks = <&tegra_car TEGRA30_CLK_USB3>, 633 + <&tegra_car TEGRA30_CLK_PLL_U>, 634 + <&tegra_car TEGRA30_CLK_USBD>; 635 + clock-names = "reg", "pll_u", "utmi-pads"; 636 + nvidia,hssync-start-delay = <0>; 637 + nvidia,idle-wait-delay = <17>; 638 + nvidia,elastic-limit = <16>; 639 + nvidia,term-range-adj = <6>; 640 + nvidia,xcvr-setup = <51>; 641 + nvidia.xcvr-setup-use-fuses; 642 + nvidia,xcvr-lsfslew = <2>; 643 + nvidia,xcvr-lsrslew = <2>; 644 + nvidia,xcvr-hsslew = <32>; 645 + nvidia,hssquelch-level = <2>; 646 + nvidia,hsdiscon-level = <5>; 631 647 status = "disabled"; 632 648 }; 633 649
+5 -5
arch/arm/boot/dts/u9540.dts arch/arm/boot/dts/ste-ccu9540.dts
··· 10 10 */ 11 11 12 12 /dts-v1/; 13 - /include/ "dbx5x0.dtsi" 13 + #include "ste-dbx5x0.dtsi" 14 14 15 15 / { 16 - model = "ST-Ericsson U9540 platform with Device Tree"; 17 - compatible = "st-ericsson,u9540"; 16 + model = "ST-Ericsson CCU9540 platform with Device Tree"; 17 + compatible = "st-ericsson,ccu9540", "st-ericsson,u9540"; 18 18 19 19 memory { 20 20 reg = <0x00000000 0x20000000>; 21 21 }; 22 22 23 - soc-u9500 { 23 + soc { 24 24 uart@80120000 { 25 25 status = "okay"; 26 26 }; ··· 52 52 // WLAN SDIO channel 53 53 sdi1_per2@80118000 { 54 54 arm,primecell-periphid = <0x10480180>; 55 - max-frequency = <50000000>; 55 + max-frequency = <100000000>; 56 56 bus-width = <4>; 57 57 58 58 status = "okay";
+2 -2
arch/arm/boot/dts/zynq-7000.dtsi
··· 41 41 L2: cache-controller { 42 42 compatible = "arm,pl310-cache"; 43 43 reg = <0xF8F02000 0x1000>; 44 - arm,data-latency = <2 3 2>; 45 - arm,tag-latency = <2 3 2>; 44 + arm,data-latency = <3 2 2>; 45 + arm,tag-latency = <2 2 2>; 46 46 cache-unified; 47 47 cache-level = <2>; 48 48 };
+1
arch/arm/mach-nomadik/Kconfig
··· 27 27 select NOMADIK_8815 28 28 select I2C 29 29 select I2C_ALGOBIT 30 + select I2C_NOMADIK 30 31 31 32 endmenu 32 33 endif
+1 -1
arch/arm/mach-pxa/pxa-dt.c
··· 28 28 OF_DEV_AUXDATA("mrvl,pxa-uart", 0x40700000, "pxa2xx-uart.2", NULL), 29 29 OF_DEV_AUXDATA("mrvl,pxa-uart", 0x41600000, "pxa2xx-uart.3", NULL), 30 30 OF_DEV_AUXDATA("marvell,pxa-mmc", 0x41100000, "pxa2xx-mci.0", NULL), 31 - OF_DEV_AUXDATA("mrvl,pxa-gpio", 0x40e00000, "pxa-gpio", NULL), 31 + OF_DEV_AUXDATA("intel,pxa3xx-gpio", 0x40e00000, "pxa3xx-gpio", NULL), 32 32 OF_DEV_AUXDATA("marvell,pxa-ohci", 0x4c000000, "pxa27x-ohci", NULL), 33 33 OF_DEV_AUXDATA("mrvl,pxa-i2c", 0x40301680, "pxa2xx-i2c.0", NULL), 34 34 OF_DEV_AUXDATA("mrvl,pwri2c", 0x40f500c0, "pxa3xx-i2c.1", NULL),
+59 -5
arch/arm/mach-shmobile/Kconfig
··· 1 + config ARCH_SHMOBILE_MULTI 2 + bool "SH-Mobile Series" if ARCH_MULTI_V7 3 + depends on MMU 4 + select CPU_V7 5 + select GENERIC_CLOCKEVENTS 6 + select HAVE_ARM_SCU if SMP 7 + select HAVE_ARM_TWD if LOCAL_TIMERS 8 + select HAVE_SMP 9 + select ARM_GIC 10 + select MIGHT_HAVE_CACHE_L2X0 11 + select NO_IOPORT 12 + select PINCTRL 13 + select ARCH_REQUIRE_GPIOLIB 14 + select CLKDEV_LOOKUP 15 + 16 + if ARCH_SHMOBILE_MULTI 17 + 18 + comment "SH-Mobile System Type" 19 + 20 + config ARCH_EMEV2 21 + bool "Emma Mobile EV2" 22 + 23 + comment "SH-Mobile Board Type" 24 + 25 + config MACH_KZM9D_REFERENCE 26 + bool "KZM9D board - Reference Device Tree Implementation" 27 + depends on ARCH_EMEV2 28 + select REGULATOR_FIXED_VOLTAGE if REGULATOR 29 + ---help--- 30 + Use reference implementation of KZM9D board support 31 + which makes a greater use of device tree at the expense 32 + of not supporting a number of devices. 33 + 34 + This is intended to aid developers 35 + 36 + comment "SH-Mobile System Configuration" 37 + endif 38 + 1 39 if ARCH_SHMOBILE 2 40 3 41 comment "SH-Mobile System Type" ··· 194 156 select REGULATOR_FIXED_VOLTAGE if REGULATOR 195 157 select USE_OF 196 158 159 + config MACH_KZM9D_REFERENCE 160 + bool "KZM9D board - Reference Device Tree Implementation" 161 + depends on ARCH_EMEV2 162 + select REGULATOR_FIXED_VOLTAGE if REGULATOR 163 + select USE_OF 164 + ---help--- 165 + Use reference implementation of KZM9D board support 166 + which makes a greater use of device tree at the expense 167 + of not supporting a number of devices. 168 + 169 + This is intended to aid developers 170 + 197 171 config MACH_KZM9G 198 172 bool "KZM-A9-GT board" 199 173 depends on ARCH_SH73A0 ··· 235 185 config CPU_HAS_INTEVT 236 186 bool 237 187 default y 188 + 189 + config SH_CLK_CPG 190 + bool 191 + 192 + source "drivers/sh/Kconfig" 193 + 194 + endif 195 + 196 + if ARCH_SHMOBILE || ARCH_SHMOBILE_MULTI 238 197 239 198 menu "Timer and clock configuration" 240 199 ··· 278 219 This enables build of the STI timer driver. 279 220 280 221 endmenu 281 - 282 - config SH_CLK_CPG 283 - bool 284 - 285 - source "drivers/sh/Kconfig" 286 222 287 223 endif
+25 -9
arch/arm/mach-shmobile/Makefile
··· 2 2 # Makefile for the linux kernel. 3 3 # 4 4 5 + ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/arch/arm/mach-shmobile/include 6 + 5 7 # Common objects 6 - obj-y := timer.o console.o clock.o 8 + obj-y := timer.o console.o 7 9 8 10 # CPU objects 9 - obj-$(CONFIG_ARCH_SH7372) += setup-sh7372.o clock-sh7372.o intc-sh7372.o 10 - obj-$(CONFIG_ARCH_SH73A0) += setup-sh73a0.o clock-sh73a0.o intc-sh73a0.o 11 - obj-$(CONFIG_ARCH_R8A73A4) += setup-r8a73a4.o clock-r8a73a4.o 12 - obj-$(CONFIG_ARCH_R8A7740) += setup-r8a7740.o clock-r8a7740.o intc-r8a7740.o 13 - obj-$(CONFIG_ARCH_R8A7778) += setup-r8a7778.o clock-r8a7778.o 14 - obj-$(CONFIG_ARCH_R8A7779) += setup-r8a7779.o clock-r8a7779.o intc-r8a7779.o 15 - obj-$(CONFIG_ARCH_R8A7790) += setup-r8a7790.o clock-r8a7790.o 16 - obj-$(CONFIG_ARCH_EMEV2) += setup-emev2.o clock-emev2.o 11 + obj-$(CONFIG_ARCH_SH7372) += setup-sh7372.o intc-sh7372.o 12 + obj-$(CONFIG_ARCH_SH73A0) += setup-sh73a0.o intc-sh73a0.o 13 + obj-$(CONFIG_ARCH_R8A73A4) += setup-r8a73a4.o 14 + obj-$(CONFIG_ARCH_R8A7740) += setup-r8a7740.o intc-r8a7740.o 15 + obj-$(CONFIG_ARCH_R8A7778) += setup-r8a7778.o 16 + obj-$(CONFIG_ARCH_R8A7779) += setup-r8a7779.o intc-r8a7779.o 17 + obj-$(CONFIG_ARCH_R8A7790) += setup-r8a7790.o 18 + obj-$(CONFIG_ARCH_EMEV2) += setup-emev2.o 19 + 20 + # Clock objects 21 + ifndef CONFIG_COMMON_CLK 22 + obj-y += clock.o 23 + obj-$(CONFIG_ARCH_SH7372) += clock-sh7372.o 24 + obj-$(CONFIG_ARCH_SH73A0) += clock-sh73a0.o 25 + obj-$(CONFIG_ARCH_R8A73A4) += clock-r8a73a4.o 26 + obj-$(CONFIG_ARCH_R8A7740) += clock-r8a7740.o 27 + obj-$(CONFIG_ARCH_R8A7778) += clock-r8a7778.o 28 + obj-$(CONFIG_ARCH_R8A7779) += clock-r8a7779.o 29 + obj-$(CONFIG_ARCH_R8A7790) += clock-r8a7790.o 30 + obj-$(CONFIG_ARCH_EMEV2) += clock-emev2.o 31 + endif 17 32 18 33 # SMP objects 19 34 smp-y := platsmp.o headsmp.o ··· 61 46 obj-$(CONFIG_MACH_ARMADILLO800EVA) += board-armadillo800eva.o 62 47 obj-$(CONFIG_MACH_ARMADILLO800EVA_REFERENCE) += board-armadillo800eva-reference.o 63 48 obj-$(CONFIG_MACH_KZM9D) += board-kzm9d.o 49 + obj-$(CONFIG_MACH_KZM9D_REFERENCE) += board-kzm9d-reference.o 64 50 obj-$(CONFIG_MACH_KZM9G) += board-kzm9g.o 65 51 obj-$(CONFIG_MACH_KZM9G_REFERENCE) += board-kzm9g-reference.o 66 52
+1
arch/arm/mach-shmobile/Makefile.boot
··· 7 7 loadaddr-$(CONFIG_MACH_BOCKW) += 0x60008000 8 8 loadaddr-$(CONFIG_MACH_KOTA2) += 0x41008000 9 9 loadaddr-$(CONFIG_MACH_KZM9D) += 0x40008000 10 + loadaddr-$(CONFIG_MACH_KZM9D_REFERENCE) += 0x40008000 10 11 loadaddr-$(CONFIG_MACH_KZM9G) += 0x41008000 11 12 loadaddr-$(CONFIG_MACH_KZM9G_REFERENCE) += 0x41008000 12 13 loadaddr-$(CONFIG_MACH_LAGER) += 0x40008000
+1 -17
arch/arm/mach-shmobile/board-armadillo800eva-reference.c
··· 24 24 #include <linux/kernel.h> 25 25 #include <linux/gpio.h> 26 26 #include <linux/io.h> 27 - #include <linux/pinctrl/machine.h> 28 27 #include <mach/common.h> 29 28 #include <mach/r8a7740.h> 30 29 #include <asm/mach/arch.h> ··· 118 119 * usbhsf_power_ctrl() 119 120 */ 120 121 121 - static const struct pinctrl_map eva_pinctrl_map[] = { 122 - /* SCIFA1 */ 123 - PIN_MAP_MUX_GROUP_DEFAULT("sh-sci.1", "pfc-r8a7740", 124 - "scifa1_data", "scifa1"), 125 - }; 126 - 127 122 static void __init eva_clock_init(void) 128 123 { 129 124 struct clk *system = clk_get(NULL, "system_clk"); ··· 158 165 */ 159 166 static void __init eva_init(void) 160 167 { 161 - 162 168 r8a7740_clock_init(MD_CK0 | MD_CK2); 163 169 eva_clock_init(); 164 170 165 - pinctrl_register_mappings(eva_pinctrl_map, ARRAY_SIZE(eva_pinctrl_map)); 166 - r8a7740_pinmux_init(); 167 - 168 171 r8a7740_meram_workaround(); 169 - 170 - /* 171 - * Touchscreen 172 - * TODO: Move reset GPIO over to .dts when we can reference it 173 - */ 174 - gpio_request_one(166, GPIOF_OUT_INIT_HIGH, NULL); /* TP_RST_B */ 175 172 176 173 #ifdef CONFIG_CACHE_L2X0 177 174 /* Early BRESP enable, Shared attribute override enable, 32K*8way */ ··· 169 186 #endif 170 187 171 188 r8a7740_add_standard_devices_dt(); 189 + 172 190 r8a7740_pm_init(); 173 191 } 174 192
+47
arch/arm/mach-shmobile/board-kzm9d-reference.c
··· 1 + /* 2 + * kzm9d board support - Reference DT implementation 3 + * 4 + * Copyright (C) 2013 Renesas Solutions Corp. 5 + * Copyright (C) 2013 Magnus Damm 6 + * 7 + * This program is free software; you can redistribute it and/or modify 8 + * it under the terms of the GNU General Public License as published by 9 + * the Free Software Foundation; version 2 of the License. 10 + * 11 + * This program is distributed in the hope that it will be useful, 12 + * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + * GNU General Public License for more details. 15 + * 16 + * You should have received a copy of the GNU General Public License 17 + * along with this program; if not, write to the Free Software 18 + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 19 + */ 20 + 21 + #include <linux/init.h> 22 + #include <linux/of_platform.h> 23 + #include <mach/emev2.h> 24 + #include <mach/common.h> 25 + #include <asm/mach/arch.h> 26 + 27 + static void __init kzm9d_add_standard_devices(void) 28 + { 29 + if (!IS_ENABLED(CONFIG_COMMON_CLK)) 30 + emev2_clock_init(); 31 + 32 + of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); 33 + } 34 + 35 + static const char *kzm9d_boards_compat_dt[] __initdata = { 36 + "renesas,kzm9d-reference", 37 + NULL, 38 + }; 39 + 40 + DT_MACHINE_START(KZM9D_DT, "kzm9d") 41 + .smp = smp_ops(emev2_smp_ops), 42 + .map_io = emev2_map_io, 43 + .init_early = emev2_init_delay, 44 + .init_machine = kzm9d_add_standard_devices, 45 + .init_late = shmobile_init_late, 46 + .dt_compat = kzm9d_boards_compat_dt, 47 + MACHINE_END
-2
arch/arm/mach-shmobile/board-kzm9d.c
··· 86 86 .smp = smp_ops(emev2_smp_ops), 87 87 .map_io = emev2_map_io, 88 88 .init_early = emev2_init_delay, 89 - .nr_irqs = NR_IRQS_LEGACY, 90 - .init_irq = emev2_init_irq, 91 89 .init_machine = kzm9d_add_standard_devices, 92 90 .init_late = shmobile_init_late, 93 91 .dt_compat = kzm9d_boards_compat_dt,
-47
arch/arm/mach-shmobile/board-kzm9g-reference.c
··· 21 21 */ 22 22 23 23 #include <linux/delay.h> 24 - #include <linux/gpio.h> 25 24 #include <linux/io.h> 26 25 #include <linux/irq.h> 27 26 #include <linux/input.h> 28 27 #include <linux/of_platform.h> 29 - #include <linux/pinctrl/machine.h> 30 - #include <linux/pinctrl/pinconf-generic.h> 31 28 #include <mach/sh73a0.h> 32 29 #include <mach/common.h> 33 30 #include <asm/hardware/cache-l2x0.h> 34 31 #include <asm/mach-types.h> 35 32 #include <asm/mach/arch.h> 36 33 37 - static unsigned long pin_pullup_conf[] = { 38 - PIN_CONF_PACKED(PIN_CONFIG_BIAS_PULL_UP, 0), 39 - }; 40 - 41 - static const struct pinctrl_map kzm_pinctrl_map[] = { 42 - PIN_MAP_MUX_GROUP_DEFAULT("e6826000.i2c", "pfc-sh73a0", 43 - "i2c3_1", "i2c3"), 44 - /* MMCIF */ 45 - PIN_MAP_MUX_GROUP_DEFAULT("e6bd0000.mmcif", "pfc-sh73a0", 46 - "mmc0_data8_0", "mmc0"), 47 - PIN_MAP_MUX_GROUP_DEFAULT("e6bd0000.mmcif", "pfc-sh73a0", 48 - "mmc0_ctrl_0", "mmc0"), 49 - PIN_MAP_CONFIGS_PIN_DEFAULT("e6bd0000.mmcif", "pfc-sh73a0", 50 - "PORT279", pin_pullup_conf), 51 - PIN_MAP_CONFIGS_GROUP_DEFAULT("e6bd0000.mmcif", "pfc-sh73a0", 52 - "mmc0_data8_0", pin_pullup_conf), 53 - /* SCIFA4 */ 54 - PIN_MAP_MUX_GROUP_DEFAULT("sh-sci.4", "pfc-sh73a0", 55 - "scifa4_data", "scifa4"), 56 - PIN_MAP_MUX_GROUP_DEFAULT("sh-sci.4", "pfc-sh73a0", 57 - "scifa4_ctrl", "scifa4"), 58 - /* SDHI0 */ 59 - PIN_MAP_MUX_GROUP_DEFAULT("ee100000.sdhi", "pfc-sh73a0", 60 - "sdhi0_data4", "sdhi0"), 61 - PIN_MAP_MUX_GROUP_DEFAULT("ee100000.sdhi", "pfc-sh73a0", 62 - "sdhi0_ctrl", "sdhi0"), 63 - PIN_MAP_MUX_GROUP_DEFAULT("ee100000.sdhi", "pfc-sh73a0", 64 - "sdhi0_cd", "sdhi0"), 65 - PIN_MAP_MUX_GROUP_DEFAULT("ee100000.sdhi", "pfc-sh73a0", 66 - "sdhi0_wp", "sdhi0"), 67 - /* SDHI2 */ 68 - PIN_MAP_MUX_GROUP_DEFAULT("ee140000.sdhi", "pfc-sh73a0", 69 - "sdhi2_data4", "sdhi2"), 70 - PIN_MAP_MUX_GROUP_DEFAULT("ee140000.sdhi", "pfc-sh73a0", 71 - "sdhi2_ctrl", "sdhi2"), 72 - }; 73 - 74 34 static void __init kzm_init(void) 75 35 { 76 36 sh73a0_add_standard_devices_dt(); 77 - pinctrl_register_mappings(kzm_pinctrl_map, ARRAY_SIZE(kzm_pinctrl_map)); 78 - sh73a0_pinmux_init(); 79 - 80 - /* enable SD */ 81 - gpio_request_one(15, GPIOF_OUT_INIT_HIGH, NULL); /* power */ 82 - 83 - gpio_request_one(14, GPIOF_OUT_INIT_HIGH, NULL); /* power */ 84 37 85 38 #ifdef CONFIG_CACHE_L2X0 86 39 /* Early BRESP enable, Shared attribute override enable, 64K*8way */
-28
arch/arm/mach-shmobile/board-marzen-reference.c
··· 19 19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 20 */ 21 21 22 - #include <linux/pinctrl/machine.h> 23 22 #include <mach/r8a7779.h> 24 23 #include <mach/common.h> 25 24 #include <mach/irqs.h> 26 25 #include <asm/irq.h> 27 26 #include <asm/mach/arch.h> 28 27 29 - static const struct pinctrl_map marzen_pinctrl_map[] = { 30 - /* SCIF2 (CN18: DEBUG0) */ 31 - PIN_MAP_MUX_GROUP_DEFAULT("sh-sci.2", "pfc-r8a7779", 32 - "scif2_data_c", "scif2"), 33 - /* SCIF4 (CN19: DEBUG1) */ 34 - PIN_MAP_MUX_GROUP_DEFAULT("sh-sci.4", "pfc-r8a7779", 35 - "scif4_data", "scif4"), 36 - /* SDHI0 */ 37 - PIN_MAP_MUX_GROUP_DEFAULT("sh_mobile_sdhi.0", "pfc-r8a7779", 38 - "sdhi0_data4", "sdhi0"), 39 - PIN_MAP_MUX_GROUP_DEFAULT("sh_mobile_sdhi.0", "pfc-r8a7779", 40 - "sdhi0_ctrl", "sdhi0"), 41 - PIN_MAP_MUX_GROUP_DEFAULT("sh_mobile_sdhi.0", "pfc-r8a7779", 42 - "sdhi0_cd", "sdhi0"), 43 - PIN_MAP_MUX_GROUP_DEFAULT("sh_mobile_sdhi.0", "pfc-r8a7779", 44 - "sdhi0_wp", "sdhi0"), 45 - /* SMSC */ 46 - PIN_MAP_MUX_GROUP_DEFAULT("smsc911x", "pfc-r8a7779", 47 - "intc_irq1_b", "intc"), 48 - PIN_MAP_MUX_GROUP_DEFAULT("smsc911x", "pfc-r8a7779", 49 - "lbsc_ex_cs0", "lbsc"), 50 - }; 51 - 52 28 static void __init marzen_init(void) 53 29 { 54 - pinctrl_register_mappings(marzen_pinctrl_map, 55 - ARRAY_SIZE(marzen_pinctrl_map)); 56 - r8a7779_pinmux_init(); 57 - 58 30 r8a7779_add_standard_devices_dt(); 59 31 } 60 32
-1
arch/arm/mach-shmobile/include/mach/emev2.h
··· 2 2 #define __ASM_EMEV2_H__ 3 3 4 4 extern void emev2_map_io(void); 5 - extern void emev2_init_irq(void); 6 5 extern void emev2_init_delay(void); 7 6 extern void emev2_add_standard_devices(void); 8 7 extern void emev2_clock_init(void);
+3 -23
arch/arm/mach-shmobile/setup-emev2.c
··· 38 38 39 39 static struct map_desc emev2_io_desc[] __initdata = { 40 40 #ifdef CONFIG_SMP 41 - /* 128K entity map for 0xe0100000 (SMU) */ 42 - { 43 - .virtual = 0xe0100000, 44 - .pfn = __phys_to_pfn(0xe0100000), 45 - .length = SZ_128K, 46 - .type = MT_DEVICE 47 - }, 48 41 /* 2M mapping for SCU + L2 controller */ 49 42 { 50 43 .virtual = 0xf0000000, ··· 175 182 176 183 void __init emev2_add_standard_devices(void) 177 184 { 178 - emev2_clock_init(); 185 + if (!IS_ENABLED(CONFIG_COMMON_CLK)) 186 + emev2_clock_init(); 179 187 180 188 emev2_register_uart(0); 181 189 emev2_register_uart(1); ··· 196 202 shmobile_setup_delay(533, 1, 3); /* Cortex-A9 @ 533MHz */ 197 203 } 198 204 199 - void __init emev2_init_irq(void) 200 - { 201 - void __iomem *gic_dist_base; 202 - void __iomem *gic_cpu_base; 203 - 204 - /* Static mappings, never released */ 205 - gic_dist_base = ioremap(0xe0028000, PAGE_SIZE); 206 - gic_cpu_base = ioremap(0xe0020000, PAGE_SIZE); 207 - BUG_ON(!gic_dist_base || !gic_cpu_base); 208 - 209 - /* Use GIC to handle interrupts */ 210 - gic_init(0, 29, gic_dist_base, gic_cpu_base); 211 - } 212 - 213 205 #ifdef CONFIG_USE_OF 214 206 215 207 static const char *emev2_boards_compat_dt[] __initdata = { ··· 205 225 206 226 DT_MACHINE_START(EMEV2_DT, "Generic Emma Mobile EV2 (Flattened Device Tree)") 207 227 .smp = smp_ops(emev2_smp_ops), 228 + .map_io = emev2_map_io, 208 229 .init_early = emev2_init_delay, 209 - .nr_irqs = NR_IRQS_LEGACY, 210 230 .dt_compat = emev2_boards_compat_dt, 211 231 MACHINE_END 212 232
+3 -14
arch/arm/mach-shmobile/smp-emev2.c
··· 38 38 39 39 static void __init emev2_smp_prepare_cpus(unsigned int max_cpus) 40 40 { 41 + /* setup EMEV2 specific SCU base, enable */ 42 + shmobile_scu_base = ioremap(EMEV2_SCU_BASE, PAGE_SIZE); 41 43 scu_enable(shmobile_scu_base); 42 44 43 45 /* Tell ROM loader about our vector (in headsmp-scu.S, headsmp.S) */ 46 + emev2_clock_init(); /* need ioremapped SMU */ 44 47 emev2_set_boot_vector(__pa(shmobile_boot_vector)); 45 48 shmobile_boot_fn = virt_to_phys(shmobile_boot_scu); 46 49 shmobile_boot_arg = (unsigned long)shmobile_scu_base; ··· 52 49 scu_power_mode(shmobile_scu_base, SCU_PM_NORMAL); 53 50 } 54 51 55 - static void __init emev2_smp_init_cpus(void) 56 - { 57 - unsigned int ncores; 58 - 59 - /* setup EMEV2 specific SCU base */ 60 - shmobile_scu_base = ioremap(EMEV2_SCU_BASE, PAGE_SIZE); 61 - emev2_clock_init(); /* need ioremapped SMU */ 62 - 63 - ncores = shmobile_scu_base ? scu_get_core_count(shmobile_scu_base) : 1; 64 - 65 - shmobile_smp_init_cpus(ncores); 66 - } 67 - 68 52 struct smp_operations emev2_smp_ops __initdata = { 69 - .smp_init_cpus = emev2_smp_init_cpus, 70 53 .smp_prepare_cpus = emev2_smp_prepare_cpus, 71 54 .smp_boot_secondary = emev2_boot_secondary, 72 55 };
+4 -4
arch/arm/mach-ux500/cpu-db8500.c
··· 223 223 OF_DEV_AUXDATA("arm,pl011", 0x80121000, "uart1", NULL), 224 224 OF_DEV_AUXDATA("arm,pl011", 0x80007000, "uart2", NULL), 225 225 OF_DEV_AUXDATA("arm,pl022", 0x80002000, "ssp0", &ssp0_plat), 226 - OF_DEV_AUXDATA("arm,pl18x", 0x80126000, "sdi0", &mop500_sdi0_data), 227 - OF_DEV_AUXDATA("arm,pl18x", 0x80118000, "sdi1", &mop500_sdi1_data), 228 - OF_DEV_AUXDATA("arm,pl18x", 0x80005000, "sdi2", &mop500_sdi2_data), 229 - OF_DEV_AUXDATA("arm,pl18x", 0x80114000, "sdi4", &mop500_sdi4_data), 226 + OF_DEV_AUXDATA("arm,pl18x", 0x80126000, "sdi0", NULL), 227 + OF_DEV_AUXDATA("arm,pl18x", 0x80118000, "sdi1", NULL), 228 + OF_DEV_AUXDATA("arm,pl18x", 0x80005000, "sdi2", NULL), 229 + OF_DEV_AUXDATA("arm,pl18x", 0x80114000, "sdi4", NULL), 230 230 /* Requires clock name bindings. */ 231 231 OF_DEV_AUXDATA("st,nomadik-gpio", 0x8012e000, "gpio.0", NULL), 232 232 OF_DEV_AUXDATA("st,nomadik-gpio", 0x8012e080, "gpio.1", NULL),
+1
drivers/input/serio/altera_ps2.c
··· 176 176 #ifdef CONFIG_OF 177 177 static const struct of_device_id altera_ps2_match[] = { 178 178 { .compatible = "ALTR,ps2-1.0", }, 179 + { .compatible = "altr,ps2-1.0", }, 179 180 {}, 180 181 }; 181 182 MODULE_DEVICE_TABLE(of, altera_ps2_match);
+1
drivers/spi/spi-altera.c
··· 276 276 #ifdef CONFIG_OF 277 277 static const struct of_device_id altera_spi_match[] = { 278 278 { .compatible = "ALTR,spi-1.0", }, 279 + { .compatible = "altr,spi-1.0", }, 279 280 {}, 280 281 }; 281 282 MODULE_DEVICE_TABLE(of, altera_spi_match);
+1
drivers/tty/serial/altera_jtaguart.c
··· 473 473 #ifdef CONFIG_OF 474 474 static struct of_device_id altera_jtaguart_match[] = { 475 475 { .compatible = "ALTR,juart-1.0", }, 476 + { .compatible = "altr,juart-1.0", }, 476 477 {}, 477 478 }; 478 479 MODULE_DEVICE_TABLE(of, altera_jtaguart_match);
+1
drivers/tty/serial/altera_uart.c
··· 615 615 #ifdef CONFIG_OF 616 616 static struct of_device_id altera_uart_match[] = { 617 617 { .compatible = "ALTR,uart-1.0", }, 618 + { .compatible = "altr,uart-1.0", }, 618 619 {}, 619 620 }; 620 621 MODULE_DEVICE_TABLE(of, altera_uart_match);
+36
include/dt-bindings/pinctrl/nomadik.h
··· 1 + /* 2 + * nomadik.h 3 + * 4 + * Copyright (C) ST-Ericsson SA 2013 5 + * Author: Gabriel Fernandez <gabriel.fernandez@st.com> for ST-Ericsson. 6 + * License terms: GNU General Public License (GPL), version 2 7 + */ 8 + 9 + #define INPUT_NOPULL 0 10 + #define INPUT_PULLUP 1 11 + #define INPUT_PULLDOWN 2 12 + 13 + #define OUTPUT_LOW 0 14 + #define OUTPUT_HIGH 1 15 + #define DIR_OUTPUT 2 16 + 17 + #define SLPM_DISABLED 0 18 + #define SLPM_ENABLED 1 19 + 20 + #define SLPM_INPUT_NOPULL 0 21 + #define SLPM_INPUT_PULLUP 1 22 + #define SLPM_INPUT_PULLDOWN 2 23 + #define SLPM_DIR_INPUT 3 24 + 25 + #define SLPM_OUTPUT_LOW 0 26 + #define SLPM_OUTPUT_HIGH 1 27 + #define SLPM_DIR_OUTPUT 2 28 + 29 + #define SLPM_WAKEUP_DISABLE 0 30 + #define SLPM_WAKEUP_ENABLE 1 31 + 32 + #define GPIOMODE_DISABLED 0 33 + #define GPIOMODE_ENABLED 1 34 + 35 + #define SLPM_PDIS_DISABLED 0 36 + #define SLPM_PDIS_ENABLED 1