While most DDR4 memory modules and kits should work with AMD AM4 motherboards, the latest list provided by AMD includes a bunch of different memory types from the likes of ADATA, Corsair, G.Skill, GEIL and HyperX with frequency ranging from 2133MHz to 3200MHz.
The latest AGESA v1.0.0.6 update for motherboards, detailed back in May by Robert Hallock, a technical marketing guy for AMD's CPU division, talked a lot about DDR4 stability and was focused on kits running over 2667MHz as well as added 26 new parameters which improve DDR4 memory compatibility on the AM4 platform.
With the latest memory compatibility list, AMD has further expanded the compatibility and in case you are having some trouble, you should check if your motherboard BIOS contains the aforementioned AGESA 1.0.0.6 micro-code update.
The DDR4 memory frequency has a significant impact on the performance of the Ryzen CPU so adding further compatibility and support will certainly help.