Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: DS1307 on NetBSD 9 RPI2 and RPI3
Jason Thorpe <thorpej%me.com@localhost> writes:
>> On Apr 23, 2020, at 5:59 PM, Brad Spencer <brad%anduin.eldar.org@localhost> wrote:
>>
>> fragment@0 {
>> target-path = "/soc/i2c@7e205000";
>>
>> __overlay__ {
>> status = "disabled";
>> };
>> };
>>
>> fragment@1 {
>> target-path = "/soc/i2c@7e805000";
>>
>> __overlay__ {
>> status = "disabled";
>> };
>> };
>
> You actually don't need those two fragments.
>
> -- thorpej
Thanks... it always seemed a little odd that I would have to disable
those... I just tested that and it worked too. So a smaller overlay
for an RPI2 would look like this:
/dts-v1/;
/ {
compatible = "brcm,bcm2836";
fragment@0 {
target-path = "/soc/i2c@7e804000";
__overlay__ {
status = "okay";
#address-cells = <0x01>;
#size-cells = <0x00>;
clock-frequency = <0x61a80>;
dsrtc@68 {
compatible = "dallas,ds1307";
reg = <0x68>;
};
};
};
};
--
Brad Spencer - brad%anduin.eldar.org@localhost - KC8VKS - http://anduin.eldar.org
Home |
Main Index |
Thread Index |
Old Index