1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2016 Paul Kocialkowski <contact@paulk.fr>
7 #include "omap443x.dtsi"
10 model = "Amazon Kindle Fire (first generation)";
11 compatible = "amazon,omap4-kc1", "ti,omap4430", "ti,omap4";
14 device_type = "memory";
15 reg = <0x80000000 0x20000000>; /* 512 MB */
19 compatible = "pwm-leds";
23 pwms = <&twl_pwm 0 7812500>;
24 max-brightness = <127>;
29 pwms = <&twl_pwm 1 7812500>;
30 max-brightness = <127>;
36 pinctrl-names = "default";
38 uart3_pins: pinmux_uart3_pins {
39 pinctrl-single,pins = <
40 OMAP4_IOPAD(0x144, PIN_INPUT | MUX_MODE0) /* uart3_rx_irrx */
41 OMAP4_IOPAD(0x146, PIN_OUTPUT | MUX_MODE0) /* uart3_tx_irtx */
45 i2c1_pins: pinmux_i2c1_pins {
46 pinctrl-single,pins = <
47 OMAP4_IOPAD(0x122, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_scl */
48 OMAP4_IOPAD(0x124, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_sda */
52 i2c2_pins: pinmux_i2c2_pins {
53 pinctrl-single,pins = <
54 OMAP4_IOPAD(0x126, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c2_scl */
55 OMAP4_IOPAD(0x128, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c2_sda */
59 i2c3_pins: pinmux_i2c3_pins {
60 pinctrl-single,pins = <
61 OMAP4_IOPAD(0x12a, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c3_scl */
62 OMAP4_IOPAD(0x12c, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c3_sda */
66 i2c4_pins: pinmux_i2c4_pins {
67 pinctrl-single,pins = <
68 OMAP4_IOPAD(0x12e, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c4_scl */
69 OMAP4_IOPAD(0x130, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c4_sda */
73 mmc2_pins: pinmux_mmc2_pins {
74 pinctrl-single,pins = <
75 OMAP4_IOPAD(0x040, PIN_INPUT_PULLUP | MUX_MODE1) /* sdmmc2_dat0 */
76 OMAP4_IOPAD(0x042, PIN_INPUT_PULLUP | MUX_MODE1) /* sdmmc2_dat1 */
77 OMAP4_IOPAD(0x044, PIN_INPUT_PULLUP | MUX_MODE1) /* sdmmc2_dat2 */
78 OMAP4_IOPAD(0x046, PIN_INPUT_PULLUP | MUX_MODE1) /* sdmmc2_dat3 */
79 OMAP4_IOPAD(0x048, PIN_INPUT_PULLUP | MUX_MODE1) /* sdmmc2_dat4 */
80 OMAP4_IOPAD(0x04a, PIN_INPUT_PULLUP | MUX_MODE1) /* sdmmc2_dat5 */
81 OMAP4_IOPAD(0x04c, PIN_INPUT_PULLUP | MUX_MODE1) /* sdmmc2_dat6 */
82 OMAP4_IOPAD(0x04e, PIN_INPUT_PULLUP | MUX_MODE1) /* sdmmc2_dat7 */
83 OMAP4_IOPAD(0x082, PIN_INPUT_PULLUP | MUX_MODE1) /* sdmmc2_clk */
84 OMAP4_IOPAD(0x084, PIN_INPUT_PULLUP | MUX_MODE1) /* sdmmc2_cmd */
88 usb_otg_hs_pins: pinmux_usb_otg_hs_pins {
89 pinctrl-single,pins = <
90 OMAP4_IOPAD(0x194, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* usba0_otg_ce */
91 OMAP4_IOPAD(0x196, PIN_INPUT | MUX_MODE0) /* usba0_otg_dp */
92 OMAP4_IOPAD(0x198, PIN_INPUT | MUX_MODE0) /* usba0_otg_dm */
98 pinctrl-names = "default";
99 pinctrl-0 = <&uart3_pins>;
101 interrupts-extended = <&wakeupgen GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH
102 &omap4_pmx_core OMAP4_UART3_RX>;
106 pinctrl-names = "default";
107 pinctrl-0 = <&i2c1_pins>;
109 clock-frequency = <400000>;
114 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; /* IRQ_SYS_1N cascaded to gic */
117 compatible = "ti,twl6030-power";
118 ti,system-power-controller;
124 pinctrl-names = "default";
125 pinctrl-0 = <&i2c2_pins>;
127 clock-frequency = <400000>;
131 pinctrl-names = "default";
132 pinctrl-0 = <&i2c3_pins>;
134 clock-frequency = <400000>;
138 pinctrl-names = "default";
139 pinctrl-0 = <&i2c4_pins>;
141 clock-frequency = <400000>;
149 pinctrl-names = "default";
150 pinctrl-0 = <&mmc2_pins>;
152 vmmc-supply = <&vaux1>;
166 pinctrl-names = "default";
167 pinctrl-0 = <&usb_otg_hs_pins>;
169 interface-type = <1>;
174 #include "twl6030.dtsi"
175 #include "twl6030_omap4.dtsi"
177 &twl_usb_comparator {
178 usb-supply = <&vusb>;