2012-08-31 14:00:41 +00:00
|
|
|
/*
|
|
|
|
* Copyright 2012 Free Electrons
|
|
|
|
*
|
|
|
|
* 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
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* The CFA-10049 is an expansion board for the CFA-10036 module, thus we
|
|
|
|
* need to include the CFA-10036 DTS.
|
|
|
|
*/
|
2013-09-19 06:59:48 +00:00
|
|
|
#include "imx28-cfa10036.dts"
|
2012-08-31 14:00:41 +00:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Crystalfontz CFA-10049 Board";
|
|
|
|
compatible = "crystalfontz,cfa10049", "crystalfontz,cfa10036", "fsl,imx28";
|
|
|
|
|
|
|
|
apb@80000000 {
|
2012-09-04 08:44:03 +00:00
|
|
|
apbh@80000000 {
|
|
|
|
pinctrl@80018000 {
|
2013-07-01 13:23:26 +00:00
|
|
|
usb_pins_cfa10049: usb-10049@0 {
|
2012-11-03 15:59:08 +00:00
|
|
|
reg = <0>;
|
|
|
|
fsl,pinmux-ids = <
|
2013-09-19 06:59:48 +00:00
|
|
|
MX28_PAD_GPMI_D07__GPIO_0_7
|
2013-07-01 13:23:26 +00:00
|
|
|
>;
|
2013-09-22 06:02:59 +00:00
|
|
|
fsl,drive-strength = <MXS_DRIVE_4mA>;
|
|
|
|
fsl,voltage = <MXS_VOLTAGE_HIGH>;
|
|
|
|
fsl,pull-up = <MXS_PULL_DISABLE>;
|
2013-07-01 13:23:26 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
i2cmux_pins_cfa10049: i2cmux-10049@0 {
|
|
|
|
reg = <0>;
|
|
|
|
fsl,pinmux-ids = <
|
2013-09-19 06:59:48 +00:00
|
|
|
MX28_PAD_LCD_D22__GPIO_1_22
|
|
|
|
MX28_PAD_LCD_D23__GPIO_1_23
|
2013-07-01 13:23:26 +00:00
|
|
|
>;
|
2013-09-22 06:02:59 +00:00
|
|
|
fsl,drive-strength = <MXS_DRIVE_4mA>;
|
|
|
|
fsl,voltage = <MXS_VOLTAGE_HIGH>;
|
|
|
|
fsl,pull-up = <MXS_PULL_DISABLE>;
|
2013-07-01 13:23:26 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
mac0_pins_cfa10049: mac0-10049@0 {
|
|
|
|
reg = <0>;
|
|
|
|
fsl,pinmux-ids = <
|
2013-09-19 06:59:48 +00:00
|
|
|
MX28_PAD_SSP2_SS2__GPIO_2_21
|
2012-11-03 15:59:08 +00:00
|
|
|
>;
|
2013-09-22 06:02:59 +00:00
|
|
|
fsl,drive-strength = <MXS_DRIVE_4mA>;
|
|
|
|
fsl,voltage = <MXS_VOLTAGE_HIGH>;
|
|
|
|
fsl,pull-up = <MXS_PULL_DISABLE>;
|
2012-11-03 15:59:08 +00:00
|
|
|
};
|
|
|
|
|
2013-07-01 13:23:26 +00:00
|
|
|
pca_pins_cfa10049: pca-10049@0 {
|
2012-11-20 14:33:35 +00:00
|
|
|
reg = <0>;
|
|
|
|
fsl,pinmux-ids = <
|
2013-09-19 06:59:48 +00:00
|
|
|
MX28_PAD_SSP2_SS0__GPIO_2_19
|
2013-07-01 13:23:26 +00:00
|
|
|
>;
|
2013-09-22 06:02:59 +00:00
|
|
|
fsl,drive-strength = <MXS_DRIVE_4mA>;
|
|
|
|
fsl,voltage = <MXS_VOLTAGE_HIGH>;
|
|
|
|
fsl,pull-up = <MXS_PULL_ENABLE>;
|
2013-07-01 13:23:26 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
rotary_pins_cfa10049: rotary-10049@0 {
|
|
|
|
reg = <0>;
|
|
|
|
fsl,pinmux-ids = <
|
2013-09-19 06:59:48 +00:00
|
|
|
MX28_PAD_I2C0_SCL__GPIO_3_24
|
|
|
|
MX28_PAD_I2C0_SDA__GPIO_3_25
|
2013-07-01 13:23:26 +00:00
|
|
|
>;
|
2013-09-22 06:02:59 +00:00
|
|
|
fsl,drive-strength = <MXS_DRIVE_4mA>;
|
|
|
|
fsl,voltage = <MXS_VOLTAGE_HIGH>;
|
|
|
|
fsl,pull-up = <MXS_PULL_ENABLE>;
|
2013-07-01 13:23:26 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
rotary_btn_pins_cfa10049: rotary-btn-10049@0 {
|
|
|
|
reg = <0>;
|
|
|
|
fsl,pinmux-ids = <
|
2013-09-19 06:59:48 +00:00
|
|
|
MX28_PAD_SAIF1_SDATA0__GPIO_3_26
|
2012-11-20 14:33:35 +00:00
|
|
|
>;
|
2013-09-22 06:02:59 +00:00
|
|
|
fsl,drive-strength = <MXS_DRIVE_4mA>;
|
|
|
|
fsl,voltage = <MXS_VOLTAGE_HIGH>;
|
|
|
|
fsl,pull-up = <MXS_PULL_ENABLE>;
|
2012-11-20 14:33:35 +00:00
|
|
|
};
|
|
|
|
|
2013-01-25 08:54:07 +00:00
|
|
|
spi2_pins_cfa10049: spi2-cfa10049@0 {
|
|
|
|
reg = <0>;
|
|
|
|
fsl,pinmux-ids = <
|
2013-09-19 06:59:48 +00:00
|
|
|
MX28_PAD_SSP2_SCK__GPIO_2_16
|
|
|
|
MX28_PAD_SSP2_MOSI__GPIO_2_17
|
|
|
|
MX28_PAD_SSP2_MISO__GPIO_2_18
|
|
|
|
MX28_PAD_AUART1_TX__GPIO_3_5
|
2013-01-25 08:54:07 +00:00
|
|
|
>;
|
2013-09-22 06:02:59 +00:00
|
|
|
fsl,drive-strength = <MXS_DRIVE_8mA>;
|
|
|
|
fsl,voltage = <MXS_VOLTAGE_HIGH>;
|
|
|
|
fsl,pull-up = <MXS_PULL_ENABLE>;
|
2013-01-25 08:54:07 +00:00
|
|
|
};
|
|
|
|
|
2012-09-04 08:44:03 +00:00
|
|
|
spi3_pins_cfa10049: spi3-cfa10049@0 {
|
|
|
|
reg = <0>;
|
|
|
|
fsl,pinmux-ids = <
|
2013-09-19 06:59:48 +00:00
|
|
|
MX28_PAD_GPMI_RDN__GPIO_0_24
|
|
|
|
MX28_PAD_GPMI_RESETN__GPIO_0_28
|
|
|
|
MX28_PAD_GPMI_CE1N__GPIO_0_17
|
|
|
|
MX28_PAD_GPMI_ALE__GPIO_0_26
|
|
|
|
MX28_PAD_GPMI_CLE__GPIO_0_27
|
2012-09-04 08:44:03 +00:00
|
|
|
>;
|
2013-09-22 06:02:59 +00:00
|
|
|
fsl,drive-strength = <MXS_DRIVE_8mA>;
|
|
|
|
fsl,voltage = <MXS_VOLTAGE_HIGH>;
|
|
|
|
fsl,pull-up = <MXS_PULL_ENABLE>;
|
2012-09-04 08:44:03 +00:00
|
|
|
};
|
2013-01-25 08:54:07 +00:00
|
|
|
|
|
|
|
lcdif_18bit_pins_cfa10049: lcdif-18bit@0 {
|
|
|
|
reg = <0>;
|
|
|
|
fsl,pinmux-ids = <
|
2013-09-19 06:59:48 +00:00
|
|
|
MX28_PAD_LCD_D00__LCD_D0
|
|
|
|
MX28_PAD_LCD_D01__LCD_D1
|
|
|
|
MX28_PAD_LCD_D02__LCD_D2
|
|
|
|
MX28_PAD_LCD_D03__LCD_D3
|
|
|
|
MX28_PAD_LCD_D04__LCD_D4
|
|
|
|
MX28_PAD_LCD_D05__LCD_D5
|
|
|
|
MX28_PAD_LCD_D06__LCD_D6
|
|
|
|
MX28_PAD_LCD_D07__LCD_D7
|
|
|
|
MX28_PAD_LCD_D08__LCD_D8
|
|
|
|
MX28_PAD_LCD_D09__LCD_D9
|
|
|
|
MX28_PAD_LCD_D10__LCD_D10
|
|
|
|
MX28_PAD_LCD_D11__LCD_D11
|
|
|
|
MX28_PAD_LCD_D12__LCD_D12
|
|
|
|
MX28_PAD_LCD_D13__LCD_D13
|
|
|
|
MX28_PAD_LCD_D14__LCD_D14
|
|
|
|
MX28_PAD_LCD_D15__LCD_D15
|
|
|
|
MX28_PAD_LCD_D16__LCD_D16
|
|
|
|
MX28_PAD_LCD_D17__LCD_D17
|
2013-01-25 08:54:07 +00:00
|
|
|
>;
|
2013-09-22 06:02:59 +00:00
|
|
|
fsl,drive-strength = <MXS_DRIVE_4mA>;
|
|
|
|
fsl,voltage = <MXS_VOLTAGE_HIGH>;
|
|
|
|
fsl,pull-up = <MXS_PULL_DISABLE>;
|
2013-01-25 08:54:07 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
lcdif_pins_cfa10049: lcdif-evk@0 {
|
|
|
|
reg = <0>;
|
|
|
|
fsl,pinmux-ids = <
|
2013-09-19 06:59:48 +00:00
|
|
|
MX28_PAD_LCD_RD_E__LCD_VSYNC
|
|
|
|
MX28_PAD_LCD_WR_RWN__LCD_HSYNC
|
|
|
|
MX28_PAD_LCD_RS__LCD_DOTCLK
|
|
|
|
MX28_PAD_LCD_CS__LCD_ENABLE
|
2013-01-25 08:54:07 +00:00
|
|
|
>;
|
2013-09-22 06:02:59 +00:00
|
|
|
fsl,drive-strength = <MXS_DRIVE_4mA>;
|
|
|
|
fsl,voltage = <MXS_VOLTAGE_HIGH>;
|
|
|
|
fsl,pull-up = <MXS_PULL_DISABLE>;
|
2013-01-25 08:54:07 +00:00
|
|
|
};
|
2013-03-29 18:46:41 +00:00
|
|
|
|
2013-07-01 13:23:26 +00:00
|
|
|
lcdif_pins_cfa10049_pullup: lcdif-10049-pullup@0 {
|
|
|
|
reg = <0>;
|
|
|
|
fsl,pinmux-ids = <
|
2013-09-19 06:59:48 +00:00
|
|
|
MX28_PAD_LCD_RESET__GPIO_3_30
|
2013-07-01 13:23:26 +00:00
|
|
|
>;
|
2013-09-22 06:02:59 +00:00
|
|
|
fsl,drive-strength = <MXS_DRIVE_4mA>;
|
|
|
|
fsl,voltage = <MXS_VOLTAGE_HIGH>;
|
|
|
|
fsl,pull-up = <MXS_PULL_ENABLE>;
|
2013-07-01 13:23:26 +00:00
|
|
|
};
|
|
|
|
|
2013-03-29 18:46:41 +00:00
|
|
|
w1_gpio_pins: w1-gpio@0 {
|
|
|
|
reg = <0>;
|
|
|
|
fsl,pinmux-ids = <
|
2013-09-19 06:59:48 +00:00
|
|
|
MX28_PAD_LCD_D21__GPIO_1_21
|
2013-03-29 18:46:41 +00:00
|
|
|
>;
|
2013-09-22 06:02:59 +00:00
|
|
|
fsl,drive-strength = <MXS_DRIVE_8mA>;
|
|
|
|
fsl,voltage = <MXS_VOLTAGE_HIGH>;
|
|
|
|
fsl,pull-up = <MXS_PULL_DISABLE>; /* 0 will enable the keeper */
|
2013-03-29 18:46:41 +00:00
|
|
|
};
|
2013-01-25 08:54:07 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
lcdif@80030000 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&lcdif_18bit_pins_cfa10049
|
2013-07-01 13:23:26 +00:00
|
|
|
&lcdif_pins_cfa10049
|
|
|
|
&lcdif_pins_cfa10049_pullup>;
|
2014-09-05 01:31:20 +00:00
|
|
|
display = <&display0>;
|
2013-01-25 08:54:07 +00:00
|
|
|
status = "okay";
|
2013-03-14 03:37:15 +00:00
|
|
|
|
2014-09-05 01:31:20 +00:00
|
|
|
display0: display0 {
|
2013-03-14 03:37:15 +00:00
|
|
|
bits-per-pixel = <32>;
|
|
|
|
bus-width = <18>;
|
|
|
|
|
|
|
|
display-timings {
|
|
|
|
native-mode = <&timing0>;
|
|
|
|
timing0: timing0 {
|
|
|
|
clock-frequency = <9216000>;
|
|
|
|
hactive = <320>;
|
|
|
|
vactive = <480>;
|
|
|
|
hback-porch = <2>;
|
|
|
|
hfront-porch = <2>;
|
|
|
|
vback-porch = <2>;
|
|
|
|
vfront-porch = <2>;
|
|
|
|
hsync-len = <15>;
|
|
|
|
vsync-len = <15>;
|
|
|
|
hsync-active = <0>;
|
|
|
|
vsync-active = <0>;
|
|
|
|
de-active = <1>;
|
|
|
|
pixelclk-active = <1>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2012-09-04 08:44:03 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-08-31 14:00:41 +00:00
|
|
|
apbx@80040000 {
|
2013-01-25 08:54:07 +00:00
|
|
|
pwm: pwm@80064000 {
|
2013-04-22 09:55:55 +00:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pwm3_pins_b>;
|
2013-01-25 08:54:07 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2012-08-31 14:00:41 +00:00
|
|
|
i2c1: i2c@8005a000 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&i2c1_pins_a>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
2012-09-03 14:15:25 +00:00
|
|
|
|
2012-10-25 16:23:54 +00:00
|
|
|
i2cmux {
|
|
|
|
compatible = "i2c-mux-gpio";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
2013-07-01 13:23:26 +00:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&i2cmux_pins_cfa10049>;
|
2012-10-25 16:23:54 +00:00
|
|
|
mux-gpios = <&gpio1 22 0 &gpio1 23 0>;
|
|
|
|
i2c-parent = <&i2c1>;
|
|
|
|
|
|
|
|
i2c@0 {
|
2013-11-18 14:37:52 +00:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
2012-10-25 16:23:54 +00:00
|
|
|
reg = <0>;
|
2013-11-18 14:37:52 +00:00
|
|
|
|
|
|
|
adc0: nau7802@2a {
|
|
|
|
compatible = "nuvoton,nau7802";
|
|
|
|
reg = <0x2a>;
|
|
|
|
nuvoton,vldo = <3000>;
|
|
|
|
};
|
2012-10-25 16:23:54 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
i2c@1 {
|
2013-11-18 14:37:52 +00:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
2012-10-25 16:23:54 +00:00
|
|
|
reg = <1>;
|
2013-11-18 14:37:52 +00:00
|
|
|
|
|
|
|
adc1: nau7802@2a {
|
|
|
|
compatible = "nuvoton,nau7802";
|
|
|
|
reg = <0x2a>;
|
|
|
|
nuvoton,vldo = <3000>;
|
|
|
|
};
|
2012-10-25 16:23:54 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
i2c@2 {
|
2013-11-18 14:37:52 +00:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
2012-10-25 16:23:54 +00:00
|
|
|
reg = <2>;
|
2013-11-18 14:37:52 +00:00
|
|
|
|
|
|
|
adc2: nau7802@2a {
|
|
|
|
compatible = "nuvoton,nau7802";
|
|
|
|
reg = <0x2a>;
|
|
|
|
nuvoton,vldo = <3000>;
|
|
|
|
};
|
2012-10-25 16:23:54 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
i2c@3 {
|
|
|
|
reg = <3>;
|
2012-11-20 14:33:35 +00:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
pca9555: pca9555@20 {
|
|
|
|
compatible = "nxp,pca9555";
|
2013-07-01 13:23:26 +00:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pca_pins_cfa10049>;
|
2012-11-20 14:33:35 +00:00
|
|
|
interrupt-parent = <&gpio2>;
|
|
|
|
interrupts = <19 0x2>;
|
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <2>;
|
|
|
|
reg = <0x20>;
|
|
|
|
};
|
2012-10-25 16:23:54 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-09-03 14:15:25 +00:00
|
|
|
usbphy1: usbphy@8007e000 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
2013-04-05 12:33:02 +00:00
|
|
|
|
|
|
|
lradc@80050000 {
|
|
|
|
status = "okay";
|
|
|
|
fsl,lradc-touchscreen-wires = <4>;
|
|
|
|
};
|
2012-09-03 14:15:25 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
ahb@80080000 {
|
|
|
|
usb1: usb@80090000 {
|
|
|
|
vbus-supply = <®_usb1_vbus>;
|
2013-12-06 14:56:40 +00:00
|
|
|
pinctrl-0 = <&usb1_pins_a>;
|
2012-09-03 14:15:25 +00:00
|
|
|
pinctrl-names = "default";
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
regulators {
|
|
|
|
compatible = "simple-bus";
|
2014-02-07 15:18:30 +00:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
2012-09-03 14:15:25 +00:00
|
|
|
|
2014-02-07 15:18:30 +00:00
|
|
|
reg_usb1_vbus: regulator@0 {
|
2012-09-03 14:15:25 +00:00
|
|
|
compatible = "regulator-fixed";
|
2014-02-07 15:18:30 +00:00
|
|
|
reg = <0>;
|
2013-07-01 13:23:26 +00:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&usb_pins_cfa10049>;
|
2012-09-03 14:15:25 +00:00
|
|
|
regulator-name = "usb1_vbus";
|
|
|
|
regulator-min-microvolt = <5000000>;
|
|
|
|
regulator-max-microvolt = <5000000>;
|
|
|
|
gpio = <&gpio0 7 1>;
|
2012-08-31 14:00:41 +00:00
|
|
|
};
|
|
|
|
};
|
2012-10-07 02:36:28 +00:00
|
|
|
|
|
|
|
ahb@80080000 {
|
|
|
|
mac0: ethernet@800f0000 {
|
|
|
|
phy-mode = "rmii";
|
|
|
|
pinctrl-names = "default";
|
2013-07-01 13:23:26 +00:00
|
|
|
pinctrl-0 = <&mac0_pins_a
|
|
|
|
&mac0_pins_cfa10049>;
|
2012-10-07 02:36:28 +00:00
|
|
|
phy-reset-gpios = <&gpio2 21 0>;
|
|
|
|
phy-reset-duration = <100>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
};
|
2013-01-25 08:39:35 +00:00
|
|
|
|
2013-01-25 08:54:07 +00:00
|
|
|
spi2 {
|
|
|
|
compatible = "spi-gpio";
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&spi2_pins_cfa10049>;
|
|
|
|
status = "okay";
|
|
|
|
gpio-sck = <&gpio2 16 0>;
|
|
|
|
gpio-mosi = <&gpio2 17 0>;
|
|
|
|
gpio-miso = <&gpio2 18 0>;
|
2013-06-13 13:43:43 +00:00
|
|
|
cs-gpios = <&gpio3 5 0>;
|
2013-01-25 08:54:07 +00:00
|
|
|
num-chipselects = <1>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
hx8357: hx8357@0 {
|
|
|
|
compatible = "himax,hx8357b", "himax,hx8357";
|
|
|
|
reg = <0>;
|
|
|
|
spi-max-frequency = <100000>;
|
|
|
|
spi-cpol;
|
|
|
|
spi-cpha;
|
|
|
|
gpios-reset = <&gpio3 30 0>;
|
|
|
|
im-gpios = <&gpio5 4 0 &gpio5 5 0 &gpio5 6 0>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2013-01-25 08:39:35 +00:00
|
|
|
spi3 {
|
|
|
|
compatible = "spi-gpio";
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&spi3_pins_cfa10049>;
|
|
|
|
status = "okay";
|
|
|
|
gpio-sck = <&gpio0 24 0>;
|
|
|
|
gpio-mosi = <&gpio0 28 0>;
|
|
|
|
cs-gpios = <&gpio0 17 0 &gpio0 26 0 &gpio0 27 0>;
|
|
|
|
num-chipselects = <3>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
gpio5: gpio5@0 {
|
|
|
|
compatible = "fairchild,74hc595";
|
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
reg = <0>;
|
|
|
|
registers-number = <2>;
|
|
|
|
spi-max-frequency = <100000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
gpio6: gpio6@1 {
|
|
|
|
compatible = "fairchild,74hc595";
|
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
reg = <1>;
|
|
|
|
registers-number = <4>;
|
|
|
|
spi-max-frequency = <100000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
dac0: dh2228@2 {
|
|
|
|
compatible = "rohm,dh2228fv";
|
|
|
|
reg = <2>;
|
|
|
|
spi-max-frequency = <100000>;
|
|
|
|
};
|
|
|
|
};
|
2013-01-25 08:54:07 +00:00
|
|
|
|
2013-01-31 10:00:23 +00:00
|
|
|
gpio_keys {
|
|
|
|
compatible = "gpio-keys";
|
2013-07-01 13:23:26 +00:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&rotary_btn_pins_cfa10049>;
|
2013-01-31 10:00:23 +00:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
rotary_button {
|
|
|
|
label = "rotary_button";
|
|
|
|
gpios = <&gpio3 26 1>;
|
|
|
|
debounce-interval = <10>;
|
|
|
|
linux,code = <28>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2013-01-31 10:00:24 +00:00
|
|
|
rotary {
|
|
|
|
compatible = "rotary-encoder";
|
2013-07-01 13:23:26 +00:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&rotary_pins_cfa10049>;
|
2013-01-31 10:00:24 +00:00
|
|
|
gpios = <&gpio3 24 1>, <&gpio3 25 1>;
|
|
|
|
linux,axis = <1>; /* REL_Y */
|
|
|
|
rotary-encoder,relative-axis;
|
|
|
|
};
|
|
|
|
|
2013-01-25 08:54:07 +00:00
|
|
|
backlight {
|
|
|
|
compatible = "pwm-backlight";
|
|
|
|
pwms = <&pwm 3 5000000>;
|
|
|
|
brightness-levels = <0 4 8 16 32 64 128 255>;
|
|
|
|
default-brightness-level = <6>;
|
2013-03-29 18:46:41 +00:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
onewire@0 {
|
|
|
|
compatible = "w1-gpio";
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&w1_gpio_pins>;
|
|
|
|
status = "okay";
|
|
|
|
gpios = <&gpio1 21 0>;
|
2013-01-25 08:54:07 +00:00
|
|
|
};
|
2012-08-31 14:00:41 +00:00
|
|
|
};
|