9
0
Fork 0
barebox/arch/arm/mach-imx/include/mach
Alexander Kurz b12f38097b ARM i.MX50: Add iomux definitions for non-DT board implementations
Add non-DT IOMUX definitions for the i.MX50 SOC by converting linux
dts/imx50-pinfunc.h by script.
perl -we 'while(<>) {
 next unless /^#define MX50_PAD/;
 @in=split "[[:space:]]+", uc($_);
 @out=();
 @out[0..4]=@in[3, 2, 5, 4, 6];
 $out[2] =~ s/0X//;
 $out[4] =~ s/0X//;
 $out[3] = "__NA_" if $out[3] eq "0X000";
 push @out, $in[1] =~ /__UART/? "MX50_UART_PAD_CTRL": "NO_PAD_CTRL";
 $out=join(", ", @out);
 $out =~ s/0X/0x/g;
 print "#define $in[1]\t\t\tIOMUX_PAD($out)\n";
}' < dts/src/arm/imx50-pinfunc.h

Additional changes:
* typical PAD settings for UART, SPI, I2C and ESDHC
* SION bits set for all I2C MUX options

Signed-off-by: Alexander Kurz <akurz@blala.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2016-09-12 08:23:09 +02:00
..
bbu.h ARM: i.MX6: bbu nand: Move to common place 2015-06-12 08:28:04 +02:00
clock-imx1.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2009-10-22 14:21:25 +02:00
clock-imx6.h ARM: add initial i.MX6 support 2012-04-24 10:31:44 +02:00
clock-imx51_53.h Add i.MX50 support 2016-09-12 08:23:09 +02:00
clock.h ARM i.MX: Remove old clock support 2012-10-04 15:19:57 +02:00
debug_ll.h Add i.MX50 support 2016-09-12 08:23:09 +02:00
devices-imx1.h treewide include/: Add missing includes 2013-05-31 08:32:59 +02:00
devices-imx6.h spi: imx: Use device ids 2014-02-10 08:41:25 +01:00
devices-imx21.h treewide include/: Add missing includes 2013-05-31 08:32:59 +02:00
devices-imx25.h spi: imx: Use device ids 2014-02-10 08:41:25 +01:00
devices-imx27.h spi: imx: Use device ids 2014-02-10 08:41:25 +01:00
devices-imx31.h ARM i.MX31: Add i2c register convenience functions 2016-08-03 07:30:41 +02:00
devices-imx35.h spi: imx: Use device ids 2014-02-10 08:41:25 +01:00
devices-imx50.h Add i.MX50 support 2016-09-12 08:23:09 +02:00
devices-imx51.h sizes.h: move include/sizes.h to include/linux/sizes.h 2015-01-08 14:00:26 +01:00
devices-imx53.h imx53: add uart3 2015-01-30 08:54:23 +01:00
devices.h include: Move fec eth platform_data to include/platform_data 2016-04-15 08:44:41 +02:00
esdctl-v4.h ARM i.MX: add esdctl-v4 support 2012-12-06 13:43:10 +01:00
esdctl.h ARM: i.MX6: Add i.MX6 entry function 2015-07-16 09:46:01 +02:00
esdhc.h mci: imx-esdhc: add DSR support 2014-01-15 15:22:56 +01:00
generic.h Add i.MX50 support 2016-09-12 08:23:09 +02:00
habv3-imx25-gencsf.h ARM: i.MX: HABv3: Set to production mode 2016-05-17 11:04:06 +02:00
habv4-imx6-gencsf.h scripts: imx: Generate signed images with imx-image 2016-02-04 08:29:17 +01:00
iim.h ARM: i.MX: IIM: Add function to enable permanent write 2016-05-17 11:03:59 +02:00
imx-gpio.h ARM: i.MX: Add lowlevel gpio functions 2014-02-01 18:51:32 +01:00
imx-ipu-fb.h video: imx-ipu-fb: Allow to specify framebuffer memory size via platform_data 2013-12-20 11:32:07 +01:00
imx-nand.h ARM: change signature of barebox_arm_entry 2014-05-05 15:09:09 +02:00
imx-pll.h ARM i.MX: de-duplicate PLL initializer macros 2016-07-04 09:31:41 +02:00
imx1-regs.h ARM i.MX: Add driver to get sdram base and size 2012-12-06 13:43:08 +01:00
imx5.h Add i.MX50 support 2016-09-12 08:23:09 +02:00
imx6-anadig.h Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
imx6-ccm-regs.h arm: mach-imx: add MMDC and CCM register defines for use in DCD 2014-09-01 14:24:51 +02:00
imx6-ddr-regs.h ARM: imx6: add MMDC arbitration control register define 2015-11-09 07:31:08 +01:00
imx6-mmdc.h ARM: i.MX6: Add DDR setup code from U-Boot 2015-07-29 09:16:20 +02:00
imx6-regs.h imx6: read back memory size 2014-04-28 12:02:55 +02:00
imx6.h ARM: i.MX6: add function cpu_is_mx6s() 2016-02-17 08:06:53 +01:00
imx6dl-ddr-regs.h arm: mach-imx: add more ddr register defines 2014-09-19 07:44:37 +02:00
imx6q-ddr-regs.h arm: mach-imx: add MMDC and CCM register defines for use in DCD 2014-09-01 14:24:51 +02:00
imx21-regs.h ARM i.MX: Use SRAM stack in lowlevel code 2013-02-04 15:52:38 +01:00
imx25-fusemap.h ARM: i.MX: IIM: Add functions to access fuses field wise 2016-05-17 11:03:54 +02:00
imx25-regs.h ARM: i.MX25: Add missing GPT clock lookups 2014-01-31 21:29:34 +01:00
imx27-regs.h ARM i.MX: Use SRAM stack in lowlevel code 2013-02-04 15:52:38 +01:00
imx31-regs.h sizes.h: move include/sizes.h to include/linux/sizes.h 2015-01-08 14:00:26 +01:00
imx35-regs.h imx35-regs: add and use common CGR element shifters 2016-07-04 11:47:58 +02:00
imx50-regs.h Add i.MX50 support 2016-09-12 08:23:09 +02:00
imx51-regs.h ARM: i.MX5: Add IPU clocks 2014-05-09 17:41:46 +02:00
imx53-regs.h ARM iMX53: avoid magic number addressing for internal RAM 2016-06-27 11:04:14 +02:00
imx_cpu_types.h ARM: add common definitions for i.MX50 SOC 2016-09-12 08:23:09 +02:00
imxfb.h imxfb: Add support for multiple video modes 2011-12-13 11:32:43 +01:00
iomux-mx1.h ARM i.MX iomux-v1: Add separate header file 2012-10-05 20:03:04 +02:00
iomux-mx2x.h ARM: i.MX: Update MX2x iomux definitions 2013-04-12 19:24:45 +02:00
iomux-mx6.h ARM i.MX6: Fix HSIC pad definitions 2013-02-14 09:55:50 +01:00
iomux-mx21.h ARM i.MX iomux-v1: Add separate header file 2012-10-05 20:03:04 +02:00
iomux-mx25.h i.MX25: fix LD16 & LD17 iomux 2011-12-13 10:43:45 +01:00
iomux-mx27.h ARM: i.MX: Update MX2x iomux definitions 2013-04-12 19:24:45 +02:00
iomux-mx31.h ARM i.MX31 iomux: remove duplicates with alternate name 2016-07-04 11:48:03 +02:00
iomux-mx35.h iomux-imx35: add missing comma in pad definition 2012-11-01 16:32:12 +01:00
iomux-mx50.h ARM i.MX50: Add iomux definitions for non-DT board implementations 2016-09-12 08:23:09 +02:00
iomux-mx51.h ARM: i.MX: Update MX51 iomux definitions 2013-04-12 19:24:45 +02:00
iomux-mx53.h ARM i.MX53 iomux: sync to kernel 2012-04-12 22:08:43 +02:00
iomux-v1.h ARM: i.MX: move iomux definitions to iomux.h 2013-08-16 15:58:33 +02:00
iomux-v3.h ARM: i.MX: Make mxc_iomux_v3_setup_multiple_pads argument const 2014-02-20 14:50:10 +01:00
revision.h imx6: add new chip revisions 2014-06-30 08:14:26 +02:00
spi.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2009-10-22 14:21:25 +02:00
usb.h ARM i.MX6 USB phy: Fix phy function names 2013-01-20 11:06:08 +01:00
weim.h ARM: i.MX: Remove unused procedure imx25_setup_weimcs 2016-06-27 08:52:35 +02:00
xload.h ARM: i.MX: xload: implement esdhc xload for i.MX6 2015-07-31 08:46:20 +02:00