Forum Discussion
Altera_Forum
Honored Contributor
12 years agoYou won't need the bus driver. Please check the gpio and rtc devicetree nodes, which I used in my NEEK extension design.
gpio_0: gpio@0x1500 { compatible = "opencores,bit-gpio-2.0","opencores,bit-gpio-rtlsvn2"; reg = < 0x1500 0x10>; bidir-width = <8>; input-width = <4>; # gpio-cells = <2>; gpio-controller; }; //end gpio (gpio_0) i2crtc { # address-cells = <1>; # size-cells = <0>; compatible = "i2c-gpio"; gpios = <&gpio_0 7 0 &gpio_0 6 0>; scl-is-output-only; rtc@68 { compatible = "ds1307"; reg = <0x68>; }; };