[LEDE-DEV] [PATCH v2] ipq806x: Add nand boot support for ipq40xx AP-DK04.1-C1

Ram Chandra Jangir rjangir at codeaurora.org
Tue May 23 00:16:15 PDT 2017


Thanks Sven,

John has already requested changes in this patch, and I will be sharing the
new patches soon(by tomorrow) which will consider this. 

Thanks,
Ram

>On Donnerstag, 11. Mai 2017 21:59:02 CEST Ram Chandra Jangir wrote:
> ++                              mux {
> ++                                      pins = "gpio52", "gpio53",
"gpio54",
> ++                                              "gpio55", "gpio56",
"gpio57",
> ++                                              "gpio58", "gpio59",
"gpio60",
> ++                                              "gpio61", "gpio62",
"gpio63",
> ++                                              "gpio64", "gpio65",
"gpio66",
> ++                                              "gpio67", "gpio68",
"gpio69";
> ++                                      function = "qpic_pad";
> ++                                      bias-disable;
> ++                              };
> ++

>You are using the function qpic_pad which is not supported for some of the
GPIOs (according to
852-ipq4019-pinctrl-Updated-various-Pin-definitions.patch [1]):

>    [    1.067122] ipq4019-pinctrl 1000000.pinctrl: invalid group "gpio57"
for function "qpic_pad"
>    [    1.068305] ipq4019-pinctrl 1000000.pinctrl: invalid group "gpio58"
for function "qpic_pad"
>    [    1.076685] ipq4019-pinctrl 1000000.pinctrl: invalid group "gpio59"
for function "qpic_pad"
>    [    1.084991] ipq4019-pinctrl 1000000.pinctrl: invalid group "gpio60"
for function "qpic_pad"
>    [    1.093351] ipq4019-pinctrl 1000000.pinctrl: invalid group "gpio64"
for function "qpic_pad"
>    [    1.101653] ipq4019-pinctrl 1000000.pinctrl: invalid group "gpio65"
for function "qpic_pad"
>    [    1.109987] ipq4019-pinctrl 1000000.pinctrl: invalid group "gpio66"
for function "qpic_pad"
>    [    1.118319] ipq4019-pinctrl 1000000.pinctrl: invalid group "gpio67"
for function "qpic_pad"
>    [    1.126652] ipq4019-pinctrl 1000000.pinctrl: invalid group "gpio68"
for function "qpic_pad"

>* "gpio57" would be qpic_pad4
>* "gpio58" would be qpic_pad5
>* "gpio59" would be qpic_pad6
>* ....

> ++	PINGROUP(52, qpic_pad, mdc, pcie_clk, i2s_tx_mclk, NA, NA,
wcss0_dbg31,
> ++		 tm_clk0, wifi00, wifi10, NA, NA, NA, NA),
> ++	PINGROUP(53, qpic_pad, mdio1, i2s_tx_bclk, prng_rosc, dbg_out, tm0,
> ++		 wifi01, wifi11, NA, NA, NA, NA, NA, NA),
> ++	PINGROUP(54, qpic_pad, blsp_spi0, i2s_td1, atest_char3, pmu0, NA,
NA,
> ++		 boot8, tm1, NA, NA, NA, NA, NA),
> ++	PINGROUP(55, qpic_pad, blsp_spi0, i2s_td2, atest_char2, pmu1, NA,
NA,
> ++		 boot9, tm2, NA, NA, NA, NA, NA),
> ++	PINGROUP(56, qpic_pad, blsp_spi0, i2s_td3, atest_char1, NA, tm_ack,
> ++		 wifi03, wifi13, NA, NA, NA, NA, NA, NA),
> ++	PINGROUP(57, qpic_pad4, blsp_spi0, i2s_tx_fsync, atest_char0, NA,
tm3,
> ++		 wifi02, wifi12, NA, NA, NA, NA, NA, NA),
> ++	PINGROUP(58, qpic_pad5, led2, blsp_i2c0, smart3, smart1,
i2s_rx_mclk,
> ++		 NA, wcss0_dbg14, tm4, wifi04, wifi14, NA, NA, NA),
> ++	PINGROUP(59, qpic_pad6, blsp_i2c0, smart3, smart1, i2s_spdif_in, NA,
> ++		 NA, wcss0_dbg15, qdss_tracectl_a, boot18, tm5, NA, NA, NA),
> ++	PINGROUP(60, qpic_pad7, blsp_uart0, smart1, smart3, led0,
i2s_tx_bclk,
> ++		 i2s_rx_bclk, atest_char, NA, wcss0_dbg4, qdss_traceclk_a,
> ++		 boot19, tm6, NA),
> ++	PINGROUP(61, qpic_pad, blsp_uart0, smart1, smart3, led1,
i2s_tx_fsync,
> ++		 i2s_rx_fsync, NA, NA, wcss0_dbg5, qdss_cti_trig_out_a0,
> ++		 boot14, tm7, NA),
> ++	PINGROUP(62, qpic_pad, chip_rst, wifi0_uart, wifi1_uart,
i2s_spdif_out,
> ++		 NA, NA, wcss0_dbg6, qdss_cti_trig_out_b0, boot11, tm8, NA,
NA,
> ++		 NA),
> ++	PINGROUP(63, qpic_pad, wifi0_uart1, wifi1_uart1, wifi1_uart,
i2s_td1,
> ++		 i2s_rxd, i2s_spdif_out, i2s_spdif_in, NA, wcss0_dbg7,
> ++		 wcss1_dbg7, boot20, tm9, NA),
> ++	PINGROUP(64, qpic_pad1, audio_pwm0, NA, wcss0_dbg8, wcss1_dbg8, NA,
NA,
> ++		 NA, NA, NA, NA, NA, NA, NA),
> ++	PINGROUP(65, qpic_pad2, audio_pwm1, NA, wcss0_dbg9, wcss1_dbg9, NA,
NA,
> ++		 NA, NA, NA, NA, NA, NA, NA),
> ++	PINGROUP(66, qpic_pad3, audio_pwm2, NA, wcss0_dbg10, wcss1_dbg10,
NA,
> ++		 NA, NA, NA, NA, NA, NA, NA, NA),
> ++	PINGROUP(67, qpic_pad0, audio_pwm3, NA, wcss0_dbg11, wcss1_dbg11,
NA,
> ++		 NA, NA, NA, NA, NA, NA, NA, NA),
> ++	PINGROUP(68, qpic_pad8, NA, wcss0_dbg12, wcss1_dbg12, NA, NA, NA,
NA,
> ++		 NA, NA, NA, NA, NA, NA),
> ++	PINGROUP(69, qpic_pad, NA, wcss0_dbg, NA, NA, NA, NA, NA, NA, NA,
NA,
> ++		 NA, NA, NA),

>Kind regards,
>	Sven

> [1] https://patchwork.ozlabs.org/patch/752962/




More information about the Lede-dev mailing list