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

Merge tag 'ux500-devicetree-for-v3.12-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson into next/dt

From: Linus Walleij:
Ux500 device tree enablement base for the v3.12
development cycle:
- Various cleanups like remove non-existant hardware from
the Snowball device tree, prefix all files with "ste-*"
- External regulators
- Documentation updates
- Delete some minor dangling platform data
- Pin control settings for U8540 through DT

* tag 'ux500-devicetree-for-v3.12-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson: (22 commits)
ARM: ux500: fix devicetree builds
ARM: ux500: Remove u9540.dts as it's been replaced
ARM: ux500: Apply a ste-* prefix onto dbx5x0.dtsi
ARM: ux500: Apply a ste-* prefix onto stuib.dtsi
ARM: ux500: Apply a ste-* prefix onto hrefv60plus.dts
ARM: ux500: Apply a ste-* prefix onto hrefprev60.dts Signed-off-by: Lee Jones <lee.jones@linaro.org>
ARM: ux500: Apply a ste-* prefix onto href.dtsi
ARM: ux500: Apply a ste-* prefix onto ccu9540.dts
ARM: ux500: Apply a ste-* prefix onto ccu8540.dts
ARM: ux500: Apply a ste-* prefix onto snowball.dts
ARM: ux500: Remove Snowball DTS entry for ROHM BH1780GLI ambient light sensor
ARM: ux500: Remove Snowball DTS entry for TPS61052 chip
ARM: ux500: Remove Snowball DTS entry for National Semiconductor LP5521 LED chip
ARM: ux500: Remove Toshiba TC35892 I/O Expander's DT entry from Snowball's DTS
ARM: u8540: DT: Set pinctrl mapping to i2c0,1,2,4 & 5
ARM: u8540: Add Pinctrl Device Tree settings for uart0, uart2
ARM: ux500: Stop passing MMC's platform data for Device Tree boots
Documentation: Update binding for Nomadik and DBx5x based platforms
ARM: ux500: Supply external regulator names for Snowball's DT
ARM: ux500: Provide a supply name for the AB8500 AUX regulators to use
...

+737 -423
+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";
+5 -5
arch/arm/boot/dts/Makefile
··· 176 176 am43x-epos-evm.dtb 177 177 dtb-$(CONFIG_ARCH_ORION5X) += orion5x-lacie-ethernet-disk-mini-v2.dtb 178 178 dtb-$(CONFIG_ARCH_PRIMA2) += prima2-evb.dtb 179 - dtb-$(CONFIG_ARCH_U8500) += snowball.dtb \ 180 - hrefprev60.dtb \ 181 - hrefv60plus.dtb \ 182 - ccu8540.dtb \ 183 - 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 184 184 dtb-$(CONFIG_ARCH_S3C24XX) += s3c2416-smdk2416.dtb 185 185 dtb-$(CONFIG_ARCH_SHMOBILE) += emev2-kzm9d.dtb \ 186 186 emev2-kzm9d-reference.dtb \
-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 {
+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
+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";
+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 + };
arch/arm/boot/dts/stuib.dtsi arch/arm/boot/dts/ste-stuib.dtsi
+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";
+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),
+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