Skip to content

Commit

Permalink
Update to configure i2c bus with new kernels/device trees
Browse files Browse the repository at this point in the history
  • Loading branch information
dkulp committed Apr 19, 2024
1 parent 1746fdd commit 861bf5d
Showing 1 changed file with 24 additions and 5 deletions.
29 changes: 24 additions & 5 deletions capes/drivers/bbb/bbb-fpp-reserve-memory.dts
@@ -1,5 +1,9 @@
/dts-v1/;
/plugin/;

#include <dt-bindings/board/am335x-bbw-bbb-base.h>
#include <dt-bindings/pinctrl/am33xx.h>

/* Reserve 4M DDR memory for the pixel buffers */
/ {

Expand All @@ -22,11 +26,26 @@
};
};

fpp: fpp@8f000000 {
memory-region = <&fpp_reserved>;
status = "okay";
};
fpp: fpp@8f000000 {
memory-region = <&fpp_reserved>;
status = "okay";
};
};
};


fragment@1 {
target = <&i2c1>;
__overlay__ {
status = "okay";
clock-frequency = <400000>;
};
};
fragment@2 {
target = <&i2c2>;
__overlay__ {
status = "okay";
clock-frequency = <400000>;
};
};
};

0 comments on commit 861bf5d

Please sign in to comment.