--- zzzz-none-000/linux-3.10.107/arch/arm/boot/dts/at91sam9x5cm.dtsi 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/arch/arm/boot/dts/at91sam9x5cm.dtsi 2021-02-04 17:41:59.000000000 +0000 @@ -13,12 +13,11 @@ }; clocks { - #address-cells = <1>; - #size-cells = <1>; - ranges; + slow_xtal { + clock-frequency = <32768>; + }; - main_clock: clock@0 { - compatible = "atmel,osc", "fixed-clock"; + main_xtal { clock-frequency = <12000000>; }; }; @@ -28,10 +27,14 @@ pinctrl@fffff400 { 1wire_cm { pinctrl_1wire_cm: 1wire_cm-0 { - atmel,pins = <1 18 0x0 0x2>; /* PB18 multidrive, conflicts with led */ + atmel,pins = ; /* PB18 multidrive, conflicts with led */ }; }; }; + + rtc@fffffeb0 { + status = "okay"; + }; }; nand0: nand@40000000 { @@ -75,19 +78,19 @@ pb18 { label = "pb18"; - gpios = <&pioB 18 1>; + gpios = <&pioB 18 GPIO_ACTIVE_LOW>; linux,default-trigger = "heartbeat"; }; pd21 { label = "pd21"; - gpios = <&pioD 21 0>; + gpios = <&pioD 21 GPIO_ACTIVE_HIGH>; }; }; 1wire_cm { compatible = "w1-gpio"; - gpios = <&pioB 18 0>; + gpios = <&pioB 18 GPIO_ACTIVE_HIGH>; linux,open-drain; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_1wire_cm>;