1270866Simp/* 2270866Simp * Copyright (C) 2014 Marek Vasut <marex@denx.de> 3270866Simp * 4270866Simp * The code contained herein is licensed under the GNU General Public 5270866Simp * License. You may obtain a copy of the GNU General Public License 6270866Simp * Version 2 or later at the following locations: 7270866Simp * 8270866Simp * http://www.opensource.org/licenses/gpl-license.html 9270866Simp * http://www.gnu.org/copyleft/gpl.html 10270866Simp */ 11270866Simp 12270866Simp#include "imx53.dtsi" 13270866Simp 14270866Simp/ { 15270866Simp model = "DENX M53"; 16270866Simp compatible = "denx,imx53-m53", "fsl,imx53"; 17270866Simp 18270866Simp memory { 19270866Simp reg = <0x70000000 0x20000000>, 20270866Simp <0xb0000000 0x20000000>; 21270866Simp }; 22270866Simp 23270866Simp regulators { 24270866Simp compatible = "simple-bus"; 25270866Simp #address-cells = <1>; 26270866Simp #size-cells = <0>; 27270866Simp 28270866Simp reg_3p2v: regulator@0 { 29270866Simp compatible = "regulator-fixed"; 30270866Simp reg = <0>; 31270866Simp regulator-name = "3P2V"; 32270866Simp regulator-min-microvolt = <3200000>; 33270866Simp regulator-max-microvolt = <3200000>; 34270866Simp regulator-always-on; 35270866Simp }; 36270866Simp 37270866Simp reg_backlight: regulator@1 { 38270866Simp compatible = "regulator-fixed"; 39270866Simp reg = <1>; 40270866Simp regulator-name = "lcd-supply"; 41270866Simp regulator-min-microvolt = <3200000>; 42270866Simp regulator-max-microvolt = <3200000>; 43270866Simp regulator-always-on; 44270866Simp }; 45270866Simp }; 46270866Simp}; 47270866Simp 48270866Simp&i2c2 { 49270866Simp pinctrl-names = "default"; 50270866Simp pinctrl-0 = <&pinctrl_i2c2>; 51270866Simp clock-frequency = <400000>; 52270866Simp status = "okay"; 53270866Simp 54270866Simp stmpe610@41 { 55270866Simp compatible = "st,stmpe610"; 56270866Simp #address-cells = <1>; 57270866Simp #size-cells = <0>; 58270866Simp reg = <0x41>; 59270866Simp id = <0>; 60270866Simp blocks = <0x5>; 61270866Simp interrupts = <6 0x0>; 62270866Simp interrupt-parent = <&gpio7>; 63270866Simp irq-trigger = <0x1>; 64270866Simp 65270866Simp stmpe_touchscreen { 66270866Simp compatible = "st,stmpe-ts"; 67270866Simp reg = <0>; 68270866Simp st,sample-time = <4>; 69270866Simp st,mod-12b = <1>; 70270866Simp st,ref-sel = <0>; 71270866Simp st,adc-freq = <1>; 72270866Simp st,ave-ctrl = <3>; 73270866Simp st,touch-det-delay = <3>; 74270866Simp st,settling = <4>; 75270866Simp st,fraction-z = <7>; 76270866Simp st,i-drive = <1>; 77270866Simp }; 78270866Simp }; 79270866Simp 80270866Simp eeprom: eeprom@50 { 81270866Simp compatible = "atmel,24c128"; 82270866Simp reg = <0x50>; 83270866Simp pagesize = <32>; 84270866Simp }; 85270866Simp 86270866Simp rtc: rtc@68 { 87270866Simp compatible = "stm,m41t62"; 88270866Simp reg = <0x68>; 89270866Simp }; 90270866Simp}; 91270866Simp 92270866Simp&iomuxc { 93270866Simp pinctrl-names = "default"; 94270866Simp pinctrl-0 = <&pinctrl_hog>; 95270866Simp 96270866Simp imx53-m53evk { 97270866Simp pinctrl_hog: hoggrp { 98270866Simp fsl,pins = < 99270866Simp MX53_PAD_GPIO_0__CCM_SSI_EXT1_CLK 0x80000000 100270866Simp MX53_PAD_EIM_EB3__GPIO2_31 0x80000000 101270866Simp MX53_PAD_PATA_DA_0__GPIO7_6 0x80000000 102270866Simp >; 103270866Simp }; 104270866Simp 105270866Simp pinctrl_i2c2: i2c2grp { 106270866Simp fsl,pins = < 107270866Simp MX53_PAD_EIM_D16__I2C2_SDA 0xc0000000 108270866Simp MX53_PAD_EIM_EB2__I2C2_SCL 0xc0000000 109270866Simp >; 110270866Simp }; 111270866Simp 112270866Simp pinctrl_nand: nandgrp { 113270866Simp fsl,pins = < 114270866Simp MX53_PAD_NANDF_WE_B__EMI_NANDF_WE_B 0x4 115270866Simp MX53_PAD_NANDF_RE_B__EMI_NANDF_RE_B 0x4 116270866Simp MX53_PAD_NANDF_CLE__EMI_NANDF_CLE 0x4 117270866Simp MX53_PAD_NANDF_ALE__EMI_NANDF_ALE 0x4 118270866Simp MX53_PAD_NANDF_WP_B__EMI_NANDF_WP_B 0xe0 119270866Simp MX53_PAD_NANDF_RB0__EMI_NANDF_RB_0 0xe0 120270866Simp MX53_PAD_NANDF_CS0__EMI_NANDF_CS_0 0x4 121270866Simp MX53_PAD_PATA_DATA0__EMI_NANDF_D_0 0xa4 122270866Simp MX53_PAD_PATA_DATA1__EMI_NANDF_D_1 0xa4 123270866Simp MX53_PAD_PATA_DATA2__EMI_NANDF_D_2 0xa4 124270866Simp MX53_PAD_PATA_DATA3__EMI_NANDF_D_3 0xa4 125270866Simp MX53_PAD_PATA_DATA4__EMI_NANDF_D_4 0xa4 126270866Simp MX53_PAD_PATA_DATA5__EMI_NANDF_D_5 0xa4 127270866Simp MX53_PAD_PATA_DATA6__EMI_NANDF_D_6 0xa4 128270866Simp MX53_PAD_PATA_DATA7__EMI_NANDF_D_7 0xa4 129270866Simp >; 130270866Simp }; 131270866Simp }; 132270866Simp}; 133270866Simp 134270866Simp&nfc { 135270866Simp pinctrl-names = "default"; 136270866Simp pinctrl-0 = <&pinctrl_nand>; 137270866Simp nand-bus-width = <8>; 138270866Simp nand-ecc-mode = "hw"; 139270866Simp status = "okay"; 140270866Simp}; 141