Simon Glass | b37e815 | 2014-06-02 22:04:55 -0600 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License version 2 as |
| 6 | * published by the Free Software Foundation. |
| 7 | */ |
| 8 | /dts-v1/; |
| 9 | |
| 10 | #include "am33xx.dtsi" |
| 11 | #include "am335x-bone-common.dtsi" |
| 12 | |
Tom Rini | 5ba1596 | 2015-07-31 19:55:08 -0400 | [diff] [blame] | 13 | / { |
| 14 | model = "TI AM335x BeagleBone Black"; |
| 15 | compatible = "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx"; |
| 16 | chosen { |
| 17 | stdout-path = &uart0; |
Mugunthan V N | 6b29c7f | 2015-12-24 16:08:14 +0530 | [diff] [blame^] | 18 | tick-timer = &timer2; |
Tom Rini | 5ba1596 | 2015-07-31 19:55:08 -0400 | [diff] [blame] | 19 | }; |
| 20 | }; |
| 21 | |
Simon Glass | b37e815 | 2014-06-02 22:04:55 -0600 | [diff] [blame] | 22 | &ldo3_reg { |
| 23 | regulator-min-microvolt = <1800000>; |
| 24 | regulator-max-microvolt = <1800000>; |
| 25 | regulator-always-on; |
| 26 | }; |
Tom Rini | 5ba1596 | 2015-07-31 19:55:08 -0400 | [diff] [blame] | 27 | |
| 28 | &mmc1 { |
| 29 | vmmc-supply = <&vmmcsd_fixed>; |
| 30 | }; |
| 31 | |
| 32 | &mmc2 { |
| 33 | vmmc-supply = <&vmmcsd_fixed>; |
| 34 | pinctrl-names = "default"; |
| 35 | pinctrl-0 = <&emmc_pins>; |
| 36 | bus-width = <8>; |
| 37 | status = "okay"; |
| 38 | }; |
| 39 | |
| 40 | &am33xx_pinmux { |
| 41 | nxp_hdmi_bonelt_pins: nxp_hdmi_bonelt_pins { |
| 42 | pinctrl-single,pins = < |
| 43 | 0x1b0 0x03 /* xdma_event_intr0, OMAP_MUX_MODE3 | AM33XX_PIN_OUTPUT */ |
| 44 | 0xa0 0x08 /* lcd_data0.lcd_data0, OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT | AM33XX_PULL_DISA */ |
| 45 | 0xa4 0x08 /* lcd_data1.lcd_data1, OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT | AM33XX_PULL_DISA */ |
| 46 | 0xa8 0x08 /* lcd_data2.lcd_data2, OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT | AM33XX_PULL_DISA */ |
| 47 | 0xac 0x08 /* lcd_data3.lcd_data3, OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT | AM33XX_PULL_DISA */ |
| 48 | 0xb0 0x08 /* lcd_data4.lcd_data4, OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT | AM33XX_PULL_DISA */ |
| 49 | 0xb4 0x08 /* lcd_data5.lcd_data5, OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT | AM33XX_PULL_DISA */ |
| 50 | 0xb8 0x08 /* lcd_data6.lcd_data6, OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT | AM33XX_PULL_DISA */ |
| 51 | 0xbc 0x08 /* lcd_data7.lcd_data7, OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT | AM33XX_PULL_DISA */ |
| 52 | 0xc0 0x08 /* lcd_data8.lcd_data8, OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT | AM33XX_PULL_DISA */ |
| 53 | 0xc4 0x08 /* lcd_data9.lcd_data9, OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT | AM33XX_PULL_DISA */ |
| 54 | 0xc8 0x08 /* lcd_data10.lcd_data10, OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT | AM33XX_PULL_DISA */ |
| 55 | 0xcc 0x08 /* lcd_data11.lcd_data11, OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT | AM33XX_PULL_DISA */ |
| 56 | 0xd0 0x08 /* lcd_data12.lcd_data12, OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT | AM33XX_PULL_DISA */ |
| 57 | 0xd4 0x08 /* lcd_data13.lcd_data13, OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT | AM33XX_PULL_DISA */ |
| 58 | 0xd8 0x08 /* lcd_data14.lcd_data14, OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT | AM33XX_PULL_DISA */ |
| 59 | 0xdc 0x08 /* lcd_data15.lcd_data15, OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT | AM33XX_PULL_DISA */ |
| 60 | 0xe0 0x00 /* lcd_vsync.lcd_vsync, OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT */ |
| 61 | 0xe4 0x00 /* lcd_hsync.lcd_hsync, OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT */ |
| 62 | 0xe8 0x00 /* lcd_pclk.lcd_pclk, OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT */ |
| 63 | 0xec 0x00 /* lcd_ac_bias_en.lcd_ac_bias_en, OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT */ |
| 64 | >; |
| 65 | }; |
| 66 | nxp_hdmi_bonelt_off_pins: nxp_hdmi_bonelt_off_pins { |
| 67 | pinctrl-single,pins = < |
| 68 | 0x1b0 0x03 /* xdma_event_intr0, OMAP_MUX_MODE3 | AM33XX_PIN_OUTPUT */ |
| 69 | >; |
| 70 | }; |
| 71 | }; |
| 72 | |
| 73 | &lcdc { |
| 74 | status = "okay"; |
| 75 | }; |
| 76 | |
| 77 | / { |
| 78 | hdmi { |
| 79 | compatible = "ti,tilcdc,slave"; |
| 80 | i2c = <&i2c0>; |
| 81 | pinctrl-names = "default", "off"; |
| 82 | pinctrl-0 = <&nxp_hdmi_bonelt_pins>; |
| 83 | pinctrl-1 = <&nxp_hdmi_bonelt_off_pins>; |
| 84 | status = "okay"; |
| 85 | }; |
| 86 | }; |
| 87 | |
| 88 | &rtc { |
| 89 | system-power-controller; |
| 90 | }; |