[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3576f2af98a0d9e7128568777d85af3bfbab801d.camel@collabora.com>
Date: Wed, 08 Jun 2022 14:07:33 +0200
From: Sjoerd Simons <sjoerd@...labora.com>
To: Michael Riesch <michael.riesch@...fvision.net>,
linux-rockchip@...ts.infradead.org
Cc: kernel@...labora.com, Akash Gajjar <akash@...nedev.com>,
Heiko Stuebner <heiko@...ech.de>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Rob Herring <robh+dt@...nel.org>, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] arm64: dts: rockchip: rock-pi-s add more peripherals
Hey Michael,
On Mon, 2022-06-06 at 14:00 +0200, Michael Riesch wrote:
>
> > + aliases {
> > + ethernet0 = &gmac;
> > + mmc0 = &emmc;
> > + mmc1 = &sdmmc;
>
> Sure? emmc is at address ff49000 which is larger than sdmmc's address
> ff480000. I believe the aliases should be sorted w.r.t. addresses.
Do you have a reference about this sorting requirement?
Also do you mean that mmc0 should be &sdmmc *or* that the aliases
should have mmc1 listed first.
For reference the reason is that mmc0 is emmc is because it seems more
logical to have the builtin devices come first (e.g. as mmcblk0)
> Best regards,
> Michael
>
> > + };
> > +
> > chosen {
> > stdout-path = "serial0:1500000n8";
> > };
> > @@ -132,6 +138,15 @@ &emmc {
> > status = "okay";
> > };
> >
> > +&gmac {
> > + clock_in_out = "output";
> > + phy-supply = <&vcc_io>;
> > + snps,reset-gpio = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>;
> > + snps,reset-active-low;
> > + snps,reset-delays-us = <0 50000 50000>;
> > + status = "okay";
> > +};
> > +
> > &i2c1 {
> > status = "okay";
> > };
> > @@ -195,10 +210,47 @@ &sdmmc {
> > status = "okay";
> > };
> >
> > +&u2phy {
> > + status = "okay";
> > +
> > + u2phy_host: host-port {
> > + phy-supply = <&vcc5v0_otg>;
> > + status = "okay";
> > + };
> > +
> > + u2phy_otg: otg-port {
> > + phy-supply = <&vcc5v0_otg>;
> > + status = "okay";
> > + };
> > +};
> > +
> > &uart0 {
> > status = "okay";
> > };
> >
> > &uart4 {
> > status = "okay";
> > +
> > + bluetooth {
> > + compatible = "realtek,rtl8723bs-bt";
> > + device-wake-gpios = <&gpio4 RK_PB3
> > GPIO_ACTIVE_HIGH>;
> > + host-wake-gpios = <&gpio4 RK_PB4 GPIO_ACTIVE_HIGH>;
> > + };
> > +};
> > +
> > +&usb_host_ehci {
> > + status = "okay";
> > +};
> > +
> > +&usb_host_ohci {
> > + status = "okay";
> > +};
> > +
> > +&usb20_otg {
> > + dr_mode = "peripheral";
> > + status = "okay";
> > +};
> > +
> > +&wdt {
> > + status = "okay";
> > };
--
Sjoerd Simons
Collabora Ltd.
Powered by blists - more mailing lists