2014-01-02 11:17:31 -07:00
|
|
|
#include "qcom-msm8974.dtsi"
|
2015-02-03 05:17:59 -07:00
|
|
|
#include "qcom-pm8841.dtsi"
|
|
|
|
#include "qcom-pm8941.dtsi"
|
2014-01-02 11:17:31 -07:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Qualcomm APQ8074 Dragonboard";
|
|
|
|
compatible = "qcom,apq8074-dragonboard", "qcom,apq8074";
|
2014-01-31 07:21:56 -07:00
|
|
|
|
2015-06-16 15:31:47 -06:00
|
|
|
aliases {
|
|
|
|
serial0 = &blsp1_uart2;
|
2015-11-20 16:31:20 -07:00
|
|
|
usid0 = &pm8941_0;
|
|
|
|
usid4 = &pm8841_0;
|
2015-06-16 15:31:47 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
stdout-path = "serial0:115200n8";
|
|
|
|
};
|
|
|
|
|
2014-05-28 11:01:29 -06:00
|
|
|
soc {
|
|
|
|
serial@f991e000 {
|
|
|
|
status = "ok";
|
|
|
|
};
|
|
|
|
|
2014-01-31 07:21:56 -07:00
|
|
|
sdhci@f9824900 {
|
|
|
|
bus-width = <8>;
|
|
|
|
non-removable;
|
|
|
|
status = "ok";
|
2016-05-10 16:45:59 -06:00
|
|
|
|
|
|
|
vmmc-supply = <&pm8941_l20>;
|
|
|
|
vqmmc-supply = <&pm8941_s3>;
|
|
|
|
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&sdhc1_pin_a>;
|
2014-01-31 07:21:56 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
sdhci@f98a4900 {
|
|
|
|
cd-gpios = <&msmgpio 62 0x1>;
|
2016-05-10 16:45:59 -06:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&sdhc2_pin_a>, <&sdhc2_cd_pin_a>;
|
2014-01-31 07:21:56 -07:00
|
|
|
bus-width = <4>;
|
2016-05-10 16:45:59 -06:00
|
|
|
status = "ok";
|
|
|
|
|
|
|
|
vmmc-supply = <&pm8941_l21>;
|
|
|
|
vqmmc-supply = <&pm8941_l13>;
|
2014-01-31 07:21:56 -07:00
|
|
|
};
|
2014-05-28 11:01:29 -06:00
|
|
|
|
|
|
|
|
|
|
|
pinctrl@fd510000 {
|
2014-09-16 05:45:38 -06:00
|
|
|
i2c11_pins: i2c11 {
|
|
|
|
mux {
|
|
|
|
pins = "gpio83", "gpio84";
|
|
|
|
function = "blsp_i2c11";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2014-05-28 11:01:29 -06:00
|
|
|
spi8_default: spi8_default {
|
|
|
|
mosi {
|
|
|
|
pins = "gpio45";
|
|
|
|
function = "blsp_spi8";
|
|
|
|
};
|
|
|
|
miso {
|
|
|
|
pins = "gpio46";
|
|
|
|
function = "blsp_spi8";
|
|
|
|
};
|
|
|
|
cs {
|
|
|
|
pins = "gpio47";
|
|
|
|
function = "blsp_spi8";
|
|
|
|
};
|
|
|
|
clk {
|
|
|
|
pins = "gpio48";
|
|
|
|
function = "blsp_spi8";
|
|
|
|
};
|
|
|
|
};
|
2016-05-10 16:45:59 -06:00
|
|
|
|
|
|
|
sdhc1_pin_a: sdhc1-pin-active {
|
|
|
|
clk {
|
|
|
|
pins = "sdc1_clk";
|
|
|
|
drive-strength = <16>;
|
|
|
|
bias-disable;
|
|
|
|
};
|
|
|
|
|
|
|
|
cmd-data {
|
|
|
|
pins = "sdc1_cmd", "sdc1_data";
|
|
|
|
drive-strength = <10>;
|
|
|
|
bias-pull-up;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
sdhc2_cd_pin_a: sdhc2-cd-pin-active {
|
|
|
|
pins = "gpio62";
|
|
|
|
function = "gpio";
|
|
|
|
|
|
|
|
drive-strength = <2>;
|
|
|
|
bias-disable;
|
|
|
|
};
|
|
|
|
|
|
|
|
sdhc2_pin_a: sdhc2-pin-active {
|
|
|
|
clk {
|
|
|
|
pins = "sdc2_clk";
|
|
|
|
drive-strength = <10>;
|
|
|
|
bias-disable;
|
|
|
|
};
|
|
|
|
|
|
|
|
cmd-data {
|
|
|
|
pins = "sdc2_cmd", "sdc2_data";
|
|
|
|
drive-strength = <6>;
|
|
|
|
bias-pull-up;
|
|
|
|
};
|
|
|
|
};
|
2014-05-28 11:01:29 -06:00
|
|
|
};
|
2014-09-16 05:45:38 -06:00
|
|
|
|
|
|
|
i2c@f9967000 {
|
|
|
|
status = "okay";
|
|
|
|
clock-frequency = <200000>;
|
|
|
|
pinctrl-0 = <&i2c11_pins>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
|
|
|
|
eeprom: eeprom@52 {
|
|
|
|
compatible = "atmel,24c128";
|
|
|
|
reg = <0x52>;
|
|
|
|
pagesize = <32>;
|
|
|
|
read-only;
|
|
|
|
};
|
|
|
|
};
|
2014-01-31 07:21:56 -07:00
|
|
|
};
|
2016-05-10 16:45:58 -06:00
|
|
|
|
|
|
|
smd {
|
|
|
|
rpm {
|
|
|
|
rpm_requests {
|
|
|
|
pm8841-regulators {
|
|
|
|
s1 {
|
|
|
|
regulator-min-microvolt = <675000>;
|
|
|
|
regulator-max-microvolt = <1050000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
s2 {
|
|
|
|
regulator-min-microvolt = <500000>;
|
|
|
|
regulator-max-microvolt = <1050000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
s3 {
|
|
|
|
regulator-min-microvolt = <500000>;
|
|
|
|
regulator-max-microvolt = <1050000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
s4 {
|
|
|
|
regulator-min-microvolt = <500000>;
|
|
|
|
regulator-max-microvolt = <1050000>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
pm8941-regulators {
|
|
|
|
vdd_l1_l3-supply = <&pm8941_s1>;
|
|
|
|
vdd_l2_lvs1_2_3-supply = <&pm8941_s3>;
|
|
|
|
vdd_l4_l11-supply = <&pm8941_s1>;
|
|
|
|
vdd_l5_l7-supply = <&pm8941_s2>;
|
|
|
|
vdd_l6_l12_l14_l15-supply = <&pm8941_s2>;
|
|
|
|
vin_5vs-supply = <&pm8941_5v>;
|
|
|
|
|
|
|
|
s1 {
|
|
|
|
regulator-min-microvolt = <1300000>;
|
|
|
|
regulator-max-microvolt = <1300000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
s2 {
|
|
|
|
regulator-min-microvolt = <2150000>;
|
|
|
|
regulator-max-microvolt = <2150000>;
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
s3 {
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
l1 {
|
|
|
|
regulator-min-microvolt = <1225000>;
|
|
|
|
regulator-max-microvolt = <1225000>;
|
|
|
|
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
l2 {
|
|
|
|
regulator-min-microvolt = <1200000>;
|
|
|
|
regulator-max-microvolt = <1200000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
l3 {
|
|
|
|
regulator-min-microvolt = <1225000>;
|
|
|
|
regulator-max-microvolt = <1225000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
l4 {
|
|
|
|
regulator-min-microvolt = <1225000>;
|
|
|
|
regulator-max-microvolt = <1225000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
l5 {
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
l6 {
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
|
|
|
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
l7 {
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
|
|
|
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
l8 {
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
l9 {
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <2950000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
l10 {
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
l11 {
|
|
|
|
regulator-min-microvolt = <1300000>;
|
|
|
|
regulator-max-microvolt = <1300000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
l12 {
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
|
|
|
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
l13 {
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <2950000>;
|
|
|
|
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
l14 {
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
l15 {
|
|
|
|
regulator-min-microvolt = <2050000>;
|
|
|
|
regulator-max-microvolt = <2050000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
l16 {
|
|
|
|
regulator-min-microvolt = <2700000>;
|
|
|
|
regulator-max-microvolt = <2700000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
l17 {
|
|
|
|
regulator-min-microvolt = <2700000>;
|
|
|
|
regulator-max-microvolt = <2700000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
l18 {
|
|
|
|
regulator-min-microvolt = <2850000>;
|
|
|
|
regulator-max-microvolt = <2850000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
l19 {
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
l20 {
|
|
|
|
regulator-min-microvolt = <2950000>;
|
|
|
|
regulator-max-microvolt = <2950000>;
|
|
|
|
|
|
|
|
regulator-allow-set-load;
|
|
|
|
regulator-boot-on;
|
|
|
|
regulator-system-load = <200000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
l21 {
|
|
|
|
regulator-min-microvolt = <2950000>;
|
|
|
|
regulator-max-microvolt = <2950000>;
|
|
|
|
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
l22 {
|
|
|
|
regulator-min-microvolt = <3000000>;
|
|
|
|
regulator-max-microvolt = <3000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
l23 {
|
|
|
|
regulator-min-microvolt = <3000000>;
|
|
|
|
regulator-max-microvolt = <3000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
l24 {
|
|
|
|
regulator-min-microvolt = <3075000>;
|
|
|
|
regulator-max-microvolt = <3075000>;
|
|
|
|
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2014-01-02 11:17:31 -07:00
|
|
|
};
|