1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later 2*f126890aSEmmanuel Vadot/* 3*f126890aSEmmanuel Vadot * Copyright 2012 Free Electrons 4*f126890aSEmmanuel Vadot */ 5*f126890aSEmmanuel Vadot 6*f126890aSEmmanuel Vadot/dts-v1/; 7*f126890aSEmmanuel Vadot#include "imx28.dtsi" 8*f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h> 9*f126890aSEmmanuel Vadot 10*f126890aSEmmanuel Vadot/ { 11*f126890aSEmmanuel Vadot model = "Crystalfontz CFA-10036 Board"; 12*f126890aSEmmanuel Vadot compatible = "crystalfontz,cfa10036", "fsl,imx28"; 13*f126890aSEmmanuel Vadot 14*f126890aSEmmanuel Vadot memory@40000000 { 15*f126890aSEmmanuel Vadot device_type = "memory"; 16*f126890aSEmmanuel Vadot reg = <0x40000000 0x08000000>; 17*f126890aSEmmanuel Vadot }; 18*f126890aSEmmanuel Vadot 19*f126890aSEmmanuel Vadot leds { 20*f126890aSEmmanuel Vadot compatible = "gpio-leds"; 21*f126890aSEmmanuel Vadot pinctrl-names = "default"; 22*f126890aSEmmanuel Vadot pinctrl-0 = <&led_pins_cfa10036>; 23*f126890aSEmmanuel Vadot 24*f126890aSEmmanuel Vadot power { 25*f126890aSEmmanuel Vadot gpios = <&gpio3 4 1>; 26*f126890aSEmmanuel Vadot default-state = "on"; 27*f126890aSEmmanuel Vadot }; 28*f126890aSEmmanuel Vadot }; 29*f126890aSEmmanuel Vadot 30*f126890aSEmmanuel Vadot reg_vddio_sd0: vddio-sd0 { 31*f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 32*f126890aSEmmanuel Vadot pinctrl-names = "default"; 33*f126890aSEmmanuel Vadot pinctrl-0 = <&mmc_pwr_cfa10036>; 34*f126890aSEmmanuel Vadot regulator-name = "vddio-sd0"; 35*f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 36*f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 37*f126890aSEmmanuel Vadot gpio = <&gpio3 28 0>; 38*f126890aSEmmanuel Vadot }; 39*f126890aSEmmanuel Vadot}; 40*f126890aSEmmanuel Vadot 41*f126890aSEmmanuel Vadot&duart { 42*f126890aSEmmanuel Vadot pinctrl-names = "default"; 43*f126890aSEmmanuel Vadot pinctrl-0 = <&duart_pins_b>; 44*f126890aSEmmanuel Vadot status = "okay"; 45*f126890aSEmmanuel Vadot}; 46*f126890aSEmmanuel Vadot 47*f126890aSEmmanuel Vadot&i2c0 { 48*f126890aSEmmanuel Vadot pinctrl-names = "default"; 49*f126890aSEmmanuel Vadot pinctrl-0 = <&i2c0_pins_b>; 50*f126890aSEmmanuel Vadot clock-frequency = <400000>; 51*f126890aSEmmanuel Vadot status = "okay"; 52*f126890aSEmmanuel Vadot 53*f126890aSEmmanuel Vadot ssd1306: oled@3c { 54*f126890aSEmmanuel Vadot compatible = "solomon,ssd1306fb-i2c"; 55*f126890aSEmmanuel Vadot pinctrl-names = "default"; 56*f126890aSEmmanuel Vadot pinctrl-0 = <&ssd1306_cfa10036>; 57*f126890aSEmmanuel Vadot reg = <0x3c>; 58*f126890aSEmmanuel Vadot reset-gpios = <&gpio2 7 GPIO_ACTIVE_LOW>; 59*f126890aSEmmanuel Vadot solomon,height = <32>; 60*f126890aSEmmanuel Vadot solomon,width = <128>; 61*f126890aSEmmanuel Vadot solomon,page-offset = <0>; 62*f126890aSEmmanuel Vadot solomon,com-lrremap; 63*f126890aSEmmanuel Vadot solomon,com-invdir; 64*f126890aSEmmanuel Vadot solomon,com-offset = <32>; 65*f126890aSEmmanuel Vadot }; 66*f126890aSEmmanuel Vadot}; 67*f126890aSEmmanuel Vadot 68*f126890aSEmmanuel Vadot&pinctrl { 69*f126890aSEmmanuel Vadot ssd1306_cfa10036: ssd1306-10036@0 { 70*f126890aSEmmanuel Vadot reg = <0>; 71*f126890aSEmmanuel Vadot fsl,pinmux-ids = < 72*f126890aSEmmanuel Vadot MX28_PAD_SSP0_DATA7__GPIO_2_7 73*f126890aSEmmanuel Vadot >; 74*f126890aSEmmanuel Vadot fsl,drive-strength = <MXS_DRIVE_4mA>; 75*f126890aSEmmanuel Vadot fsl,voltage = <MXS_VOLTAGE_HIGH>; 76*f126890aSEmmanuel Vadot fsl,pull-up = <MXS_PULL_DISABLE>; 77*f126890aSEmmanuel Vadot }; 78*f126890aSEmmanuel Vadot 79*f126890aSEmmanuel Vadot led_pins_cfa10036: leds-10036@0 { 80*f126890aSEmmanuel Vadot reg = <0>; 81*f126890aSEmmanuel Vadot fsl,pinmux-ids = < 82*f126890aSEmmanuel Vadot MX28_PAD_AUART1_RX__GPIO_3_4 83*f126890aSEmmanuel Vadot >; 84*f126890aSEmmanuel Vadot fsl,drive-strength = <MXS_DRIVE_4mA>; 85*f126890aSEmmanuel Vadot fsl,voltage = <MXS_VOLTAGE_HIGH>; 86*f126890aSEmmanuel Vadot fsl,pull-up = <MXS_PULL_DISABLE>; 87*f126890aSEmmanuel Vadot }; 88*f126890aSEmmanuel Vadot 89*f126890aSEmmanuel Vadot usb0_otg_cfa10036: otg-10036@0 { 90*f126890aSEmmanuel Vadot reg = <0>; 91*f126890aSEmmanuel Vadot fsl,pinmux-ids = < 92*f126890aSEmmanuel Vadot MX28_PAD_GPMI_RDY0__USB0_ID 93*f126890aSEmmanuel Vadot >; 94*f126890aSEmmanuel Vadot fsl,drive-strength = <MXS_DRIVE_4mA>; 95*f126890aSEmmanuel Vadot fsl,voltage = <MXS_VOLTAGE_HIGH>; 96*f126890aSEmmanuel Vadot fsl,pull-up = <MXS_PULL_DISABLE>; 97*f126890aSEmmanuel Vadot }; 98*f126890aSEmmanuel Vadot 99*f126890aSEmmanuel Vadot mmc_pwr_cfa10036: mmc_pwr_cfa10036@0 { 100*f126890aSEmmanuel Vadot reg = <0>; 101*f126890aSEmmanuel Vadot fsl,pinmux-ids = < 102*f126890aSEmmanuel Vadot 0x31c3 /* 103*f126890aSEmmanuel Vadot MX28_PAD_PWM3__GPIO_3_28 */ 104*f126890aSEmmanuel Vadot >; 105*f126890aSEmmanuel Vadot fsl,drive-strength = <0>; 106*f126890aSEmmanuel Vadot fsl,voltage = <1>; 107*f126890aSEmmanuel Vadot fsl,pull-up = <0>; 108*f126890aSEmmanuel Vadot }; 109*f126890aSEmmanuel Vadot}; 110*f126890aSEmmanuel Vadot 111*f126890aSEmmanuel Vadot&ssp0 { 112*f126890aSEmmanuel Vadot compatible = "fsl,imx28-mmc"; 113*f126890aSEmmanuel Vadot pinctrl-names = "default"; 114*f126890aSEmmanuel Vadot pinctrl-0 = <&mmc0_4bit_pins_a 115*f126890aSEmmanuel Vadot &mmc0_cd_cfg &mmc0_sck_cfg>; 116*f126890aSEmmanuel Vadot vmmc-supply = <®_vddio_sd0>; 117*f126890aSEmmanuel Vadot bus-width = <4>; 118*f126890aSEmmanuel Vadot status = "okay"; 119*f126890aSEmmanuel Vadot}; 120*f126890aSEmmanuel Vadot 121*f126890aSEmmanuel Vadot&usb0 { 122*f126890aSEmmanuel Vadot pinctrl-names = "default"; 123*f126890aSEmmanuel Vadot pinctrl-0 = <&usb0_otg_cfa10036>; 124*f126890aSEmmanuel Vadot dr_mode = "peripheral"; 125*f126890aSEmmanuel Vadot phy_type = "utmi"; 126*f126890aSEmmanuel Vadot status = "okay"; 127*f126890aSEmmanuel Vadot}; 128*f126890aSEmmanuel Vadot 129*f126890aSEmmanuel Vadot&usbphy0 { 130*f126890aSEmmanuel Vadot status = "okay"; 131*f126890aSEmmanuel Vadot}; 132