From: Roger Quadros <rogerq@kernel.org>
To: MD Danish Anwar <danishanwar@ti.com>,
Maxime Ripard <mripard@kernel.org>,
Siddharth Vadapalli <s-vadapalli@ti.com>,
Nishanth Menon <nm@ti.com>, Vignesh Raghavendra <vigneshr@ti.com>,
Matthias Schiffer <matthias.schiffer@ew.tq-group.com>,
Kamlesh Gurudasani <kamlesh@ti.com>,
Manorit Chawdhry <m-chawdhry@ti.com>,
Neha Malcom Francis <n-francis@ti.com>, Andrew Davis <afd@ti.com>,
Ramon Fried <rfried.dev@gmail.com>,
Joe Hershberger <joe.hershberger@ni.com>,
Simon Glass <sjg@chromium.org>, Tom Rini <trini@konsulko.com>
Cc: u-boot@lists.denx.de, srk@ti.com, r-gunasekaran@ti.com
Subject: Re: [RFC PATCH 12/16] arm: dts: k3-am65x-binman: Add ICSSG2 overlay and configuration
Date: Wed, 10 Jan 2024 13:42:07 +0200 [thread overview]
Message-ID: <434376df-5861-4fa5-8cdf-894a3639a065@kernel.org> (raw)
In-Reply-To: <fa5aa2e2-1f5d-4333-9dc8-cd151602e12a@ti.com>
On 10/01/2024 11:02, MD Danish Anwar wrote:
>
>
> On 10/01/24 2:24 pm, Roger Quadros wrote:
>> On 10/01/2024 08:50, MD Danish Anwar wrote:
>>> Hi Roger,
>>>
>>> On 27/12/23 3:49 pm, MD Danish Anwar wrote:
>>>> On 20/12/23 4:10 pm, Roger Quadros wrote:
>>>>>
>>>>>
>>>>> On 19/12/2023 12:34, MD Danish Anwar wrote:
>>>>>> Add ICSSG2 overlay and configuration to tispl and u-boot images.
>>>>>>
>>>>>> Signed-off-by: MD Danish Anwar <danishanwar@ti.com>
>>>>>> ---
>>>>>> arch/arm/dts/k3-am65x-binman.dtsi | 85 +++++++++++++++++++++++++++++++
>>>>>> 1 file changed, 85 insertions(+)
>>>>>>
>>>>>> diff --git a/arch/arm/dts/k3-am65x-binman.dtsi b/arch/arm/dts/k3-am65x-binman.dtsi
>>>>>> index 8cc24da1f3..9a0c0fca47 100644
>>>>>> --- a/arch/arm/dts/k3-am65x-binman.dtsi
>>>>>> +++ b/arch/arm/dts/k3-am65x-binman.dtsi
>>>>>> @@ -98,6 +98,8 @@
>>>>>> #define SPL_AM654_EVM_DTB "spl/dts/k3-am654-base-board.dtb"
>>>>>> #define AM654_EVM_DTB "u-boot.dtb"
>>>>>>
>>>>>> +#define AM654_EVM_ICSSG2_DTBO "arch/arm/dts/k3-am654-icssg2.dtbo"
>>>>>> +
>>>>>> &binman {
>>>>>> ti-spl {
>>>>>> insert-template = <&ti_spl_template>;
>>>>>> @@ -124,6 +126,20 @@
>>>>>> filename = SPL_AM654_EVM_DTB;
>>>>>> };
>>>>>> };
>>>>>> +
>>>>>> + fdt-1 {
>>>>>> + description = "k3-am654-icssg2 overlay";
>>>>>> + type = "flat_dt";
>>>>>> + arch = "arm";
>>>>>> + compression = "none";
>>>>>> + ti-secure {
>>>>>> + content = <&spl_am65x_evm_icssg2_dtb>;
>>>>>> + keyfile = "custMpk.pem";
>>>>>> + };
>>>>>> + spl_am65x_evm_icssg2_dtb: blob-ext {
>>>>>> + filename = AM654_EVM_ICSSG2_DTBO;
>>>>>> + };
>>>>>
>>>>> This is wrong.
>>>>>
>>>>> ICSSG2 Ethernet should be part of the fdt-0 configuration as the 2 Ethernet ports
>>>>> on the board are hardwired to ICSSG2. Not having them working by default
>>>>> is an invalid configuration.
>>>>>
>>>>
>>>> ICSSG2 ethernet ports should be enabled by default. But the ICSSG2 nodes
>>>> is added in the overlay file (k3-am654-icssg2.dtso) in kernel so they
>>>> are added in same overlay file in u-boot as well.
>>>>
>>>> I am keeping,
>>>> fdt-0 as k3-am654-base-board dtb,
>>>> fdt-1 as k3-am654-icssg2 dtbo,
>>>> conf-0 as k3-am654-base-board and
>>>> conf-1 as k3-am654-icssg2.
>>>>
>>>> Do you want me to keep k3-am654-icssg2 dtbo as fdt-0 and
>>>> k3-am654-base-board as fdt-1? I tried doing this but this results into
>>>> u-boot getting stuck. The tispl and u-boot images are not able to load
>>>> if I swap fdt-0 and fdt-1 , and conf-0 and conf-1.
>>>>
>>>> If the current combination doesn't look OK, please let me know what
>>>> should be the correct combinations for fdt-0, fdt-1, conf-0 and conf-1.
>>>>
>>>
>>> Can you please comment on this. I'll send v2 with all the suggested
>>> changes once you confirm the correct fdt and configurations.
>>>
>> Sorry, I missed this.
>>
>> fdt-0 = k3-am654-base-board dtb
>> fdt-1 = k3-am654-icssg2 dtbo
>>
>> conf-0 = fdt-0 and ftd-1
>>
>
> What about conf-1? Should I leave it as it is(currently conf-1 is fdt-0
> and fdt-1)?
I don't think we need conf-1.
>
>> as icssg2 ethernet is present on the base board, and should be part of the base board configuration.
>>
>
--
cheers,
-roger
next prev parent reply other threads:[~2024-01-10 11:42 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-19 10:34 [RFC PATCH 00/16] Introduce ICSSG Ethernet driver MD Danish Anwar
2023-12-19 10:34 ` [RFC PATCH 01/16] dma: ti: k3-udma: Use ring_idx to pair k3 nav rings MD Danish Anwar
2023-12-19 10:34 ` [RFC PATCH 02/16] net: ti: icssg: Add Firmware Interface for ICSSG Ethernet driver MD Danish Anwar
2023-12-19 10:34 ` [RFC PATCH 03/16] net: ti: icssg: Add Firmware config and classification APIs MD Danish Anwar
2023-12-19 10:34 ` [RFC PATCH 04/16] net: ti: icssg: Add icssg queues APIs and macros MD Danish Anwar
2023-12-19 10:34 ` [RFC PATCH 05/16] net: ti: icssg: Add ICSSG ethernet driver MD Danish Anwar
2023-12-19 10:34 ` [RFC PATCH 06/16] net: ti: icssg: Add support sending FDB command to update rx_flow_id MD Danish Anwar
2023-12-19 10:34 ` [RFC PATCH 07/16] net: ti: icssg: Enforce pinctrl state on the MDIO child node MD Danish Anwar
2023-12-19 10:34 ` [RFC PATCH 08/16] arm: dts: k3-am65: Add additional regs for DMA components MD Danish Anwar
2023-12-19 10:34 ` [RFC PATCH 09/16] arm: dts: k3-am65: Add cfg reg region to ringacc node MD Danish Anwar
2023-12-19 10:34 ` [RFC PATCH 10/16] arm: dts: k3-am65-main: Add ICSSG IEP nodes MD Danish Anwar
2023-12-19 17:46 ` Tom Rini
2023-12-20 4:47 ` MD Danish Anwar
2023-12-20 12:52 ` Nishanth Menon
2023-12-20 13:23 ` Anwar, Md Danish
2023-12-19 10:34 ` [RFC PATCH 11/16] arm: dts: k3-am654-base-board: Add ICSSG2 Ethernet support MD Danish Anwar
2023-12-20 10:08 ` Roger Quadros
2023-12-20 10:13 ` Anwar, Md Danish
2023-12-19 10:34 ` [RFC PATCH 12/16] arm: dts: k3-am65x-binman: Add ICSSG2 overlay and configuration MD Danish Anwar
2023-12-20 10:40 ` Roger Quadros
2023-12-27 10:19 ` MD Danish Anwar
2024-01-10 6:50 ` MD Danish Anwar
2024-01-10 8:54 ` Roger Quadros
2024-01-10 9:02 ` MD Danish Anwar
2024-01-10 11:42 ` Roger Quadros [this message]
2023-12-19 10:34 ` [RFC PATCH 13/16] configs: am65x_evm_a53: Enable ICSSG Driver MD Danish Anwar
2023-12-19 10:34 ` [RFC PATCH 14/16] configs: am65x_evm_a53_defconfig: add SPL_LOAD_FIT_APPLY_OVERLAY MD Danish Anwar
2023-12-20 10:02 ` Roger Quadros
2023-12-21 5:57 ` MD Danish Anwar
2023-12-19 10:34 ` [RFC PATCH 15/16] tools/fdtgrep: Include __symbols__ table MD Danish Anwar
2023-12-26 9:47 ` Simon Glass
2024-01-10 9:52 ` MD Danish Anwar
2023-12-19 10:34 ` [RFC PATCH 16/16] board: ti: am65x: Add check for k3-am654-icssg2 in board_fit_config_match() MD Danish Anwar
-- strict thread matches above, loose matches on Subject: below --
2023-12-19 10:11 [RFC PATCH 00/16] Introduce ICSSG Ethernet driver MD Danish Anwar
2023-12-19 10:12 ` [RFC PATCH 12/16] arm: dts: k3-am65x-binman: Add ICSSG2 overlay and configuration MD Danish Anwar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=434376df-5861-4fa5-8cdf-894a3639a065@kernel.org \
--to=rogerq@kernel.org \
--cc=afd@ti.com \
--cc=danishanwar@ti.com \
--cc=joe.hershberger@ni.com \
--cc=kamlesh@ti.com \
--cc=m-chawdhry@ti.com \
--cc=matthias.schiffer@ew.tq-group.com \
--cc=mripard@kernel.org \
--cc=n-francis@ti.com \
--cc=nm@ti.com \
--cc=r-gunasekaran@ti.com \
--cc=rfried.dev@gmail.com \
--cc=s-vadapalli@ti.com \
--cc=sjg@chromium.org \
--cc=srk@ti.com \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=vigneshr@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.