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