Gradient from diffuse to the same texture but with emission

I’m not that good with material nodes yet, so I kinda struggle with this problem. I want to make an object with a diffuse texture on the lower half and the same texture, but with emission, on the top, with a smooth gradient transition between parts. What is the right approach here?