This patchset adds the required DTS changes for providing the ethernet
functionality on the Actions S500 SoCs family.
For the moment I have been able to test the Ethernet MAC on the RoseaplePi
SBC only.
Also, please note the patches depend on some clock changes that are
currently under review:
https://lore.kernel.org/lkml/cover.1623354574.git.cristian.ciocaltea@gmail.com/
Thanks,
Cristi
Cristian Ciocaltea (2):
ARM: dts: owl-s500: Add ethernet support
ARM: dts: owl-s500-roseapplepi: Add ethernet support
arch/arm/boot/dts/owl-s500-roseapplepi.dts | 56 ++++++++++++++++++++++
arch/arm/boot/dts/owl-s500.dtsi | 10 ++++
2 files changed, 66 insertions(+)
--
2.32.0
Add pinctrl configuration for enabling the Ethernet MAC on RoseapplePi
SBC. Additionally, provide the necessary properties for the generic S500
ethernet node in order to setup PHY and MDIO.
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@gmail.com>
---
arch/arm/boot/dts/owl-s500-roseapplepi.dts | 56 ++++++++++++++++++++++
1 file changed, 56 insertions(+)
On Fri, Jun 11, 2021 at 12:09:22AM +0300, Cristian Ciocaltea wrote:
quoted hunk
Add pinctrl configuration for enabling the Ethernet MAC on RoseapplePi
SBC. Additionally, provide the necessary properties for the generic S500
ethernet node in order to setup PHY and MDIO.
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@gmail.com>
---
arch/arm/boot/dts/owl-s500-roseapplepi.dts | 56 ++++++++++++++++++++++
1 file changed, 56 insertions(+)
On Fri, Jun 11, 2021 at 11:26:06AM +0530, Manivannan Sadhasivam wrote:
On Fri, Jun 11, 2021 at 12:09:22AM +0300, Cristian Ciocaltea wrote:
quoted
Add pinctrl configuration for enabling the Ethernet MAC on RoseapplePi
SBC. Additionally, provide the necessary properties for the generic S500
ethernet node in order to setup PHY and MDIO.
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@gmail.com>
---
arch/arm/boot/dts/owl-s500-roseapplepi.dts | 56 ++++++++++++++++++++++
1 file changed, 56 insertions(+)
reset-* properties belong to "ethernet-phy" node. Also, while adding new nodes
please run the dtbs_check and try to address the warnings.
The properties are those described in Documentation/devicetree/bindings/net/mdio.yaml
The dtbs_check doesn't report any issues in my case, usually this
happens when dtschema is not updated to the latest version. I always
run the following command after rebasing to a new kernel version:
pip3 install --upgrade dtschema
Thanks for the review,
Cristi
On Fri, Jun 11, 2021 at 09:31:47AM +0300, Cristian Ciocaltea wrote:
On Fri, Jun 11, 2021 at 11:26:06AM +0530, Manivannan Sadhasivam wrote:
quoted
On Fri, Jun 11, 2021 at 12:09:22AM +0300, Cristian Ciocaltea wrote:
quoted
Add pinctrl configuration for enabling the Ethernet MAC on RoseapplePi
SBC. Additionally, provide the necessary properties for the generic S500
ethernet node in order to setup PHY and MDIO.
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@gmail.com>
---
arch/arm/boot/dts/owl-s500-roseapplepi.dts | 56 ++++++++++++++++++++++
1 file changed, 56 insertions(+)
reset-* properties belong to "ethernet-phy" node. Also, while adding new nodes
please run the dtbs_check and try to address the warnings.
The properties are those described in Documentation/devicetree/bindings/net/mdio.yaml
Do you mean the reset properties are applicable for all PHYs in this SoC?
The dtbs_check doesn't report any issues in my case, usually this
happens when dtschema is not updated to the latest version. I always
run the following command after rebasing to a new kernel version:
pip3 install --upgrade dtschema
On Fri, Jun 11, 2021 at 12:09:40PM +0530, Manivannan Sadhasivam wrote:
On Fri, Jun 11, 2021 at 09:31:47AM +0300, Cristian Ciocaltea wrote:
quoted
On Fri, Jun 11, 2021 at 11:26:06AM +0530, Manivannan Sadhasivam wrote:
quoted
On Fri, Jun 11, 2021 at 12:09:22AM +0300, Cristian Ciocaltea wrote:
quoted
Add pinctrl configuration for enabling the Ethernet MAC on RoseapplePi
SBC. Additionally, provide the necessary properties for the generic S500
ethernet node in order to setup PHY and MDIO.
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@gmail.com>
---
arch/arm/boot/dts/owl-s500-roseapplepi.dts | 56 ++++++++++++++++++++++
1 file changed, 56 insertions(+)
reset-* properties belong to "ethernet-phy" node. Also, while adding new nodes
please run the dtbs_check and try to address the warnings.
The properties are those described in Documentation/devicetree/bindings/net/mdio.yaml
Do you mean the reset properties are applicable for all PHYs in this SoC?
Actually there is only one PHY connected. I've also checked the vendor
code and didn't notice any special handling for the PHY reset.
quoted
The dtbs_check doesn't report any issues in my case, usually this
happens when dtschema is not updated to the latest version. I always
run the following command after rebasing to a new kernel version:
pip3 install --upgrade dtschema