Commit 1fe9a942 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Kukjin Kim

ARM: dts: Use labels for overriding nodes in exynos4412-trats2

Usage of labels instead of full paths reduces possible mistakes when
overriding nodes.
Signed-off-by: default avatarKrzysztof Kozlowski <k.kozlowski.k@gmail.com>
Signed-off-by: default avatarKukjin Kim <kgene@kernel.org>
parent 3d06a5c1
...@@ -131,820 +131,768 @@ key-ok { ...@@ -131,820 +131,768 @@ key-ok {
}; };
}; };
adc: adc@126C0000 { i2c_max77693: i2c-gpio-1 {
vdd-supply = <&ldo3_reg>; compatible = "i2c-gpio";
gpios = <&gpm2 0 GPIO_ACTIVE_HIGH>, <&gpm2 1 GPIO_ACTIVE_HIGH>;
i2c-gpio,delay-us = <2>;
#address-cells = <1>;
#size-cells = <0>;
status = "okay"; status = "okay";
max77693@66 {
compatible = "maxim,max77693";
interrupt-parent = <&gpx1>;
interrupts = <5 2>;
reg = <0x66>;
regulators {
esafeout1_reg: ESAFEOUT1@1 {
regulator-name = "ESAFEOUT1";
};
esafeout2_reg: ESAFEOUT2@2 {
regulator-name = "ESAFEOUT2";
};
charger_reg: CHARGER@0 {
regulator-name = "CHARGER";
regulator-min-microamp = <60000>;
regulator-max-microamp = <2580000>;
};
}; };
i2c@13890000 { max77693_haptic {
samsung,i2c-sda-delay = <100>; compatible = "maxim,max77693-haptic";
samsung,i2c-slave-addr = <0x10>; haptic-supply = <&ldo26_reg>;
samsung,i2c-max-bus-freq = <400000>; pwms = <&pwm 0 38022 0>;
pinctrl-0 = <&i2c3_bus>; };
pinctrl-names = "default";
status = "okay";
mms114-touchscreen@48 { charger {
compatible = "melfas,mms114"; compatible = "maxim,max77693-charger";
reg = <0x48>;
interrupt-parent = <&gpm2>; maxim,constant-microvolt = <4350000>;
interrupts = <3 2>; maxim,min-system-microvolt = <3600000>;
x-size = <720>; maxim,thermal-regulation-celsius = <100>;
y-size = <1280>; maxim,battery-overcurrent-microamp = <3500000>;
avdd-supply = <&ldo23_reg>; maxim,charge-input-threshold-microvolt = <4300000>;
vdd-supply = <&ldo24_reg>; };
}; };
}; };
i2c_0: i2c@13860000 { i2c_max77693_fuel: i2c-gpio-3 {
samsung,i2c-sda-delay = <100>; compatible = "i2c-gpio";
samsung,i2c-slave-addr = <0x10>; gpios = <&gpf1 5 GPIO_ACTIVE_HIGH>, <&gpf1 4 GPIO_ACTIVE_HIGH>;
samsung,i2c-max-bus-freq = <400000>; i2c-gpio,delay-us = <2>;
pinctrl-0 = <&i2c0_bus>; #address-cells = <1>;
pinctrl-names = "default"; #size-cells = <0>;
status = "okay"; status = "okay";
s5c73m3@3c { max77693-fuel-gauge@36 {
compatible = "samsung,s5c73m3"; compatible = "maxim,max17047";
reg = <0x3c>; interrupt-parent = <&gpx2>;
standby-gpios = <&gpm0 1 1>; /* ISP_STANDBY */ interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
xshutdown-gpios = <&gpf1 3 1>; /* ISP_RESET */ reg = <0x36>;
vdd-int-supply = <&buck9_reg>;
vddio-cis-supply = <&ldo9_reg>;
vdda-supply = <&ldo17_reg>;
vddio-host-supply = <&ldo18_reg>;
vdd-af-supply = <&cam_af_reg>;
vdd-reg-supply = <&cam_io_reg>;
clock-frequency = <24000000>;
/* CAM_A_CLKOUT */
clocks = <&camera 0>;
clock-names = "cis_extclk";
port {
s5c73m3_ep: endpoint {
remote-endpoint = <&csis0_ep>;
data-lanes = <1 2 3 4>;
}; };
}; };
i2c_ak8975: i2c-gpio-0 {
compatible = "i2c-gpio";
gpios = <&gpy2 4 0>, <&gpy2 5 0>;
i2c-gpio,delay-us = <2>;
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
ak8975@0c {
compatible = "asahi-kasei,ak8975";
reg = <0x0c>;
gpios = <&gpj0 7 0>;
}; };
}; };
i2c@138A0000 { i2c_cm36651: i2c-gpio-2 {
samsung,i2c-sda-delay = <100>; compatible = "i2c-gpio";
samsung,i2c-slave-addr = <0x10>; gpios = <&gpf0 0 1>, <&gpf0 1 1>;
samsung,i2c-max-bus-freq = <100000>; i2c-gpio,delay-us = <2>;
pinctrl-0 = <&i2c4_bus>; #address-cells = <1>;
pinctrl-names = "default"; #size-cells = <0>;
status = "okay";
wm1811: wm1811@1a { cm36651@18 {
compatible = "wlf,wm1811"; compatible = "capella,cm36651";
reg = <0x1a>; reg = <0x18>;
clocks = <&pmu_system_controller 0>; interrupt-parent = <&gpx0>;
clock-names = "MCLK1"; interrupts = <2 2>;
DCVDD-supply = <&ldo3_reg>; vled-supply = <&ps_als_reg>;
DBVDD1-supply = <&ldo3_reg>;
wlf,ldo1ena = <&gpj0 4 0>;
}; };
}; };
i2c@138D0000 { camera: camera {
samsung,i2c-sda-delay = <100>; pinctrl-0 = <&cam_port_a_clk_active &cam_port_b_clk_active>;
samsung,i2c-slave-addr = <0x10>;
samsung,i2c-max-bus-freq = <100000>;
pinctrl-0 = <&i2c7_bus>;
pinctrl-names = "default"; pinctrl-names = "default";
status = "okay"; status = "okay";
assigned-clocks = <&clock CLK_MOUT_CAM0>,
<&clock CLK_MOUT_CAM1>;
assigned-clock-parents = <&clock CLK_XUSBXTI>,
<&clock CLK_XUSBXTI>;
max77686: max77686_pmic@09 {
compatible = "maxim,max77686";
interrupt-parent = <&gpx0>;
interrupts = <7 0>;
reg = <0x09>;
#clock-cells = <1>;
voltage-regulators {
ldo1_reg: ldo1 {
regulator-compatible = "LDO1";
regulator-name = "VALIVE_1.0V_AP";
regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1000000>;
regulator-always-on;
}; };
ldo2_reg: ldo2 { sound {
regulator-compatible = "LDO2"; compatible = "samsung,trats2-audio";
regulator-name = "VM1M2_1.2V_AP"; samsung,i2s-controller = <&i2s0>;
regulator-min-microvolt = <1200000>; samsung,model = "Trats2";
regulator-max-microvolt = <1200000>; samsung,audio-codec = <&wm1811>;
regulator-always-on; samsung,audio-routing =
regulator-state-mem { "SPK", "SPKOUTLN",
regulator-on-in-suspend; "SPK", "SPKOUTLP",
}; "SPK", "SPKOUTRN",
"SPK", "SPKOUTRP";
}; };
ldo3_reg: ldo3 { thermistor-ap@0 {
regulator-compatible = "LDO3"; compatible = "ntc,ncp15wb473";
regulator-name = "VCC_1.8V_AP"; pullup-uv = <1800000>; /* VCC_1.8V_AP */
regulator-min-microvolt = <1800000>; pullup-ohm = <100000>; /* 100K */
regulator-max-microvolt = <1800000>; pulldown-ohm = <100000>; /* 100K */
regulator-always-on; io-channels = <&adc 1>; /* AP temperature */
}; };
ldo4_reg: ldo4 { thermistor-battery@1 {
regulator-compatible = "LDO4"; compatible = "ntc,ncp15wb473";
regulator-name = "VCC_2.8V_AP"; pullup-uv = <1800000>; /* VCC_1.8V_AP */
regulator-min-microvolt = <2800000>; pullup-ohm = <100000>; /* 100K */
regulator-max-microvolt = <2800000>; pulldown-ohm = <100000>; /* 100K */
regulator-always-on; io-channels = <&adc 2>; /* Battery temperature */
}; };
ldo5_reg: ldo5 { thermal-zones {
regulator-compatible = "LDO5"; cpu_thermal: cpu-thermal {
regulator-name = "VCC_1.8V_IO"; cooling-maps {
regulator-min-microvolt = <1800000>; map0 {
regulator-max-microvolt = <1800000>; /* Corresponds to 800MHz at freq_table */
regulator-always-on; cooling-device = <&cpu0 7 7>;
}; };
map1 {
ldo6_reg: ldo6 { /* Corresponds to 200MHz at freq_table */
regulator-compatible = "LDO6"; cooling-device = <&cpu0 13 13>;
regulator-name = "VMPLL_1.0V_AP";
regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1000000>;
regulator-always-on;
regulator-state-mem {
regulator-on-in-suspend;
}; };
}; };
ldo7_reg: ldo7 {
regulator-compatible = "LDO7";
regulator-name = "VPLL_1.0V_AP";
regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1000000>;
regulator-always-on;
regulator-state-mem {
regulator-on-in-suspend;
}; };
}; };
};
ldo8_reg: ldo8 { &adc {
regulator-compatible = "LDO8"; vdd-supply = <&ldo3_reg>;
regulator-name = "VMIPI_1.0V"; status = "okay";
regulator-min-microvolt = <1000000>; };
regulator-max-microvolt = <1000000>;
regulator-state-mem { &csis_0 {
regulator-off-in-suspend; status = "okay";
vddcore-supply = <&ldo8_reg>;
vddio-supply = <&ldo10_reg>;
assigned-clocks = <&clock CLK_MOUT_CSIS0>,
<&clock CLK_SCLK_CSIS0>;
assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
assigned-clock-rates = <0>, <176000000>;
/* Camera C (3) MIPI CSI-2 (CSIS0) */
port@3 {
reg = <3>;
csis0_ep: endpoint {
remote-endpoint = <&s5c73m3_ep>;
data-lanes = <1 2 3 4>;
samsung,csis-hs-settle = <12>;
}; };
}; };
};
ldo9_reg: ldo9 { &csis_1 {
regulator-compatible = "LDO9"; status = "okay";
regulator-name = "CAM_ISP_MIPI_1.2V"; vddcore-supply = <&ldo8_reg>;
regulator-min-microvolt = <1200000>; vddio-supply = <&ldo10_reg>;
regulator-max-microvolt = <1200000>; assigned-clocks = <&clock CLK_MOUT_CSIS1>,
}; <&clock CLK_SCLK_CSIS1>;
assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
ldo10_reg: ldo10 { assigned-clock-rates = <0>, <176000000>;
regulator-compatible = "LDO10";
regulator-name = "VMIPI_1.8V";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-state-mem {
regulator-off-in-suspend;
};
};
ldo11_reg: ldo11 {
regulator-compatible = "LDO11";
regulator-name = "VABB1_1.95V";
regulator-min-microvolt = <1950000>;
regulator-max-microvolt = <1950000>;
regulator-always-on;
regulator-state-mem {
regulator-off-in-suspend;
};
};
ldo12_reg: ldo12 { /* Camera D (4) MIPI CSI-2 (CSIS1) */
regulator-compatible = "LDO12"; port@4 {
regulator-name = "VUOTG_3.0V"; reg = <4>;
regulator-min-microvolt = <3000000>; csis1_ep: endpoint {
regulator-max-microvolt = <3000000>; remote-endpoint = <&is_s5k6a3_ep>;
regulator-state-mem { data-lanes = <1>;
regulator-off-in-suspend; samsung,csis-hs-settle = <18>;
}; samsung,csis-wclk;
}; };
ldo13_reg: ldo13 {
regulator-compatible = "LDO13";
regulator-name = "NFC_AVDD_1.8V";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
}; };
};
ldo14_reg: ldo14 { &dsi_0 {
regulator-compatible = "LDO14"; vddcore-supply = <&ldo8_reg>;
regulator-name = "VABB2_1.95V"; vddio-supply = <&ldo10_reg>;
regulator-min-microvolt = <1950000>; samsung,pll-clock-frequency = <24000000>;
regulator-max-microvolt = <1950000>; status = "okay";
regulator-always-on;
regulator-state-mem {
regulator-off-in-suspend;
};
};
ldo15_reg: ldo15 { ports {
regulator-compatible = "LDO15"; #address-cells = <1>;
regulator-name = "VHSIC_1.0V"; #size-cells = <0>;
regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1000000>;
regulator-state-mem {
regulator-on-in-suspend;
};
};
ldo16_reg: ldo16 { port@1 {
regulator-compatible = "LDO16"; reg = <1>;
regulator-name = "VHSIC_1.8V";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-state-mem {
regulator-on-in-suspend;
};
};
ldo17_reg: ldo17 { dsi_out: endpoint {
regulator-compatible = "LDO17"; remote-endpoint = <&dsi_in>;
regulator-name = "CAM_SENSOR_CORE_1.2V"; samsung,burst-clock-frequency = <500000000>;
regulator-min-microvolt = <1200000>; samsung,esc-clock-frequency = <20000000>;
regulator-max-microvolt = <1200000>;
}; };
ldo18_reg: ldo18 {
regulator-compatible = "LDO18";
regulator-name = "CAM_ISP_SEN_IO_1.8V";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
}; };
ldo19_reg: ldo19 {
regulator-compatible = "LDO19";
regulator-name = "VT_CAM_1.8V";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
}; };
ldo20_reg: ldo20 { panel@0 {
regulator-compatible = "LDO20"; compatible = "samsung,s6e8aa0";
regulator-name = "VDDQ_PRE_1.8V"; reg = <0>;
regulator-min-microvolt = <1800000>; vdd3-supply = <&lcd_vdd3_reg>;
regulator-max-microvolt = <1800000>; vci-supply = <&ldo25_reg>;
}; reset-gpios = <&gpy4 5 0>;
power-on-delay= <50>;
reset-delay = <100>;
init-delay = <100>;
flip-horizontal;
flip-vertical;
panel-width-mm = <58>;
panel-height-mm = <103>;
ldo21_reg: ldo21 { display-timings {
regulator-compatible = "LDO21"; timing-0 {
regulator-name = "VTF_2.8V"; clock-frequency = <57153600>;
regulator-min-microvolt = <2800000>; hactive = <720>;
regulator-max-microvolt = <2800000>; vactive = <1280>;
maxim,ena-gpios = <&gpy2 0 GPIO_ACTIVE_HIGH>; hfront-porch = <5>;
hback-porch = <5>;
hsync-len = <5>;
vfront-porch = <13>;
vback-porch = <1>;
vsync-len = <2>;
}; };
ldo22_reg: ldo22 {
regulator-compatible = "LDO22";
regulator-name = "VMEM_VDD_2.8V";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>;
maxim,ena-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
}; };
ldo23_reg: ldo23 { port {
regulator-compatible = "LDO23"; dsi_in: endpoint {
regulator-name = "TSP_AVDD_3.3V"; remote-endpoint = <&dsi_out>;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
}; };
ldo24_reg: ldo24 {
regulator-compatible = "LDO24";
regulator-name = "TSP_VDD_1.8V";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
}; };
ldo25_reg: ldo25 {
regulator-compatible = "LDO25";
regulator-name = "LCD_VCC_3.3V";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>;
};
ldo26_reg: ldo26 {
regulator-compatible = "LDO26";
regulator-name = "MOTOR_VCC_3.0V";
regulator-min-microvolt = <3000000>;
regulator-max-microvolt = <3000000>;
}; };
};
buck1_reg: buck1 { &exynos_usbphy {
regulator-compatible = "BUCK1"; status = "okay";
regulator-name = "vdd_mif"; };
regulator-min-microvolt = <850000>;
regulator-max-microvolt = <1100000>;
regulator-always-on;
regulator-boot-on;
regulator-state-mem {
regulator-off-in-suspend;
};
};
buck2_reg: buck2 { &fimc_0 {
regulator-compatible = "BUCK2"; status = "okay";
regulator-name = "vdd_arm"; assigned-clocks = <&clock CLK_MOUT_FIMC0>,
regulator-min-microvolt = <850000>; <&clock CLK_SCLK_FIMC0>;
regulator-max-microvolt = <1500000>; assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
regulator-always-on; assigned-clock-rates = <0>, <176000000>;
regulator-boot-on; };
regulator-state-mem {
regulator-on-in-suspend;
};
};
buck3_reg: buck3 { &fimc_1 {
regulator-compatible = "BUCK3"; status = "okay";
regulator-name = "vdd_int"; assigned-clocks = <&clock CLK_MOUT_FIMC1>,
regulator-min-microvolt = <850000>; <&clock CLK_SCLK_FIMC1>;
regulator-max-microvolt = <1150000>; assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
regulator-always-on; assigned-clock-rates = <0>, <176000000>;
regulator-boot-on; };
regulator-state-mem {
regulator-off-in-suspend;
};
};
buck4_reg: buck4 { &fimc_2 {
regulator-compatible = "BUCK4"; status = "okay";
regulator-name = "vdd_g3d"; assigned-clocks = <&clock CLK_MOUT_FIMC2>,
regulator-min-microvolt = <850000>; <&clock CLK_SCLK_FIMC2>;
regulator-max-microvolt = <1150000>; assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
regulator-boot-on; assigned-clock-rates = <0>, <176000000>;
regulator-state-mem { };
regulator-off-in-suspend;
};
};
buck5_reg: buck5 { &fimc_3 {
regulator-compatible = "BUCK5"; status = "okay";
regulator-name = "VMEM_1.2V_AP"; assigned-clocks = <&clock CLK_MOUT_FIMC3>,
regulator-min-microvolt = <1200000>; <&clock CLK_SCLK_FIMC3>;
regulator-max-microvolt = <1200000>; assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
regulator-always-on; assigned-clock-rates = <0>, <176000000>;
}; };
buck6_reg: buck6 { &fimc_is {
regulator-compatible = "BUCK6"; pinctrl-0 = <&fimc_is_uart>;
regulator-name = "VCC_SUB_1.35V"; pinctrl-names = "default";
regulator-min-microvolt = <1350000>; status = "okay";
regulator-max-microvolt = <1350000>;
regulator-always-on;
};
buck7_reg: buck7 { i2c1_isp: i2c-isp@12140000 {
regulator-compatible = "BUCK7"; pinctrl-0 = <&fimc_is_i2c1>;
regulator-name = "VCC_SUB_2.0V"; pinctrl-names = "default";
regulator-min-microvolt = <2000000>;
regulator-max-microvolt = <2000000>;
regulator-always-on;
};
buck8_reg: buck8 { s5k6a3@10 {
regulator-compatible = "BUCK8"; compatible = "samsung,s5k6a3";
regulator-name = "VMEM_VDDF_3.0V"; reg = <0x10>;
regulator-min-microvolt = <2850000>; svdda-supply = <&cam_io_reg>;
regulator-max-microvolt = <2850000>; svddio-supply = <&ldo19_reg>;
maxim,ena-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>; afvdd-supply = <&ldo19_reg>;
}; clock-frequency = <24000000>;
/* CAM_B_CLKOUT */
clocks = <&camera 1>;
clock-names = "extclk";
samsung,camclk-out = <1>;
gpios = <&gpm1 6 0>;
buck9_reg: buck9 { port {
regulator-compatible = "BUCK9"; is_s5k6a3_ep: endpoint {
regulator-name = "CAM_ISP_CORE_1.2V"; remote-endpoint = <&csis1_ep>;
regulator-min-microvolt = <1000000>; data-lanes = <1>;
regulator-max-microvolt = <1200000>;
maxim,ena-gpios = <&gpm0 3 GPIO_ACTIVE_HIGH>;
}; };
}; };
}; };
}; };
};
i2c_max77693: i2c-gpio-1 { &fimc_lite_0 {
compatible = "i2c-gpio";
gpios = <&gpm2 0 GPIO_ACTIVE_HIGH>, <&gpm2 1 GPIO_ACTIVE_HIGH>;
i2c-gpio,delay-us = <2>;
#address-cells = <1>;
#size-cells = <0>;
status = "okay"; status = "okay";
};
max77693@66 { &fimc_lite_1 {
compatible = "maxim,max77693"; status = "okay";
interrupt-parent = <&gpx1>; };
interrupts = <5 2>;
reg = <0x66>;
regulators { &fimd {
esafeout1_reg: ESAFEOUT1@1 { status = "okay";
regulator-name = "ESAFEOUT1"; };
};
esafeout2_reg: ESAFEOUT2@2 {
regulator-name = "ESAFEOUT2";
};
charger_reg: CHARGER@0 {
regulator-name = "CHARGER";
regulator-min-microamp = <60000>;
regulator-max-microamp = <2580000>;
};
};
max77693_haptic { &hsotg {
compatible = "maxim,max77693-haptic"; vusb_d-supply = <&ldo15_reg>;
haptic-supply = <&ldo26_reg>; vusb_a-supply = <&ldo12_reg>;
pwms = <&pwm 0 38022 0>; dr_mode = "peripheral";
}; status = "okay";
};
charger { &i2c_0 {
compatible = "maxim,max77693-charger"; samsung,i2c-sda-delay = <100>;
samsung,i2c-slave-addr = <0x10>;
samsung,i2c-max-bus-freq = <400000>;
pinctrl-0 = <&i2c0_bus>;
pinctrl-names = "default";
status = "okay";
maxim,constant-microvolt = <4350000>; s5c73m3@3c {
maxim,min-system-microvolt = <3600000>; compatible = "samsung,s5c73m3";
maxim,thermal-regulation-celsius = <100>; reg = <0x3c>;
maxim,battery-overcurrent-microamp = <3500000>; standby-gpios = <&gpm0 1 1>; /* ISP_STANDBY */
maxim,charge-input-threshold-microvolt = <4300000>; xshutdown-gpios = <&gpf1 3 1>; /* ISP_RESET */
vdd-int-supply = <&buck9_reg>;
vddio-cis-supply = <&ldo9_reg>;
vdda-supply = <&ldo17_reg>;
vddio-host-supply = <&ldo18_reg>;
vdd-af-supply = <&cam_af_reg>;
vdd-reg-supply = <&cam_io_reg>;
clock-frequency = <24000000>;
/* CAM_A_CLKOUT */
clocks = <&camera 0>;
clock-names = "cis_extclk";
port {
s5c73m3_ep: endpoint {
remote-endpoint = <&csis0_ep>;
data-lanes = <1 2 3 4>;
}; };
}; };
}; };
};
i2c_max77693_fuel: i2c-gpio-3 { &i2c_3 {
compatible = "i2c-gpio"; samsung,i2c-sda-delay = <100>;
gpios = <&gpf1 5 GPIO_ACTIVE_HIGH>, <&gpf1 4 GPIO_ACTIVE_HIGH>; samsung,i2c-slave-addr = <0x10>;
i2c-gpio,delay-us = <2>; samsung,i2c-max-bus-freq = <400000>;
#address-cells = <1>; pinctrl-0 = <&i2c3_bus>;
#size-cells = <0>; pinctrl-names = "default";
status = "okay"; status = "okay";
max77693-fuel-gauge@36 { mms114-touchscreen@48 {
compatible = "maxim,max17047"; compatible = "melfas,mms114";
interrupt-parent = <&gpx2>; reg = <0x48>;
interrupts = <3 IRQ_TYPE_EDGE_FALLING>; interrupt-parent = <&gpm2>;
reg = <0x36>; interrupts = <3 2>;
}; x-size = <720>;
y-size = <1280>;
avdd-supply = <&ldo23_reg>;
vdd-supply = <&ldo24_reg>;
}; };
};
mmc@12550000 { &i2c_4 {
num-slots = <1>; samsung,i2c-sda-delay = <100>;
broken-cd; samsung,i2c-slave-addr = <0x10>;
non-removable; samsung,i2c-max-bus-freq = <100000>;
card-detect-delay = <200>; pinctrl-0 = <&i2c4_bus>;
vmmc-supply = <&ldo22_reg>;
clock-frequency = <400000000>;
samsung,dw-mshc-ciu-div = <0>;
samsung,dw-mshc-sdr-timing = <2 3>;
samsung,dw-mshc-ddr-timing = <1 2>;
pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>;
pinctrl-names = "default"; pinctrl-names = "default";
status = "okay"; status = "okay";
bus-width = <8>;
cap-mmc-highspeed; wm1811: wm1811@1a {
compatible = "wlf,wm1811";
reg = <0x1a>;
clocks = <&pmu_system_controller 0>;
clock-names = "MCLK1";
DCVDD-supply = <&ldo3_reg>;
DBVDD1-supply = <&ldo3_reg>;
wlf,ldo1ena = <&gpj0 4 0>;
}; };
};
sdhci@12530000 { &i2c_7 {
bus-width = <4>; samsung,i2c-sda-delay = <100>;
cd-gpios = <&gpx3 4 0>; samsung,i2c-slave-addr = <0x10>;
cd-inverted; samsung,i2c-max-bus-freq = <100000>;
pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4>; pinctrl-0 = <&i2c7_bus>;
pinctrl-names = "default"; pinctrl-names = "default";
vmmc-supply = <&ldo21_reg>;
status = "okay"; status = "okay";
max77686: max77686_pmic@09 {
compatible = "maxim,max77686";
interrupt-parent = <&gpx0>;
interrupts = <7 0>;
reg = <0x09>;
#clock-cells = <1>;
voltage-regulators {
ldo1_reg: ldo1 {
regulator-compatible = "LDO1";
regulator-name = "VALIVE_1.0V_AP";
regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1000000>;
regulator-always-on;
}; };
serial@13800000 { ldo2_reg: ldo2 {
status = "okay"; regulator-compatible = "LDO2";
regulator-name = "VM1M2_1.2V_AP";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
regulator-always-on;
regulator-state-mem {
regulator-on-in-suspend;
}; };
serial@13810000 {
status = "okay";
}; };
serial@13820000 { ldo3_reg: ldo3 {
status = "okay"; regulator-compatible = "LDO3";
regulator-name = "VCC_1.8V_AP";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
}; };
serial@13830000 { ldo4_reg: ldo4 {
status = "okay"; regulator-compatible = "LDO4";
regulator-name = "VCC_2.8V_AP";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>;
regulator-always-on;
}; };
tmu@100C0000 { ldo5_reg: ldo5 {
vtmu-supply = <&ldo10_reg>; regulator-compatible = "LDO5";
status = "okay"; regulator-name = "VCC_1.8V_IO";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
}; };
i2c_ak8975: i2c-gpio-0 { ldo6_reg: ldo6 {
compatible = "i2c-gpio"; regulator-compatible = "LDO6";
gpios = <&gpy2 4 0>, <&gpy2 5 0>; regulator-name = "VMPLL_1.0V_AP";
i2c-gpio,delay-us = <2>; regulator-min-microvolt = <1000000>;
#address-cells = <1>; regulator-max-microvolt = <1000000>;
#size-cells = <0>; regulator-always-on;
status = "okay"; regulator-state-mem {
regulator-on-in-suspend;
ak8975@0c {
compatible = "asahi-kasei,ak8975";
reg = <0x0c>;
gpios = <&gpj0 7 0>;
}; };
}; };
i2c_cm36651: i2c-gpio-2 { ldo7_reg: ldo7 {
compatible = "i2c-gpio"; regulator-compatible = "LDO7";
gpios = <&gpf0 0 1>, <&gpf0 1 1>; regulator-name = "VPLL_1.0V_AP";
i2c-gpio,delay-us = <2>; regulator-min-microvolt = <1000000>;
#address-cells = <1>; regulator-max-microvolt = <1000000>;
#size-cells = <0>; regulator-always-on;
regulator-state-mem {
cm36651@18 { regulator-on-in-suspend;
compatible = "capella,cm36651";
reg = <0x18>;
interrupt-parent = <&gpx0>;
interrupts = <2 2>;
vled-supply = <&ps_als_reg>;
}; };
}; };
spi_1: spi@13930000 { ldo8_reg: ldo8 {
pinctrl-names = "default"; regulator-compatible = "LDO8";
pinctrl-0 = <&spi1_bus>; regulator-name = "VMIPI_1.0V";
cs-gpios = <&gpb 5 0>; regulator-min-microvolt = <1000000>;
status = "okay"; regulator-max-microvolt = <1000000>;
regulator-state-mem {
s5c73m3_spi: s5c73m3 { regulator-off-in-suspend;
compatible = "samsung,s5c73m3";
spi-max-frequency = <50000000>;
reg = <0>;
controller-data {
samsung,spi-feedback-delay = <2>;
};
}; };
}; };
pwm: pwm@139D0000 { ldo9_reg: ldo9 {
pinctrl-0 = <&pwm0_out>; regulator-compatible = "LDO9";
pinctrl-names = "default"; regulator-name = "CAM_ISP_MIPI_1.2V";
samsung,pwm-outputs = <0>; regulator-min-microvolt = <1200000>;
status = "okay"; regulator-max-microvolt = <1200000>;
}; };
dsi_0: dsi@11C80000 { ldo10_reg: ldo10 {
vddcore-supply = <&ldo8_reg>; regulator-compatible = "LDO10";
vddio-supply = <&ldo10_reg>; regulator-name = "VMIPI_1.8V";
samsung,pll-clock-frequency = <24000000>; regulator-min-microvolt = <1800000>;
status = "okay"; regulator-max-microvolt = <1800000>;
regulator-state-mem {
ports { regulator-off-in-suspend;
#address-cells = <1>;
#size-cells = <0>;
port@1 {
reg = <1>;
dsi_out: endpoint {
remote-endpoint = <&dsi_in>;
samsung,burst-clock-frequency = <500000000>;
samsung,esc-clock-frequency = <20000000>;
};
}; };
}; };
panel@0 { ldo11_reg: ldo11 {
compatible = "samsung,s6e8aa0"; regulator-compatible = "LDO11";
reg = <0>; regulator-name = "VABB1_1.95V";
vdd3-supply = <&lcd_vdd3_reg>; regulator-min-microvolt = <1950000>;
vci-supply = <&ldo25_reg>; regulator-max-microvolt = <1950000>;
reset-gpios = <&gpy4 5 0>; regulator-always-on;
power-on-delay= <50>; regulator-state-mem {
reset-delay = <100>; regulator-off-in-suspend;
init-delay = <100>;
flip-horizontal;
flip-vertical;
panel-width-mm = <58>;
panel-height-mm = <103>;
display-timings {
timing-0 {
clock-frequency = <57153600>;
hactive = <720>;
vactive = <1280>;
hfront-porch = <5>;
hback-porch = <5>;
hsync-len = <5>;
vfront-porch = <13>;
vback-porch = <1>;
vsync-len = <2>;
}; };
}; };
port { ldo12_reg: ldo12 {
dsi_in: endpoint { regulator-compatible = "LDO12";
remote-endpoint = <&dsi_out>; regulator-name = "VUOTG_3.0V";
}; regulator-min-microvolt = <3000000>;
}; regulator-max-microvolt = <3000000>;
regulator-state-mem {
regulator-off-in-suspend;
}; };
}; };
fimd@11c00000 { ldo13_reg: ldo13 {
status = "okay"; regulator-compatible = "LDO13";
regulator-name = "NFC_AVDD_1.8V";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
}; };
camera: camera { ldo14_reg: ldo14 {
pinctrl-0 = <&cam_port_a_clk_active &cam_port_b_clk_active>; regulator-compatible = "LDO14";
pinctrl-names = "default"; regulator-name = "VABB2_1.95V";
status = "okay"; regulator-min-microvolt = <1950000>;
assigned-clocks = <&clock CLK_MOUT_CAM0>, regulator-max-microvolt = <1950000>;
<&clock CLK_MOUT_CAM1>; regulator-always-on;
assigned-clock-parents = <&clock CLK_XUSBXTI>, regulator-state-mem {
<&clock CLK_XUSBXTI>; regulator-off-in-suspend;
fimc_0: fimc@11800000 {
status = "okay";
assigned-clocks = <&clock CLK_MOUT_FIMC0>,
<&clock CLK_SCLK_FIMC0>;
assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
assigned-clock-rates = <0>, <176000000>;
}; };
fimc_1: fimc@11810000 {
status = "okay";
assigned-clocks = <&clock CLK_MOUT_FIMC1>,
<&clock CLK_SCLK_FIMC1>;
assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
assigned-clock-rates = <0>, <176000000>;
}; };
fimc_2: fimc@11820000 { ldo15_reg: ldo15 {
status = "okay"; regulator-compatible = "LDO15";
assigned-clocks = <&clock CLK_MOUT_FIMC2>, regulator-name = "VHSIC_1.0V";
<&clock CLK_SCLK_FIMC2>; regulator-min-microvolt = <1000000>;
assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>; regulator-max-microvolt = <1000000>;
assigned-clock-rates = <0>, <176000000>; regulator-state-mem {
regulator-on-in-suspend;
}; };
fimc_3: fimc@11830000 {
status = "okay";
assigned-clocks = <&clock CLK_MOUT_FIMC3>,
<&clock CLK_SCLK_FIMC3>;
assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
assigned-clock-rates = <0>, <176000000>;
}; };
csis_0: csis@11880000 { ldo16_reg: ldo16 {
status = "okay"; regulator-compatible = "LDO16";
vddcore-supply = <&ldo8_reg>; regulator-name = "VHSIC_1.8V";
vddio-supply = <&ldo10_reg>; regulator-min-microvolt = <1800000>;
assigned-clocks = <&clock CLK_MOUT_CSIS0>, regulator-max-microvolt = <1800000>;
<&clock CLK_SCLK_CSIS0>; regulator-state-mem {
assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>; regulator-on-in-suspend;
assigned-clock-rates = <0>, <176000000>;
/* Camera C (3) MIPI CSI-2 (CSIS0) */
port@3 {
reg = <3>;
csis0_ep: endpoint {
remote-endpoint = <&s5c73m3_ep>;
data-lanes = <1 2 3 4>;
samsung,csis-hs-settle = <12>;
};
}; };
}; };
csis_1: csis@11890000 { ldo17_reg: ldo17 {
status = "okay"; regulator-compatible = "LDO17";
vddcore-supply = <&ldo8_reg>; regulator-name = "CAM_SENSOR_CORE_1.2V";
vddio-supply = <&ldo10_reg>; regulator-min-microvolt = <1200000>;
assigned-clocks = <&clock CLK_MOUT_CSIS1>, regulator-max-microvolt = <1200000>;
<&clock CLK_SCLK_CSIS1>;
assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
assigned-clock-rates = <0>, <176000000>;
/* Camera D (4) MIPI CSI-2 (CSIS1) */
port@4 {
reg = <4>;
csis1_ep: endpoint {
remote-endpoint = <&is_s5k6a3_ep>;
data-lanes = <1>;
samsung,csis-hs-settle = <18>;
samsung,csis-wclk;
}; };
ldo18_reg: ldo18 {
regulator-compatible = "LDO18";
regulator-name = "CAM_ISP_SEN_IO_1.8V";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
}; };
ldo19_reg: ldo19 {
regulator-compatible = "LDO19";
regulator-name = "VT_CAM_1.8V";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
}; };
fimc_lite_0: fimc-lite@12390000 { ldo20_reg: ldo20 {
status = "okay"; regulator-compatible = "LDO20";
regulator-name = "VDDQ_PRE_1.8V";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
}; };
fimc_lite_1: fimc-lite@123A0000 { ldo21_reg: ldo21 {
status = "okay"; regulator-compatible = "LDO21";
regulator-name = "VTF_2.8V";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>;
maxim,ena-gpios = <&gpy2 0 GPIO_ACTIVE_HIGH>;
}; };
fimc-is@12000000 { ldo22_reg: ldo22 {
pinctrl-0 = <&fimc_is_uart>; regulator-compatible = "LDO22";
pinctrl-names = "default"; regulator-name = "VMEM_VDD_2.8V";
status = "okay"; regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>;
maxim,ena-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
};
i2c1_isp: i2c-isp@12140000 { ldo23_reg: ldo23 {
pinctrl-0 = <&fimc_is_i2c1>; regulator-compatible = "LDO23";
pinctrl-names = "default"; regulator-name = "TSP_AVDD_3.3V";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
};
s5k6a3@10 { ldo24_reg: ldo24 {
compatible = "samsung,s5k6a3"; regulator-compatible = "LDO24";
reg = <0x10>; regulator-name = "TSP_VDD_1.8V";
svdda-supply = <&cam_io_reg>; regulator-min-microvolt = <1800000>;
svddio-supply = <&ldo19_reg>; regulator-max-microvolt = <1800000>;
afvdd-supply = <&ldo19_reg>; };
clock-frequency = <24000000>;
/* CAM_B_CLKOUT */
clocks = <&camera 1>;
clock-names = "extclk";
samsung,camclk-out = <1>;
gpios = <&gpm1 6 0>;
port { ldo25_reg: ldo25 {
is_s5k6a3_ep: endpoint { regulator-compatible = "LDO25";
remote-endpoint = <&csis1_ep>; regulator-name = "LCD_VCC_3.3V";
data-lanes = <1>; regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>;
}; };
ldo26_reg: ldo26 {
regulator-compatible = "LDO26";
regulator-name = "MOTOR_VCC_3.0V";
regulator-min-microvolt = <3000000>;
regulator-max-microvolt = <3000000>;
}; };
buck1_reg: buck1 {
regulator-compatible = "BUCK1";
regulator-name = "vdd_mif";
regulator-min-microvolt = <850000>;
regulator-max-microvolt = <1100000>;
regulator-always-on;
regulator-boot-on;
regulator-state-mem {
regulator-off-in-suspend;
}; };
}; };
buck2_reg: buck2 {
regulator-compatible = "BUCK2";
regulator-name = "vdd_arm";
regulator-min-microvolt = <850000>;
regulator-max-microvolt = <1500000>;
regulator-always-on;
regulator-boot-on;
regulator-state-mem {
regulator-on-in-suspend;
}; };
}; };
i2s0: i2s@03830000 { buck3_reg: buck3 {
pinctrl-0 = <&i2s0_bus>; regulator-compatible = "BUCK3";
pinctrl-names = "default"; regulator-name = "vdd_int";
status = "okay"; regulator-min-microvolt = <850000>;
regulator-max-microvolt = <1150000>;
regulator-always-on;
regulator-boot-on;
regulator-state-mem {
regulator-off-in-suspend;
}; };
sound {
compatible = "samsung,trats2-audio";
samsung,i2s-controller = <&i2s0>;
samsung,model = "Trats2";
samsung,audio-codec = <&wm1811>;
samsung,audio-routing =
"SPK", "SPKOUTLN",
"SPK", "SPKOUTLP",
"SPK", "SPKOUTRN",
"SPK", "SPKOUTRP";
}; };
exynos-usbphy@125B0000 { buck4_reg: buck4 {
status = "okay"; regulator-compatible = "BUCK4";
regulator-name = "vdd_g3d";
regulator-min-microvolt = <850000>;
regulator-max-microvolt = <1150000>;
regulator-boot-on;
regulator-state-mem {
regulator-off-in-suspend;
}; };
hsotg@12480000 {
vusb_d-supply = <&ldo15_reg>;
vusb_a-supply = <&ldo12_reg>;
dr_mode = "peripheral";
status = "okay";
}; };
thermistor-ap@0 { buck5_reg: buck5 {
compatible = "ntc,ncp15wb473"; regulator-compatible = "BUCK5";
pullup-uv = <1800000>; /* VCC_1.8V_AP */ regulator-name = "VMEM_1.2V_AP";
pullup-ohm = <100000>; /* 100K */ regulator-min-microvolt = <1200000>;
pulldown-ohm = <100000>; /* 100K */ regulator-max-microvolt = <1200000>;
io-channels = <&adc 1>; /* AP temperature */ regulator-always-on;
}; };
thermistor-battery@1 { buck6_reg: buck6 {
compatible = "ntc,ncp15wb473"; regulator-compatible = "BUCK6";
pullup-uv = <1800000>; /* VCC_1.8V_AP */ regulator-name = "VCC_SUB_1.35V";
pullup-ohm = <100000>; /* 100K */ regulator-min-microvolt = <1350000>;
pulldown-ohm = <100000>; /* 100K */ regulator-max-microvolt = <1350000>;
io-channels = <&adc 2>; /* Battery temperature */ regulator-always-on;
}; };
thermal-zones { buck7_reg: buck7 {
cpu_thermal: cpu-thermal { regulator-compatible = "BUCK7";
cooling-maps { regulator-name = "VCC_SUB_2.0V";
map0 { regulator-min-microvolt = <2000000>;
/* Corresponds to 800MHz at freq_table */ regulator-max-microvolt = <2000000>;
cooling-device = <&cpu0 7 7>; regulator-always-on;
}; };
map1 {
/* Corresponds to 200MHz at freq_table */ buck8_reg: buck8 {
cooling-device = <&cpu0 13 13>; regulator-compatible = "BUCK8";
regulator-name = "VMEM_VDDF_3.0V";
regulator-min-microvolt = <2850000>;
regulator-max-microvolt = <2850000>;
maxim,ena-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
}; };
buck9_reg: buck9 {
regulator-compatible = "BUCK9";
regulator-name = "CAM_ISP_CORE_1.2V";
regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1200000>;
maxim,ena-gpios = <&gpm0 3 GPIO_ACTIVE_HIGH>;
}; };
}; };
}; };
}; };
&i2s0 {
pinctrl-0 = <&i2s0_bus>;
pinctrl-names = "default";
status = "okay";
};
&mshc_0 {
num-slots = <1>;
broken-cd;
non-removable;
card-detect-delay = <200>;
vmmc-supply = <&ldo22_reg>;
clock-frequency = <400000000>;
samsung,dw-mshc-ciu-div = <0>;
samsung,dw-mshc-sdr-timing = <2 3>;
samsung,dw-mshc-ddr-timing = <1 2>;
pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>;
pinctrl-names = "default";
status = "okay";
bus-width = <8>;
cap-mmc-highspeed;
};
&pmu_system_controller { &pmu_system_controller {
assigned-clocks = <&pmu_system_controller 0>; assigned-clocks = <&pmu_system_controller 0>;
assigned-clock-parents = <&clock CLK_XUSBXTI>; assigned-clock-parents = <&clock CLK_XUSBXTI>;
...@@ -1306,8 +1254,62 @@ sleep3: sleep-states { ...@@ -1306,8 +1254,62 @@ sleep3: sleep-states {
}; };
}; };
&pwm {
pinctrl-0 = <&pwm0_out>;
pinctrl-names = "default";
samsung,pwm-outputs = <0>;
status = "okay";
};
&rtc { &rtc {
status = "okay"; status = "okay";
clocks = <&clock CLK_RTC>, <&max77686 MAX77686_CLK_AP>; clocks = <&clock CLK_RTC>, <&max77686 MAX77686_CLK_AP>;
clock-names = "rtc", "rtc_src"; clock-names = "rtc", "rtc_src";
}; };
&sdhci_2 {
bus-width = <4>;
cd-gpios = <&gpx3 4 0>;
cd-inverted;
pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4>;
pinctrl-names = "default";
vmmc-supply = <&ldo21_reg>;
status = "okay";
};
&serial_0 {
status = "okay";
};
&serial_1 {
status = "okay";
};
&serial_2 {
status = "okay";
};
&serial_3 {
status = "okay";
};
&spi_1 {
pinctrl-names = "default";
pinctrl-0 = <&spi1_bus>;
cs-gpios = <&gpb 5 0>;
status = "okay";
s5c73m3_spi: s5c73m3 {
compatible = "samsung,s5c73m3";
spi-max-frequency = <50000000>;
reg = <0>;
controller-data {
samsung,spi-feedback-delay = <2>;
};
};
};
&tmu {
vtmu-supply = <&ldo10_reg>;
status = "okay";
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment