mx7ulp: Print the LDO mode status
Subsystems (3)
Fabio Estevam
reviewerPATCH 1/7 mx7ulp: Print the LDO mode status
As per the i.MX7ULP datasheet, it can boot in LDO enabled mode or LDO bypass mode.
Print the LDO mode status in the U-Boot log for convenience.
--- arch/arm/mach-imx/mx7ulp/soc.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+)
arch/arm/mach-imx/mx7ulp/soc.c +20 -0
@@ -131,6 +131,21 @@ const char *get_imx_type(u32 imxtype)return "7ULP" ; } +#define PMC0_BASE_ADDR 0x410a1000 +#define PMC0_CTRL 0x28 +#define PMC0_CTRL_LDOEN BIT(31) + +static bool ldo_mode_is_enabled (void ) +{ +unsigned int reg; + + reg =readl (PMC0_BASE_ADDR +PMC0_CTRL ); +if (reg &PMC0_CTRL_LDOEN ) +return true; +else +return false; +} +int print_cpuinfo (void ) {u32 cpurev;
@@ -159,6 +174,11 @@ int print_cpuinfo(void) break; } +if (ldo_mode_is_enabled ()) +printf ("PMC1: LDO enabled mode\n" ); +else +printf ("PMC1: LDO bypass mode\n" ); +return 0 ; }#endif
Signature · 1 line
2.17.1
Fabio Estevam
reviewerPATCH 2/7 mx7ulp: Introduce the CONFIG_LDO_ENABLED_MODE option
Introduce the CONFIG_LDO_ENABLED_MODE option so that i.MX7ULP boards designed to operate with LDO enabled mode can work with 0.95V at LDO output in RUN mode as per the datasheet.
--- arch/arm/mach-imx/mx7ulp/Kconfig | 5 +++ arch/arm/mach-imx/mx7ulp/soc.c | 58 ++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+)
arch/arm/mach-imx/mx7ulp/Kconfig +5 -0
@@ -3,6 +3,11 @@ if ARCH_MX7ULP config SYS_SOC default "mx7ulp" +config LDO_ENABLED_MODE + bool "i.MX7ULP LDO Enabled Mode" + help + Select this option to enable the PMC1 LDO. + config MX7ULP bool
arch/arm/mach-imx/mx7ulp/soc.c +58 -0
76 lines not on this page · raw message
Signature · 1 line
2.17.1
Fabio Estevam
reviewerPATCH 3/7 mx7ulp: Remove the _RUN notation from the PMC1 LDOVL definitions
In reply to Fabio EstevamThe LDOVL definitions is common to all the modes, not only RUN mode, so in order to avoid confusion, remove the _RUN notation from the PMC1 LDOVL definitions.
--- arch/arm/mach-imx/mx7ulp/soc.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-)
arch/arm/mach-imx/mx7ulp/soc.c +10 -10
@@ -18,10 +18,10 @@#define PMC1_RUN 0x8#define PMC1_STOP 0x10#define PMC1_VLPS 0x14 -#define PMC1_RUN_LDOVL_SHIFT 16 -#define PMC1_RUN_LDOVL_MASK (0x3f << PMC1_RUN_LDOVL_SHIFT) -#define PMC1_RUN_LDOVL_900 0x1e -#define PMC1_RUN_LDOVL_950 0x23 +#define PMC1_LDOVL_SHIFT 16 +#define PMC1_LDOVL_MASK (0x3f << PMC1_LDOVL_SHIFT) +#define PMC1_LDOVL_900 0x1e +#define PMC1_LDOVL_950 0x23#define PMC1_STATUS 0x20#define PMC1_STATUS_LDOVLF BIT(8)
@@ -126,8 +126,8 @@ static void init_ldo_mode(void)/* Set LDOVL to 0.95V in PMC1_RUN */ reg =readl (PMC1_BASE_ADDR +PMC1_RUN ); - reg &= ~PMC1_RUN_LDOVL_MASK ; - reg |= (PMC1_RUN_LDOVL_950 <<PMC1_RUN_LDOVL_SHIFT ); + reg &= ~PMC1_LDOVL_MASK ; + reg |= (PMC1_LDOVL_950 <<PMC1_LDOVL_SHIFT );writel (PMC1_BASE_ADDR +PMC1_RUN , reg);/* Wait for LDOVLF to be cleared */
@@ -137,14 +137,14 @@ static void init_ldo_mode(void)/* Set LDOVL to 0.95V in PMC1_STOP */ reg =readl (PMC1_BASE_ADDR +PMC1_STOP ); - reg &= ~PMC1_RUN_LDOVL_MASK ; - reg |= (PMC1_RUN_LDOVL_950 <<PMC1_RUN_LDOVL_SHIFT ); + reg &= ~PMC1_LDOVL_MASK ; + reg |= (PMC1_LDOVL_950 <<PMC1_LDOVL_SHIFT );writel (PMC1_BASE_ADDR +PMC1_STOP , reg);/* Set LDOVL to 0.90V in PMC1_VLPS */ reg =readl (PMC1_BASE_ADDR +PMC1_VLPS ); - reg &= ~PMC1_RUN_LDOVL_MASK ; - reg |= (PMC1_RUN_LDOVL_900 <<PMC1_RUN_LDOVL_SHIFT ); + reg &= ~PMC1_LDOVL_MASK ; + reg |= (PMC1_LDOVL_900 <<PMC1_LDOVL_SHIFT );writel (PMC1_BASE_ADDR +PMC1_VLPS , reg);/* Set LDOEN bit */
Signature · 1 line
2.17.1
Fabio Estevam
reviewerPATCH 4/7 mx7ulp: scg: Remove unnused scg_a7_apll_init()
In reply to Fabio Estevamscg_a7_apll_init() is not called anywhere, so remove such dead code
--- arch/arm/include/asm/arch-mx7ulp/scg.h | 1 - arch/arm/mach-imx/mx7ulp/scg.c | 61 -------------------------- 2 files changed, 62 deletions(-)
arch/arm/include/asm/arch-mx7ulp/scg.h +0 -1
@@ -331,7 +331,6 @@ u32 decode_pll(enum pll_clocks pll);void scg_a7_rccr_init (void );void scg_a7_spll_init (void );void scg_a7_ddrclk_init (void ); -void scg_a7_apll_init (void );void scg_a7_firc_init (void );void scg_a7_nicclk_init (void );void scg_a7_sys_clk_sel (enum scg_sys_src clk);
arch/arm/mach-imx/mx7ulp/scg.c +0 -61
67 lines not on this page · raw message
Signature · 1 line
2.17.1
Fabio Estevam
reviewerPATCH 5/7 mx7ulp: Allow setting a lower DDR frequency
In reply to Fabio EstevamBy default the i.MX7ULP DDR frequency runs at 352 MHz, but not all i.MX7ULP based systems are able to run at such frequency, such as the i.MX7ULP Embedded Artists board.
Introduce a CONFIG_IMX7ULP_LOWER_DDR_FREQUENCY option that allows running DDR at a lower frequency of 316.8MHz.
When such option is not selected DDR will run at the default 352MHz frequency.
--- arch/arm/mach-imx/Kconfig | 7 +++++++ arch/arm/mach-imx/mx7ulp/clock.c | 27 +++++++++++++++++++++++++++ 2 files changed, 34 insertions(+)
arch/arm/mach-imx/Kconfig +7 -0
@@ -89,6 +89,13 @@ config CMD_NANDBCB This is similar to kobs-ng, which is used in Linux as separate rootfs package. +config IMX7ULP_LOWER_DDR_FREQUENCY + bool "Use lower DDR Frequency for i.MX7ULP" + depends on ARCH_MX7ULP + help + Some systems can not run DDR frequency at 352MHz, so select + this option to run DDR frequency at 316.8MHz instead + config NXP_BOARD_REVISION bool "Read NXP board revision from fuses" depends on ARCH_MX6 || ARCH_MX7
arch/arm/mach-imx/mx7ulp/clock.c +27 -0
@@ -274,6 +274,31 @@ static void init_clk_rgpio2p(void)writel (PCC_CGC_MASK , (PCC0_RBASE +0x3C )); } +/* +* Default PFD0 divide is 27, which generates: +* PFD0 Freq = A7 APLL(528MHz) * 18 / 27 = 352MHz +* +* As some systems can not run DDR at 352MHz, use a +* divider of 30, which gives: +* +* PFD0 Freq = A7 APLL(528MHz) * 18 / 30 = 316.8MHz +*/ +#define SCG1_APLL_PFD0_FRAC_NUM 30 +static void scg_a7_apll_update_pfd0 (void ) +{ +scg_p scg1_regs = (scg_p )SCG1_RBASE ; +u32 val; + +if (!IS_ENABLED (CONFIG_IMX7ULP_LOWER_DDR_FREQUENCY )) +return ; + +/* Configure A7 APLL PFD0 */ + val =readl (&scg1_regs->apllpfd); + val &= ~SCG_PLL_PFD0_FRAC_MASK ; + val |=SCG1_APLL_PFD0_FRAC_NUM ; +writel (val, &scg1_regs->apllpfd); +} +/* Configure PLL/PFD freq */ void clock_init (void ) {
@@ -300,6 +325,8 @@ void clock_init(void)scg_a7_soscdiv_init (); +scg_a7_apll_update_pfd0 (); +scg_a7_init_core_clk ();/* APLL PFD1 = 270Mhz, PFD2=345.6Mhz, PFD3=800Mhz */
Signature · 1 line
2.17.1
Fabio Estevam
reviewerPATCH 6/7 mx7ulp: Sync the device tree related files
In reply to Fabio EstevamSync the mx7ulp device tree related files with the one from NXP U-Boot vendor tree (imx_v2019.04_4.19.35_1.0.0).
The mainline support for i.MX7ULP is very premature at this stage.
We should probably re-sync with mainline Linux dts when it gets in better shape, but for now sync with the U-Boot vendor code.
--- arch/arm/dts/imx7ulp-evk.dts | 157 ++- arch/arm/dts/imx7ulp-pinfunc.h | 1748 ++++++++++++++++---------------- arch/arm/dts/imx7ulp.dtsi | 28 +- 3 files changed, 969 insertions(+), 964 deletions(-)
arch/arm/dts/imx7ulp-evk.dts +66 -91
@@ -15,7 +15,7 @@ compatible = "fsl,imx7ulp-evk", "fsl,imx7ulp", "Generic DT based system"; chosen { - bootargs = "console=ttyLP0,115200 earlycon=lpuart32,0x402D0010,115200"; + bootargs = "console=ttyLP0,115200 earlycon=lpuart32,0x402D0000,115200"; stdout-path = &lpuart4; };
@@ -66,7 +66,7 @@ compatible = "regulator-fixed"; reg = <0>; pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_usb_otg1>; + pinctrl-0 = <&pinctrl_usbotg1_vbus>; regulator-name = "usb_otg1_vbus"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
@@ -84,22 +84,6 @@ enable-active-high; }; - reg_vsd_3v3b: regulator at 2 { - compatible = "regulator-fixed"; - reg = <2>; - regulator-name = "VSD_3V3B"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - gpio = <&gpio2 11 GPIO_ACTIVE_HIGH>; - enable-active-high; - }; - }; - - extcon_usb1: extcon_usb1 { - compatible = "linux,extcon-usb-gpio"; - id-gpio = <&gpio0 8 GPIO_ACTIVE_HIGH>; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_extcon_usb1>; }; pf1550-rpmsg {
@@ -166,134 +150,135 @@ imx7ulp-evk { pinctrl_hog_1: hoggrp-1 { fsl,pins = < - ULP1_PAD_PTC10__PTC10 0x30100 /* USDHC0 CD */ - ULP1_PAD_PTC1__PTC1 0x20100 - ULP1_PAD_PTD0__PTD0 0x30100 /* USDHC0 RST */ - ULP1_PAD_PTE13__PTE13 0x30103 /* USDHC1 CD */ - ULP1_PAD_PTE12__PTE12 0x30103 /* USDHC1 WP */ - ULP1_PAD_PTE14__SDHC1_VS 0x843 /* USDHC1 VSEL */ + IMX7ULP_PAD_PTC1__PTC1 0x20000 >; }; pinctrl_backlight: backlight_grp { fsl,pins = < - ULP1_PAD_PTF2__PTF2 0x20100 + IMX7ULP_PAD_PTF2__PTF2 0x20100 >; }; pinctrl_lpi2c5: lpi2c5grp { fsl,pins = < - ULP1_PAD_PTC4__LPI2C5_SCL 0x527 - ULP1_PAD_PTC5__LPI2C5_SDA 0x527 + IMX7ULP_PAD_PTC4__LPI2C5_SCL 0x27 + IMX7ULP_PAD_PTC5__LPI2C5_SDA 0x27 >; }; pinctrl_mipi_dsi_reset: mipi_dsi_reset_grp { fsl,pins = < - ULP1_PAD_PTC19__PTC19 0x20103 + IMX7ULP_PAD_PTC19__PTC19 0x20003 >; }; pinctrl_lpuart4: lpuart4grp { fsl,pins = < - ULP1_PAD_PTC3__LPUART4_RX 0x400 - ULP1_PAD_PTC2__LPUART4_TX 0x400 + IMX7ULP_PAD_PTC3__LPUART4_RX 0x3 + IMX7ULP_PAD_PTC2__LPUART4_TX 0x3 >; }; pinctrl_lpuart6: lpuart6grp { fsl,pins = < - ULP1_PAD_PTE10__LPUART6_TX 0x400 - ULP1_PAD_PTE11__LPUART6_RX 0x400 - ULP1_PAD_PTE9__LPUART6_RTS_B 0x400 - ULP1_PAD_PTE8__LPUART6_CTS_B 0x400 - ULP1_PAD_PTE7__PTE7 0x00 /* BT_REG_ON */ + IMX7ULP_PAD_PTE10__LPUART6_TX 0x3 + IMX7ULP_PAD_PTE11__LPUART6_RX 0x3 + IMX7ULP_PAD_PTE9__LPUART6_RTS_B 0x3 + IMX7ULP_PAD_PTE8__LPUART6_CTS_B 0x3 + IMX7ULP_PAD_PTE7__PTE7 0x20000 /* BT_REG_ON */ >; }; pinctrl_lpuart7: lpuart7grp { fsl,pins = < - ULP1_PAD_PTF14__LPUART7_TX 0x400 - ULP1_PAD_PTF15__LPUART7_RX 0x400 - ULP1_PAD_PTF13__LPUART7_RTS_B 0x400 - ULP1_PAD_PTF12__LPUART7_CTS_B 0x400 + IMX7ULP_PAD_PTF14__LPUART7_TX 0x3 + IMX7ULP_PAD_PTF15__LPUART7_RX 0x3 + IMX7ULP_PAD_PTF13__LPUART7_RTS_B 0x3 + IMX7ULP_PAD_PTF12__LPUART7_CTS_B 0x3 >; }; pinctrl_usdhc0: usdhc0grp { fsl,pins = < - ULP1_PAD_PTD1__SDHC0_CMD 0x843 - ULP1_PAD_PTD2__SDHC0_CLK 0x10843 - ULP1_PAD_PTD7__SDHC0_D3 0x843 - ULP1_PAD_PTD8__SDHC0_D2 0x843 - ULP1_PAD_PTD9__SDHC0_D1 0x843 - ULP1_PAD_PTD10__SDHC0_D0 0x843 + IMX7ULP_PAD_PTD1__SDHC0_CMD 0x43 + IMX7ULP_PAD_PTD2__SDHC0_CLK 0x10042 + IMX7ULP_PAD_PTD7__SDHC0_D3 0x43 + IMX7ULP_PAD_PTD8__SDHC0_D2 0x43 + IMX7ULP_PAD_PTD9__SDHC0_D1 0x43 + IMX7ULP_PAD_PTD10__SDHC0_D0 0x43 + IMX7ULP_PAD_PTC10__PTC10 0x10000 /* USDHC0 CD */ + IMX7ULP_PAD_PTD0__PTD0 0x20000 /* USDHC0 RST */ >; }; pinctrl_usdhc0_8bit: usdhc0grp_8bit { fsl,pins = < - ULP1_PAD_PTD1__SDHC0_CMD 0x843 - ULP1_PAD_PTD2__SDHC0_CLK 0x843 - ULP1_PAD_PTD3__SDHC0_D7 0x843 - ULP1_PAD_PTD4__SDHC0_D6 0x843 - ULP1_PAD_PTD5__SDHC0_D5 0x843 - ULP1_PAD_PTD6__SDHC0_D4 0x843 - ULP1_PAD_PTD7__SDHC0_D3 0x843 - ULP1_PAD_PTD8__SDHC0_D2 0x843 - ULP1_PAD_PTD9__SDHC0_D1 0x843 - ULP1_PAD_PTD10__SDHC0_D0 0x843 + IMX7ULP_PAD_PTD1__SDHC0_CMD 0x43 + IMX7ULP_PAD_PTD2__SDHC0_CLK 0x10042 + IMX7ULP_PAD_PTD3__SDHC0_D7 0x43 + IMX7ULP_PAD_PTD4__SDHC0_D6 0x43 + IMX7ULP_PAD_PTD5__SDHC0_D5 0x43 + IMX7ULP_PAD_PTD6__SDHC0_D4 0x43 + IMX7ULP_PAD_PTD7__SDHC0_D3 0x43 + IMX7ULP_PAD_PTD8__SDHC0_D2 0x43 + IMX7ULP_PAD_PTD9__SDHC0_D1 0x43 + IMX7ULP_PAD_PTD10__SDHC0_D0 0x43 + IMX7ULP_PAD_PTD11__SDHC0_DQS 0x42 >; }; pinctrl_lpi2c7: lpi2c7grp { fsl,pins = < - ULP1_PAD_PTF12__LPI2C7_SCL 0x527 - ULP1_PAD_PTF13__LPI2C7_SDA 0x527 + IMX7ULP_PAD_PTF12__LPI2C7_SCL 0x27 + IMX7ULP_PAD_PTF13__LPI2C7_SDA 0x27 >; }; pinctrl_lpspi3: lpspi3grp { fsl,pins = < - ULP1_PAD_PTF16__LPSPI3_SIN 0x300 - ULP1_PAD_PTF17__LPSPI3_SOUT 0x300 - ULP1_PAD_PTF18__LPSPI3_SCK 0x300 - ULP1_PAD_PTF19__LPSPI3_PCS0 0x300 + IMX7ULP_PAD_PTF16__LPSPI3_SIN 0x0 + IMX7ULP_PAD_PTF17__LPSPI3_SOUT 0x0 + IMX7ULP_PAD_PTF18__LPSPI3_SCK 0x0 + IMX7ULP_PAD_PTF19__LPSPI3_PCS0 0x0 >; }; - pinctrl_usb_otg1: usbotg1grp { + pinctrl_usbotg1_vbus: otg1vbusgrp { fsl,pins = < - ULP1_PAD_PTC0__PTC0 0x30100 + IMX7ULP_PAD_PTC0__PTC0 0x20000 >; }; - pinctrl_extcon_usb1: extcon1grp { + pinctrl_usbotg1_id: otg1idgrp { fsl,pins = < - ULP1_PAD_PTC8__PTC8 0x30103 + IMX7ULP_PAD_PTC13__USB0_ID 0x10003 >; }; pinctrl_usdhc1: usdhc1grp { fsl,pins = < - ULP1_PAD_PTE3__SDHC1_CMD 0x843 - ULP1_PAD_PTE2__SDHC1_CLK 0x843 - ULP1_PAD_PTE1__SDHC1_D0 0x843 - ULP1_PAD_PTE0__SDHC1_D1 0x843 - ULP1_PAD_PTE5__SDHC1_D2 0x843 - ULP1_PAD_PTE4__SDHC1_D3 0x843 + IMX7ULP_PAD_PTE3__SDHC1_CMD 0x43 + IMX7ULP_PAD_PTE2__SDHC1_CLK 0x10042 + IMX7ULP_PAD_PTE1__SDHC1_D0 0x43 + IMX7ULP_PAD_PTE0__SDHC1_D1 0x43 + IMX7ULP_PAD_PTE5__SDHC1_D2 0x43 + IMX7ULP_PAD_PTE4__SDHC1_D3 0x43 >; }; pinctrl_usdhc1_rst: usdhc1grp_rst { fsl,pins = < - ULP1_PAD_PTE11__PTE11 0x30100 /* USDHC1 RST */ + IMX7ULP_PAD_PTE11__PTE11 0x20000 /* USDHC1 RST */ + IMX7ULP_PAD_PTE13__PTE13 0x10003 /* USDHC1 CD */ + IMX7ULP_PAD_PTE12__PTE12 0x10003 /* USDHC1 WP */ + IMX7ULP_PAD_PTE14__SDHC1_VS 0x43 /* USDHC1 VSEL */ >; }; - pinctrl_wifi: wifigrp { + pinctrl_dsi_hdmi: dsi_hdmi_grp { fsl,pins = < - ULP1_PAD_PTE6__PTE6 0x43 /* WL_REG_ON */ + IMX7ULP_PAD_PTC18__PTC18 0x10003 /* DSI_HDMI_INT */ >; }; };
@@ -304,7 +289,7 @@ disp-dev = "mipi_dsi_northwest"; display = <&display0>; - display0: display { + display0: display at 0 { bits-per-pixel = <16>; bus-width = <24>;
@@ -343,21 +328,6 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_lpi2c5>; status = "okay"; - - fxas2100x at 20 { - compatible = "fsl,fxas2100x"; - reg = <0x20>; - }; - - fxos8700 at 1e { - compatible = "fsl,fxos8700"; - reg = <0x1e>; - }; - - mpl3115 at 60 { - compatible = "fsl,mpl3115"; - reg = <0x60>; - }; }; &lpspi3 {
@@ -406,13 +376,18 @@ &usbotg1 { vbus-supply = <®_usb_otg1_vbus>; - extcon = <0>, <&extcon_usb1>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usbotg1_id>; srp-disable; hnp-disable; adp-disable; status = "okay"; }; +&usbphy1 { + fsl,tx-d-cal = <88>; +}; + &usdhc0 { pinctrl-names = "default", "state_100mhz", "state_200mhz", "sleep"; pinctrl-0 = <&pinctrl_usdhc0>;
arch/arm/dts/imx7ulp-pinfunc.h +879 -869
1,760 lines not on this page · raw message
arch/arm/dts/imx7ulp.dtsi +24 -4
@@ -16,10 +16,12 @@ interrupt-parent = <&intc>; aliases { - gpio0 = &gpio0; - gpio1 = &gpio1; - gpio2 = &gpio2; - gpio3 = &gpio3; + gpio0 = &gpio4; + gpio1 = &gpio5; + gpio2 = &gpio0; + gpio3 = &gpio1; + gpio4 = &gpio2; + gpio5 = &gpio3; mmc0 = &usdhc0; mmc1 = &usdhc1; serial0 = &lpuart4;
@@ -27,10 +29,12 @@ serial2 = &lpuart6; serial3 = &lpuart7; usbphy0 = &usbphy1; + usb0 = &usbotg1; i2c4 = &lpi2c4; i2c5 = &lpi2c5; i2c6 = &lpi2c6; i2c7 = &lpi2c7; + spi0 = &qspi1; }; cpus {
@@ -503,6 +507,22 @@ fsl,mux_mask = <0xf00>; }; + gpio4: gpio at 4103f000 { + compatible = "fsl,imx7ulp-gpio"; + reg = <0x4103f000 0x1000 0x4100F000 0x40>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&iomuxc 0 0 32>; + }; + + gpio5: gpio at 41040000 { + compatible = "fsl,imx7ulp-gpio"; + reg = <0x41040000 0x1000 0x4100F040 0x40>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&iomuxc 0 32 32>; + }; + gpio0: gpio at 40ae0000 { compatible = "fsl,imx7ulp-gpio"; reg = <0x40ae0000 0x1000 0x400F0000 0x40>;
Signature · 1 line
2.17.1
Fabio Estevam
reviewerPATCH 7/7 mx7ulp: Add support for Embedded Artists COM board
In reply to Fabio EstevamThe Embedded Artists COM board is based on NXP i.MX7ULP.
It has a BD70528 PMIC from Rohm with discrete DCDC powering option and improved current observability (compared to the existing NXP i.MX7ULP EVK).
Add the initial support for the board.
--- arch/arm/dts/Makefile | 3 +- arch/arm/mach-imx/mx7ulp/Kconfig | 6 ++ board/ea/mx7ulp_com/Kconfig | 12 +++ board/ea/mx7ulp_com/MAINTAINERS | 6 ++ board/ea/mx7ulp_com/Makefile | 6 ++ board/ea/mx7ulp_com/imximage.cfg | 128 ++++++++++++++++++++++ board/ea/mx7ulp_com/imximage.cfg.cfgtmp | 134 ++++++++++++++++++++++++ board/ea/mx7ulp_com/imximage.cfg.rej | 43 ++++++++ board/ea/mx7ulp_com/mx7ulp_com.c | 48 +++++++++ configs/mx7ulp_com_defconfig | 59 +++++++++++ include/configs/mx7ulp_com.h | 107 +++++++++++++++++++ 11 files changed, 551 insertions(+), 1 deletion(-) create mode 100644 board/ea/mx7ulp_com/Kconfig create mode 100644 board/ea/mx7ulp_com/MAINTAINERS create mode 100644 board/ea/mx7ulp_com/Makefile create mode 100644 board/ea/mx7ulp_com/imximage.cfg create mode 100644 board/ea/mx7ulp_com/imximage.cfg.cfgtmp create mode 100644 board/ea/mx7ulp_com/imximage.cfg.rej create mode 100644 board/ea/mx7ulp_com/mx7ulp_com.c create mode 100644 configs/mx7ulp_com_defconfig create mode 100644 include/configs/mx7ulp_com.h
arch/arm/dts/Makefile +2 -1
@@ -639,7 +639,8 @@ dtb-$(CONFIG_MX7) += imx7d-sdb.dtb \ imx7d-pico-hobbit.dtb -dtb-$(CONFIG_ARCH_MX7ULP) += imx7ulp-evk.dtb +dtb-$(CONFIG_ARCH_MX7ULP) += imx7ulp-com.dtb \ + imx7ulp-evk.dtb dtb-$(CONFIG_ARCH_IMX8) += \ fsl-imx8qm-apalis.dtb \
arch/arm/mach-imx/mx7ulp/Kconfig +6 -0
@@ -15,6 +15,11 @@ choice prompt "MX7ULP board select" optional +config TARGET_MX7ULP_COM + bool "Support MX7ULP COM board" + select MX7ULP + select SYS_ARCH_TIMER + config TARGET_MX7ULP_EVK bool "Support mx7ulp EVK board" select MX7ULP
@@ -22,6 +27,7 @@ config TARGET_MX7ULP_EVK endchoice +source "board/ea/mx7ulp_com/Kconfig" source "board/freescale/mx7ulp_evk/Kconfig" endif
board/ea/mx7ulp_com/Kconfig new file +12 -0
@@ -0,0 +1,12 @@ +if TARGET_MX7ULP_COM + +config SYS_BOARD + default "mx7ulp_com" + +config SYS_VENDOR + default "ea" + +config SYS_CONFIG_NAME + default "mx7ulp_com" + +endif
board/ea/mx7ulp_com/MAINTAINERS new file +6 -0
@@ -0,0 +1,6 @@ +MX7ULPCOM BOARD +M: Fabio Estevam <[email protected]> +S: Maintained +F: board/ea/mx7ulp_com/ +F: include/configs/mx7ulp_com.h +F: configs/mx7ulp_com_defconfig
board/ea/mx7ulp_com/Makefile new file +6 -0
@@ -0,0 +1,6 @@ +# (C) Copyright 2016 Freescale Semiconductor, Inc. +# +# SPDX-License-Identifier: GPL-2.0+ +# + +obj-y := mx7ulp_com.o
board/ea/mx7ulp_com/imximage.cfg new file +128 -0
128 lines not on this page · raw message
board/ea/mx7ulp_com/imximage.cfg.cfgtmp new file +134 -0
134 lines not on this page · raw message
board/ea/mx7ulp_com/imximage.cfg.rej new file +43 -0
43 lines not on this page · raw message
board/ea/mx7ulp_com/mx7ulp_com.c new file +48 -0
48 lines not on this page · raw message
configs/mx7ulp_com_defconfig new file +59 -0
59 lines not on this page · raw message
include/configs/mx7ulp_com.h new file +107 -0
107 lines not on this page · raw message
Signature · 1 line
2.17.1