That's also included in the directive. Manufactures will be required to provide OS updates for at least 5 years "from the date of end of placement on the market" (which means the date the brand shipped the last device of a model).
They also have 4 months to release security updates and 6 months for functionality updates see ANNEX II for all device categories.