summaryrefslogtreecommitdiff
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorEvan Wilson <evan@oliodevices.com>2015-12-11 16:55:48 -0800
committerEvan Wilson <evan@oliodevices.com>2015-12-11 16:55:48 -0800
commit606779d73f51a0ebe81f691bd7c173fc1740be24 (patch)
tree42e68bd40f3a375dfbb5ba940c6de9b4591f9016 /arch/arm/boot
parentb6602fe7788593d7c5e02ae7bb5616ebc6f63f2c (diff)
parentb258e74fe4251438954e0fc08575f4b15ab35605 (diff)
downloadolio-linux-3.10-606779d73f51a0ebe81f691bd7c173fc1740be24.tar.xz
olio-linux-3.10-606779d73f51a0ebe81f691bd7c173fc1740be24.zip
Merge remote-tracking branch 'olio/android-3.10-bringup' into 1.1.45
Conflicts: drivers/iio/imu/st_lsm6ds3/st_lsm6ds3_core.c drivers/iio/imu/st_lsm6ds3/st_lsm6ds3_trigger.c drivers/power/bq27x00_battery.c Change-Id: Iafb1129617680cd2705bc05eb49faaafff325692
Diffstat (limited to 'arch/arm/boot')
-rw-r--r--arch/arm/boot/dts/omap3.dtsi9
-rw-r--r--arch/arm/boot/dts/omap3_h1.dts152
2 files changed, 101 insertions, 60 deletions
diff --git a/arch/arm/boot/dts/omap3.dtsi b/arch/arm/boot/dts/omap3.dtsi
index cae4e9725d0..36a93cc41c0 100644
--- a/arch/arm/boot/dts/omap3.dtsi
+++ b/arch/arm/boot/dts/omap3.dtsi
@@ -208,7 +208,7 @@
<&omap3_pmx_core 26 0xd9 1>,
<&omap3_pmx_core 28 0xc1 4>;
};
-/*
+ /*
uart1: serial@4806a000 {
compatible = "ti,omap3-uart";
ti,hwmods = "uart1";
@@ -225,7 +225,8 @@
compatible = "ti,omap3-uart";
ti,hwmods = "uart3";
clock-frequency = <48000000>;
- }; */
+ };
+ */
i2c1: i2c@48070000 {
compatible = "ti,omap3-i2c";
@@ -266,7 +267,7 @@
dma-names = "tx0", "rx0", "tx1", "rx1",
"tx2", "rx2", "tx3", "rx3";
};
- /*
+
mcspi2: spi@4809a000 {
compatible = "ti,omap2-mcspi";
#address-cells = <1>;
@@ -302,7 +303,7 @@
dmas = <&sdma 70>, <&sdma 71>;
dma-names = "tx0", "rx0";
};
- */
+
mmc1: mmc@4809c000 {
compatible = "ti,omap3-hsmmc";
ti,hwmods = "mmc1";
diff --git a/arch/arm/boot/dts/omap3_h1.dts b/arch/arm/boot/dts/omap3_h1.dts
index ab2a48631e4..72f1bf0f11b 100644
--- a/arch/arm/boot/dts/omap3_h1.dts
+++ b/arch/arm/boot/dts/omap3_h1.dts
@@ -20,11 +20,10 @@
cpu@0 {
device_type = "cpu";
operating-points = <
- /* kHz uV */
- 300000 975000
- 600000 1150000
- 800000 1275000
- /* 1000000 1337500 */
+ /* kHz uV (from opp3xxx_data.c) */
+ 300000 1012500
+ 600000 1200000
+ 800000 1325000
>;
cpu0-supply = <&omap_tps65910>;
/* OPP tolerance in percentage */
@@ -41,6 +40,13 @@
regulator-boot-on;
};
+ /* omap_pimic is used by the omap-pmic-regulator driver - a
+ * generic framework for omap interfacing with i2c drivers, based
+ * on the TWL framework.
+ *
+ * This is the two regulators needed by the AM3603.
+ */
+
omap_pimic {
omap_tps65910: omap_vdd1 {
compatible = "ti,omap-tps65910-vdd1";
@@ -54,7 +60,7 @@
ti,vp = <&vp_core>;
};
};
-
+
pad-wkup {
/* on omap, the irqs are calculated as follows:
* for the 96 intc IRQs
@@ -75,6 +81,7 @@
/* listed below will be reported as the wakeup reason */
/* */
/* off IRQ handle */
+
ti,pad_irq = <0x150 88 1>, /* 72 + 16, uart1 - BT input */
<0x9f6 143 1>, /* mpu6515 irq pin - is this offset correct? */
<0x9ea 122 1>, /* bq27400 chg irq8 */
@@ -92,13 +99,15 @@
&vc {
ti,i2c-high-speed;
ti,i2c-pad-load = <3>;
- vc_mpu{
+
+ vc_mpu {
ti,master-channel;
};
- vc_core{
+ vc_core {
ti,use-master-slave-addr;
};
+
};
&glbl_prm {
@@ -149,13 +158,14 @@
0x1a0 0x000 /* MCSPI1_CS1, MODE0 | OUTPUT */
/* CKE pin for memory */
- 0x232 0x000 /* SDRC_CKE0, MODE0 | OUTPUT */
- 0x234 0x000 /* SDRC_CKE1, MODE0 | OUTPUT */
+ 0x232 0x000 /* SDRC_CKE0, MODE0 | OUTPUT */
+ 0x234 0x000 /* SDRC_CKE1, MODE0 | OUTPUT */
/* touch reset */
0x0f2 0x11c /* CAM_D6, MODE4 | INPUT_PULLUP */
- 0x1b0 0xc100 /* SYS_NIRQ, MODE0 | INPUT | OFFWAKEUP */
+ 0x5ba 0x004 /* ETK_D7, MODE4 | OUTPUT (from GL susp) */
+ 0x1b0 0xc100 /* SYS_NIRQ, MODE0 | INPUT | OFFWAKEUP */
0x0dc 0x004 /* CAM_HS, MODE4 | OUTPUT */
@@ -214,15 +224,28 @@
>;
};
+ /*
+ i2c1_pins: pinmux_i2c1_pins {
+ pinctrl-single,pins = <
+ 0x18a 0x118 */ /* I2C1_SCL, MODE0 | INPUT_PULLUP */
+ /* 0x18c 0x118 */ /* I2C1_SCA, MODE0 | INPUT_PULLUP */
+ /* >;
+ };
+ */
+
i2c1_pins: pinmux_i2c1_pins {
pinctrl-single,pins = <
- 0x18a 0x118 /* I2C1_SCL, MODE0 | INPUT_PULLUP */
- 0x18c 0x118 /* I2C1_SCA, MODE0 | INPUT_PULLUP */
+ 0x188 0x118 /* I2C1_SCL, MODE0 | INPUT_PULLUP */
+ 0x18c 0x118 /* I2C1_SCL, MODE0 | INPUT_PULLUP */
>;
};
-
-
+ i2c2_pins: pinmux_i2c2_pins {
+ pinctrl-single,pins = <
+ 0x18e 0x118 /* I2C2_SCL, MODE0 | INPUT_PULLUP */
+ 0x190 0x118 /* I2C2_SDA, MODE0 | INPUT_PULLUP */
+ >;
+ };
};
&omap3_pmx_wkup { /* pinmux@0x48002a00 */
@@ -233,6 +256,7 @@
pinctrl-single,pins = <
0x006 0x008 /* SYS_CLKREQ, MODE0 | PULLDOWN */
0x018 0x000 /* SYS_OFF_MODE, MODE0 */
+
/* Fuel gauge interrupt */
0x01a 0x4104 /* SYS_CLKOUT1, MODE4 | OMAP_PIN_INPUT */
@@ -272,13 +296,23 @@
interrupts = <7>; /* SYS_NIRQ */
interrupt-parent = <&intc>;
- #interrupt-cells = <2>;
+#interrupt-cells = <2>;
interrupt-controller;
+ /* This is from HEAD */
+ /* ti,en-ck32k-xtal; */
+
+ /* set SR_CTL_I2C_SEL - access to smartreflex registers by control i2c */
+ /* ti,system-power-controller; */
+
+ /* This is from GL's suspend branch */
+ /* crystal oscillator is installed on the board */
+
ti,en-ck32k-xtal;
ti,en-dev-slp;
ti,sleepsig-pol;
ti,clkout32k-keepon;
+
/* set SR_CTL_I2C_SEL - access to smartreflex registers by control i2c */
ti,system-power-controller;
@@ -292,88 +326,95 @@
vccio-supply = <&vbat>;
regulators {
- vrtc_reg: regulator@0 {
+ vrtc_reg: regulator@0 {
regulator-always-on;
ti,regulator-ext-sleep-control = <8>;
};
- /* DSS is on this one */
- vio_reg: regulator@1 {
- regulator-name = "vdds_dsi";
+ /* DSS is on this one (and much else) */
+ vio_reg: regulator@1 {
+ regulator-name = "vdds_dsi";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
};
- /* Leave one and two on for reliable wake-up */
-
- vdd1_reg: regulator@2 {
+ /* Leave one and two on for reliable wake-up */
+ vdd1_reg: regulator@2 {
/* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
/*
- regulator-boot-on;
- regulator-always-on;
+ regulator-boot-on;
+ regulator-always-on;
*/
/* external sleep control by means of SYS_OFF_MODE signal */
- regulator-name = "vdd_mpu_iva";
- regulator-min-microvolt = <900000>;
- regulator-max-microvolt = <1350000>;
+ /* regulator-name = "vdd_mpu_iva"; */
+ regulator-name = "vdd_mpu_iva";
+ regulator-min-microvolt = <975000>;
+ regulator-max-microvolt = <1275000>;
+
ti,regulator-ext-sleep-control = <8>;
};
- vdd2_reg: regulator@3 {
+ vdd2_reg: regulator@3 {
/* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
/*
- regulator-boot-on;
- regulator-always-on;
+
+ regulator-name = "vdd_core";
+ regulator-min-microvolt = <900000>;
+ regulator-max-microvolt = <1200000>;
+
+ regulator-boot-on;
+ regulator-always-on;
*/
/* external sleep control by means of SYS_OFF_MODE signal */
+
regulator-name = "vdd_core";
regulator-min-microvolt = <900000>;
regulator-max-microvolt = <1200000>;
ti,regulator-ext-sleep-control = <8>;
};
- /* not used, I think */
- vdd3_reg: regulator@4 {
- status = "disabled";
+ /* not used, I think */
+ vdd3_reg: regulator@4 {
+ status = "disabled";
ti,regulator-ext-sleep-control = <8>;
};
- /* This is the accelerometer. We always want it on. */
- vdig1_reg: regulator@5 {
+ /* This is the accelerometer. We always want it on. */
+ vdig1_reg: regulator@5 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
- regulator-always-on;
+ regulator-always-on;
};
/* vdig2_reg: regulator@6 {}; unused */
- vdig2_reg: regulator@6 {
+ vdig2_reg: regulator@6 {
status = "disabled";
ti,regulator-ext-sleep-control = <8>;
};
- /* Nobody is explicitly using this rail, but it seems like it goes to
- * VDDA_DPLL_PER on the chip. So we need it.
- */
- vpll_reg: regulator@7 {
+ /* Nobody is explicitly using this rail, but it seems like
+ * it goes to VDDA_DPLL_PER on the chip. So we need it.
+ */
+ vpll_reg: regulator@7 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
ti,regulator-ext-sleep-control = <8>;
};
/* vdac_reg: regulator@8 {}; unused */
- vdac_reg: regulator@8 {
+ vdac_reg: regulator@8 {
status = "disabled";
ti,regulator-ext-sleep-control = <8>;
};
- vaux1_reg: regulator@9 { /* not used, 2.85V by default */
- status = "disabled";
+ vaux1_reg: regulator@9 { /* not used, 2.85V by default */
+ status = "disabled";
ti,regulator-ext-sleep-control = <8>;
};
- vaux2_reg: regulator@10 {
- regulator-name = "vaux2";
+ vaux2_reg: regulator@10 {
+ regulator-name = "vaux2";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
@@ -382,25 +423,26 @@
/* This is Bluetooth - never turn it off */
- vaux33_reg: regulator@11 {
- regulator-name = "vaux33";
+ vaux33_reg: regulator@11 {
+ regulator-name = "vaux33";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
/* ti,regulator-ext-sleep-control = <8>; */
};
- /* This one goes to both SPI (for DSS) and touch. How can I
- * specify two consumers in DT? (vdd for dss, avdd for touch).
- */
- vmmc_reg: regulator@12 {
+ /* This one goes to both SPI (for DSS) and touch. How can I
+ * specify two consumers in DT? (vdd for dss, avdd for touch).
+ */
+ vmmc_reg: regulator@12 {
+ regulator-name = "avdd";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
/*ti,regulator-ext-sleep-control = <8>;*/
};
};
-};
+ };
/* leave gpio bank interface clocks on during suspend
@@ -441,5 +483,3 @@
&mmc3 {
status = "disabled";
};
-
-