2012-03-07 15:04:07 +00:00
|
|
|
/*
|
|
|
|
|
* Copyright 2011 ST-Ericsson AB
|
|
|
|
|
*
|
|
|
|
|
* The code contained herein is licensed under the GNU General Public
|
|
|
|
|
* License. You may obtain a copy of the GNU General Public License
|
|
|
|
|
* Version 2 or later at the following locations:
|
|
|
|
|
*
|
|
|
|
|
* http://www.opensource.org/licenses/gpl-license.html
|
|
|
|
|
* http://www.gnu.org/copyleft/gpl.html
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/dts-v1/;
|
2013-08-07 15:37:52 +02:00
|
|
|
#include "ste-dbx5x0.dtsi"
|
2012-03-07 15:04:07 +00:00
|
|
|
|
|
|
|
|
/ {
|
|
|
|
|
model = "Calao Systems Snowball platform with device tree";
|
2012-10-15 10:07:55 +01:00
|
|
|
compatible = "calaosystems,snowball-a9500", "st-ericsson,u9500";
|
2012-03-07 15:04:07 +00:00
|
|
|
|
|
|
|
|
memory {
|
|
|
|
|
reg = <0x00000000 0x20000000>;
|
|
|
|
|
};
|
|
|
|
|
|
2012-05-03 11:23:47 +01:00
|
|
|
en_3v3_reg: en_3v3 {
|
|
|
|
|
compatible = "regulator-fixed";
|
2013-06-18 09:51:58 +01:00
|
|
|
regulator-name = "en-3v3-fixed-supply";
|
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
|
/* AB8500 GPIOs start from 1 - offset 25 is GPIO26. */
|
|
|
|
|
gpio = <&ab8500_gpio 25 0x4>;
|
|
|
|
|
startup-delay-us = <5000>;
|
|
|
|
|
enable-active-high;
|
2012-05-03 11:23:47 +01:00
|
|
|
};
|
|
|
|
|
|
2012-03-15 16:46:17 +00:00
|
|
|
gpio_keys {
|
|
|
|
|
compatible = "gpio-keys";
|
|
|
|
|
#address-cells = <1>;
|
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
|
|
button@1 {
|
|
|
|
|
debounce_interval = <50>;
|
|
|
|
|
wakeup = <1>;
|
|
|
|
|
linux,code = <2>;
|
|
|
|
|
label = "userpb";
|
2012-05-29 14:17:36 +08:00
|
|
|
gpios = <&gpio1 0 0x4>;
|
2012-03-15 16:46:17 +00:00
|
|
|
};
|
|
|
|
|
button@2 {
|
|
|
|
|
debounce_interval = <50>;
|
|
|
|
|
wakeup = <1>;
|
|
|
|
|
linux,code = <3>;
|
2012-04-13 15:05:07 +01:00
|
|
|
label = "extkb1";
|
2012-05-29 14:17:36 +08:00
|
|
|
gpios = <&gpio4 23 0x4>;
|
2012-03-15 16:46:17 +00:00
|
|
|
};
|
|
|
|
|
button@3 {
|
|
|
|
|
debounce_interval = <50>;
|
|
|
|
|
wakeup = <1>;
|
|
|
|
|
linux,code = <4>;
|
2012-04-13 15:05:07 +01:00
|
|
|
label = "extkb2";
|
2012-05-29 14:17:36 +08:00
|
|
|
gpios = <&gpio4 24 0x4>;
|
2012-03-15 16:46:17 +00:00
|
|
|
};
|
|
|
|
|
button@4 {
|
|
|
|
|
debounce_interval = <50>;
|
|
|
|
|
wakeup = <1>;
|
|
|
|
|
linux,code = <5>;
|
2012-04-13 15:05:07 +01:00
|
|
|
label = "extkb3";
|
2012-05-29 14:17:36 +08:00
|
|
|
gpios = <&gpio5 1 0x4>;
|
2012-03-15 16:46:17 +00:00
|
|
|
};
|
|
|
|
|
button@5 {
|
|
|
|
|
debounce_interval = <50>;
|
|
|
|
|
wakeup = <1>;
|
|
|
|
|
linux,code = <6>;
|
2012-04-13 15:05:07 +01:00
|
|
|
label = "extkb4";
|
2012-05-29 14:17:36 +08:00
|
|
|
gpios = <&gpio5 2 0x4>;
|
2012-03-15 16:46:17 +00:00
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
leds {
|
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
|
used-led {
|
|
|
|
|
label = "user_led";
|
2012-05-29 14:17:36 +08:00
|
|
|
gpios = <&gpio4 14 0x4>;
|
2012-06-15 09:30:30 +01:00
|
|
|
default-state = "on";
|
2012-05-02 09:48:38 +01:00
|
|
|
linux,default-trigger = "heartbeat";
|
2012-03-15 16:46:17 +00:00
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2013-03-01 14:38:07 +01:00
|
|
|
soc {
|
2012-07-31 13:31:50 +01:00
|
|
|
|
|
|
|
|
sound {
|
|
|
|
|
compatible = "stericsson,snd-soc-mop500";
|
|
|
|
|
|
|
|
|
|
stericsson,cpu-dai = <&msp1 &msp3>;
|
|
|
|
|
stericsson,audio-codec = <&codec>;
|
|
|
|
|
};
|
|
|
|
|
|
2012-07-31 12:37:16 +01:00
|
|
|
msp1: msp@80124000 {
|
|
|
|
|
status = "okay";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
msp3: msp@80125000 {
|
|
|
|
|
status = "okay";
|
|
|
|
|
};
|
|
|
|
|
|
2012-03-15 16:46:17 +00:00
|
|
|
external-bus@50000000 {
|
2012-04-24 10:53:18 +01:00
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
|
|
ethernet@0 {
|
|
|
|
|
compatible = "smsc,lan9115";
|
|
|
|
|
reg = <0 0x10000>;
|
2013-05-29 19:15:39 +02:00
|
|
|
interrupts = <12 IRQ_TYPE_EDGE_RISING>;
|
2012-03-15 16:46:17 +00:00
|
|
|
interrupt-parent = <&gpio4>;
|
2012-05-03 11:23:47 +01:00
|
|
|
vdd33a-supply = <&en_3v3_reg>;
|
|
|
|
|
vddvario-supply = <&db8500_vape_reg>;
|
|
|
|
|
|
2012-04-24 10:53:18 +01:00
|
|
|
reg-shift = <1>;
|
|
|
|
|
reg-io-width = <2>;
|
|
|
|
|
smsc,force-internal-phy;
|
|
|
|
|
smsc,irq-active-high;
|
|
|
|
|
smsc,irq-push-pull;
|
2013-06-03 13:06:13 +01:00
|
|
|
|
|
|
|
|
clocks = <&prcc_pclk 3 0>;
|
2012-03-15 16:46:17 +00:00
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2013-04-02 14:21:54 +01:00
|
|
|
vmmci: regulator-gpio {
|
|
|
|
|
gpios = <&gpio6 25 0x4>;
|
|
|
|
|
enable-gpio = <&gpio7 4 0x4>;
|
|
|
|
|
|
|
|
|
|
status = "okay";
|
|
|
|
|
};
|
|
|
|
|
|
2012-05-29 14:40:04 +08:00
|
|
|
// External Micro SD slot
|
2012-09-26 12:55:56 +01:00
|
|
|
sdi0_per1@80126000 {
|
2012-05-29 14:40:04 +08:00
|
|
|
arm,primecell-periphid = <0x10480180>;
|
2013-05-27 13:15:05 +02:00
|
|
|
max-frequency = <100000000>;
|
2012-09-26 11:12:48 +01:00
|
|
|
bus-width = <4>;
|
2012-05-29 14:40:04 +08:00
|
|
|
mmc-cap-mmc-highspeed;
|
2012-05-29 14:29:53 +08:00
|
|
|
vmmc-supply = <&ab8500_ldo_aux3_reg>;
|
2013-04-02 14:21:54 +01:00
|
|
|
vqmmc-supply = <&vmmci>;
|
2012-05-29 14:40:04 +08:00
|
|
|
|
2012-05-29 14:17:36 +08:00
|
|
|
cd-gpios = <&gpio6 26 0x4>; // 218
|
2012-05-29 14:40:04 +08:00
|
|
|
cd-inverted;
|
|
|
|
|
|
|
|
|
|
status = "okay";
|
2012-03-15 16:46:17 +00:00
|
|
|
};
|
|
|
|
|
|
2012-05-29 14:40:04 +08:00
|
|
|
// On-board eMMC
|
2012-09-26 12:55:56 +01:00
|
|
|
sdi4_per2@80114000 {
|
2012-05-29 14:40:04 +08:00
|
|
|
arm,primecell-periphid = <0x10480180>;
|
2013-05-27 13:15:05 +02:00
|
|
|
max-frequency = <100000000>;
|
2012-05-29 14:40:04 +08:00
|
|
|
bus-width = <8>;
|
|
|
|
|
mmc-cap-mmc-highspeed;
|
2012-05-29 14:29:53 +08:00
|
|
|
vmmc-supply = <&ab8500_ldo_aux2_reg>;
|
2012-05-29 14:40:04 +08:00
|
|
|
|
|
|
|
|
status = "okay";
|
2012-03-15 16:46:17 +00:00
|
|
|
};
|
|
|
|
|
|
2012-03-07 17:35:04 +00:00
|
|
|
uart@80120000 {
|
|
|
|
|
status = "okay";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
uart@80121000 {
|
|
|
|
|
status = "okay";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
uart@80007000 {
|
|
|
|
|
status = "okay";
|
|
|
|
|
};
|
|
|
|
|
|
2012-11-15 18:56:43 +08:00
|
|
|
cpufreq-cooling {
|
|
|
|
|
status = "okay";
|
|
|
|
|
};
|
2012-12-13 10:39:26 -08:00
|
|
|
|
2012-09-25 12:04:51 +01:00
|
|
|
prcmu@80157000 {
|
2013-09-18 16:03:07 +01:00
|
|
|
cpufreq {
|
|
|
|
|
status = "okay";
|
|
|
|
|
};
|
|
|
|
|
|
2013-04-02 14:21:51 +01:00
|
|
|
thermal@801573c0 {
|
|
|
|
|
num-trips = <4>;
|
|
|
|
|
|
|
|
|
|
trip0-temp = <70000>;
|
|
|
|
|
trip0-type = "active";
|
|
|
|
|
trip0-cdev-num = <1>;
|
|
|
|
|
trip0-cdev-name0 = "thermal-cpufreq-0";
|
|
|
|
|
|
|
|
|
|
trip1-temp = <75000>;
|
|
|
|
|
trip1-type = "active";
|
|
|
|
|
trip1-cdev-num = <1>;
|
|
|
|
|
trip1-cdev-name0 = "thermal-cpufreq-0";
|
|
|
|
|
|
|
|
|
|
trip2-temp = <80000>;
|
|
|
|
|
trip2-type = "active";
|
|
|
|
|
trip2-cdev-num = <1>;
|
|
|
|
|
trip2-cdev-name0 = "thermal-cpufreq-0";
|
|
|
|
|
|
|
|
|
|
trip3-temp = <85000>;
|
|
|
|
|
trip3-type = "critical";
|
|
|
|
|
trip3-cdev-num = <0>;
|
|
|
|
|
|
|
|
|
|
status = "okay";
|
|
|
|
|
};
|
|
|
|
|
|
2013-03-12 09:39:01 +01:00
|
|
|
ab8500 {
|
2013-01-16 14:28:03 +00:00
|
|
|
ab8500-gpio {
|
|
|
|
|
compatible = "stericsson,ab8500-gpio";
|
|
|
|
|
};
|
|
|
|
|
|
2013-06-07 17:11:21 +01:00
|
|
|
ext_regulators: ab8500-ext-regulators {
|
|
|
|
|
ab8500_ext1_reg: ab8500_ext1 {
|
|
|
|
|
regulator-name = "ab8500-ext-supply1";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
ab8500_ext2_reg_reg: ab8500_ext2 {
|
|
|
|
|
regulator-name = "ab8500-ext-supply2";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
ab8500_ext3_reg_reg: ab8500_ext3 {
|
|
|
|
|
regulator-name = "ab8500-ext-supply3";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2012-09-25 12:04:51 +01:00
|
|
|
ab8500-regulators {
|
|
|
|
|
ab8500_ldo_aux1_reg: ab8500_ldo_aux1 {
|
|
|
|
|
regulator-name = "V-DISPLAY";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
ab8500_ldo_aux2_reg: ab8500_ldo_aux2 {
|
|
|
|
|
regulator-name = "V-eMMC1";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
ab8500_ldo_aux3_reg: ab8500_ldo_aux3 {
|
|
|
|
|
regulator-name = "V-MMC-SD";
|
|
|
|
|
};
|
|
|
|
|
|
2013-04-09 11:16:56 +02:00
|
|
|
ab8500_ldo_intcore_reg: ab8500_ldo_intcore {
|
2012-09-25 12:04:51 +01:00
|
|
|
regulator-name = "V-INTCORE";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
ab8500_ldo_tvout_reg: ab8500_ldo_tvout {
|
|
|
|
|
regulator-name = "V-TVOUT";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
ab8500_ldo_usb_reg: ab8500_ldo_usb {
|
|
|
|
|
regulator-name = "dummy";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
ab8500_ldo_audio_reg: ab8500_ldo_audio {
|
|
|
|
|
regulator-name = "V-AUD";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
ab8500_ldo_anamic1_reg: ab8500_ldo_anamic1 {
|
|
|
|
|
regulator-name = "V-AMIC1";
|
|
|
|
|
};
|
|
|
|
|
|
2013-05-30 15:27:42 +02:00
|
|
|
ab8500_ldo_anamic2_reg: ab8500_ldo_anamic2 {
|
2012-09-25 12:04:51 +01:00
|
|
|
regulator-name = "V-AMIC2";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
ab8500_ldo_dmic_reg: ab8500_ldo_dmic {
|
|
|
|
|
regulator-name = "V-DMIC";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
ab8500_ldo_ana_reg: ab8500_ldo_ana {
|
|
|
|
|
regulator-name = "V-CSI/DSI";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
2012-03-07 15:04:07 +00:00
|
|
|
};
|
|
|
|
|
};
|