[no subject]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Another hack i tried first, was to use a static increasing int to get
the bus_id. This would keep the resulting sysfs tree probably unchanged
but would drop the connection between dts and bus numbering in sysfs.

Regards,
Philipp

> 
>> Signed-off-by: Philipp Puschmann <p.puschmann@xxxxxxxxxxx>
>> ---
>>  arch/arm64/boot/dts/rockchip/rk3568.dtsi | 4 ++++
>>  arch/arm64/boot/dts/rockchip/rk356x.dtsi | 1 +
>>  2 files changed, 5 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/rockchip/rk3568.dtsi
>> b/arch/arm64/boot/dts/rockchip/rk3568.dtsi
>> index f1be76a54ceb..42018c8666e0 100644
>> --- a/arch/arm64/boot/dts/rockchip/rk3568.dtsi
>> +++ b/arch/arm64/boot/dts/rockchip/rk3568.dtsi
>> @@ -8,6 +8,10 @@
>>  / {
>>      compatible = "rockchip,rk3568";
>>
>> +    aliases {
>> +        ethernet1 = &gmac0;
>> +    };
>> +
>>      sata0: sata@fc000000 {
>>          compatible = "rockchip,rk3568-dwc-ahci", "snps,dwc-ahci";
>>          reg = <0 0xfc000000 0 0x1000>;
>> diff --git a/arch/arm64/boot/dts/rockchip/rk356x.dtsi
>> b/arch/arm64/boot/dts/rockchip/rk356x.dtsi
>> index d8543b5557ee..e13bd7b24752 100644
>> --- a/arch/arm64/boot/dts/rockchip/rk356x.dtsi
>> +++ b/arch/arm64/boot/dts/rockchip/rk356x.dtsi
>> @@ -43,6 +43,7 @@ aliases {
>>          spi1 = &spi1;
>>          spi2 = &spi2;
>>          spi3 = &spi3;
>> +        ethernet0 = &gmac1;
>>      };
>>
>>      cpus {

-- 
Philipp Puschmann, M.Sc.
Softwareentwicklung

pironex GmbH
Stangenland 4
18146 Rostock
www.pironex.de

Tel.:   +49 (0) 381 7006 08 44
E-Mail: p.puschmann@xxxxxxxxxxx
Firma:  +49 (0) 381 70 06 08 0
Fax:    +49 (0) 381 49 68 02 77
Web:    http://www.pironex.de




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux