Skip to content

Commit

Permalink
dts: sensry: add pinctrl
Browse files Browse the repository at this point in the history
Add pin ctrl to the sy1xx device tree.

Signed-off-by: Sven Ginka <s.ginka@sensry.de>
  • Loading branch information
tswaehn authored and kartben committed Jan 9, 2025
1 parent 804e3f6 commit fb53ea0
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions dts/riscv/sensry/ganymed-sy1xx.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -38,54 +38,60 @@

soc {
#address-cells = <1>;
#size-cells = <0>;
#size-cells = <1>;

event0: interrupt-controller@1000 {
compatible = "sensry,sy1xx-event-unit";
reg = <0x1000>;
reg = <0x1000 0x40>;
interrupt-controller;
#interrupt-cells = <1>;
};

systick: timer@1a10b040 {
compatible = "sensry,sy1xx-sys-timer";
reg = <0x1a10b040>;
reg = <0x1a10b040 0x04>;
interrupt-parent = <&event0>;
interrupts = <10 0>;
ticks_us = <1000>;
};

timer1: timer@1a10b044 {
compatible = "sensry,sy1xx-sys-timer";
reg = <0x1a10b044>;
reg = <0x1a10b044 0x04>;
interrupt-parent = <&event0>;
interrupts = <11 0>;
ticks_us = <1000>;
};

uart0: uart@1a102000 {
compatible = "sensry,sy1xx-uart";
reg = <0x1a102000>;
reg = <0x1a102000 0x80>;
instance = <0>;
current-speed = <1000000>;
status = "okay";
};

uart1: uart@1a102080 {
compatible = "sensry,sy1xx-uart";
reg = <0x1a102080>;
reg = <0x1a102080 0x80>;
instance = <1>;
current-speed = <1000000>;
status = "okay";
};

uart2: uart@1a102100 {
compatible = "sensry,sy1xx-uart";
reg = <0x1a102100>;
reg = <0x1a102100 0x80>;
instance = <2>;
current-speed = <1000000>;
status = "okay";
};

pinctrl: pinctrl@1a104000 {
compatible = "sensry,sy1xx-pinctrl";
reg = <0x1a104000 0x1000>;
status = "okay";
};

};
};

0 comments on commit fb53ea0

Please sign in to comment.