1/*
2 * SAMSUNG SMDK5250 board device tree source
3 *
4 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
--- 60 unchanged lines hidden (view full) ---
69 codec_mclk: codec-mclk {
70 compatible = "fixed-clock";
71 #clock-cells = <0>;
72 clock-frequency = <16934000>;
73 };
74 };
75};
76
77&cpu0 {
78 cpu0-supply = <&buck2_reg>;
79};
80
81&dp {
82 samsung,color-space = <0>;
83 samsung,dynamic-range = <0>;
84 samsung,ycbcr-coeff = <0>;
85 samsung,color-depth = <1>;
86 samsung,link-rate = <0x0a>;
87 samsung,lane-count = <4>;
88
89 pinctrl-names = "default";
90 pinctrl-0 = <&dp_hpd>;
91 status = "okay";
92
93 display-timings {
94 native-mode = <&timing0>;
95
96 timing0: timing@0 {
97 /* 1280x800 */
98 clock-frequency = <50000>;
99 hactive = <1280>;
100 vactive = <800>;
101 hfront-porch = <4>;
102 hback-porch = <4>;
103 hsync-len = <4>;
104 vback-porch = <4>;
105 vfront-porch = <4>;
106 vsync-len = <4>;
107 };
108 };
109};
110
111&ehci {
112 samsung,vbus-gpio = <&gpx2 6 GPIO_ACTIVE_HIGH>;
113};
114
115&fimd {
116 status = "okay";
117};
118
119&hdmi {
120 hpd-gpio = <&gpx3 7 GPIO_ACTIVE_HIGH>;
121};
122
123&i2c_0 {
124 status = "okay";
125 samsung,i2c-sda-delay = <100>;
126 samsung,i2c-max-bus-freq = <20000>;
127
128 eeprom@50 {
129 compatible = "samsung,s524ad0xd1";
130 reg = <0x50>;
131 };
132
133 max77686@09 {
134 compatible = "maxim,max77686";
135 reg = <0x09>;
136 interrupt-parent = <&gpx3>;
137 interrupts = <2 IRQ_TYPE_NONE>;
138 pinctrl-names = "default";
139 pinctrl-0 = <&max77686_irq>;
140 wakeup-source;
141
142 voltage-regulators {
143 ldo1_reg: LDO1 {
144 regulator-name = "P1.0V_LDO_OUT1";
145 regulator-min-microvolt = <1000000>;
146 regulator-max-microvolt = <1000000>;
147 regulator-always-on;
148 };
--- 43 unchanged lines hidden (view full) ---
192 regulator-min-microvolt = <1000000>;
193 regulator-max-microvolt = <1000000>;
194 };
195
196 ldo10_reg: LDO10 {
197 regulator-name = "P1.8V_LDO_OUT10";
198 regulator-min-microvolt = <1800000>;
199 regulator-max-microvolt = <1800000>;
200 regulator-always-on;
201 };
202
203 ldo11_reg: LDO11 {
204 regulator-name = "P1.8V_LDO_OUT11";
205 regulator-min-microvolt = <1800000>;
206 regulator-max-microvolt = <1800000>;
207 };
208
--- 204 unchanged lines hidden (view full) ---
413 };
414
415 partition@40000 {
416 label = "Kernel";
417 reg = <0x40000 0xc0000>;
418 };
419 };
420};
421
422&pinctrl_0 {
423 max77686_irq: max77686-irq {
424 samsung,pins = "gpx3-2";
425 samsung,pin-function = <0xf>;
426 samsung,pin-pud = <0>;
427 samsung,pin-drv = <0>;
428 };
429};
2 * SAMSUNG SMDK5250 board device tree source
3 *
4 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
--- 60 unchanged lines hidden (view full) ---
69 codec_mclk: codec-mclk {
70 compatible = "fixed-clock";
71 #clock-cells = <0>;
72 clock-frequency = <16934000>;
73 };
74 };
75};
76
77&cpu0 {
78 cpu0-supply = <&buck2_reg>;
79};
80
81&dp {
82 samsung,color-space = <0>;
83 samsung,dynamic-range = <0>;
84 samsung,ycbcr-coeff = <0>;
85 samsung,color-depth = <1>;
86 samsung,link-rate = <0x0a>;
87 samsung,lane-count = <4>;
88
89 pinctrl-names = "default";
90 pinctrl-0 = <&dp_hpd>;
91 status = "okay";
92
93 display-timings {
94 native-mode = <&timing0>;
95
96 timing0: timing@0 {
97 /* 1280x800 */
98 clock-frequency = <50000>;
99 hactive = <1280>;
100 vactive = <800>;
101 hfront-porch = <4>;
102 hback-porch = <4>;
103 hsync-len = <4>;
104 vback-porch = <4>;
105 vfront-porch = <4>;
106 vsync-len = <4>;
107 };
108 };
109};
110
111&ehci {
112 samsung,vbus-gpio = <&gpx2 6 GPIO_ACTIVE_HIGH>;
113};
114
115&fimd {
116 status = "okay";
117};
118
119&hdmi {
120 hpd-gpio = <&gpx3 7 GPIO_ACTIVE_HIGH>;
121};
122
123&i2c_0 {
124 status = "okay";
125 samsung,i2c-sda-delay = <100>;
126 samsung,i2c-max-bus-freq = <20000>;
127
128 eeprom@50 {
129 compatible = "samsung,s524ad0xd1";
130 reg = <0x50>;
131 };
132
133 max77686@09 {
134 compatible = "maxim,max77686";
135 reg = <0x09>;
136 interrupt-parent = <&gpx3>;
137 interrupts = <2 IRQ_TYPE_NONE>;
138 pinctrl-names = "default";
139 pinctrl-0 = <&max77686_irq>;
140 wakeup-source;
141
142 voltage-regulators {
143 ldo1_reg: LDO1 {
144 regulator-name = "P1.0V_LDO_OUT1";
145 regulator-min-microvolt = <1000000>;
146 regulator-max-microvolt = <1000000>;
147 regulator-always-on;
148 };
--- 43 unchanged lines hidden (view full) ---
192 regulator-min-microvolt = <1000000>;
193 regulator-max-microvolt = <1000000>;
194 };
195
196 ldo10_reg: LDO10 {
197 regulator-name = "P1.8V_LDO_OUT10";
198 regulator-min-microvolt = <1800000>;
199 regulator-max-microvolt = <1800000>;
200 regulator-always-on;
201 };
202
203 ldo11_reg: LDO11 {
204 regulator-name = "P1.8V_LDO_OUT11";
205 regulator-min-microvolt = <1800000>;
206 regulator-max-microvolt = <1800000>;
207 };
208
--- 204 unchanged lines hidden (view full) ---
413 };
414
415 partition@40000 {
416 label = "Kernel";
417 reg = <0x40000 0xc0000>;
418 };
419 };
420};
421
422&pinctrl_0 {
423 max77686_irq: max77686-irq {
424 samsung,pins = "gpx3-2";
425 samsung,pin-function = <0xf>;
426 samsung,pin-pud = <0>;
427 samsung,pin-drv = <0>;
428 };
429};