1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only 2*f126890aSEmmanuel Vadot/* 3*f126890aSEmmanuel Vadot * Copyright (C) 2016 Paul Kocialkowski <contact@paulk.fr> 4*f126890aSEmmanuel Vadot */ 5*f126890aSEmmanuel Vadot/dts-v1/; 6*f126890aSEmmanuel Vadot 7*f126890aSEmmanuel Vadot#include "omap443x.dtsi" 8*f126890aSEmmanuel Vadot 9*f126890aSEmmanuel Vadot/ { 10*f126890aSEmmanuel Vadot model = "Amazon Kindle Fire (first generation)"; 11*f126890aSEmmanuel Vadot compatible = "amazon,omap4-kc1", "ti,omap4430", "ti,omap4"; 12*f126890aSEmmanuel Vadot 13*f126890aSEmmanuel Vadot memory@80000000 { 14*f126890aSEmmanuel Vadot device_type = "memory"; 15*f126890aSEmmanuel Vadot reg = <0x80000000 0x20000000>; /* 512 MB */ 16*f126890aSEmmanuel Vadot }; 17*f126890aSEmmanuel Vadot 18*f126890aSEmmanuel Vadot led-controller { 19*f126890aSEmmanuel Vadot compatible = "pwm-leds"; 20*f126890aSEmmanuel Vadot 21*f126890aSEmmanuel Vadot led-1 { 22*f126890aSEmmanuel Vadot label = "green"; 23*f126890aSEmmanuel Vadot pwms = <&twl_pwm 0 7812500>; 24*f126890aSEmmanuel Vadot max-brightness = <127>; 25*f126890aSEmmanuel Vadot }; 26*f126890aSEmmanuel Vadot 27*f126890aSEmmanuel Vadot led-2 { 28*f126890aSEmmanuel Vadot label = "orange"; 29*f126890aSEmmanuel Vadot pwms = <&twl_pwm 1 7812500>; 30*f126890aSEmmanuel Vadot max-brightness = <127>; 31*f126890aSEmmanuel Vadot }; 32*f126890aSEmmanuel Vadot }; 33*f126890aSEmmanuel Vadot}; 34*f126890aSEmmanuel Vadot 35*f126890aSEmmanuel Vadot&omap4_pmx_core { 36*f126890aSEmmanuel Vadot pinctrl-names = "default"; 37*f126890aSEmmanuel Vadot 38*f126890aSEmmanuel Vadot uart3_pins: uart3-pins { 39*f126890aSEmmanuel Vadot pinctrl-single,pins = < 40*f126890aSEmmanuel Vadot OMAP4_IOPAD(0x144, PIN_INPUT | MUX_MODE0) /* uart3_rx_irrx */ 41*f126890aSEmmanuel Vadot OMAP4_IOPAD(0x146, PIN_OUTPUT | MUX_MODE0) /* uart3_tx_irtx */ 42*f126890aSEmmanuel Vadot >; 43*f126890aSEmmanuel Vadot }; 44*f126890aSEmmanuel Vadot 45*f126890aSEmmanuel Vadot i2c1_pins: i2c1-pins { 46*f126890aSEmmanuel Vadot pinctrl-single,pins = < 47*f126890aSEmmanuel Vadot OMAP4_IOPAD(0x122, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_scl */ 48*f126890aSEmmanuel Vadot OMAP4_IOPAD(0x124, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_sda */ 49*f126890aSEmmanuel Vadot >; 50*f126890aSEmmanuel Vadot }; 51*f126890aSEmmanuel Vadot 52*f126890aSEmmanuel Vadot i2c2_pins: i2c2-pins { 53*f126890aSEmmanuel Vadot pinctrl-single,pins = < 54*f126890aSEmmanuel Vadot OMAP4_IOPAD(0x126, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c2_scl */ 55*f126890aSEmmanuel Vadot OMAP4_IOPAD(0x128, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c2_sda */ 56*f126890aSEmmanuel Vadot >; 57*f126890aSEmmanuel Vadot }; 58*f126890aSEmmanuel Vadot 59*f126890aSEmmanuel Vadot i2c3_pins: i2c3-pins { 60*f126890aSEmmanuel Vadot pinctrl-single,pins = < 61*f126890aSEmmanuel Vadot OMAP4_IOPAD(0x12a, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c3_scl */ 62*f126890aSEmmanuel Vadot OMAP4_IOPAD(0x12c, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c3_sda */ 63*f126890aSEmmanuel Vadot >; 64*f126890aSEmmanuel Vadot }; 65*f126890aSEmmanuel Vadot 66*f126890aSEmmanuel Vadot i2c4_pins: i2c4-pins { 67*f126890aSEmmanuel Vadot pinctrl-single,pins = < 68*f126890aSEmmanuel Vadot OMAP4_IOPAD(0x12e, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c4_scl */ 69*f126890aSEmmanuel Vadot OMAP4_IOPAD(0x130, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c4_sda */ 70*f126890aSEmmanuel Vadot >; 71*f126890aSEmmanuel Vadot }; 72*f126890aSEmmanuel Vadot 73*f126890aSEmmanuel Vadot mmc2_pins: mmc2-pins { 74*f126890aSEmmanuel Vadot pinctrl-single,pins = < 75*f126890aSEmmanuel Vadot OMAP4_IOPAD(0x040, PIN_INPUT_PULLUP | MUX_MODE1) /* sdmmc2_dat0 */ 76*f126890aSEmmanuel Vadot OMAP4_IOPAD(0x042, PIN_INPUT_PULLUP | MUX_MODE1) /* sdmmc2_dat1 */ 77*f126890aSEmmanuel Vadot OMAP4_IOPAD(0x044, PIN_INPUT_PULLUP | MUX_MODE1) /* sdmmc2_dat2 */ 78*f126890aSEmmanuel Vadot OMAP4_IOPAD(0x046, PIN_INPUT_PULLUP | MUX_MODE1) /* sdmmc2_dat3 */ 79*f126890aSEmmanuel Vadot OMAP4_IOPAD(0x048, PIN_INPUT_PULLUP | MUX_MODE1) /* sdmmc2_dat4 */ 80*f126890aSEmmanuel Vadot OMAP4_IOPAD(0x04a, PIN_INPUT_PULLUP | MUX_MODE1) /* sdmmc2_dat5 */ 81*f126890aSEmmanuel Vadot OMAP4_IOPAD(0x04c, PIN_INPUT_PULLUP | MUX_MODE1) /* sdmmc2_dat6 */ 82*f126890aSEmmanuel Vadot OMAP4_IOPAD(0x04e, PIN_INPUT_PULLUP | MUX_MODE1) /* sdmmc2_dat7 */ 83*f126890aSEmmanuel Vadot OMAP4_IOPAD(0x082, PIN_INPUT_PULLUP | MUX_MODE1) /* sdmmc2_clk */ 84*f126890aSEmmanuel Vadot OMAP4_IOPAD(0x084, PIN_INPUT_PULLUP | MUX_MODE1) /* sdmmc2_cmd */ 85*f126890aSEmmanuel Vadot >; 86*f126890aSEmmanuel Vadot }; 87*f126890aSEmmanuel Vadot 88*f126890aSEmmanuel Vadot usb_otg_hs_pins: usb-otg-hs-pins { 89*f126890aSEmmanuel Vadot pinctrl-single,pins = < 90*f126890aSEmmanuel Vadot OMAP4_IOPAD(0x194, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* usba0_otg_ce */ 91*f126890aSEmmanuel Vadot OMAP4_IOPAD(0x196, PIN_INPUT | MUX_MODE0) /* usba0_otg_dp */ 92*f126890aSEmmanuel Vadot OMAP4_IOPAD(0x198, PIN_INPUT | MUX_MODE0) /* usba0_otg_dm */ 93*f126890aSEmmanuel Vadot >; 94*f126890aSEmmanuel Vadot }; 95*f126890aSEmmanuel Vadot}; 96*f126890aSEmmanuel Vadot 97*f126890aSEmmanuel Vadot&uart3 { 98*f126890aSEmmanuel Vadot pinctrl-names = "default"; 99*f126890aSEmmanuel Vadot pinctrl-0 = <&uart3_pins>; 100*f126890aSEmmanuel Vadot 101*f126890aSEmmanuel Vadot interrupts-extended = <&wakeupgen GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH 102*f126890aSEmmanuel Vadot &omap4_pmx_core OMAP4_UART3_RX>; 103*f126890aSEmmanuel Vadot}; 104*f126890aSEmmanuel Vadot 105*f126890aSEmmanuel Vadot&i2c1 { 106*f126890aSEmmanuel Vadot pinctrl-names = "default"; 107*f126890aSEmmanuel Vadot pinctrl-0 = <&i2c1_pins>; 108*f126890aSEmmanuel Vadot 109*f126890aSEmmanuel Vadot clock-frequency = <400000>; 110*f126890aSEmmanuel Vadot 111*f126890aSEmmanuel Vadot twl: twl@48 { 112*f126890aSEmmanuel Vadot reg = <0x48>; 113*f126890aSEmmanuel Vadot /* IRQ# = 7 */ 114*f126890aSEmmanuel Vadot interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; /* IRQ_SYS_1N cascaded to gic */ 115*f126890aSEmmanuel Vadot 116*f126890aSEmmanuel Vadot twl_power: power { 117*f126890aSEmmanuel Vadot compatible = "ti,twl6030-power"; 118*f126890aSEmmanuel Vadot ti,system-power-controller; 119*f126890aSEmmanuel Vadot }; 120*f126890aSEmmanuel Vadot }; 121*f126890aSEmmanuel Vadot}; 122*f126890aSEmmanuel Vadot 123*f126890aSEmmanuel Vadot&i2c2 { 124*f126890aSEmmanuel Vadot pinctrl-names = "default"; 125*f126890aSEmmanuel Vadot pinctrl-0 = <&i2c2_pins>; 126*f126890aSEmmanuel Vadot 127*f126890aSEmmanuel Vadot clock-frequency = <400000>; 128*f126890aSEmmanuel Vadot}; 129*f126890aSEmmanuel Vadot 130*f126890aSEmmanuel Vadot&i2c3 { 131*f126890aSEmmanuel Vadot pinctrl-names = "default"; 132*f126890aSEmmanuel Vadot pinctrl-0 = <&i2c3_pins>; 133*f126890aSEmmanuel Vadot 134*f126890aSEmmanuel Vadot clock-frequency = <400000>; 135*f126890aSEmmanuel Vadot}; 136*f126890aSEmmanuel Vadot 137*f126890aSEmmanuel Vadot&i2c4 { 138*f126890aSEmmanuel Vadot pinctrl-names = "default"; 139*f126890aSEmmanuel Vadot pinctrl-0 = <&i2c4_pins>; 140*f126890aSEmmanuel Vadot 141*f126890aSEmmanuel Vadot clock-frequency = <400000>; 142*f126890aSEmmanuel Vadot}; 143*f126890aSEmmanuel Vadot 144*f126890aSEmmanuel Vadot&mmc1 { 145*f126890aSEmmanuel Vadot status = "disabled"; 146*f126890aSEmmanuel Vadot}; 147*f126890aSEmmanuel Vadot 148*f126890aSEmmanuel Vadot&mmc2 { 149*f126890aSEmmanuel Vadot pinctrl-names = "default"; 150*f126890aSEmmanuel Vadot pinctrl-0 = <&mmc2_pins>; 151*f126890aSEmmanuel Vadot 152*f126890aSEmmanuel Vadot vmmc-supply = <&vaux1>; 153*f126890aSEmmanuel Vadot ti,non-removable; 154*f126890aSEmmanuel Vadot bus-width = <8>; 155*f126890aSEmmanuel Vadot}; 156*f126890aSEmmanuel Vadot 157*f126890aSEmmanuel Vadot&mmc3 { 158*f126890aSEmmanuel Vadot status = "disabled"; 159*f126890aSEmmanuel Vadot}; 160*f126890aSEmmanuel Vadot 161*f126890aSEmmanuel Vadot&mmc4 { 162*f126890aSEmmanuel Vadot status = "disabled"; 163*f126890aSEmmanuel Vadot}; 164*f126890aSEmmanuel Vadot 165*f126890aSEmmanuel Vadot&usb_otg_hs { 166*f126890aSEmmanuel Vadot pinctrl-names = "default"; 167*f126890aSEmmanuel Vadot pinctrl-0 = <&usb_otg_hs_pins>; 168*f126890aSEmmanuel Vadot 169*f126890aSEmmanuel Vadot interface-type = <1>; 170*f126890aSEmmanuel Vadot mode = <3>; 171*f126890aSEmmanuel Vadot power = <50>; 172*f126890aSEmmanuel Vadot}; 173*f126890aSEmmanuel Vadot 174*f126890aSEmmanuel Vadot#include "twl6030.dtsi" 175*f126890aSEmmanuel Vadot#include "twl6030_omap4.dtsi" 176*f126890aSEmmanuel Vadot 177*f126890aSEmmanuel Vadot&twl_usb_comparator { 178*f126890aSEmmanuel Vadot usb-supply = <&vusb>; 179*f126890aSEmmanuel Vadot}; 180