|
@@ -0,0 +1,445 @@
|
|
|
|
+/*
|
|
|
|
+ * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
|
|
|
|
+ *
|
|
|
|
+ * This program is free software; you can redistribute it and/or modify
|
|
|
|
+ * it under the terms of the GNU General Public License version 2 as
|
|
|
|
+ * published by the Free Software Foundation.
|
|
|
|
+ */
|
|
|
|
+/dts-v1/;
|
|
|
|
+
|
|
|
|
+#include "am33xx.dtsi"
|
|
|
|
+#include "am335x-bone-common.dtsi"
|
|
|
|
+
|
|
|
|
+&mmc1 {
|
|
|
|
+ vmmc-supply = <&vmmcsd_fixed>;
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+&mmc2 {
|
|
|
|
+ vmmc-supply = <&vmmcsd_fixed>;
|
|
|
|
+ pinctrl-names = "default";
|
|
|
|
+ pinctrl-0 = <&emmc_pins>;
|
|
|
|
+ bus-width = <8>;
|
|
|
|
+ ti,non-removable;
|
|
|
|
+ status = "okay";
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+&am33xx_pinmux {
|
|
|
|
+ userled_pins: pinmux_userled_pins {
|
|
|
|
+ pinctrl-single,pins = <
|
|
|
|
+ 0x98 0x7 /* gpmc_wen.gpio2_4, OUTPUT | MODE7 */
|
|
|
|
+ 0x9c 0x7 /* gpmc_ben0_cle.gpio2_5, OUTPUT | MODE7 */
|
|
|
|
+ >;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ i2c0_pins: pinmux_i2c0_pins {
|
|
|
|
+ pinctrl-single,pins = <
|
|
|
|
+ 0x188 0x70 /* i2c0_sda, SLEWCTRL_SLOW | INPUT_PULLUP | MODE0 */
|
|
|
|
+ 0x18c 0x70 /* i2c0_scl, SLEWCTRL_SLOW | INPUT_PULLUP | MODE0 */
|
|
|
|
+ >;
|
|
|
|
+ };
|
|
|
|
+ i2c1_pins: pinmux_i2c1_pins {
|
|
|
|
+ pinctrl-single,pins = <
|
|
|
|
+ 0x158 0x72 /* spi0_d1.i2c1_sda, SLEWCTRL_SLOW | INPUT_PULLUP | MODE2 */
|
|
|
|
+ 0x15c 0x72 /* spi0_cs0.i2c1_scl, SLEWCTRL_SLOW | INPUT_PULLUP | MODE2 */
|
|
|
|
+ >;
|
|
|
|
+ };
|
|
|
|
+ mmc1_pins: pinmux_mmc1_pins {
|
|
|
|
+ pinctrl-single,pins = <
|
|
|
|
+ 0x160 0x2f /* GPIO0_6 (PIN_INPUT | MUX_MODE7) */
|
|
|
|
+ >;
|
|
|
|
+ };
|
|
|
|
+ rstctl_pins: pinmux_rstctl_pins {
|
|
|
|
+ pinctrl-single,pins = <
|
|
|
|
+ /* eMMC_RSTn */
|
|
|
|
+ 0x50 0x17 /* gpmc_a4.gpio1_20, OUTPUT | MODE7 | PULLUP */
|
|
|
|
+ >;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ lcd_pins_default: lcd_pins_default {
|
|
|
|
+ pinctrl-single,pins = <
|
|
|
|
+ 0xa0 0x00 /* lcd_data0.lcd_data0, OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT */
|
|
|
|
+ 0xa4 0x00 /* lcd_data1.lcd_data1, OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT */
|
|
|
|
+ 0xa8 0x00 /* lcd_data2.lcd_data2, OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT */
|
|
|
|
+ 0xac 0x00 /* lcd_data3.lcd_data3, OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT */
|
|
|
|
+ 0xb0 0x00 /* lcd_data4.lcd_data4, OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT */
|
|
|
|
+ 0xb4 0x00 /* lcd_data5.lcd_data5, OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT */
|
|
|
|
+ 0xb8 0x00 /* lcd_data6.lcd_data6, OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT */
|
|
|
|
+ 0xbc 0x00 /* lcd_data7.lcd_data7, OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT */
|
|
|
|
+ 0xc0 0x00 /* lcd_data8.lcd_data8, OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT */
|
|
|
|
+ 0xc4 0x00 /* lcd_data9.lcd_data9, OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT */
|
|
|
|
+ 0xc8 0x00 /* lcd_data10.lcd_data10, OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT */
|
|
|
|
+ 0xcc 0x00 /* lcd_data11.lcd_data11, OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT */
|
|
|
|
+ 0xd0 0x00 /* lcd_data12.lcd_data12, OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT */
|
|
|
|
+ 0xd4 0x00 /* lcd_data13.lcd_data13, OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT */
|
|
|
|
+ 0xd8 0x00 /* lcd_data14.lcd_data14, OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT */
|
|
|
|
+ 0xdc 0x00 /* lcd_data15.lcd_data15, OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT */
|
|
|
|
+ 0x3c 0x11 /* gpmc_ad15.lcd_data16, OMAP_MUX_MODE1 | AM33XX_PIN_OUTPUT */
|
|
|
|
+ 0x38 0x11 /* gpmc_ad14.lcd_data17, OMAP_MUX_MODE1 | AM33XX_PIN_OUTPUT */
|
|
|
|
+ 0x34 0x11 /* gpmc_ad13.lcd_data18, OMAP_MUX_MODE1 | AM33XX_PIN_OUTPUT */
|
|
|
|
+ 0x30 0x11 /* gpmc_ad12.lcd_data19, OMAP_MUX_MODE1 | AM33XX_PIN_OUTPUT */
|
|
|
|
+ 0x2c 0x11 /* gpmc_ad11.lcd_data20, OMAP_MUX_MODE1 | AM33XX_PIN_OUTPUT */
|
|
|
|
+ 0x28 0x11 /* gpmc_ad10.lcd_data21, OMAP_MUX_MODE1 | AM33XX_PIN_OUTPUT */
|
|
|
|
+ 0x24 0x11 /* gpmc_ad9.lcd_data22, OMAP_MUX_MODE1 | AM33XX_PIN_OUTPUT */
|
|
|
|
+ 0x20 0x11 /* gpmc_ad8.lcd_data23, OMAP_MUX_MODE1 | AM33XX_PIN_OUTPUT */
|
|
|
|
+ 0xe0 0x00 /* lcd_vsync.lcd_vsync, OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT */
|
|
|
|
+ 0xe4 0x00 /* lcd_hsync.lcd_hsync, OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT */
|
|
|
|
+ 0xe8 0x00 /* lcd_pclk.lcd_pclk, OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT */
|
|
|
|
+ 0xec 0x00 /* lcd_ac_bias_en.lcd_ac_bias_en, OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT */
|
|
|
|
+ >;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ timer7_pins: pinmux_timer7_pins {
|
|
|
|
+ pinctrl-single,pins = <
|
|
|
|
+ 0x094 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* gpmc_oen_ren.timer7 */
|
|
|
|
+ >;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ pwm_bl_pins: pinmux_pwm_bl_pins {
|
|
|
|
+ pinctrl-single,pins = <
|
|
|
|
+ /*0x48 0x06*/ /* gpmc_a2.ehrpwm1a, OMAP_MUX_MODE6 | AM33XX_PIN_OUTPUT */
|
|
|
|
+ 0x48 0x37 /* gpmc_a1_18, OMAP_MUX_MODE7 | AM33XX_PIN_OUTPUT */
|
|
|
|
+ >;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ chipsee_gpio_pins: pinmux_chipsee_gpio_pins {
|
|
|
|
+ pinctrl-single,pins = <
|
|
|
|
+ 0x044 0x27 /* CAP_TSC gpmc_a1.gpio1_17, INPUT | MODE7 */
|
|
|
|
+ /*0x094 0x07*/ /* BUZZER gpmc_oen_ren.gpio2_3 OUTPUT | MODE7 */
|
|
|
|
+ 0x090 0x7 /* gpmc_advn_ale.gpio2_2, OUTPUT | MODE7 */
|
|
|
|
+ >;
|
|
|
|
+ };
|
|
|
|
+ chipsee_gpio_keys_pins: pinmux_chipsee_gpio_keys_pins {
|
|
|
|
+ pinctrl-single,pins = <
|
|
|
|
+ 0x164 0x2f /* KEY_LEFT ecap0_in_pwm0_out.gpio0_7, INPUT | PULLDIS | MODE7 */
|
|
|
|
+ 0x078 0x2f /* KEY_RIGHT gpmc_ben1.gpio1_28, INPUT | PULLDIS | MODE7 */
|
|
|
|
+ 0x040 0x2f /* KEY_UP gpmc_a0.gpio1_16, INPUT | PULLDIS | MODE7 */
|
|
|
|
+ 0x04c 0x2f /* KEY_DOWN gpmc_a3.gpio1_19, INPUT | PULLDIS | MODE7 */
|
|
|
|
+ 0x1a4 0x2f /* KEY_ENTER mcasp0_fxr.gpio3_19, INPUT | PULLDIS | MODE7 */
|
|
|
|
+ >;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ uart1_pins_default: pinmux_uart1_pins_default {
|
|
|
|
+ pinctrl-single,pins = <
|
|
|
|
+ 0x180 0x20 /* uart1_rxd.uart1_rxd INPUT | MODE0 */
|
|
|
|
+ 0x184 0x00 /* uart1_txd.uart1_txd OUTPUT | MODE0 */
|
|
|
|
+ >;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ chipsee_uart2_pins: pinmux_chipsee_uart2_pins {
|
|
|
|
+ pinctrl-single,pins = <
|
|
|
|
+ 0x150 0x21 /* spi0_sclk.uart2_rxd INPUT | MODE1 */
|
|
|
|
+ 0x154 0x01 /* spi0_d0.uart2_txd OUTPUT | MODE1 */
|
|
|
|
+ >;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ chipsee_uart4_pins: pinmux_chipsee_uart4_pins {
|
|
|
|
+ pinctrl-single,pins = <
|
|
|
|
+ 0x070 0x26 /* gpmc_wait0.uart4_rxd INPUT | MODE6 */
|
|
|
|
+ 0x074 0x06 /* gpmc_wpn.uart4_txd OUTPUT | MODE6 */
|
|
|
|
+ >;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ chipsee_dcan0_pins: pinmux_chipsee_dcan0_pins {
|
|
|
|
+ pinctrl-single,pins = <
|
|
|
|
+ 0x178 0x02 /* uart1_ctsn.d_can0_tx OUTPUT | MODE2 */
|
|
|
|
+ 0x17c 0x32 /* uart1_rtsn.d_can0_rx INPUT_PULLUP | MODE2 */
|
|
|
|
+ >;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ chipsee_audio_pins: pinmux_chipsee_audio_pins {
|
|
|
|
+ pinctrl-single,pins = <
|
|
|
|
+ 0x190 0x20 /* mcasp0_aclkx.mcasp0_aclkx, INPUT | MODE0 */
|
|
|
|
+ 0x194 0x20 /* mcasp0_fsx.mcasp0_fsx, INPUT | MODE0 */
|
|
|
|
+ 0x198 0x20 /* mcasp0_axr0.mcasp0_axr0, INPUT | MODE0 */
|
|
|
|
+ 0x19c 0x22 /* mcasp0_ahclkr.mcasp0_axr2, INPUT | MODE2 */
|
|
|
|
+ >;
|
|
|
|
+ };
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+&timer7 {
|
|
|
|
+ pinctrl-names = "default";
|
|
|
|
+ pinctrl-0 = <&timer7_pins>;
|
|
|
|
+ status = "okay";
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+&lcdc {
|
|
|
|
+ pinctrl-names = "default", "sleep";
|
|
|
|
+ pinctrl-0 = <&lcd_pins_default>;
|
|
|
|
+ status = "okay";
|
|
|
|
+ display-timings {
|
|
|
|
+ 1024x600 {
|
|
|
|
+ hactive = <1024>;
|
|
|
|
+ vactive = <600>;
|
|
|
|
+ hback-porch = <45>;
|
|
|
|
+ hfront-porch = <1>;
|
|
|
|
+ hsync-len = <30>;
|
|
|
|
+ vback-porch = <22>;
|
|
|
|
+ vfront-porch = <12>;
|
|
|
|
+ vsync-len = <2>;
|
|
|
|
+ clock-frequency = <36000000>;
|
|
|
|
+ hsync-active = <1>;
|
|
|
|
+ vsync-active = <1>;
|
|
|
|
+ de-active = <1>;
|
|
|
|
+ pixelclk-active = <0>;
|
|
|
|
+ };
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+&i2c0 {
|
|
|
|
+ status = "okay";
|
|
|
|
+ clock-frequency = <400000>;
|
|
|
|
+ pinctrl-names = "default";
|
|
|
|
+ pinctrl-0 = <&i2c0_pins>;
|
|
|
|
+
|
|
|
|
+ tps: tps@24 {
|
|
|
|
+ reg = <0x24>;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ baseboard_eeprom: baseboard_eeprom@50 {
|
|
|
|
+ compatible = "at,24c256";
|
|
|
|
+ reg = <0x50>;
|
|
|
|
+ };
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+&i2c1 {
|
|
|
|
+ status = "okay";
|
|
|
|
+ clock-frequency = <400000>;
|
|
|
|
+ pinctrl-names = "default";
|
|
|
|
+ pinctrl-0 = <&i2c1_pins>;
|
|
|
|
+
|
|
|
|
+ polytouch: edt-ft5x06@38 {
|
|
|
|
+ compatible = "edt,edt-ft5406", "edt,edt-ft5x06";
|
|
|
|
+ reg = <0x38>;
|
|
|
|
+ interrupt-parent = <&gpio1>;
|
|
|
|
+ interrupts = <17>;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ tlv320aic3x: tlv320aic3x@1b {
|
|
|
|
+ compatible = "ti,tlv320aic3x";
|
|
|
|
+ reg = <0x1b>;
|
|
|
|
+ status = "okay";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ pcf8563: pcf8563@51 {
|
|
|
|
+ compatible = "pcf8563";
|
|
|
|
+ reg = <0x51>;
|
|
|
|
+ status = "okay";
|
|
|
|
+ };
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+/include/ "tps65217.dtsi"
|
|
|
|
+
|
|
|
|
+&tps {
|
|
|
|
+ ti,pmic-shutdown-controller;
|
|
|
|
+
|
|
|
|
+ interrupt-parent = <&intc>;
|
|
|
|
+ interrupts = <7>;/* NNMI */
|
|
|
|
+
|
|
|
|
+ regulators {
|
|
|
|
+ dcdc1_reg: regulator@0 {
|
|
|
|
+ regulator-always-on;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ dcdc2_reg: regulator@1 {
|
|
|
|
+ /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
|
|
|
|
+ regulator-name = "vdd_mpu";
|
|
|
|
+ regulator-min-microvolt = <925000>;
|
|
|
|
+ regulator-max-microvolt = <1325000>;
|
|
|
|
+ regulator-boot-on;
|
|
|
|
+ regulator-always-on;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ dcdc3_reg: regulator@2 {
|
|
|
|
+ /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
|
|
|
|
+ regulator-name = "vdd_core";
|
|
|
|
+ regulator-min-microvolt = <925000>;
|
|
|
|
+ regulator-max-microvolt = <1150000>;
|
|
|
|
+ regulator-boot-on;
|
|
|
|
+ regulator-always-on;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ ldo1_reg: regulator@3 {
|
|
|
|
+ regulator-always-on;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ ldo2_reg: regulator@4 {
|
|
|
|
+ regulator-always-on;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ ldo3_reg: regulator@5 {
|
|
|
|
+ regulator-min-microvolt = <1800000>;
|
|
|
|
+ regulator-max-microvolt = <3300000>;
|
|
|
|
+ regulator-always-on;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ ldo4_reg: regulator@6 {
|
|
|
|
+ regulator-always-on;
|
|
|
|
+ };
|
|
|
|
+ };
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+&ldo3_reg {
|
|
|
|
+ regulator-min-microvolt = <1800000>;
|
|
|
|
+ regulator-max-microvolt = <1800000>;
|
|
|
|
+ regulator-always-on;
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+&uart1 {
|
|
|
|
+ pinctrl-names = "default";
|
|
|
|
+ pinctrl-0 = <&uart1_pins_default>;
|
|
|
|
+ status = "okay";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+&uart2 {
|
|
|
|
+ pinctrl-names = "default";
|
|
|
|
+ pinctrl-0 = <&chipsee_uart2_pins>;
|
|
|
|
+ status = "okay";
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+&uart4 {
|
|
|
|
+ pinctrl-names = "default";
|
|
|
|
+ pinctrl-0 = <&chipsee_uart4_pins>;
|
|
|
|
+ status = "okay";
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+&dcan0 {
|
|
|
|
+ pinctrl-names = "default";
|
|
|
|
+ pinctrl-0 = <&chipsee_dcan0_pins>;
|
|
|
|
+ status = "okay";
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+/*
|
|
|
|
+&epwmss1 {
|
|
|
|
+ status = "okay";
|
|
|
|
+ ehrpwm1 {
|
|
|
|
+ status = "okay";
|
|
|
|
+ pinctrl-names = "default";
|
|
|
|
+ pinctrl-0 = <&pwm_bl_pins>;
|
|
|
|
+ };
|
|
|
|
+ };
|
|
|
|
+*/
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+/ {
|
|
|
|
+
|
|
|
|
+/*
|
|
|
|
+ backlight {
|
|
|
|
+ compatible = "pwm-backlight";
|
|
|
|
+ pwms = <&ehrpwm1 0 500000 0>;
|
|
|
|
+ brightness-levels = <0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100>;
|
|
|
|
+ default-brightness-level = <100>;
|
|
|
|
+ };
|
|
|
|
+*/
|
|
|
|
+ gpio-leds {
|
|
|
|
+ compatible = "gpio-leds";
|
|
|
|
+ pinctrl-names = "default";
|
|
|
|
+ pinctrl-0 = <&userled_pins>;
|
|
|
|
+
|
|
|
|
+ led0 {
|
|
|
|
+ label = "beaglebone:green:usr0";
|
|
|
|
+ gpios = <&gpio2 4 0>;
|
|
|
|
+ linux,default-trigger = "heartbeat";
|
|
|
|
+ default-state = "off";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ led1 {
|
|
|
|
+ label = "beaglebone:green:usr1";
|
|
|
|
+ gpios = <&gpio2 5 0>;
|
|
|
|
+ linux,default-trigger = "mmc0";
|
|
|
|
+ default-state = "off";
|
|
|
|
+ };
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ gpio_keys {
|
|
|
|
+ compatible = "gpio-keys";
|
|
|
|
+ pinctrl-names = "default";
|
|
|
|
+ pinctrl-0 = <&chipsee_gpio_keys_pins>;
|
|
|
|
+
|
|
|
|
+ #address-cells = <1>;
|
|
|
|
+ #size-cells = <0>;
|
|
|
|
+
|
|
|
|
+ button@1 {
|
|
|
|
+ debounce_interval = <50>;
|
|
|
|
+ linux,code = <105>;
|
|
|
|
+ label = "left";
|
|
|
|
+ gpios = <&gpio0 7 0x1>;
|
|
|
|
+ gpio-key,wakeup;
|
|
|
|
+ autorepeat;
|
|
|
|
+ };
|
|
|
|
+ button@2 {
|
|
|
|
+ debounce_interval = <50>;
|
|
|
|
+ linux,code = <106>;
|
|
|
|
+ label = "right";
|
|
|
|
+ gpios = <&gpio1 28 0x1>;
|
|
|
|
+ gpio-key,wakeup;
|
|
|
|
+ autorepeat;
|
|
|
|
+ };
|
|
|
|
+ button@3 {
|
|
|
|
+ debounce_interval = <50>;
|
|
|
|
+ linux,code = <103>;
|
|
|
|
+ label = "up";
|
|
|
|
+ gpios = <&gpio1 16 0x1>;
|
|
|
|
+ gpio-key,wakeup;
|
|
|
|
+ autorepeat;
|
|
|
|
+ };
|
|
|
|
+ button@4 {
|
|
|
|
+ debounce_interval = <50>;
|
|
|
|
+ linux,code = <108>;
|
|
|
|
+ label = "down";
|
|
|
|
+ gpios = <&gpio1 19 0x1>;
|
|
|
|
+ gpio-key,wakeup;
|
|
|
|
+ autorepeat;
|
|
|
|
+ };
|
|
|
|
+ button@5 {
|
|
|
|
+ debounce_interval = <50>;
|
|
|
|
+ linux,code = <28>;
|
|
|
|
+ label = "enter";
|
|
|
|
+ gpios = <&gpio3 19 0x1>;
|
|
|
|
+ gpio-key,wakeup;
|
|
|
|
+ };
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ gpio_setups {
|
|
|
|
+ compatible = "gpio-of-helper";
|
|
|
|
+ status = "okay";
|
|
|
|
+ pinctrl-names = "default";
|
|
|
|
+ pinctrl-0 = <&pwm_bl_pins>;
|
|
|
|
+
|
|
|
|
+ /* declare your gpios */
|
|
|
|
+
|
|
|
|
+ bl_en {
|
|
|
|
+ gpio-name = "bl_enable";
|
|
|
|
+ gpio = <&gpio1 18 0x00>;
|
|
|
|
+ output;
|
|
|
|
+ init-high;
|
|
|
|
+ };
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ pwm7: dmtimer-pwm@7 {
|
|
|
|
+ compatible = "ti,omap-dmtimer-pwm";
|
|
|
|
+ ti,timers = <&timer7>;
|
|
|
|
+ #pwm-cells = <3>;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ pwm-beeper {
|
|
|
|
+ compatible = "pwm-beeper";
|
|
|
|
+ pwms = <&pwm7>;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ vmmcsd_fixed: fixedregulator@0 {
|
|
|
|
+ compatible = "regulator-fixed";
|
|
|
|
+ regulator-name = "vmmcsd_fixed";
|
|
|
|
+ regulator-min-microvolt = <3300000>;
|
|
|
|
+ regulator-max-microvolt = <3300000>;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+};
|
|
|
|
+
|